diff --git a/contrib/data/www/web/assets/3200_pcb-CxpDMf4o.png b/contrib/data/www/web/assets/3200_pcb-CxpDMf4o.png new file mode 100644 index 00000000..3f5161fd Binary files /dev/null and b/contrib/data/www/web/assets/3200_pcb-CxpDMf4o.png differ diff --git a/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png b/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png deleted file mode 100644 index 11971bd2..00000000 Binary files a/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png and /dev/null differ diff --git a/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png b/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png deleted file mode 100644 index 6dc25a41..00000000 Binary files a/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png and /dev/null differ diff --git a/contrib/data/www/web/assets/3235_pcb-Dy4fG8vy.png b/contrib/data/www/web/assets/3235_pcb-Dy4fG8vy.png new file mode 100644 index 00000000..ac6088f6 Binary files /dev/null and b/contrib/data/www/web/assets/3235_pcb-Dy4fG8vy.png differ diff --git a/contrib/data/www/web/assets/esp32_pcb-DVlC-F6T.png b/contrib/data/www/web/assets/esp32_pcb-DVlC-F6T.png new file mode 100644 index 00000000..20260f2c Binary files /dev/null and b/contrib/data/www/web/assets/esp32_pcb-DVlC-F6T.png differ diff --git a/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png b/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png deleted file mode 100644 index 5ff8d105..00000000 Binary files a/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png and /dev/null differ diff --git a/contrib/data/www/web/assets/index-P7VsstGm.js b/contrib/data/www/web/assets/index-BXWJ38mj.js similarity index 72% rename from contrib/data/www/web/assets/index-P7VsstGm.js rename to contrib/data/www/web/assets/index-BXWJ38mj.js index 235677b8..f3ef1d5f 100644 --- a/contrib/data/www/web/assets/index-P7VsstGm.js +++ b/contrib/data/www/web/assets/index-BXWJ38mj.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esp32-BPYaDt9v.js","assets/rom-Caghk6Eh.js","assets/esp32c2-CtjOOsCE.js","assets/esp32c3-DDsZSfEd.js","assets/esp32c6-BRG5ZpJ8.js","assets/esp32h2-Cf8JbGZQ.js","assets/esp32s3-DkgZlzv1.js","assets/esp32s2-BOsRKhcm.js","assets/esp8266-8VKmCx7J.js","assets/esp32p4-DfBdIAkh.js"])))=>i.map(i=>d[i]); -var Lie=Object.defineProperty;var kie=(e,t,n)=>t in e?Lie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Pie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bl=(e,t,n)=>kie(e,typeof t!="symbol"?t+"":t,n);var Cnt=Pie((fi,mi)=>{function EM(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rq={exports:{}},Y_={},wq={exports:{}},gn={};/** +var Pie=Object.defineProperty;var $ie=(e,t,n)=>t in e?Pie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bl=(e,t,n)=>$ie(e,typeof t!="symbol"?t+"":t,n);var Bnt=Fie((fi,mi)=>{function CM(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wq={exports:{}},Z_={},Iq={exports:{}},gn={};/** * @license React * react.production.min.js * @@ -7,7 +7,7 @@ var Lie=Object.defineProperty;var kie=(e,t,n)=>t in e?Lie(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var jm=Symbol.for("react.element"),$ie=Symbol.for("react.portal"),Fie=Symbol.for("react.fragment"),Bie=Symbol.for("react.strict_mode"),Uie=Symbol.for("react.profiler"),jie=Symbol.for("react.provider"),zie=Symbol.for("react.context"),Hie=Symbol.for("react.forward_ref"),Gie=Symbol.for("react.suspense"),Vie=Symbol.for("react.memo"),qie=Symbol.for("react.lazy"),R2=Symbol.iterator;function Wie(e){return e===null||typeof e!="object"?null:(e=R2&&e[R2]||e["@@iterator"],typeof e=="function"?e:null)}var Iq={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oq=Object.assign,Nq={};function Bd(e,t,n){this.props=e,this.context=t,this.refs=Nq,this.updater=n||Iq}Bd.prototype.isReactComponent={};Bd.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Bd.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Aq(){}Aq.prototype=Bd.prototype;function yM(e,t,n){this.props=e,this.context=t,this.refs=Nq,this.updater=n||Iq}var CM=yM.prototype=new Aq;CM.constructor=yM;Oq(CM,Bd.prototype);CM.isPureReactComponent=!0;var w2=Array.isArray,Dq=Object.prototype.hasOwnProperty,TM={current:null},Mq={key:!0,ref:!0,__self:!0,__source:!0};function Lq(e,t,n){var r,a={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Dq.call(t,r)&&!Mq.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1t in e?Lie(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zie=c,Jie=Symbol.for("react.element"),eoe=Symbol.for("react.fragment"),toe=Object.prototype.hasOwnProperty,noe=Zie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,roe={key:!0,ref:!0,__self:!0,__source:!0};function Pq(e,t,n){var r,a={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)toe.call(t,r)&&!roe.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:Jie,type:e,key:i,ref:o,props:a,_owner:noe.current}}Y_.Fragment=eoe;Y_.jsx=Pq;Y_.jsxs=Pq;Rq.exports=Y_;var b=Rq.exports,c1={},$q={exports:{}},_i={},Fq={exports:{}},Bq={};/** + */var eoe=c,toe=Symbol.for("react.element"),noe=Symbol.for("react.fragment"),roe=Object.prototype.hasOwnProperty,aoe=eoe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ioe={key:!0,ref:!0,__self:!0,__source:!0};function $q(e,t,n){var r,a={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)roe.call(t,r)&&!ioe.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:toe,type:e,key:i,ref:o,props:a,_owner:aoe.current}}Z_.Fragment=noe;Z_.jsx=$q;Z_.jsxs=$q;wq.exports=Z_;var _=wq.exports,uN={},Fq={exports:{}},bi={},Bq={exports:{}},Uq={};/** * @license React * scheduler.production.min.js * @@ -23,7 +23,7 @@ var Lie=Object.defineProperty;var kie=(e,t,n)=>t in e?Lie(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(L,$){var F=L.length;L.push($);e:for(;0>>1,z=L[B];if(0>>1;Ba(G,F))Ja(Y,G)?(L[B]=Y,L[J]=F,B=J):(L[B]=G,L[j]=F,B=j);else if(Ja(Y,F))L[B]=Y,L[J]=F,B=J;else break e}}return $}function a(L,$){var F=L.sortIndex-$.sortIndex;return F!==0?F:L.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,p=null,f=3,m=!1,g=!1,h=!1,v=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(L){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=L)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function y(L){if(h=!1,E(L),!g)if(n(l)!==null)g=!0,A(C);else{var $=n(u);$!==null&&D(y,$.startTime-L)}}function C(L,$){g=!1,h&&(h=!1,S(R),R=-1),m=!0;var F=f;try{for(E($),p=n(l);p!==null&&(!(p.expirationTime>$)||L&&!O());){var B=p.callback;if(typeof B=="function"){p.callback=null,f=p.priorityLevel;var z=B(p.expirationTime<=$);$=e.unstable_now(),typeof z=="function"?p.callback=z:p===n(l)&&r(l),E($)}else r(l);p=n(l)}if(p!==null)var U=!0;else{var j=n(u);j!==null&&D(y,j.startTime-$),U=!1}return U}finally{p=null,f=F,m=!1}}var T=!1,x=null,R=-1,w=5,I=-1;function O(){return!(e.unstable_now()-IL||125B?(L.sortIndex=F,t(u,L),n(l)===null&&L===n(u)&&(h?(S(R),R=-1):h=!0,D(y,F-B))):(L.sortIndex=z,t(l,L),g||m||(g=!0,A(C))),L},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(L){var $=f;return function(){var F=f;f=$;try{return L.apply(this,arguments)}finally{f=F}}}})(Bq);Fq.exports=Bq;var aoe=Fq.exports;/** + */(function(e){function t(L,$){var F=L.length;L.push($);e:for(;0>>1,z=L[B];if(0>>1;Ba(G,F))Ja(Y,G)?(L[B]=Y,L[J]=F,B=J):(L[B]=G,L[j]=F,B=j);else if(Ja(Y,F))L[B]=Y,L[J]=F,B=J;else break e}}return $}function a(L,$){var F=L.sortIndex-$.sortIndex;return F!==0?F:L.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,p=null,f=3,m=!1,g=!1,h=!1,v=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(L){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=L)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function y(L){if(h=!1,E(L),!g)if(n(l)!==null)g=!0,A(C);else{var $=n(u);$!==null&&D(y,$.startTime-L)}}function C(L,$){g=!1,h&&(h=!1,S(R),R=-1),m=!0;var F=f;try{for(E($),p=n(l);p!==null&&(!(p.expirationTime>$)||L&&!O());){var B=p.callback;if(typeof B=="function"){p.callback=null,f=p.priorityLevel;var z=B(p.expirationTime<=$);$=e.unstable_now(),typeof z=="function"?p.callback=z:p===n(l)&&r(l),E($)}else r(l);p=n(l)}if(p!==null)var U=!0;else{var j=n(u);j!==null&&D(y,j.startTime-$),U=!1}return U}finally{p=null,f=F,m=!1}}var T=!1,x=null,R=-1,w=5,I=-1;function O(){return!(e.unstable_now()-IL||125B?(L.sortIndex=F,t(u,L),n(l)===null&&L===n(u)&&(h?(S(R),R=-1):h=!0,D(y,F-B))):(L.sortIndex=z,t(l,L),g||m||(g=!0,A(C))),L},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(L){var $=f;return function(){var F=f;f=$;try{return L.apply(this,arguments)}finally{f=F}}}})(Uq);Bq.exports=Uq;var ooe=Bq.exports;/** * @license React * react-dom.production.min.js * @@ -31,19 +31,19 @@ var Lie=Object.defineProperty;var kie=(e,t,n)=>t in e?Lie(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ioe=c,hi=aoe;function ft(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u1=Object.prototype.hasOwnProperty,ooe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O2={},N2={};function soe(e){return u1.call(N2,e)?!0:u1.call(O2,e)?!1:ooe.test(e)?N2[e]=!0:(O2[e]=!0,!1)}function loe(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function coe(e,t,n,r){if(t===null||typeof t>"u"||loe(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function La(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var fa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fa[e]=new La(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fa[t]=new La(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fa[e]=new La(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fa[e]=new La(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fa[e]=new La(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fa[e]=new La(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fa[e]=new La(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fa[e]=new La(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fa[e]=new La(e,5,!1,e.toLowerCase(),null,!1,!1)});var RM=/[\-:]([a-z])/g;function wM(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!1,!1)});fa.xlinkHref=new La("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!0,!0)});function IM(e,t,n,r){var a=fa.hasOwnProperty(t)?fa[t]:null;(a!==null?a.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dN=Object.prototype.hasOwnProperty,loe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A2={},D2={};function coe(e){return dN.call(D2,e)?!0:dN.call(A2,e)?!1:loe.test(e)?D2[e]=!0:(A2[e]=!0,!1)}function uoe(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function doe(e,t,n,r){if(t===null||typeof t>"u"||uoe(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function La(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var fa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fa[e]=new La(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fa[t]=new La(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fa[e]=new La(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fa[e]=new La(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fa[e]=new La(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fa[e]=new La(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fa[e]=new La(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fa[e]=new La(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fa[e]=new La(e,5,!1,e.toLowerCase(),null,!1,!1)});var IM=/[\-:]([a-z])/g;function OM(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(IM,OM);fa[t]=new La(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(IM,OM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(IM,OM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!1,!1)});fa.xlinkHref=new La("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!0,!0)});function NM(e,t,n,r){var a=fa.hasOwnProperty(t)?fa[t]:null;(a!==null?a.type!==0:r||!(2s||a[o]!==i[s]){var l=` -`+a[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{sE=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vp(e):""}function uoe(e){switch(e.tag){case 5:return Vp(e.type);case 16:return Vp("Lazy");case 13:return Vp("Suspense");case 19:return Vp("SuspenseList");case 0:case 2:case 15:return e=lE(e.type,!1),e;case 11:return e=lE(e.type.render,!1),e;case 1:return e=lE(e.type,!0),e;default:return""}}function m1(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ru:return"Fragment";case xu:return"Portal";case d1:return"Profiler";case OM:return"StrictMode";case p1:return"Suspense";case f1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zq:return(e.displayName||"Context")+".Consumer";case jq:return(e._context.displayName||"Context")+".Provider";case NM:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case AM:return t=e.displayName||null,t!==null?t:m1(e.type)||"Memo";case Bs:t=e._payload,e=e._init;try{return m1(e(t))}catch{}}return null}function doe(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return m1(t);case 8:return t===OM?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function gl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gq(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function poe(e){var t=Gq(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $g(e){e._valueTracker||(e._valueTracker=poe(e))}function Vq(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gq(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mv(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function g1(e,t){var n=t.checked;return hr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function D2(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=gl(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qq(e,t){t=t.checked,t!=null&&IM(e,"checked",t,!1)}function h1(e,t){qq(e,t);var n=gl(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?v1(e,t.type,n):t.hasOwnProperty("defaultValue")&&v1(e,t.type,gl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function M2(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function v1(e,t,n){(t!=="number"||Mv(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qp=Array.isArray;function Wu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Fg.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ff(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var sf={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},foe=["Webkit","ms","Moz","O"];Object.keys(sf).forEach(function(e){foe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sf[t]=sf[e]})});function Xq(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||sf.hasOwnProperty(e)&&sf[e]?(""+t).trim():t+"px"}function Qq(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=Xq(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var moe=hr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function S1(e,t){if(t){if(moe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ft(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ft(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ft(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ft(62))}}function E1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var y1=null;function DM(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var C1=null,Yu=null,Ku=null;function P2(e){if(e=Vm(e)){if(typeof C1!="function")throw Error(ft(280));var t=e.stateNode;t&&(t=J_(t),C1(e.stateNode,e.type,t))}}function Zq(e){Yu?Ku?Ku.push(e):Ku=[e]:Yu=e}function Jq(){if(Yu){var e=Yu,t=Ku;if(Ku=Yu=null,P2(e),t)for(e=0;e>>=0,e===0?32:31-(xoe(e)/Roe|0)|0}var Bg=64,Ug=4194304;function Wp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function $v(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=Wp(s):(i&=o,i!==0&&(r=Wp(i)))}else o=n&~a,o!==0?r=Wp(o):i!==0&&(r=Wp(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Hm(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-io(t),e[t]=n}function Noe(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=cf),V2=" ",q2=!1;function bW(e,t){switch(e){case"keyup":return ase.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function SW(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wu=!1;function ose(e,t){switch(e){case"compositionend":return SW(t);case"keypress":return t.which!==32?null:(q2=!0,V2);case"textInput":return e=t.data,e===V2&&q2?null:e;default:return null}}function sse(e,t){if(wu)return e==="compositionend"||!UM&&bW(e,t)?(e=vW(),Jh=$M=qs=null,wu=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=X2(n)}}function TW(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?TW(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xW(){for(var e=window,t=Mv();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mv(e.document)}return t}function jM(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hse(e){var t=xW(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&TW(n.ownerDocument.documentElement,n)){if(r!==null&&jM(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=Q2(n,i);var o=Q2(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Iu=null,O1=null,df=null,N1=!1;function Z2(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;N1||Iu==null||Iu!==Mv(r)||(r=Iu,"selectionStart"in r&&jM(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),df&&Gf(df,r)||(df=r,r=Uv(O1,"onSelect"),0Au||(e.current=P1[Au],P1[Au]=null,Au--)}function Kn(e,t){Au++,P1[Au]=e.current,e.current=t}var hl={},Ea=xl(hl),Ga=xl(!1),_c=hl;function ld(e,t){var n=e.type.contextTypes;if(!n)return hl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Va(e){return e=e.childContextTypes,e!=null}function zv(){sr(Ga),sr(Ea)}function i$(e,t,n){if(Ea.current!==hl)throw Error(ft(168));Kn(Ea,t),Kn(Ga,n)}function LW(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(ft(108,doe(e)||"Unknown",a));return hr({},n,r)}function Hv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hl,_c=Ea.current,Kn(Ea,e),Kn(Ga,Ga.current),!0}function o$(e,t,n){var r=e.stateNode;if(!r)throw Error(ft(169));n?(e=LW(e,t,_c),r.__reactInternalMemoizedMergedChildContext=e,sr(Ga),sr(Ea),Kn(Ea,e)):sr(Ga),Kn(Ga,n)}var as=null,eb=!1,yE=!1;function kW(e){as===null?as=[e]:as.push(e)}function Ise(e){eb=!0,kW(e)}function Rl(){if(!yE&&as!==null){yE=!0;var e=0,t=Ln;try{var n=as;for(Ln=1;e>=o,a-=o,cs=1<<32-io(t)+a|n<R?(w=x,x=null):w=x.sibling;var I=f(S,x,E[R],y);if(I===null){x===null&&(x=w);break}e&&x&&I.alternate===null&&t(S,x),_=i(I,_,R),T===null?C=I:T.sibling=I,T=I,x=w}if(R===E.length)return n(S,x),dr&&Vl(S,R),C;if(x===null){for(;RR?(w=x,x=null):w=x.sibling;var O=f(S,x,I.value,y);if(O===null){x===null&&(x=w);break}e&&x&&O.alternate===null&&t(S,x),_=i(O,_,R),T===null?C=O:T.sibling=O,T=O,x=w}if(I.done)return n(S,x),dr&&Vl(S,R),C;if(x===null){for(;!I.done;R++,I=E.next())I=p(S,I.value,y),I!==null&&(_=i(I,_,R),T===null?C=I:T.sibling=I,T=I);return dr&&Vl(S,R),C}for(x=r(S,x);!I.done;R++,I=E.next())I=m(x,S,R,I.value,y),I!==null&&(e&&I.alternate!==null&&x.delete(I.key===null?R:I.key),_=i(I,_,R),T===null?C=I:T.sibling=I,T=I);return e&&x.forEach(function(k){return t(S,k)}),dr&&Vl(S,R),C}function v(S,_,E,y){if(typeof E=="object"&&E!==null&&E.type===Ru&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pg:e:{for(var C=E.key,T=_;T!==null;){if(T.key===C){if(C=E.type,C===Ru){if(T.tag===7){n(S,T.sibling),_=a(T,E.props.children),_.return=S,S=_;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Bs&&c$(C)===T.type){n(S,T.sibling),_=a(T,E.props),_.ref=xp(S,T,E),_.return=S,S=_;break e}n(S,T);break}else t(S,T);T=T.sibling}E.type===Ru?(_=uc(E.props.children,S.mode,y,E.key),_.return=S,S=_):(y=sv(E.type,E.key,E.props,null,S.mode,y),y.ref=xp(S,_,E),y.return=S,S=y)}return o(S);case xu:e:{for(T=E.key;_!==null;){if(_.key===T)if(_.tag===4&&_.stateNode.containerInfo===E.containerInfo&&_.stateNode.implementation===E.implementation){n(S,_.sibling),_=a(_,E.children||[]),_.return=S,S=_;break e}else{n(S,_);break}else t(S,_);_=_.sibling}_=NE(E,S.mode,y),_.return=S,S=_}return o(S);case Bs:return T=E._init,v(S,_,T(E._payload),y)}if(qp(E))return g(S,_,E,y);if(Sp(E))return h(S,_,E,y);Wg(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,_!==null&&_.tag===6?(n(S,_.sibling),_=a(_,E),_.return=S,S=_):(n(S,_),_=OE(E,S.mode,y),_.return=S,S=_),o(S)):n(S,_)}return v}var ud=BW(!0),UW=BW(!1),qv=xl(null),Wv=null,Lu=null,VM=null;function qM(){VM=Lu=Wv=null}function WM(e){var t=qv.current;sr(qv),e._currentValue=t}function B1(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qu(e,t){Wv=e,VM=Lu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ja=!0),e.firstContext=null)}function Fi(e){var t=e._currentValue;if(VM!==e)if(e={context:e,memoizedValue:t,next:null},Lu===null){if(Wv===null)throw Error(ft(308));Lu=e,Wv.dependencies={lanes:0,firstContext:e}}else Lu=Lu.next=e;return t}var Zl=null;function YM(e){Zl===null?Zl=[e]:Zl.push(e)}function jW(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,YM(t)):(n.next=a.next,a.next=n),t.interleaved=n,vs(e,r)}function vs(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Us=!1;function KM(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zW(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ds(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function il(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Tn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,vs(e,n)}return a=r.interleaved,a===null?(t.next=t,YM(r)):(t.next=a.next,a.next=t),r.interleaved=t,vs(e,n)}function tv(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,LM(e,n)}}function u$(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yv(e,t,n,r){var a=e.updateQueue;Us=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l))}if(i!==null){var p=a.baseState;o=0,d=u=l=null,s=i;do{var f=s.lane,m=s.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,h=s;switch(f=t,m=n,h.tag){case 1:if(g=h.payload,typeof g=="function"){p=g.call(m,p,f);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=h.payload,f=typeof g=="function"?g.call(m,p,f):g,f==null)break e;p=hr({},p,f);break e;case 2:Us=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=a.effects,f===null?a.effects=[s]:f.push(s))}else m={eventTime:m,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=m,l=p):d=d.next=m,o|=f;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;f=s,s=f.next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}while(!0);if(d===null&&(l=p),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Ec|=o,e.lanes=o,e.memoizedState=p}}function d$(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=TE.transition;TE.transition={};try{e(!1),t()}finally{Ln=n,TE.transition=r}}function iY(){return Bi().memoizedState}function Dse(e,t,n){var r=sl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oY(e))sY(t,n);else if(n=jW(e,t,n,r),n!==null){var a=Da();oo(n,e,r,a),lY(n,t,r)}}function Mse(e,t,n){var r=sl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oY(e))sY(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,po(s,o)){var l=t.interleaved;l===null?(a.next=a,YM(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}n=jW(e,t,a,r),n!==null&&(a=Da(),oo(n,e,r,a),lY(n,t,r))}}function oY(e){var t=e.alternate;return e===gr||t!==null&&t===gr}function sY(e,t){pf=Xv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lY(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,LM(e,n)}}var Qv={readContext:Fi,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},Lse={readContext:Fi,useCallback:function(e,t){return xo().memoizedState=[e,t===void 0?null:t],e},useContext:Fi,useEffect:f$,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rv(4194308,4,eY.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rv(4194308,4,e,t)},useInsertionEffect:function(e,t){return rv(4,2,e,t)},useMemo:function(e,t){var n=xo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Dse.bind(null,gr,e),[r.memoizedState,e]},useRef:function(e){var t=xo();return e={current:e},t.memoizedState=e},useState:p$,useDebugValue:rL,useDeferredValue:function(e){return xo().memoizedState=e},useTransition:function(){var e=p$(!1),t=e[0];return e=Ase.bind(null,e[1]),xo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gr,a=xo();if(dr){if(n===void 0)throw Error(ft(407));n=n()}else{if(n=t(),Zr===null)throw Error(ft(349));Sc&30||qW(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,f$(YW.bind(null,r,i,e),[e]),r.flags|=2048,Zf(9,WW.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=xo(),t=Zr.identifierPrefix;if(dr){var n=us,r=cs;n=(r&~(1<<32-io(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xf++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{uE=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wp(e):""}function poe(e){switch(e.tag){case 5:return Wp(e.type);case 16:return Wp("Lazy");case 13:return Wp("Suspense");case 19:return Wp("SuspenseList");case 0:case 2:case 15:return e=dE(e.type,!1),e;case 11:return e=dE(e.type.render,!1),e;case 1:return e=dE(e.type,!0),e;default:return""}}function gN(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ou:return"Fragment";case Iu:return"Portal";case pN:return"Profiler";case AM:return"StrictMode";case fN:return"Suspense";case mN:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hq:return(e.displayName||"Context")+".Consumer";case zq:return(e._context.displayName||"Context")+".Provider";case DM:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case MM:return t=e.displayName||null,t!==null?t:gN(e.type)||"Memo";case Us:t=e._payload,e=e._init;try{return gN(e(t))}catch{}}return null}function foe(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gN(t);case 8:return t===AM?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function hl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vq(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function moe(e){var t=Vq(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ug(e){e._valueTracker||(e._valueTracker=moe(e))}function qq(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vq(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $v(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hN(e,t){var n=t.checked;return vr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function L2(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=hl(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Wq(e,t){t=t.checked,t!=null&&NM(e,"checked",t,!1)}function vN(e,t){Wq(e,t);var n=hl(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_N(e,t.type,n):t.hasOwnProperty("defaultValue")&&_N(e,t.type,hl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function k2(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _N(e,t,n){(t!=="number"||$v(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Yp=Array.isArray;function Xu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=jg.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Uf(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var cf={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},goe=["Webkit","ms","Moz","O"];Object.keys(cf).forEach(function(e){goe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cf[t]=cf[e]})});function Qq(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||cf.hasOwnProperty(e)&&cf[e]?(""+t).trim():t+"px"}function Zq(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=Qq(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var hoe=vr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function EN(e,t){if(t){if(hoe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ft(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ft(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ft(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ft(62))}}function yN(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var CN=null;function LM(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var TN=null,Qu=null,Zu=null;function F2(e){if(e=Wm(e)){if(typeof TN!="function")throw Error(ft(280));var t=e.stateNode;t&&(t=rb(t),TN(e.stateNode,e.type,t))}}function Jq(e){Qu?Zu?Zu.push(e):Zu=[e]:Qu=e}function eW(){if(Qu){var e=Qu,t=Zu;if(Zu=Qu=null,F2(e),t)for(e=0;e>>=0,e===0?32:31-(woe(e)/Ioe|0)|0}var zg=64,Hg=4194304;function Kp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jv(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=Kp(s):(i&=o,i!==0&&(r=Kp(i)))}else o=n&~a,o!==0?r=Kp(o):i!==0&&(r=Kp(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Vm(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-oo(t),e[t]=n}function Doe(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=df),W2=" ",Y2=!1;function SW(e,t){switch(e){case"keyup":return ose.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function EW(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nu=!1;function lse(e,t){switch(e){case"compositionend":return EW(t);case"keypress":return t.which!==32?null:(Y2=!0,W2);case"textInput":return e=t.data,e===W2&&Y2?null:e;default:return null}}function cse(e,t){if(Nu)return e==="compositionend"||!zM&&SW(e,t)?(e=_W(),nv=BM=Ws=null,Nu=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Z2(n)}}function xW(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xW(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function RW(){for(var e=window,t=$v();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$v(e.document)}return t}function HM(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _se(e){var t=RW(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xW(n.ownerDocument.documentElement,n)){if(r!==null&&HM(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=J2(n,i);var o=J2(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Au=null,NN=null,ff=null,AN=!1;function e$(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;AN||Au==null||Au!==$v(r)||(r=Au,"selectionStart"in r&&HM(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ff&&qf(ff,r)||(ff=r,r=Gv(NN,"onSelect"),0Lu||(e.current=$N[Lu],$N[Lu]=null,Lu--)}function Qn(e,t){Lu++,$N[Lu]=e.current,e.current=t}var vl={},Ea=Rl(vl),Va=Rl(!1),_c=vl;function dd(e,t){var n=e.type.contextTypes;if(!n)return vl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function qa(e){return e=e.childContextTypes,e!=null}function qv(){cr(Va),cr(Ea)}function s$(e,t,n){if(Ea.current!==vl)throw Error(ft(168));Qn(Ea,t),Qn(Va,n)}function kW(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(ft(108,foe(e)||"Unknown",a));return vr({},n,r)}function Wv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vl,_c=Ea.current,Qn(Ea,e),Qn(Va,Va.current),!0}function l$(e,t,n){var r=e.stateNode;if(!r)throw Error(ft(169));n?(e=kW(e,t,_c),r.__reactInternalMemoizedMergedChildContext=e,cr(Va),cr(Ea),Qn(Ea,e)):cr(Va),Qn(Va,n)}var os=null,ab=!1,xE=!1;function PW(e){os===null?os=[e]:os.push(e)}function Nse(e){ab=!0,PW(e)}function wl(){if(!xE&&os!==null){xE=!0;var e=0,t=Ln;try{var n=os;for(Ln=1;e>=o,a-=o,ds=1<<32-oo(t)+a|n<R?(w=x,x=null):w=x.sibling;var I=f(S,x,E[R],y);if(I===null){x===null&&(x=w);break}e&&x&&I.alternate===null&&t(S,x),b=i(I,b,R),T===null?C=I:T.sibling=I,T=I,x=w}if(R===E.length)return n(S,x),pr&&Vl(S,R),C;if(x===null){for(;RR?(w=x,x=null):w=x.sibling;var O=f(S,x,I.value,y);if(O===null){x===null&&(x=w);break}e&&x&&O.alternate===null&&t(S,x),b=i(O,b,R),T===null?C=O:T.sibling=O,T=O,x=w}if(I.done)return n(S,x),pr&&Vl(S,R),C;if(x===null){for(;!I.done;R++,I=E.next())I=p(S,I.value,y),I!==null&&(b=i(I,b,R),T===null?C=I:T.sibling=I,T=I);return pr&&Vl(S,R),C}for(x=r(S,x);!I.done;R++,I=E.next())I=m(x,S,R,I.value,y),I!==null&&(e&&I.alternate!==null&&x.delete(I.key===null?R:I.key),b=i(I,b,R),T===null?C=I:T.sibling=I,T=I);return e&&x.forEach(function(k){return t(S,k)}),pr&&Vl(S,R),C}function v(S,b,E,y){if(typeof E=="object"&&E!==null&&E.type===Ou&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Bg:e:{for(var C=E.key,T=b;T!==null;){if(T.key===C){if(C=E.type,C===Ou){if(T.tag===7){n(S,T.sibling),b=a(T,E.props.children),b.return=S,S=b;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Us&&d$(C)===T.type){n(S,T.sibling),b=a(T,E.props),b.ref=wp(S,T,E),b.return=S,S=b;break e}n(S,T);break}else t(S,T);T=T.sibling}E.type===Ou?(b=uc(E.props.children,S.mode,y,E.key),b.return=S,S=b):(y=uv(E.type,E.key,E.props,null,S.mode,y),y.ref=wp(S,b,E),y.return=S,S=y)}return o(S);case Iu:e:{for(T=E.key;b!==null;){if(b.key===T)if(b.tag===4&&b.stateNode.containerInfo===E.containerInfo&&b.stateNode.implementation===E.implementation){n(S,b.sibling),b=a(b,E.children||[]),b.return=S,S=b;break e}else{n(S,b);break}else t(S,b);b=b.sibling}b=ME(E,S.mode,y),b.return=S,S=b}return o(S);case Us:return T=E._init,v(S,b,T(E._payload),y)}if(Yp(E))return g(S,b,E,y);if(yp(E))return h(S,b,E,y);Xg(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,b!==null&&b.tag===6?(n(S,b.sibling),b=a(b,E),b.return=S,S=b):(n(S,b),b=DE(E,S.mode,y),b.return=S,S=b),o(S)):n(S,b)}return v}var fd=UW(!0),jW=UW(!1),Xv=Rl(null),Qv=null,$u=null,WM=null;function YM(){WM=$u=Qv=null}function KM(e){var t=Xv.current;cr(Xv),e._currentValue=t}function UN(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ed(e,t){Qv=e,WM=$u=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(za=!0),e.firstContext=null)}function Bi(e){var t=e._currentValue;if(WM!==e)if(e={context:e,memoizedValue:t,next:null},$u===null){if(Qv===null)throw Error(ft(308));$u=e,Qv.dependencies={lanes:0,firstContext:e}}else $u=$u.next=e;return t}var Zl=null;function XM(e){Zl===null?Zl=[e]:Zl.push(e)}function zW(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,XM(t)):(n.next=a.next,a.next=n),t.interleaved=n,bs(e,r)}function bs(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var js=!1;function QM(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function HW(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fs(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ol(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Cn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,bs(e,n)}return a=r.interleaved,a===null?(t.next=t,XM(r)):(t.next=a.next,a.next=t),r.interleaved=t,bs(e,n)}function av(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,PM(e,n)}}function p$(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Zv(e,t,n,r){var a=e.updateQueue;js=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l))}if(i!==null){var p=a.baseState;o=0,d=u=l=null,s=i;do{var f=s.lane,m=s.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,h=s;switch(f=t,m=n,h.tag){case 1:if(g=h.payload,typeof g=="function"){p=g.call(m,p,f);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=h.payload,f=typeof g=="function"?g.call(m,p,f):g,f==null)break e;p=vr({},p,f);break e;case 2:js=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=a.effects,f===null?a.effects=[s]:f.push(s))}else m={eventTime:m,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=m,l=p):d=d.next=m,o|=f;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;f=s,s=f.next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}while(!0);if(d===null&&(l=p),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Ec|=o,e.lanes=o,e.memoizedState=p}}function f$(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=wE.transition;wE.transition={};try{e(!1),t()}finally{Ln=n,wE.transition=r}}function oY(){return Ui().memoizedState}function Lse(e,t,n){var r=ll(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sY(e))lY(t,n);else if(n=zW(e,t,n,r),n!==null){var a=Da();so(n,e,r,a),cY(n,t,r)}}function kse(e,t,n){var r=ll(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sY(e))lY(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,fo(s,o)){var l=t.interleaved;l===null?(a.next=a,XM(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}n=zW(e,t,a,r),n!==null&&(a=Da(),so(n,e,r,a),cY(n,t,r))}}function sY(e){var t=e.alternate;return e===hr||t!==null&&t===hr}function lY(e,t){mf=e_=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cY(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,PM(e,n)}}var t_={readContext:Bi,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},Pse={readContext:Bi,useCallback:function(e,t){return Ro().memoizedState=[e,t===void 0?null:t],e},useContext:Bi,useEffect:g$,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ov(4194308,4,tY.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ov(4194308,4,e,t)},useInsertionEffect:function(e,t){return ov(4,2,e,t)},useMemo:function(e,t){var n=Ro();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ro();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lse.bind(null,hr,e),[r.memoizedState,e]},useRef:function(e){var t=Ro();return e={current:e},t.memoizedState=e},useState:m$,useDebugValue:iL,useDeferredValue:function(e){return Ro().memoizedState=e},useTransition:function(){var e=m$(!1),t=e[0];return e=Mse.bind(null,e[1]),Ro().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hr,a=Ro();if(pr){if(n===void 0)throw Error(ft(407));n=n()}else{if(n=t(),Zr===null)throw Error(ft(349));Sc&30||WW(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,g$(KW.bind(null,r,i,e),[e]),r.flags|=2048,em(9,YW.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ro(),t=Zr.identifierPrefix;if(pr){var n=ps,r=ds;n=(r&~(1<<32-oo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Oo]=t,e[Wf]=r,_Y(e,t,!1,!1),t.stateNode=e;e:{switch(o=E1(n,r),n){case"dialog":ar("cancel",e),ar("close",e),a=r;break;case"iframe":case"object":case"embed":ar("load",e),a=r;break;case"video":case"audio":for(a=0;afd&&(t.flags|=128,r=!0,Rp(i,!1),t.lanes=4194304)}else{if(!r)if(e=Kv(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rp(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!dr)return ga(t),null}else 2*Cr()-i.renderingStartTime>fd&&n!==1073741824&&(t.flags|=128,r=!0,Rp(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Cr(),t.sibling=null,n=mr.current,Kn(mr,r?n&1|2:n&1),t):(ga(t),null);case 22:case 23:return cL(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?oi&1073741824&&(ga(t),t.subtreeFlags&6&&(t.flags|=8192)):ga(t),null;case 24:return null;case 25:return null}throw Error(ft(156,t.tag))}function zse(e,t){switch(HM(t),t.tag){case 1:return Va(t.type)&&zv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dd(),sr(Ga),sr(Ea),ZM(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return QM(t),null;case 13:if(sr(mr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ft(340));cd()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return sr(mr),null;case 4:return dd(),null;case 10:return WM(t.type._context),null;case 22:case 23:return cL(),null;case 24:return null;default:return null}}var Kg=!1,_a=!1,Hse=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function ku(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_r(e,t,r)}else n.current=null}function Y1(e,t,n){try{n()}catch(r){_r(e,t,r)}}var T$=!1;function Gse(e,t){if(A1=Fv,e=xW(),jM(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||a!==0&&p.nodeType!==3||(s=o+a),p!==i||r!==0&&p.nodeType!==3||(l=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(m=p.firstChild)!==null;)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===a&&(s=o),f===i&&++d===r&&(l=o),(m=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(D1={focusedElem:e,selectionRange:n},Fv=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){t=Lt;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var h=g.memoizedProps,v=g.memoizedState,S=t.stateNode,_=S.getSnapshotBeforeUpdate(t.elementType===t.type?h:Ji(t.type,h),v);S.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ft(163))}}catch(y){_r(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}return g=T$,T$=!1,g}function ff(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&Y1(t,n,i)}a=a.next}while(a!==r)}}function rb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function K1(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function EY(e){var t=e.alternate;t!==null&&(e.alternate=null,EY(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oo],delete t[Wf],delete t[k1],delete t[Rse],delete t[wse])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yY(e){return e.tag===5||e.tag===3||e.tag===4}function x$(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yY(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function X1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=jv));else if(r!==4&&(e=e.child,e!==null))for(X1(e,t,n),e=e.sibling;e!==null;)X1(e,t,n),e=e.sibling}function Q1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Q1(e,t,n),e=e.sibling;e!==null;)Q1(e,t,n),e=e.sibling}var la=null,eo=!1;function As(e,t,n){for(n=n.child;n!==null;)CY(e,t,n),n=n.sibling}function CY(e,t,n){if(ko&&typeof ko.onCommitFiberUnmount=="function")try{ko.onCommitFiberUnmount(K_,n)}catch{}switch(n.tag){case 5:_a||ku(n,t);case 6:var r=la,a=eo;la=null,As(e,t,n),la=r,eo=a,la!==null&&(eo?(e=la,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):la.removeChild(n.stateNode));break;case 18:la!==null&&(eo?(e=la,n=n.stateNode,e.nodeType===8?EE(e.parentNode,n):e.nodeType===1&&EE(e,n),zf(e)):EE(la,n.stateNode));break;case 4:r=la,a=eo,la=n.stateNode.containerInfo,eo=!0,As(e,t,n),la=r,eo=a;break;case 0:case 11:case 14:case 15:if(!_a&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Y1(n,t,o),a=a.next}while(a!==r)}As(e,t,n);break;case 1:if(!_a&&(ku(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_r(n,t,s)}As(e,t,n);break;case 21:As(e,t,n);break;case 22:n.mode&1?(_a=(r=_a)||n.memoizedState!==null,As(e,t,n),_a=r):As(e,t,n);break;default:As(e,t,n)}}function R$(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Hse),t.forEach(function(r){var a=Jse.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function Ki(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=o),r&=~i}if(r=a,r=Cr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qse(r/1960))-r,10e?16:e,Ws===null)var r=!1;else{if(e=Ws,Ws=null,e_=0,Tn&6)throw Error(ft(331));var a=Tn;for(Tn|=4,Lt=e.current;Lt!==null;){var i=Lt,o=i.child;if(Lt.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lCr()-sL?cc(e,0):oL|=n),qa(e,t)}function AY(e,t){t===0&&(e.mode&1?(t=Ug,Ug<<=1,!(Ug&130023424)&&(Ug=4194304)):t=1);var n=Da();e=vs(e,t),e!==null&&(Hm(e,t,n),qa(e,n))}function Zse(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),AY(e,n)}function Jse(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ft(314))}r!==null&&r.delete(t),AY(e,n)}var DY;DY=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ga.current)ja=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ja=!1,Use(e,t,n);ja=!!(e.flags&131072)}else ja=!1,dr&&t.flags&1048576&&PW(t,Vv,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;av(e,t),e=t.pendingProps;var a=ld(t,Ea.current);Qu(t,n),a=eL(null,t,r,e,a,n);var i=tL();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Va(r)?(i=!0,Hv(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,KM(t),a.updater=nb,t.stateNode=a,a._reactInternals=t,j1(t,r,e,n),t=G1(null,t,r,!0,i,n)):(t.tag=0,dr&&i&&zM(t),Ia(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(av(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=tle(r),e=Ji(r,e),a){case 0:t=H1(null,t,r,e,n);break e;case 1:t=E$(null,t,r,e,n);break e;case 11:t=b$(null,t,r,e,n);break e;case 14:t=S$(null,t,r,Ji(r.type,e),n);break e}throw Error(ft(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),H1(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),E$(e,t,r,a,n);case 3:e:{if(gY(t),e===null)throw Error(ft(387));r=t.pendingProps,i=t.memoizedState,a=i.element,zW(e,t),Yv(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=pd(Error(ft(423)),t),t=y$(e,t,r,n,a);break e}else if(r!==a){a=pd(Error(ft(424)),t),t=y$(e,t,r,n,a);break e}else for(si=al(t.stateNode.containerInfo.firstChild),gi=t,dr=!0,ro=null,n=UW(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cd(),r===a){t=_s(e,t,n);break e}Ia(e,t,r,n)}t=t.child}return t;case 5:return HW(t),e===null&&F1(t),r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,o=a.children,M1(r,a)?o=null:i!==null&&M1(r,i)&&(t.flags|=32),mY(e,t),Ia(e,t,o,n),t.child;case 6:return e===null&&F1(t),null;case 13:return hY(e,t,n);case 4:return XM(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ud(t,null,r,n):Ia(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),b$(e,t,r,a,n);case 7:return Ia(e,t,t.pendingProps,n),t.child;case 8:return Ia(e,t,t.pendingProps.children,n),t.child;case 12:return Ia(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,Kn(qv,r._currentValue),r._currentValue=o,i!==null)if(po(i.value,o)){if(i.children===a.children&&!Ga.current){t=_s(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=ds(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),B1(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(ft(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),B1(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ia(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Qu(t,n),a=Fi(a),r=r(a),t.flags|=1,Ia(e,t,r,n),t.child;case 14:return r=t.type,a=Ji(r,t.pendingProps),a=Ji(r.type,a),S$(e,t,r,a,n);case 15:return pY(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),av(e,t),t.tag=1,Va(r)?(e=!0,Hv(t)):e=!1,Qu(t,n),cY(t,r,a),j1(t,r,a,n),G1(null,t,r,!0,e,n);case 19:return vY(e,t,n);case 22:return fY(e,t,n)}throw Error(ft(156,t.tag))};function MY(e,t){return oW(e,t)}function ele(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ki(e,t,n,r){return new ele(e,t,n,r)}function dL(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tle(e){if(typeof e=="function")return dL(e)?1:0;if(e!=null){if(e=e.$$typeof,e===NM)return 11;if(e===AM)return 14}return 2}function ll(e,t){var n=e.alternate;return n===null?(n=ki(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function sv(e,t,n,r,a,i){var o=2;if(r=e,typeof e=="function")dL(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ru:return uc(n.children,a,i,t);case OM:o=8,a|=8;break;case d1:return e=ki(12,n,t,a|2),e.elementType=d1,e.lanes=i,e;case p1:return e=ki(13,n,t,a),e.elementType=p1,e.lanes=i,e;case f1:return e=ki(19,n,t,a),e.elementType=f1,e.lanes=i,e;case Hq:return ib(n,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jq:o=10;break e;case zq:o=9;break e;case NM:o=11;break e;case AM:o=14;break e;case Bs:o=16,r=null;break e}throw Error(ft(130,e==null?e:typeof e,""))}return t=ki(o,n,t,a),t.elementType=e,t.type=r,t.lanes=i,t}function uc(e,t,n,r){return e=ki(7,e,r,t),e.lanes=n,e}function ib(e,t,n,r){return e=ki(22,e,r,t),e.elementType=Hq,e.lanes=n,e.stateNode={isHidden:!1},e}function OE(e,t,n){return e=ki(6,e,null,t),e.lanes=n,e}function NE(e,t,n){return t=ki(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nle(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=uE(0),this.expirationTimes=uE(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uE(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function pL(e,t,n,r,a,i,o,s,l){return e=new nle(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ki(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},KM(i),e}function rle(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($Y)}catch(e){console.error(e)}}$Y(),$q.exports=_i;var Ur=$q.exports;const em=xa(Ur),lle=EM({__proto__:null,default:em},[Ur]);var L$=Ur;c1.createRoot=L$.createRoot,c1.hydrateRoot=L$.hydrateRoot;const cle={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class r_{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||cle,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,l]=o;for(let u=0;u{let[s,l]=o;for(let u=0;u{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},k$=e=>e==null?"":""+e,ule=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},dle=/###/g,P$=e=>e&&e.indexOf("###")>-1?e.replace(dle,"."):e,$$=e=>!e||typeof e=="string",hf=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=hf(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=hf(e,o,Object);for(;s.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=hf(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},ple=(e,t,n,r)=>{const{obj:a,k:i}=hf(e,t,Object);a[i]=a[i]||[],a[i].push(n)},a_=(e,t)=>{const{obj:n,k:r}=hf(e,t);if(n)return n[r]},fle=(e,t,n)=>{const r=a_(e,n);return r!==void 0?r:a_(t,n)},FY=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):FY(e[r],t[r],n):e[r]=t[r]);return e},tu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var mle={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const gle=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>mle[t]):e;class hle{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const vle=[" ",",","?","!",";"],_le=new hle(20),ble=(e,t,n)=>{t=t||"",n=n||"";const r=vle.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const a=_le.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!a.test(e);if(!i){const o=e.indexOf(n);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i},nA=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let i=0;i-1&&le&&e.indexOf("_")>0?e.replace("_","-"):e;class B$ extends ub{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,o=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):typeof r=="string"&&i?s.push(...r.split(i)):s.push(r)));const l=a_(this.data,s);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!o||typeof r!="string"?l:nA(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),F$(this.data,s,a),i.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(typeof r[i]=="string"||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let l=a_(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?FY(l,r,i):l={...l,...r},F$(this.data,s,l),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var BY={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,a))}),t}};const U$={};class o_ extends ub{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),ule(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Do.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!ble(t,r,a);if(o&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(a)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const y=n.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${y}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${y}${o}`}return a?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:o}const p=this.resolve(t,n);let f=p&&p.res;const m=p&&p.usedKey||o,g=p&&p.exactUsedKey||o,h=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject;if(_&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&v.indexOf(h)<0&&!(typeof S=="string"&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,f,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(p.res=y,p.usedParams=this.getUsedParamsDetails(n),p):y}if(i){const y=Array.isArray(f),C=y?[]:{},T=y?g:m;for(const x in f)if(Object.prototype.hasOwnProperty.call(f,x)){const R=`${T}${i}${x}`;C[x]=this.translate(R,{...n,joinArrays:!1,ns:s}),C[x]===R&&(C[x]=f[x])}f=C}}else if(_&&typeof S=="string"&&Array.isArray(f))f=f.join(S),f&&(f=this.extendTranslation(f,t,n,r));else{let y=!1,C=!1;const T=n.count!==void 0&&typeof n.count!="string",x=o_.hasDefaultValue(n),R=T?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&T?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",I=T&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),O=I&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${w}`]||n.defaultValue;!this.isValidLookup(f)&&x&&(y=!0,f=O),this.isValidLookup(f)||(C=!0,f=o);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:f,M=x&&O!==f&&this.options.updateMissing;if(C||y||M){if(this.logger.log(M?"updateKey":"missingKey",u,l,o,M?O:f),i){const L=this.resolve(o,{...n,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let N=[];const A=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&A&&A[0])for(let L=0;L{const B=x&&F!==f?F:P;this.options.missingKeyHandler?this.options.missingKeyHandler(L,l,$,B,M,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(L,l,$,B,M,n),this.emit("missingKey",L,l,$,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?N.forEach(L=>{const $=this.pluralResolver.getSuffixes(L,n);I&&n[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(F=>{D([L],o+F,n[`defaultValue${F}`]||O)})}):D(N,o,O))}f=this.extendTranslation(f,t,n,p,r),C&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(C||y)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,y?f:void 0):f=this.options.parseMissingKeyHandler(f))}return a?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(t,n,r,a,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let p=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||a.usedLng,r),u){const f=t.match(this.interpolator.nestingRegexp),m=f&&f.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,i,o,s;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),d=u.key;a=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",m=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),g=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(v=>{this.isValidLookup(r)||(s=v,!U$[`${h[0]}-${v}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(U$[`${h[0]}-${v}`]=!0,this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(S=>{if(this.isValidLookup(r))return;o=S;const _=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(_,d,S,v,n);else{let y;f&&(y=this.pluralResolver.getSuffix(S,n.count,n));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(_.push(d+y),n.ordinal&&y.indexOf(T)===0&&_.push(d+y.replace(T,this.options.pluralSeparator)),m&&_.push(d+C)),g){const x=`${d}${this.options.contextSeparator}${n.context}`;_.push(x),f&&(_.push(x+y),n.ordinal&&y.indexOf(T)===0&&_.push(x+y.replace(T,this.options.pluralSeparator)),m&&_.push(x+C))}}let E;for(;E=_.pop();)this.isValidLookup(r)||(i=E,r=this.getResource(S,v,E,n))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const i of n)delete a[i]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const AE=e=>e.charAt(0).toUpperCase()+e.slice(1);class j${constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Do.create("languageUtils")}getScriptPartFromCode(t){if(t=i_(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=i_(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=AE(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=AE(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=AE(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],i=o=>{o&&(this.isSupportedCode(o)?a.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(o=>{a.indexOf(o)<0&&i(this.formatLanguageCode(o))}),a}}let Sle=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ele={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const yle=["v1","v2","v3"],Cle=["v4"],z$={zero:0,one:1,two:2,few:3,many:4,other:5},Tle=()=>{const e={};return Sle.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Ele[t.fc]}})}),e};class xle{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Do.create("pluralResolver"),(!this.options.compatibilityJSON||Cle.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Tle(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=i_(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[i]=o,o}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,i)=>z$[a]-z$[i]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const i=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!yle.includes(this.options.compatibilityJSON)}}const H$=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=fle(e,t,n);return!i&&a&&typeof n=="string"&&(i=nA(e,n,r),i===void 0&&(i=nA(t,n,r))),i},DE=e=>e.replace(/\$/g,"$$$$");class Rle{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Do.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:f,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:S,alwaysFormat:_}=t.interpolation;this.escape=n!==void 0?n:gle,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?tu(i):o||"{{",this.suffix=s?tu(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=f?tu(f):m||tu("$t("),this.nestingSuffix=g?tu(g):h||tu(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=S||1e3,this.alwaysFormat=_!==void 0?_:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let i,o,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const S=H$(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...a,...n,interpolationkey:m}):S}const g=m.split(this.formatSeparator),h=g.shift().trim(),v=g.join(this.formatSeparator).trim();return this.format(H$(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure),v,r,{...a,...n,interpolationkey:h})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>DE(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?DE(this.escape(m)):DE(m)}].forEach(m=>{for(s=0;i=m.regex.exec(t);){const g=i[1].trim();if(o=u(g),o===void 0)if(typeof d=="function"){const v=d(t,i,a);o=typeof v=="string"?v:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))o="";else if(p){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=k$(o));const h=m.safeValue(o);if(t=t.replace(i[0],h),p?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,o;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const p=l.split(new RegExp(`${d}[ ]*{`));let f=`{${p[1]}`;l=p[0],f=this.interpolate(f,o);const m=f.match(/'/g),g=f.match(/"/g);(m&&m.length%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{o=JSON.parse(f),u&&(o={...u,...o})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,h),`${l}${d}${f}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];o={...r},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(p=>p.trim());a[1]=d.shift(),l=d,u=!0}if(i=n(s.call(this,a[1].trim(),o),o),i&&a[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=k$(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),u&&(i=l.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}}const wle=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(o=>{if(o){const[s,...l]=o.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},nu=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(i_(r),a),t[o]=s),s(n)}};class Ile{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Do.create("formatter"),this.options=t,this.formats={number:nu((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return i=>a.format(i)}),currency:nu((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>a.format(i)}),datetime:nu((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return i=>a.format(i)}),relativetime:nu((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return i=>a.format(i,r.range||"day")}),list:nu((n,r)=>{const a=new Intl.ListFormat(n,{...r});return i=>a.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=nu(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=n.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(s=>s.indexOf(")")>-1)){const s=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,s)].join(this.formatSeparator)}return i.reduce((s,l)=>{const{formatName:u,formatOptions:d}=wle(l);if(this.formats[u]){let p=s;try{const f=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},m=f.locale||f.lng||a.locale||a.lng||r;p=this.formats[u](s,m,{...d,...a,...f})}catch(f){this.logger.warn(f)}return p}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const Ole=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Nle extends ub{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Do.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const i={},o={},s={},l={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const f=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?o[f]===void 0&&(o[f]=!0):(this.state[f]=1,d=!1,o[f]===void 0&&(o[f]=!0),i[f]===void 0&&(i[f]=!0),l[p]===void 0&&(l[p]=!0)))}),d||(s[u]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const a=t.split("|"),i=a[0],o=a[1];n&&this.emit("failedLoading",i,o,n),!n&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{ple(l.loaded,[i],o),Ole(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(p=>{s[u][p]===void 0&&(s[u][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:i,callback:o});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,i*2,o)},i);return}o(u,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],i=r[1];this.read(a,i,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${a} failed`,o),!o&&s&&this.logger.log(`${n}loaded namespace ${i} for language ${a}`,s),this.loaded(t,o,s)})}saveMissing(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,l):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(p=>s(null,p)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,l)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const G$=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),V$=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Zg=()=>{},Ale=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class tm extends ub{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=V$(t),this.services={},this.logger=Do,this.modules={external:[]},Ale(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=G$();this.options={...a,...this.options,...V$(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Do.init(i(this.modules.logger),this.options):Do.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=Ile);const p=new j$(this.options);this.store=new B$(this.options.resources,this.options);const f=this.services;f.logger=Do,f.resourceStore=this.store,f.languageUtils=p,f.pluralResolver=new xle(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Rle(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Nle(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var g=arguments.length,h=new Array(g>1?g-1:0),v=1;v1?g-1:0),v=1;v{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Zg),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const l=Ip(),u=()=>{const d=(p,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),r(p,f)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zg;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],o=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};a?o(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(s=>o(s)),this.services.backendConnector.load(i,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Ip();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Zg),this.services.backendConnector.reload(t,n,i=>{a.resolve(),r(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&BY.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Ip();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const u=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{o(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const i=function(o,s){let l;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p`${l.keyPrefix}${f}${g}`):m=l.keyPrefix?`${l.keyPrefix}${f}${o}`:o,a.t(m,l)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!a||o(i,t)))}loadNamespaces(t,n){const r=Ip();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Ip();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],i=t.filter(o=>a.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=a.concat(i),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new j$(G$());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new tm(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zg;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new tm(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new B$(this.store.data,a),i.services.resourceStore=i.store),i.translator=new o_(i.services,a),i.translator.on("*",function(s){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d{console!=null&&console.warn&&(dc(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},q$={},rA=(...e)=>{dc(e[0])&&q$[e[0]]||(dc(e[0])&&(q$[e[0]]=new Date),Dle(...e))},UY=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},W$=(e,t,n)=>{e.loadNamespaces(t,UY(e,n))},Y$=(e,t,n,r)=>{dc(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,UY(e,r))},Mle=(e,t,n={})=>!t.languages||!t.languages.length?(rA("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),dc=e=>typeof e=="string",Lle=e=>typeof e=="object"&&e!==null,kle=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ple={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},$le=e=>Ple[e],Fle=e=>e.replace(kle,$le);let aA={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Fle};const Ble=(e={})=>{aA={...aA,...e}},Ule=()=>aA;let jY;const jle=e=>{jY=e},zle=()=>jY,Hle={type:"3rdParty",init(e){Ble(e.options.react),jle(e)}},Gle=c.createContext();class Vle{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const qle=(e,t)=>{const n=c.useRef();return c.useEffect(()=>{n.current=e},[e,t]),n.current},zY=(e,t,n,r)=>e.getFixedT(t,n,r),Wle=(e,t,n,r)=>c.useCallback(zY(e,t,n,r),[e,t,n,r]),$t=(e,t={})=>{var y,C,T,x;const{i18n:n}=t,{i18n:r,defaultNS:a}=c.useContext(Gle)||{},i=n||r||zle();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Vle),!i){rA("You will need to pass in an i18next instance by using initReactI18next");const R=(I,O)=>dc(O)?O:Lle(O)&&dc(O.defaultValue)?O.defaultValue:Array.isArray(I)?I[I.length-1]:I,w=[R,{},!1];return w.t=R,w.i18n={},w.ready=!1,w}(y=i.options.react)!=null&&y.wait&&rA("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Ule(),...i.options.react,...t},{useSuspense:s,keyPrefix:l}=o;let u=a||((C=i.options)==null?void 0:C.defaultNS);u=dc(u)?[u]:u||["translation"],(x=(T=i.reportNamespaces).addUsedNamespaces)==null||x.call(T,u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(R=>Mle(R,i,o)),p=Wle(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),f=()=>p,m=()=>zY(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),[g,h]=c.useState(f);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const S=qle(v),_=c.useRef(!0);c.useEffect(()=>{const{bindI18n:R,bindI18nStore:w}=o;_.current=!0,!d&&!s&&(t.lng?Y$(i,t.lng,u,()=>{_.current&&h(m)}):W$(i,u,()=>{_.current&&h(m)})),d&&S&&S!==v&&_.current&&h(m);const I=()=>{_.current&&h(m)};return R&&(i==null||i.on(R,I)),w&&(i==null||i.store.on(w,I)),()=>{_.current=!1,i&&(R==null||R.split(" ").forEach(O=>i.off(O,I))),w&&i&&w.split(" ").forEach(O=>i.store.off(O,I))}},[i,v]),c.useEffect(()=>{_.current&&d&&h(f)},[i,l,d]);const E=[g,i,d];if(E.t=g,E.i18n=i,E.ready=d,d||!d&&!s)return E;throw new Promise(R=>{t.lng?Y$(i,t.lng,u,()=>R()):W$(i,u,()=>R())})};function iA(e){"@babel/helpers - typeof";return iA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iA(e)}function HY(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":iA(XMLHttpRequest))==="object"}function Yle(e){return!!e&&typeof e.then=="function"}function Kle(e){return Yle(e)?e:Promise.resolve(e)}function Xle(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var oA={exports:{}},Jg={exports:{}},K$;function Qle(){return K$||(K$=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Sa<"u"&&Sa,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(o){var s=typeof i<"u"&&i||typeof self<"u"&&self||typeof s<"u"&&s,l={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(N){return N&&DataView.prototype.isPrototypeOf(N)}if(l.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(N){return N&&d.indexOf(Object.prototype.toString.call(N))>-1};function f(N){if(typeof N!="string"&&(N=String(N)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(N)||N==="")throw new TypeError('Invalid character in header field name: "'+N+'"');return N.toLowerCase()}function m(N){return typeof N!="string"&&(N=String(N)),N}function g(N){var A={next:function(){var D=N.shift();return{done:D===void 0,value:D}}};return l.iterable&&(A[Symbol.iterator]=function(){return A}),A}function h(N){this.map={},N instanceof h?N.forEach(function(A,D){this.append(D,A)},this):Array.isArray(N)?N.forEach(function(A){this.append(A[0],A[1])},this):N&&Object.getOwnPropertyNames(N).forEach(function(A){this.append(A,N[A])},this)}h.prototype.append=function(N,A){N=f(N),A=m(A);var D=this.map[N];this.map[N]=D?D+", "+A:A},h.prototype.delete=function(N){delete this.map[f(N)]},h.prototype.get=function(N){return N=f(N),this.has(N)?this.map[N]:null},h.prototype.has=function(N){return this.map.hasOwnProperty(f(N))},h.prototype.set=function(N,A){this.map[f(N)]=m(A)},h.prototype.forEach=function(N,A){for(var D in this.map)this.map.hasOwnProperty(D)&&N.call(A,this.map[D],D,this)},h.prototype.keys=function(){var N=[];return this.forEach(function(A,D){N.push(D)}),g(N)},h.prototype.values=function(){var N=[];return this.forEach(function(A){N.push(A)}),g(N)},h.prototype.entries=function(){var N=[];return this.forEach(function(A,D){N.push([D,A])}),g(N)},l.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function v(N){if(N.bodyUsed)return Promise.reject(new TypeError("Already read"));N.bodyUsed=!0}function S(N){return new Promise(function(A,D){N.onload=function(){A(N.result)},N.onerror=function(){D(N.error)}})}function _(N){var A=new FileReader,D=S(A);return A.readAsArrayBuffer(N),D}function E(N){var A=new FileReader,D=S(A);return A.readAsText(N),D}function y(N){for(var A=new Uint8Array(N),D=new Array(A.length),L=0;L-1?A:N}function w(N,A){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var D=A.body;if(N instanceof w){if(N.bodyUsed)throw new TypeError("Already read");this.url=N.url,this.credentials=N.credentials,A.headers||(this.headers=new h(N.headers)),this.method=N.method,this.mode=N.mode,this.signal=N.signal,!D&&N._bodyInit!=null&&(D=N._bodyInit,N.bodyUsed=!0)}else this.url=String(N);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new h(A.headers)),this.method=R(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function I(N){var A=new FormData;return N.trim().split("&").forEach(function(D){if(D){var L=D.split("="),$=L.shift().replace(/\+/g," "),F=L.join("=").replace(/\+/g," ");A.append(decodeURIComponent($),decodeURIComponent(F))}}),A}function O(N){var A=new h,D=N.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(L){return L.indexOf(` -`)===0?L.substr(1,L.length):L}).forEach(function(L){var $=L.split(":"),F=$.shift().trim();if(F){var B=$.join(":").trim();A.append(F,B)}}),A}T.call(w.prototype);function k(N,A){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A||(A={}),this.type="default",this.status=A.status===void 0?200:A.status,this.ok=this.status>=200&&this.status<300,this.statusText=A.statusText===void 0?"":""+A.statusText,this.headers=new h(A.headers),this.url=A.url||"",this._initBody(N)}T.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var N=new k(null,{status:0,statusText:""});return N.type="error",N};var P=[301,302,303,307,308];k.redirect=function(N,A){if(P.indexOf(A)===-1)throw new RangeError("Invalid status code");return new k(null,{status:A,headers:{location:N}})},o.DOMException=s.DOMException;try{new o.DOMException}catch{o.DOMException=function(A,D){this.message=A,this.name=D;var L=Error(A);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(N,A){return new Promise(function(D,L){var $=new w(N,A);if($.signal&&$.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function B(){F.abort()}F.onload=function(){var U={status:F.status,statusText:F.statusText,headers:O(F.getAllResponseHeaders()||"")};U.url="responseURL"in F?F.responseURL:U.headers.get("X-Request-URL");var j="response"in F?F.response:F.responseText;setTimeout(function(){D(new k(j,U))},0)},F.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function z(U){try{return U===""&&s.location.href?s.location.href:U}catch{return U}}F.open($.method,z($.url),!0),$.credentials==="include"?F.withCredentials=!0:$.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(l.blob?F.responseType="blob":l.arrayBuffer&&$.headers.get("Content-Type")&&$.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof h)?Object.getOwnPropertyNames(A.headers).forEach(function(U){F.setRequestHeader(U,m(A.headers[U]))}):$.headers.forEach(function(U,j){F.setRequestHeader(j,U)}),$.signal&&($.signal.addEventListener("abort",B),F.onreadystatechange=function(){F.readyState===4&&$.signal.removeEventListener("abort",B)}),F.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return M.polyfill=!0,s.fetch||(s.fetch=M,s.Headers=h,s.Request=w,s.Response=k),o.Headers=h,o.Request=w,o.Response=k,o.fetch=M,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(Jg,Jg.exports)),Jg.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Sa<"u"&&Sa.fetch?n=Sa.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof Xle<"u"&&typeof window>"u"){var r=n||Qle();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(oA,oA.exports);var GY=oA.exports;const VY=xa(GY),X$=EM({__proto__:null,default:VY},[GY]);function Q$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Z$(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=Z$({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},eF?{}:o),l=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{J$(n,s,a,l)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(o).forEach(function(d){delete s[d]}),J$(n,s,a,l),eF=!0}catch(d){a(d)}}},nce=function(t,n,r,a){r&&Cc(r)==="object"&&(r=sA("",r).slice(1)),t.queryStringParams&&(n=sA(n,t.queryStringParams));try{var i;nm?i=new nm:i=new s_("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&a(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},rce=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},ps&&n.indexOf("file:")!==0)return tce(t,n,r,a);if(HY()||typeof ActiveXObject=="function")return nce(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function md(e){"@babel/helpers - typeof";return md=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},md(e)}function tF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ME(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ace(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return oce(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=ME(ME(ME({},lce()),this.options||{}),a),this.allOptions=i,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);md(o)==="object"&&typeof o.unref=="function"&&o.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,i,o){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,a)),l=Kle(l),l.then(function(u){if(!u)return o(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,o,r,i)})}},{key:"loadUrl",value:function(n,r,a,i){var o=this,s=typeof a=="string"?[a]:a,l=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(s,l);this.options.request(this.options,n,u,function(d,p){if(p&&(p.status>=500&&p.status<600||!p.status))return r("failed loading "+n+"; status code: "+p.status,!0);if(p&&p.status>=400&&p.status<500)return r("failed loading "+n+"; status code: "+p.status,!1);if(!p&&d&&d.message&&d.message.toLowerCase().indexOf("failed")>-1&&(d.message.indexOf("fetch")>-1||d.message.toLowerCase().indexOf("network")>-1))return r("failed loading "+n+": "+d.message,!0);if(d)return r(d,!1);var f,m;try{typeof p.data=="string"?f=o.options.parse(p.data,a,i):f=p.data}catch{m="failed parsing "+n+" to json"}if(m)return r(m,!1);r(null,f)})}},{key:"create",value:function(n,r,a,i,o){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,a,i),u=0,d=[],p=[];n.forEach(function(f){var m=s.options.addPath;typeof s.options.addPath=="function"&&(m=s.options.addPath(f,r));var g=s.services.interpolator.interpolate(m,{lng:f,ns:r});s.options.request(s.options,g,l,function(h,v){u+=1,d.push(h),p.push(v),u===n.length&&typeof o=="function"&&o(d,p)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,i=r.languageUtils,o=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(p){var f=i.toResolveHierarchy(p);f.forEach(function(m){l.indexOf(m)<0&&l.push(m)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(p){a.read(d,p,"read",null,null,function(f,m){f&&o.warn("loading namespace ".concat(p," for language ").concat(d," failed"),f),!f&&m&&o.log("loaded namespace ".concat(p," for language ").concat(d),m),a.loaded("".concat(d,"|").concat(p),f,m)})})})}}}])}();YY.type="backend";const{slice:cce,forEach:uce}=[];function dce(e){return uce.call(cce.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const nF=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pce=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let i=`${e}=${a}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!nF.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!nF.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},rF={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=pce(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const o=a.substring(1).split("&");for(let s=0;s0&&o[s].substring(0,l)===t&&(n=o[s].substring(l+1))}}return n}};let Np=null;const aF=()=>{if(Np!==null)return Np;try{Np=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Np=!1}return Np};var gce={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&aF())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&aF()&&window.localStorage.setItem(n,e)}};let Ap=null;const iF=()=>{if(Ap!==null)return Ap;try{Ap=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Ap=!1}return Ap};var hce={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&iF())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&iF()&&window.sessionStorage.setItem(n,e)}},vce={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let i=0;i0?t:void 0}},_ce={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},bce={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},Sce={name:"subdomain",lookup(e){var a,i;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((i=(a=window.location)==null?void 0:a.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function Ece(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class KY{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=dce(n,this.options||{},Ece()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(fce),this.addDetector(mce),this.addDetector(gce),this.addDetector(hce),this.addDetector(vce),this.addDetector(_ce),this.addDetector(bce),this.addDetector(Sce)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}KY.type="languageDetector";ra.use(YY).use(KY).use(Hle).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var XY={exports:{}};/*! +`+i.stack}return{value:e,source:t,stack:a,digest:null}}function NE(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function HN(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Bse=typeof WeakMap=="function"?WeakMap:Map;function dY(e,t,n){n=fs(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){r_||(r_=!0,JN=r),HN(e,t)},n}function pY(e,t,n){n=fs(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){HN(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){HN(e,t),typeof r!="function"&&(sl===null?sl=new Set([this]):sl.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function _$(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bse;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Jse.bind(null,e,t,n),t.then(e,e))}function b$(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function S$(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fs(-1,1),t.tag=2,ol(n,t,1))),n.lanes|=1),e)}var Use=Rs.ReactCurrentOwner,za=!1;function Ia(e,t,n,r){t.child=e===null?jW(t,null,n,r):fd(t,e.child,n,r)}function E$(e,t,n,r,a){n=n.render;var i=t.ref;return ed(t,a),r=nL(e,t,n,r,i,a),n=rL(),e!==null&&!za?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ss(e,t,a)):(pr&&n&&GM(t),t.flags|=1,Ia(e,t,r,a),t.child)}function y$(e,t,n,r,a){if(e===null){var i=n.type;return typeof i=="function"&&!fL(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,fY(e,t,i,r,a)):(e=uv(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&a)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:qf,n(o,r)&&e.ref===t.ref)return Ss(e,t,a)}return t.flags|=1,e=cl(i,r),e.ref=t.ref,e.return=t,t.child=e}function fY(e,t,n,r,a){if(e!==null){var i=e.memoizedProps;if(qf(i,r)&&e.ref===t.ref)if(za=!1,t.pendingProps=r=i,(e.lanes&a)!==0)e.flags&131072&&(za=!0);else return t.lanes=e.lanes,Ss(e,t,a)}return GN(e,t,n,r,a)}function mY(e,t,n){var r=t.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qn(Bu,oi),oi|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Qn(Bu,oi),oi|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Qn(Bu,oi),oi|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Qn(Bu,oi),oi|=r;return Ia(e,t,a,n),t.child}function gY(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function GN(e,t,n,r,a){var i=qa(n)?_c:Ea.current;return i=dd(t,i),ed(t,a),n=nL(e,t,n,r,i,a),r=rL(),e!==null&&!za?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ss(e,t,a)):(pr&&r&&GM(t),t.flags|=1,Ia(e,t,n,a),t.child)}function C$(e,t,n,r,a){if(qa(n)){var i=!0;Wv(t)}else i=!1;if(ed(t,a),t.stateNode===null)sv(e,t),uY(t,n,r),zN(t,n,r,a),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Bi(u):(u=qa(n)?_c:Ea.current,u=dd(t,u));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==u)&&v$(t,o,r,u),js=!1;var f=t.memoizedState;o.state=f,Zv(t,r,o,a),l=t.memoizedState,s!==r||f!==l||Va.current||js?(typeof d=="function"&&(jN(t,n,d,r),l=t.memoizedState),(s=js||h$(t,n,s,r,f,l,u))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,HW(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:eo(t.type,s),o.props=u,p=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Bi(l):(l=qa(n)?_c:Ea.current,l=dd(t,l));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==p||f!==l)&&v$(t,o,r,l),js=!1,f=t.memoizedState,o.state=f,Zv(t,r,o,a);var g=t.memoizedState;s!==p||f!==g||Va.current||js?(typeof m=="function"&&(jN(t,n,m,r),g=t.memoizedState),(u=js||h$(t,n,u,r,f,g,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,g,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,g,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return VN(e,t,n,r,i,a)}function VN(e,t,n,r,a,i){gY(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return a&&l$(t,n,!1),Ss(e,t,i);r=t.stateNode,Use.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=fd(t,e.child,null,i),t.child=fd(t,null,s,i)):Ia(e,t,s,i),t.memoizedState=r.state,a&&l$(t,n,!0),t.child}function hY(e){var t=e.stateNode;t.pendingContext?s$(e,t.pendingContext,t.pendingContext!==t.context):t.context&&s$(e,t.context,!1),ZM(e,t.containerInfo)}function T$(e,t,n,r,a){return pd(),qM(a),t.flags|=256,Ia(e,t,n,r),t.child}var qN={dehydrated:null,treeContext:null,retryLane:0};function WN(e){return{baseLanes:e,cachePool:null,transitions:null}}function vY(e,t,n){var r=t.pendingProps,a=gr.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(a&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),Qn(gr,a&1),e===null)return BN(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=cb(o,r,0,null),e=uc(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=WN(n),t.memoizedState=qN,e):oL(t,o));if(a=e.memoizedState,a!==null&&(s=a.dehydrated,s!==null))return jse(e,t,o,r,s,a,n);if(i){i=r.fallback,o=t.mode,a=e.child,s=a.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=cl(a,l),r.subtreeFlags=a.subtreeFlags&14680064),s!==null?i=cl(s,i):(i=uc(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?WN(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=qN,r}return i=e.child,e=i.sibling,r=cl(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function oL(e,t){return t=cb({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Qg(e,t,n,r){return r!==null&&qM(r),fd(t,e.child,null,n),e=oL(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jse(e,t,n,r,a,i,o){if(n)return t.flags&256?(t.flags&=-257,r=NE(Error(ft(422))),Qg(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=cb({mode:"visible",children:r.children},a,0,null),i=uc(i,a,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&fd(t,e.child,null,o),t.child.memoizedState=WN(o),t.memoizedState=qN,i);if(!(t.mode&1))return Qg(e,t,o,null);if(a.data==="$!"){if(r=a.nextSibling&&a.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(ft(419)),r=NE(i,r,void 0),Qg(e,t,o,r)}if(s=(o&e.childLanes)!==0,za||s){if(r=Zr,r!==null){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(r.suspendedLanes|o)?0:a,a!==0&&a!==i.retryLane&&(i.retryLane=a,bs(e,a),so(r,e,a,-1))}return pL(),r=NE(Error(ft(421))),Qg(e,t,o,r)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=ele.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,si=il(a.nextSibling),gi=t,pr=!0,ao=null,e!==null&&(Mi[Li++]=ds,Mi[Li++]=ps,Mi[Li++]=bc,ds=e.id,ps=e.overflow,bc=t),t=oL(t,r.children),t.flags|=4096,t)}function x$(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),UN(e.return,t,n)}function AE(e,t,n,r,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function _Y(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Ia(e,t,r.children,n),r=gr.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&x$(e,n,t);else if(e.tag===19)x$(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Qn(gr,r),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&Jv(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),AE(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Jv(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}AE(t,!0,n,null,i);break;case"together":AE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sv(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ss(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ec|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ft(153));if(t.child!==null){for(e=t.child,n=cl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=cl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zse(e,t,n){switch(t.tag){case 3:hY(t),pd();break;case 5:GW(t);break;case 1:qa(t.type)&&Wv(t);break;case 4:ZM(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Qn(Xv,r._currentValue),r._currentValue=a;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Qn(gr,gr.current&1),t.flags|=128,null):n&t.child.childLanes?vY(e,t,n):(Qn(gr,gr.current&1),e=Ss(e,t,n),e!==null?e.sibling:null);Qn(gr,gr.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return _Y(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Qn(gr,gr.current),r)break;return null;case 22:case 23:return t.lanes=0,mY(e,t,n)}return Ss(e,t,n)}var bY,YN,SY,EY;bY=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};YN=function(){};SY=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Jl($o.current);var i=null;switch(n){case"input":a=hN(e,a),r=hN(e,r),i=[];break;case"select":a=vr({},a,{value:void 0}),r=vr({},r,{value:void 0}),i=[];break;case"textarea":a=bN(e,a),r=bN(e,r),i=[];break;default:typeof a.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vv)}EN(n,r);var o;n=null;for(u in a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&a[u]!=null)if(u==="style"){var s=a[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Bf.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(s=a!=null?a[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Bf.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&or("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};EY=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ip(e,t){if(!pr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ga(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&14680064,r|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hse(e,t,n){var r=t.pendingProps;switch(VM(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ga(t),null;case 1:return qa(t.type)&&qv(),ga(t),null;case 3:return r=t.stateNode,md(),cr(Va),cr(Ea),eL(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Kg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ao!==null&&(nA(ao),ao=null))),YN(e,t),ga(t),null;case 5:JM(t);var a=Jl(Qf.current);if(n=t.type,e!==null&&t.stateNode!=null)SY(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(ft(166));return ga(t),null}if(e=Jl($o.current),Kg(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[No]=t,r[Kf]=i,e=(t.mode&1)!==0,n){case"dialog":or("cancel",r),or("close",r);break;case"iframe":case"object":case"embed":or("load",r);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[No]=t,e[Kf]=r,bY(e,t,!1,!1),t.stateNode=e;e:{switch(o=yN(n,r),n){case"dialog":or("cancel",e),or("close",e),a=r;break;case"iframe":case"object":case"embed":or("load",e),a=r;break;case"video":case"audio":for(a=0;ahd&&(t.flags|=128,r=!0,Ip(i,!1),t.lanes=4194304)}else{if(!r)if(e=Jv(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ip(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!pr)return ga(t),null}else 2*Cr()-i.renderingStartTime>hd&&n!==1073741824&&(t.flags|=128,r=!0,Ip(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Cr(),t.sibling=null,n=gr.current,Qn(gr,r?n&1|2:n&1),t):(ga(t),null);case 22:case 23:return dL(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?oi&1073741824&&(ga(t),t.subtreeFlags&6&&(t.flags|=8192)):ga(t),null;case 24:return null;case 25:return null}throw Error(ft(156,t.tag))}function Gse(e,t){switch(VM(t),t.tag){case 1:return qa(t.type)&&qv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return md(),cr(Va),cr(Ea),eL(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return JM(t),null;case 13:if(cr(gr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ft(340));pd()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return cr(gr),null;case 4:return md(),null;case 10:return KM(t.type._context),null;case 22:case 23:return dL(),null;case 24:return null;default:return null}}var Zg=!1,_a=!1,Vse=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function Fu(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){br(e,t,r)}else n.current=null}function KN(e,t,n){try{n()}catch(r){br(e,t,r)}}var R$=!1;function qse(e,t){if(DN=zv,e=RW(),HM(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||a!==0&&p.nodeType!==3||(s=o+a),p!==i||r!==0&&p.nodeType!==3||(l=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(m=p.firstChild)!==null;)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===a&&(s=o),f===i&&++d===r&&(l=o),(m=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(MN={focusedElem:e,selectionRange:n},zv=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){t=Lt;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var h=g.memoizedProps,v=g.memoizedState,S=t.stateNode,b=S.getSnapshotBeforeUpdate(t.elementType===t.type?h:eo(t.type,h),v);S.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ft(163))}}catch(y){br(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}return g=R$,R$=!1,g}function gf(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&KN(t,n,i)}a=a.next}while(a!==r)}}function sb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function XN(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function yY(e){var t=e.alternate;t!==null&&(e.alternate=null,yY(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[No],delete t[Kf],delete t[PN],delete t[Ise],delete t[Ose])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CY(e){return e.tag===5||e.tag===3||e.tag===4}function w$(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CY(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function QN(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vv));else if(r!==4&&(e=e.child,e!==null))for(QN(e,t,n),e=e.sibling;e!==null;)QN(e,t,n),e=e.sibling}function ZN(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ZN(e,t,n),e=e.sibling;e!==null;)ZN(e,t,n),e=e.sibling}var la=null,to=!1;function Ds(e,t,n){for(n=n.child;n!==null;)TY(e,t,n),n=n.sibling}function TY(e,t,n){if(Po&&typeof Po.onCommitFiberUnmount=="function")try{Po.onCommitFiberUnmount(J_,n)}catch{}switch(n.tag){case 5:_a||Fu(n,t);case 6:var r=la,a=to;la=null,Ds(e,t,n),la=r,to=a,la!==null&&(to?(e=la,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):la.removeChild(n.stateNode));break;case 18:la!==null&&(to?(e=la,n=n.stateNode,e.nodeType===8?TE(e.parentNode,n):e.nodeType===1&&TE(e,n),Gf(e)):TE(la,n.stateNode));break;case 4:r=la,a=to,la=n.stateNode.containerInfo,to=!0,Ds(e,t,n),la=r,to=a;break;case 0:case 11:case 14:case 15:if(!_a&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&KN(n,t,o),a=a.next}while(a!==r)}Ds(e,t,n);break;case 1:if(!_a&&(Fu(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){br(n,t,s)}Ds(e,t,n);break;case 21:Ds(e,t,n);break;case 22:n.mode&1?(_a=(r=_a)||n.memoizedState!==null,Ds(e,t,n),_a=r):Ds(e,t,n);break;default:Ds(e,t,n)}}function I$(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Vse),t.forEach(function(r){var a=tle.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function Xi(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=o),r&=~i}if(r=a,r=Cr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Yse(r/1960))-r,10e?16:e,Ys===null)var r=!1;else{if(e=Ys,Ys=null,a_=0,Cn&6)throw Error(ft(331));var a=Cn;for(Cn|=4,Lt=e.current;Lt!==null;){var i=Lt,o=i.child;if(Lt.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lCr()-cL?cc(e,0):lL|=n),Wa(e,t)}function DY(e,t){t===0&&(e.mode&1?(t=Hg,Hg<<=1,!(Hg&130023424)&&(Hg=4194304)):t=1);var n=Da();e=bs(e,t),e!==null&&(Vm(e,t,n),Wa(e,n))}function ele(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),DY(e,n)}function tle(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ft(314))}r!==null&&r.delete(t),DY(e,n)}var MY;MY=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Va.current)za=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return za=!1,zse(e,t,n);za=!!(e.flags&131072)}else za=!1,pr&&t.flags&1048576&&$W(t,Kv,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;sv(e,t),e=t.pendingProps;var a=dd(t,Ea.current);ed(t,n),a=nL(null,t,r,e,a,n);var i=rL();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qa(r)?(i=!0,Wv(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,QM(t),a.updater=ob,t.stateNode=a,a._reactInternals=t,zN(t,r,e,n),t=VN(null,t,r,!0,i,n)):(t.tag=0,pr&&i&&GM(t),Ia(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(sv(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=rle(r),e=eo(r,e),a){case 0:t=GN(null,t,r,e,n);break e;case 1:t=C$(null,t,r,e,n);break e;case 11:t=E$(null,t,r,e,n);break e;case 14:t=y$(null,t,r,eo(r.type,e),n);break e}throw Error(ft(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),GN(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),C$(e,t,r,a,n);case 3:e:{if(hY(t),e===null)throw Error(ft(387));r=t.pendingProps,i=t.memoizedState,a=i.element,HW(e,t),Zv(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=gd(Error(ft(423)),t),t=T$(e,t,r,n,a);break e}else if(r!==a){a=gd(Error(ft(424)),t),t=T$(e,t,r,n,a);break e}else for(si=il(t.stateNode.containerInfo.firstChild),gi=t,pr=!0,ao=null,n=jW(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pd(),r===a){t=Ss(e,t,n);break e}Ia(e,t,r,n)}t=t.child}return t;case 5:return GW(t),e===null&&BN(t),r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,o=a.children,LN(r,a)?o=null:i!==null&&LN(r,i)&&(t.flags|=32),gY(e,t),Ia(e,t,o,n),t.child;case 6:return e===null&&BN(t),null;case 13:return vY(e,t,n);case 4:return ZM(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fd(t,null,r,n):Ia(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),E$(e,t,r,a,n);case 7:return Ia(e,t,t.pendingProps,n),t.child;case 8:return Ia(e,t,t.pendingProps.children,n),t.child;case 12:return Ia(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,Qn(Xv,r._currentValue),r._currentValue=o,i!==null)if(fo(i.value,o)){if(i.children===a.children&&!Va.current){t=Ss(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fs(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),UN(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(ft(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),UN(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ia(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,ed(t,n),a=Bi(a),r=r(a),t.flags|=1,Ia(e,t,r,n),t.child;case 14:return r=t.type,a=eo(r,t.pendingProps),a=eo(r.type,a),y$(e,t,r,a,n);case 15:return fY(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),sv(e,t),t.tag=1,qa(r)?(e=!0,Wv(t)):e=!1,ed(t,n),uY(t,r,a),zN(t,r,a,n),VN(null,t,r,!0,e,n);case 19:return _Y(e,t,n);case 22:return mY(e,t,n)}throw Error(ft(156,t.tag))};function LY(e,t){return sW(e,t)}function nle(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pi(e,t,n,r){return new nle(e,t,n,r)}function fL(e){return e=e.prototype,!(!e||!e.isReactComponent)}function rle(e){if(typeof e=="function")return fL(e)?1:0;if(e!=null){if(e=e.$$typeof,e===DM)return 11;if(e===MM)return 14}return 2}function cl(e,t){var n=e.alternate;return n===null?(n=Pi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function uv(e,t,n,r,a,i){var o=2;if(r=e,typeof e=="function")fL(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ou:return uc(n.children,a,i,t);case AM:o=8,a|=8;break;case pN:return e=Pi(12,n,t,a|2),e.elementType=pN,e.lanes=i,e;case fN:return e=Pi(13,n,t,a),e.elementType=fN,e.lanes=i,e;case mN:return e=Pi(19,n,t,a),e.elementType=mN,e.lanes=i,e;case Gq:return cb(n,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zq:o=10;break e;case Hq:o=9;break e;case DM:o=11;break e;case MM:o=14;break e;case Us:o=16,r=null;break e}throw Error(ft(130,e==null?e:typeof e,""))}return t=Pi(o,n,t,a),t.elementType=e,t.type=r,t.lanes=i,t}function uc(e,t,n,r){return e=Pi(7,e,r,t),e.lanes=n,e}function cb(e,t,n,r){return e=Pi(22,e,r,t),e.elementType=Gq,e.lanes=n,e.stateNode={isHidden:!1},e}function DE(e,t,n){return e=Pi(6,e,null,t),e.lanes=n,e}function ME(e,t,n){return t=Pi(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ale(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fE(0),this.expirationTimes=fE(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fE(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function mL(e,t,n,r,a,i,o,s,l){return e=new ale(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Pi(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},QM(i),e}function ile(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(FY)}catch(e){console.error(e)}}FY(),Fq.exports=bi;var Ur=Fq.exports;const nm=xa(Ur),ule=CM({__proto__:null,default:nm},[Ur]);var P$=Ur;uN.createRoot=P$.createRoot,uN.hydrateRoot=P$.hydrateRoot;const dle={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class s_{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||dle,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,l]=o;for(let u=0;u{let[s,l]=o;for(let u=0;u{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},$$=e=>e==null?"":""+e,ple=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},fle=/###/g,F$=e=>e&&e.indexOf("###")>-1?e.replace(fle,"."):e,B$=e=>!e||typeof e=="string",_f=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=_f(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=_f(e,o,Object);for(;s.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=_f(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},mle=(e,t,n,r)=>{const{obj:a,k:i}=_f(e,t,Object);a[i]=a[i]||[],a[i].push(n)},l_=(e,t)=>{const{obj:n,k:r}=_f(e,t);if(n)return n[r]},gle=(e,t,n)=>{const r=l_(e,n);return r!==void 0?r:l_(t,n)},BY=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):BY(e[r],t[r],n):e[r]=t[r]);return e},ru=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var hle={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const vle=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>hle[t]):e;class _le{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const ble=[" ",",","?","!",";"],Sle=new _le(20),Ele=(e,t,n)=>{t=t||"",n=n||"";const r=ble.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const a=Sle.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!a.test(e);if(!i){const o=e.indexOf(n);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i},rA=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let i=0;i-1&&le&&e.indexOf("_")>0?e.replace("_","-"):e;class j$ extends mb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,o=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):typeof r=="string"&&i?s.push(...r.split(i)):s.push(r)));const l=l_(this.data,s);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!o||typeof r!="string"?l:rA(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),U$(this.data,s,a),i.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(typeof r[i]=="string"||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let l=l_(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?BY(l,r,i):l={...l,...r},U$(this.data,s,l),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var UY={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,a))}),t}};const z$={};class u_ extends mb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),ple(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Mo.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Ele(t,r,a);if(o&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(a)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const y=n.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${y}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${y}${o}`}return a?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:o}const p=this.resolve(t,n);let f=p&&p.res;const m=p&&p.usedKey||o,g=p&&p.exactUsedKey||o,h=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&v.indexOf(h)<0&&!(typeof S=="string"&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,f,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(p.res=y,p.usedParams=this.getUsedParamsDetails(n),p):y}if(i){const y=Array.isArray(f),C=y?[]:{},T=y?g:m;for(const x in f)if(Object.prototype.hasOwnProperty.call(f,x)){const R=`${T}${i}${x}`;C[x]=this.translate(R,{...n,joinArrays:!1,ns:s}),C[x]===R&&(C[x]=f[x])}f=C}}else if(b&&typeof S=="string"&&Array.isArray(f))f=f.join(S),f&&(f=this.extendTranslation(f,t,n,r));else{let y=!1,C=!1;const T=n.count!==void 0&&typeof n.count!="string",x=u_.hasDefaultValue(n),R=T?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&T?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",I=T&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),O=I&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${w}`]||n.defaultValue;!this.isValidLookup(f)&&x&&(y=!0,f=O),this.isValidLookup(f)||(C=!0,f=o);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:f,M=x&&O!==f&&this.options.updateMissing;if(C||y||M){if(this.logger.log(M?"updateKey":"missingKey",u,l,o,M?O:f),i){const L=this.resolve(o,{...n,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let N=[];const A=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&A&&A[0])for(let L=0;L{const B=x&&F!==f?F:P;this.options.missingKeyHandler?this.options.missingKeyHandler(L,l,$,B,M,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(L,l,$,B,M,n),this.emit("missingKey",L,l,$,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?N.forEach(L=>{const $=this.pluralResolver.getSuffixes(L,n);I&&n[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(F=>{D([L],o+F,n[`defaultValue${F}`]||O)})}):D(N,o,O))}f=this.extendTranslation(f,t,n,p,r),C&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(C||y)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,y?f:void 0):f=this.options.parseMissingKeyHandler(f))}return a?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(t,n,r,a,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let p=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||a.usedLng,r),u){const f=t.match(this.interpolator.nestingRegexp),m=f&&f.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,i,o,s;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),d=u.key;a=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",m=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),g=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(v=>{this.isValidLookup(r)||(s=v,!z$[`${h[0]}-${v}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(z$[`${h[0]}-${v}`]=!0,this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(S=>{if(this.isValidLookup(r))return;o=S;const b=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,d,S,v,n);else{let y;f&&(y=this.pluralResolver.getSuffix(S,n.count,n));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(b.push(d+y),n.ordinal&&y.indexOf(T)===0&&b.push(d+y.replace(T,this.options.pluralSeparator)),m&&b.push(d+C)),g){const x=`${d}${this.options.contextSeparator}${n.context}`;b.push(x),f&&(b.push(x+y),n.ordinal&&y.indexOf(T)===0&&b.push(x+y.replace(T,this.options.pluralSeparator)),m&&b.push(x+C))}}let E;for(;E=b.pop();)this.isValidLookup(r)||(i=E,r=this.getResource(S,v,E,n))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const i of n)delete a[i]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const LE=e=>e.charAt(0).toUpperCase()+e.slice(1);class H${constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Mo.create("languageUtils")}getScriptPartFromCode(t){if(t=c_(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=c_(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=LE(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=LE(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=LE(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],i=o=>{o&&(this.isSupportedCode(o)?a.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(o=>{a.indexOf(o)<0&&i(this.formatLanguageCode(o))}),a}}let yle=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Cle={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Tle=["v1","v2","v3"],xle=["v4"],G$={zero:0,one:1,two:2,few:3,many:4,other:5},Rle=()=>{const e={};return yle.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Cle[t.fc]}})}),e};class wle{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Mo.create("pluralResolver"),(!this.options.compatibilityJSON||xle.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Rle(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=c_(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[i]=o,o}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,i)=>G$[a]-G$[i]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const i=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Tle.includes(this.options.compatibilityJSON)}}const V$=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=gle(e,t,n);return!i&&a&&typeof n=="string"&&(i=rA(e,n,r),i===void 0&&(i=rA(t,n,r))),i},kE=e=>e.replace(/\$/g,"$$$$");class Ile{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Mo.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:f,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:S,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:vle,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?ru(i):o||"{{",this.suffix=s?ru(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=f?ru(f):m||ru("$t("),this.nestingSuffix=g?ru(g):h||ru(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=S||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let i,o,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const S=V$(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...a,...n,interpolationkey:m}):S}const g=m.split(this.formatSeparator),h=g.shift().trim(),v=g.join(this.formatSeparator).trim();return this.format(V$(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure),v,r,{...a,...n,interpolationkey:h})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>kE(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?kE(this.escape(m)):kE(m)}].forEach(m=>{for(s=0;i=m.regex.exec(t);){const g=i[1].trim();if(o=u(g),o===void 0)if(typeof d=="function"){const v=d(t,i,a);o=typeof v=="string"?v:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))o="";else if(p){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=$$(o));const h=m.safeValue(o);if(t=t.replace(i[0],h),p?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,o;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const p=l.split(new RegExp(`${d}[ ]*{`));let f=`{${p[1]}`;l=p[0],f=this.interpolate(f,o);const m=f.match(/'/g),g=f.match(/"/g);(m&&m.length%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{o=JSON.parse(f),u&&(o={...u,...o})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,h),`${l}${d}${f}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];o={...r},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(p=>p.trim());a[1]=d.shift(),l=d,u=!0}if(i=n(s.call(this,a[1].trim(),o),o),i&&a[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=$$(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),u&&(i=l.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}}const Ole=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(o=>{if(o){const[s,...l]=o.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},au=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(c_(r),a),t[o]=s),s(n)}};class Nle{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Mo.create("formatter"),this.options=t,this.formats={number:au((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return i=>a.format(i)}),currency:au((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>a.format(i)}),datetime:au((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return i=>a.format(i)}),relativetime:au((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return i=>a.format(i,r.range||"day")}),list:au((n,r)=>{const a=new Intl.ListFormat(n,{...r});return i=>a.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=au(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=n.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(s=>s.indexOf(")")>-1)){const s=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,s)].join(this.formatSeparator)}return i.reduce((s,l)=>{const{formatName:u,formatOptions:d}=Ole(l);if(this.formats[u]){let p=s;try{const f=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},m=f.locale||f.lng||a.locale||a.lng||r;p=this.formats[u](s,m,{...d,...a,...f})}catch(f){this.logger.warn(f)}return p}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const Ale=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Dle extends mb{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Mo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const i={},o={},s={},l={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const f=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?o[f]===void 0&&(o[f]=!0):(this.state[f]=1,d=!1,o[f]===void 0&&(o[f]=!0),i[f]===void 0&&(i[f]=!0),l[p]===void 0&&(l[p]=!0)))}),d||(s[u]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const a=t.split("|"),i=a[0],o=a[1];n&&this.emit("failedLoading",i,o,n),!n&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{mle(l.loaded,[i],o),Ale(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(p=>{s[u][p]===void 0&&(s[u][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:i,callback:o});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,i*2,o)},i);return}o(u,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],i=r[1];this.read(a,i,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${a} failed`,o),!o&&s&&this.logger.log(`${n}loaded namespace ${i} for language ${a}`,s),this.loaded(t,o,s)})}saveMissing(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,l):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(p=>s(null,p)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,l)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const q$=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),W$=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),th=()=>{},Mle=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class rm extends mb{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=W$(t),this.services={},this.logger=Mo,this.modules={external:[]},Mle(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=q$();this.options={...a,...this.options,...W$(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Mo.init(i(this.modules.logger),this.options):Mo.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=Nle);const p=new H$(this.options);this.store=new j$(this.options.resources,this.options);const f=this.services;f.logger=Mo,f.resourceStore=this.store,f.languageUtils=p,f.pluralResolver=new wle(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Ile(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Dle(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var g=arguments.length,h=new Array(g>1?g-1:0),v=1;v1?g-1:0),v=1;v{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=th),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const l=Np(),u=()=>{const d=(p,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),r(p,f)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:th;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],o=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};a?o(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(s=>o(s)),this.services.backendConnector.load(i,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Np();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=th),this.services.backendConnector.reload(t,n,i=>{a.resolve(),r(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&UY.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Np();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const u=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{o(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const i=function(o,s){let l;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p`${l.keyPrefix}${f}${g}`):m=l.keyPrefix?`${l.keyPrefix}${f}${o}`:o,a.t(m,l)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!a||o(i,t)))}loadNamespaces(t,n){const r=Np();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Np();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],i=t.filter(o=>a.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=a.concat(i),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new H$(q$());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new rm(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:th;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new rm(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new j$(this.store.data,a),i.services.resourceStore=i.store),i.translator=new u_(i.services,a),i.translator.on("*",function(s){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d{console!=null&&console.warn&&(dc(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Y$={},aA=(...e)=>{dc(e[0])&&Y$[e[0]]||(dc(e[0])&&(Y$[e[0]]=new Date),Lle(...e))},jY=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},K$=(e,t,n)=>{e.loadNamespaces(t,jY(e,n))},X$=(e,t,n,r)=>{dc(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,jY(e,r))},kle=(e,t,n={})=>!t.languages||!t.languages.length?(aA("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),dc=e=>typeof e=="string",Ple=e=>typeof e=="object"&&e!==null,$le=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Fle={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Ble=e=>Fle[e],Ule=e=>e.replace($le,Ble);let iA={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Ule};const jle=(e={})=>{iA={...iA,...e}},zle=()=>iA;let zY;const Hle=e=>{zY=e},Gle=()=>zY,Vle={type:"3rdParty",init(e){jle(e.options.react),Hle(e)}},qle=c.createContext();class Wle{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Yle=(e,t)=>{const n=c.useRef();return c.useEffect(()=>{n.current=e},[e,t]),n.current},HY=(e,t,n,r)=>e.getFixedT(t,n,r),Kle=(e,t,n,r)=>c.useCallback(HY(e,t,n,r),[e,t,n,r]),$t=(e,t={})=>{var y,C,T,x;const{i18n:n}=t,{i18n:r,defaultNS:a}=c.useContext(qle)||{},i=n||r||Gle();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Wle),!i){aA("You will need to pass in an i18next instance by using initReactI18next");const R=(I,O)=>dc(O)?O:Ple(O)&&dc(O.defaultValue)?O.defaultValue:Array.isArray(I)?I[I.length-1]:I,w=[R,{},!1];return w.t=R,w.i18n={},w.ready=!1,w}(y=i.options.react)!=null&&y.wait&&aA("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...zle(),...i.options.react,...t},{useSuspense:s,keyPrefix:l}=o;let u=a||((C=i.options)==null?void 0:C.defaultNS);u=dc(u)?[u]:u||["translation"],(x=(T=i.reportNamespaces).addUsedNamespaces)==null||x.call(T,u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(R=>kle(R,i,o)),p=Kle(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),f=()=>p,m=()=>HY(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),[g,h]=c.useState(f);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const S=Yle(v),b=c.useRef(!0);c.useEffect(()=>{const{bindI18n:R,bindI18nStore:w}=o;b.current=!0,!d&&!s&&(t.lng?X$(i,t.lng,u,()=>{b.current&&h(m)}):K$(i,u,()=>{b.current&&h(m)})),d&&S&&S!==v&&b.current&&h(m);const I=()=>{b.current&&h(m)};return R&&(i==null||i.on(R,I)),w&&(i==null||i.store.on(w,I)),()=>{b.current=!1,i&&(R==null||R.split(" ").forEach(O=>i.off(O,I))),w&&i&&w.split(" ").forEach(O=>i.store.off(O,I))}},[i,v]),c.useEffect(()=>{b.current&&d&&h(f)},[i,l,d]);const E=[g,i,d];if(E.t=g,E.i18n=i,E.ready=d,d||!d&&!s)return E;throw new Promise(R=>{t.lng?X$(i,t.lng,u,()=>R()):K$(i,u,()=>R())})};function oA(e){"@babel/helpers - typeof";return oA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oA(e)}function GY(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":oA(XMLHttpRequest))==="object"}function Xle(e){return!!e&&typeof e.then=="function"}function Qle(e){return Xle(e)?e:Promise.resolve(e)}function Zle(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var sA={exports:{}},nh={exports:{}},Q$;function Jle(){return Q$||(Q$=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Sa<"u"&&Sa,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(o){var s=typeof i<"u"&&i||typeof self<"u"&&self||typeof s<"u"&&s,l={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(N){return N&&DataView.prototype.isPrototypeOf(N)}if(l.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(N){return N&&d.indexOf(Object.prototype.toString.call(N))>-1};function f(N){if(typeof N!="string"&&(N=String(N)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(N)||N==="")throw new TypeError('Invalid character in header field name: "'+N+'"');return N.toLowerCase()}function m(N){return typeof N!="string"&&(N=String(N)),N}function g(N){var A={next:function(){var D=N.shift();return{done:D===void 0,value:D}}};return l.iterable&&(A[Symbol.iterator]=function(){return A}),A}function h(N){this.map={},N instanceof h?N.forEach(function(A,D){this.append(D,A)},this):Array.isArray(N)?N.forEach(function(A){this.append(A[0],A[1])},this):N&&Object.getOwnPropertyNames(N).forEach(function(A){this.append(A,N[A])},this)}h.prototype.append=function(N,A){N=f(N),A=m(A);var D=this.map[N];this.map[N]=D?D+", "+A:A},h.prototype.delete=function(N){delete this.map[f(N)]},h.prototype.get=function(N){return N=f(N),this.has(N)?this.map[N]:null},h.prototype.has=function(N){return this.map.hasOwnProperty(f(N))},h.prototype.set=function(N,A){this.map[f(N)]=m(A)},h.prototype.forEach=function(N,A){for(var D in this.map)this.map.hasOwnProperty(D)&&N.call(A,this.map[D],D,this)},h.prototype.keys=function(){var N=[];return this.forEach(function(A,D){N.push(D)}),g(N)},h.prototype.values=function(){var N=[];return this.forEach(function(A){N.push(A)}),g(N)},h.prototype.entries=function(){var N=[];return this.forEach(function(A,D){N.push([D,A])}),g(N)},l.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function v(N){if(N.bodyUsed)return Promise.reject(new TypeError("Already read"));N.bodyUsed=!0}function S(N){return new Promise(function(A,D){N.onload=function(){A(N.result)},N.onerror=function(){D(N.error)}})}function b(N){var A=new FileReader,D=S(A);return A.readAsArrayBuffer(N),D}function E(N){var A=new FileReader,D=S(A);return A.readAsText(N),D}function y(N){for(var A=new Uint8Array(N),D=new Array(A.length),L=0;L-1?A:N}function w(N,A){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var D=A.body;if(N instanceof w){if(N.bodyUsed)throw new TypeError("Already read");this.url=N.url,this.credentials=N.credentials,A.headers||(this.headers=new h(N.headers)),this.method=N.method,this.mode=N.mode,this.signal=N.signal,!D&&N._bodyInit!=null&&(D=N._bodyInit,N.bodyUsed=!0)}else this.url=String(N);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new h(A.headers)),this.method=R(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function I(N){var A=new FormData;return N.trim().split("&").forEach(function(D){if(D){var L=D.split("="),$=L.shift().replace(/\+/g," "),F=L.join("=").replace(/\+/g," ");A.append(decodeURIComponent($),decodeURIComponent(F))}}),A}function O(N){var A=new h,D=N.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(L){return L.indexOf(` +`)===0?L.substr(1,L.length):L}).forEach(function(L){var $=L.split(":"),F=$.shift().trim();if(F){var B=$.join(":").trim();A.append(F,B)}}),A}T.call(w.prototype);function k(N,A){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A||(A={}),this.type="default",this.status=A.status===void 0?200:A.status,this.ok=this.status>=200&&this.status<300,this.statusText=A.statusText===void 0?"":""+A.statusText,this.headers=new h(A.headers),this.url=A.url||"",this._initBody(N)}T.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var N=new k(null,{status:0,statusText:""});return N.type="error",N};var P=[301,302,303,307,308];k.redirect=function(N,A){if(P.indexOf(A)===-1)throw new RangeError("Invalid status code");return new k(null,{status:A,headers:{location:N}})},o.DOMException=s.DOMException;try{new o.DOMException}catch{o.DOMException=function(A,D){this.message=A,this.name=D;var L=Error(A);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(N,A){return new Promise(function(D,L){var $=new w(N,A);if($.signal&&$.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function B(){F.abort()}F.onload=function(){var U={status:F.status,statusText:F.statusText,headers:O(F.getAllResponseHeaders()||"")};U.url="responseURL"in F?F.responseURL:U.headers.get("X-Request-URL");var j="response"in F?F.response:F.responseText;setTimeout(function(){D(new k(j,U))},0)},F.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function z(U){try{return U===""&&s.location.href?s.location.href:U}catch{return U}}F.open($.method,z($.url),!0),$.credentials==="include"?F.withCredentials=!0:$.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(l.blob?F.responseType="blob":l.arrayBuffer&&$.headers.get("Content-Type")&&$.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof h)?Object.getOwnPropertyNames(A.headers).forEach(function(U){F.setRequestHeader(U,m(A.headers[U]))}):$.headers.forEach(function(U,j){F.setRequestHeader(j,U)}),$.signal&&($.signal.addEventListener("abort",B),F.onreadystatechange=function(){F.readyState===4&&$.signal.removeEventListener("abort",B)}),F.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return M.polyfill=!0,s.fetch||(s.fetch=M,s.Headers=h,s.Request=w,s.Response=k),o.Headers=h,o.Request=w,o.Response=k,o.fetch=M,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(nh,nh.exports)),nh.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Sa<"u"&&Sa.fetch?n=Sa.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof Zle<"u"&&typeof window>"u"){var r=n||Jle();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(sA,sA.exports);var VY=sA.exports;const qY=xa(VY),Z$=CM({__proto__:null,default:qY},[VY]);function J$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function eF(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=eF({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},nF?{}:o),l=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{tF(n,s,a,l)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(o).forEach(function(d){delete s[d]}),tF(n,s,a,l),nF=!0}catch(d){a(d)}}},ace=function(t,n,r,a){r&&Cc(r)==="object"&&(r=lA("",r).slice(1)),t.queryStringParams&&(n=lA(n,t.queryStringParams));try{var i;am?i=new am:i=new d_("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&a(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},ice=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},ms&&n.indexOf("file:")!==0)return rce(t,n,r,a);if(GY()||typeof ActiveXObject=="function")return ace(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function vd(e){"@babel/helpers - typeof";return vd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vd(e)}function rF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function PE(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};oce(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return lce(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=PE(PE(PE({},uce()),this.options||{}),a),this.allOptions=i,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);vd(o)==="object"&&typeof o.unref=="function"&&o.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,i,o){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,a)),l=Qle(l),l.then(function(u){if(!u)return o(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,o,r,i)})}},{key:"loadUrl",value:function(n,r,a,i){var o=this,s=typeof a=="string"?[a]:a,l=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(s,l);this.options.request(this.options,n,u,function(d,p){if(p&&(p.status>=500&&p.status<600||!p.status))return r("failed loading "+n+"; status code: "+p.status,!0);if(p&&p.status>=400&&p.status<500)return r("failed loading "+n+"; status code: "+p.status,!1);if(!p&&d&&d.message&&d.message.toLowerCase().indexOf("failed")>-1&&(d.message.indexOf("fetch")>-1||d.message.toLowerCase().indexOf("network")>-1))return r("failed loading "+n+": "+d.message,!0);if(d)return r(d,!1);var f,m;try{typeof p.data=="string"?f=o.options.parse(p.data,a,i):f=p.data}catch{m="failed parsing "+n+" to json"}if(m)return r(m,!1);r(null,f)})}},{key:"create",value:function(n,r,a,i,o){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,a,i),u=0,d=[],p=[];n.forEach(function(f){var m=s.options.addPath;typeof s.options.addPath=="function"&&(m=s.options.addPath(f,r));var g=s.services.interpolator.interpolate(m,{lng:f,ns:r});s.options.request(s.options,g,l,function(h,v){u+=1,d.push(h),p.push(v),u===n.length&&typeof o=="function"&&o(d,p)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,i=r.languageUtils,o=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(p){var f=i.toResolveHierarchy(p);f.forEach(function(m){l.indexOf(m)<0&&l.push(m)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(p){a.read(d,p,"read",null,null,function(f,m){f&&o.warn("loading namespace ".concat(p," for language ").concat(d," failed"),f),!f&&m&&o.log("loaded namespace ".concat(p," for language ").concat(d),m),a.loaded("".concat(d,"|").concat(p),f,m)})})})}}}])}();KY.type="backend";const{slice:dce,forEach:pce}=[];function fce(e){return pce.call(dce.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const aF=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,mce=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let i=`${e}=${a}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!aF.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!aF.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},iF={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=mce(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const o=a.substring(1).split("&");for(let s=0;s0&&o[s].substring(0,l)===t&&(n=o[s].substring(l+1))}}return n}};let Dp=null;const oF=()=>{if(Dp!==null)return Dp;try{Dp=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Dp=!1}return Dp};var vce={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&oF())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&oF()&&window.localStorage.setItem(n,e)}};let Mp=null;const sF=()=>{if(Mp!==null)return Mp;try{Mp=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Mp=!1}return Mp};var _ce={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&sF())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&sF()&&window.sessionStorage.setItem(n,e)}},bce={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let i=0;i0?t:void 0}},Sce={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Ece={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},yce={name:"subdomain",lookup(e){var a,i;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((i=(a=window.location)==null?void 0:a.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function Cce(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class XY{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=fce(n,this.options||{},Cce()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(gce),this.addDetector(hce),this.addDetector(vce),this.addDetector(_ce),this.addDetector(bce),this.addDetector(Sce),this.addDetector(Ece),this.addDetector(yce)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}XY.type="languageDetector";ra.use(KY).use(XY).use(Vle).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var QY={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ce.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(br(r)):vf.isFragment(r)&&r.props?n=n.concat(br(r.props.children,t)):n.push(r))}),n}var lA={},xce=function(t){};function Rce(e,t){}function wce(e,t){}function Ice(){lA={}}function JY(e,t,n){!t&&!lA[n]&&(e(!1,n),lA[n]=!0)}function bn(e,t){JY(Rce,e,t)}function eK(e,t){JY(wce,e,t)}bn.preMessage=xce;bn.resetWarned=Ice;bn.noteOnce=eK;function gt(e){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(e)}function Oce(e,t){if(gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tK(e){var t=Oce(e,"string");return gt(t)=="symbol"?t:t+""}function W(e,t,n){return(t=tK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t=19;var uA=c.createContext(null);function Ace(e){var t=e.children,n=e.onBatchResize,r=c.useRef(0),a=c.useRef([]),i=c.useContext(uA),o=c.useCallback(function(s,l,u){r.current+=1;var d=r.current;a.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),i==null||i(s,l,u)},[n,i]);return c.createElement(uA.Provider,{value:o},t)}var rK=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,i=this.__entries__;a0},e.prototype.connect_=function(){!dA||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),$ce?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!dA||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=Pce.some(function(i){return!!~r.indexOf(i)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),aK=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof gd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new qce(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof gd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Wce(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),oK=typeof WeakMap<"u"?new WeakMap:new rK,sK=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Fce.getInstance(),r=new Yce(t,n,this);oK.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){sK.prototype[e]=function(){var t;return(t=oK.get(this))[e].apply(t,arguments)}});var Kce=function(){return typeof l_.ResizeObserver<"u"?l_.ResizeObserver:sK}(),Ys=new Map;function Xce(e){e.forEach(function(t){var n,r=t.target;(n=Ys.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var lK=new Kce(Xce);function Qce(e,t){Ys.has(e)||(Ys.set(e,new Set),lK.observe(e)),Ys.get(e).add(t)}function Zce(e,t){Ys.has(e)&&(Ys.get(e).delete(t),Ys.get(e).size||(lK.unobserve(e),Ys.delete(e)))}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;cF+=1;var r=cF;function a(i){if(i===0)fK(r),t();else{var o=dK(function(){a(i-1)});bL.set(r,o)}}return a(n),r};Gt.cancel=function(e){var t=bL.get(e);return fK(e),pK(t)};function mK(e){if(Array.isArray(e))return e}function oue(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(d){u=!0,a=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function gK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oe(e,t){return mK(e)||oue(e,t)||_L(e,t)||gK()}function om(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Jr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function fA(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var uF="data-rc-order",dF="data-rc-priority",sue="rc-util-key",mA=new Map;function hK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):sue}function Cb(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lue(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function SL(e){return Array.from((mA.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function vK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Jr())return null;var n=t.csp,r=t.prepend,a=t.priority,i=a===void 0?0:a,o=lue(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(uF,o),s&&i&&l.setAttribute(dF,"".concat(i)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=Cb(t),d=u.firstChild;if(r){if(s){var p=(t.styles||SL(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(uF)))return!1;var m=Number(f.getAttribute(dF)||0);return i>=m});if(p.length)return u.insertBefore(l,p[p.length-1].nextSibling),l}u.insertBefore(l,d)}else u.appendChild(l);return l}function _K(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Cb(t);return(t.styles||SL(n)).find(function(r){return r.getAttribute(hK(t))===e})}function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=_K(e,t);if(n){var r=Cb(t);r.removeChild(n)}}function cue(e,t){var n=mA.get(e);if(!n||!fA(document,n)){var r=vK("",t),a=r.parentNode;mA.set(e,a),e.removeChild(r)}}function fs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Cb(n),a=SL(r),i=ee(ee({},n),{},{styles:a});cue(r,i);var o=_K(t,i);if(o){var s,l;if((s=i.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=i.csp)===null||l===void 0?void 0:l.nonce)){var u;o.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var d=vK(e,i);return d.setAttribute(hK(i),t),d}function uue(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Et(e,t){if(e==null)return{};var n,r,a=uue(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(bn(!l,"Warning: There may be circular references"),l)return!1;if(i===o)return!0;if(n&&s>1)return!1;r.add(i);var u=s+1;if(Array.isArray(i)){if(!Array.isArray(o)||i.length!==o.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(s){if(!o)o=void 0;else{var l;o=(l=o)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=o)!==null&&r!==void 0&&r.value&&i&&(o.value[1]=this.cacheCallTimes++),(a=o)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,d){var p=oe(u,2),f=p[1];return a.internalGet(d)[1]0,void 0),pF+=1}return er(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),LE=new EL;function lm(e){var t=Array.isArray(e)?e:[e];return LE.has(t)||LE.set(t,new bK(t)),LE.get(t)}var gue=new WeakMap,kE={};function hue(e,t){for(var n=gue,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=fF.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof bK?n+=a.id:a&>(a)==="object"?n+=bf(a,t):n+=a}),t&&(n=om(n)),fF.set(e,n)),n}function mF(e,t){return om("".concat(t,"_").concat(bf(e,!0)))}var hA=Jr();function Q(e){return typeof e=="number"?"".concat(e,"px"):e}function u_(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var i=ee(ee({},r),{},W(W({},hd,t),so,n)),o=Object.keys(i).map(function(s){var l=i[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"")}var lv=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},vue=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var i=oe(a,2),o=i[0],s=i[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},SK=function(t,n,r){var a={},i={};return Object.entries(t).forEach(function(o){var s,l,u=oe(o,2),d=u[0],p=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])i[d]=p;else if((typeof p=="string"||typeof p=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[d])){var f,m=lv(d,r==null?void 0:r.prefix);a[m]=typeof p=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[d])?"".concat(p,"px"):String(p),i[d]="var(".concat(m,")")}}),[i,vue(a,n,{scope:r==null?void 0:r.scope})]},gF=Jr()?c.useLayoutEffect:c.useEffect,Qt=function(t,n){var r=c.useRef(!0);gF(function(){return t(r.current)},n),gF(function(){return r.current=!1,function(){r.current=!0}},[])},pc=function(t,n){Qt(function(r){if(!r)return t()},n)},_ue=ee({},zm),hF=_ue.useInsertionEffect,bue=function(t,n,r){c.useMemo(t,r),Qt(function(){return n(!0)},r)},Sue=hF?function(e,t,n){return hF(function(){return e(),t()},n)}:bue,Eue=ee({},zm),yue=Eue.useInsertionEffect,Cue=function(t){var n=[],r=!1;function a(i){r||n.push(i)}return c.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),a},Tue=function(){return function(t){t()}},xue=typeof yue<"u"?Cue:Tue;function yL(e,t,n,r,a){var i=c.useContext(Tb),o=i.cache,s=[e].concat($e(t)),l=gA(s),u=xue([l]),d=function(g){o.opUpdate(l,function(h){var v=h||[void 0,void 0],S=oe(v,2),_=S[0],E=_===void 0?0:_,y=S[1],C=y,T=C||n(),x=[E,T];return g?g(x):x})};c.useMemo(function(){d()},[l]);var p=o.opGet(l),f=p[1];return Sue(function(){a==null||a(f)},function(m){return d(function(g){var h=oe(g,2),v=h[0],S=h[1];return m&&v===0&&(a==null||a(f)),[v+1,S]}),function(){o.opUpdate(l,function(g){var h=g||[],v=oe(h,2),S=v[0],_=S===void 0?0:S,E=v[1],y=_-1;return y===0?(u(function(){(m||!o.opGet(l))&&(r==null||r(E,!1))}),null):[_-1,E]})}},[l]),f}var Rue={},wue="css",Xl=new Map;function Iue(e){Xl.set(e,(Xl.get(e)||0)+1)}function Oue(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(hd,'="').concat(e,'"]'));n.forEach(function(r){if(r[Ks]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Nue=0;function Aue(e,t){Xl.set(e,(Xl.get(e)||0)-1);var n=Array.from(Xl.keys()),r=n.filter(function(a){var i=Xl.get(a)||0;return i<=0});n.length-r.length>Nue&&r.forEach(function(a){Oue(a,t),Xl.delete(a)})}var EK=function(t,n,r,a){var i=r.getDerivativeToken(t),o=ee(ee({},i),n);return a&&(o=a(o)),o},yK="token";function Due(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=c.useContext(Tb),a=r.cache.instanceId,i=r.container,o=n.salt,s=o===void 0?"":o,l=n.override,u=l===void 0?Rue:l,d=n.formatToken,p=n.getComputedToken,f=n.cssVar,m=hue(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),g=bf(m),h=bf(u),v=f?bf(f):"",S=yL(yK,[s,e.id,g,h,v],function(){var _,E=p?p(m,u,e):EK(m,u,e,d),y=ee({},E),C="";if(f){var T=SK(E,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),x=oe(T,2);E=x[0],C=x[1]}var R=mF(E,s);E._tokenKey=R,y._tokenKey=mF(y,s);var w=(_=f==null?void 0:f.key)!==null&&_!==void 0?_:R;E._themeKey=w,Iue(w);var I="".concat(wue,"-").concat(om(R));return E._hashId=I,[E,I,y,C,(f==null?void 0:f.key)||""]},function(_){Aue(_[0]._themeKey,a)},function(_){var E=oe(_,4),y=E[0],C=E[3];if(f&&C){var T=fs(C,om("css-variables-".concat(y._themeKey)),{mark:so,prepend:"queue",attachTo:i,priority:-999});T[Ks]=a,T.setAttribute(hd,y._themeKey)}});return S}var Mue=function(t,n,r){var a=oe(t,5),i=a[2],o=a[3],s=a[4],l=r||{},u=l.plain;if(!o)return null;var d=i._tokenKey,p=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(p)},m=u_(o,s,d,f,u);return[p,d,m]},Lue={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},CK="comm",TK="rule",xK="decl",kue="@import",Pue="@keyframes",$ue="@layer",RK=Math.abs,CL=String.fromCharCode;function wK(e){return e.trim()}function cv(e,t,n){return e.replace(t,n)}function Fue(e,t,n){return e.indexOf(t,n)}function cm(e,t){return e.charCodeAt(t)|0}function vd(e,t,n){return e.slice(t,n)}function Ro(e){return e.length}function Bue(e){return e.length}function eh(e,t){return t.push(e),e}var xb=1,_d=1,IK=0,ji=0,Dr=0,zd="";function TL(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:xb,column:_d,length:o,return:"",siblings:s}}function Uue(){return Dr}function jue(){return Dr=ji>0?cm(zd,--ji):0,_d--,Dr===10&&(_d=1,xb--),Dr}function lo(){return Dr=ji2||um(Dr)>3?"":" "}function Vue(e,t){for(;--t&&lo()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return Rb(e,uv()+(t<6&&Xs()==32&&lo()==32))}function vA(e){for(;lo();)switch(Dr){case e:return ji;case 34:case 39:e!==34&&e!==39&&vA(Dr);break;case 40:e===41&&vA(e);break;case 92:lo();break}return ji}function que(e,t){for(;lo()&&e+Dr!==57;)if(e+Dr===84&&Xs()===47)break;return"/*"+Rb(t,ji-1)+"*"+CL(e===47?e:lo())}function Wue(e){for(;!um(Xs());)lo();return Rb(e,ji)}function Yue(e){return Hue(dv("",null,null,null,[""],e=zue(e),0,[0],e))}function dv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,_=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=_,_=lo()){case 40:if(g!=108&&cm(x,p-1)==58){Fue(x+=cv(PE(_),"&","&\f"),"&\f",RK(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=PE(_);break;case 9:case 10:case 13:case 32:x+=Gue(g);break;case 92:x+=Vue(uv()-1,7);continue;case 47:switch(Xs()){case 42:case 47:eh(Kue(que(lo(),uv()),t,n,l),l),(um(g||1)==5||um(Xs()||1)==5)&&Ro(x)&&vd(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*h:s[u++]=Ro(x)*S;case 125*h:case 59:case 0:switch(_){case 0:case 125:v=0;case 59+d:S==-1&&(x=cv(x,/\f/g,"")),m>0&&(Ro(x)-p||h===0&&g===47)&&eh(m>32?_F(x+";",r,n,p-1,l):_F(cv(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(eh(T=vF(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),_===123)if(d===0)dv(x,t,T,T,y,i,p,s,C);else switch(f===99&&cm(x,3)===110?100:f){case 100:case 108:case 109:case 115:dv(e,T,T,r&&eh(vF(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:dv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+Ro(x),m=g;default:if(h<1){if(_==123)--h;else if(_==125&&h++==0&&jue()==125)continue}switch(x+=CL(_),_*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(Ro(x)-1)*S,S=1;break;case 64:Xs()===45&&(x+=PE(lo())),f=Xs(),d=p=Ro(E=x+=Wue(uv())),_++;break;case 45:g===45&&Ro(x)==2&&(h=0)}}return i}function vF(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=Bue(m),h=0,v=0,S=0;h0?m[_]+" "+E:cv(E,/&\f/g,m[_])))&&(l[S++]=y);return TL(e,t,n,a===0?TK:s,l,u,d,p)}function Kue(e,t,n,r){return TL(e,t,n,CK,CL(Uue()),vd(e,2,-2),0,r)}function _F(e,t,n,r,a){return TL(e,t,n,xK,vd(e,0,r),vd(e,r+1,-1),r,a)}function _A(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,i=r.injectHash,o=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var u=n.hashPriority,d=n.transformers,p=d===void 0?[]:d;n.linters;var f="",m={};function g(S){var _=S.getName(s);if(!m[_]){var E=e(S.style,n,{root:!1,parentSelectors:o}),y=oe(E,1),C=y[0];m[_]="@keyframes ".concat(S.getName(s)).concat(C)}}function h(S){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return S.forEach(function(E){Array.isArray(E)?h(E,_):E&&_.push(E)}),_}var v=h(Array.isArray(t)?t:[t]);return v.forEach(function(S){var _=typeof S=="string"&&!a?{}:S;if(typeof _=="string")f+="".concat(_,` -`);else if(_._keyframe)g(_);else{var E=p.reduce(function(y,C){var T;return(C==null||(T=C.visit)===null||T===void 0?void 0:T.call(C,y))||y},_);Object.keys(E).forEach(function(y){var C=E[y];if(gt(C)==="object"&&C&&(y!=="animationName"||!C._keyframe)&&!tde(C)){var T=!1,x=y.trim(),R=!1;(a||i)&&s?x.startsWith("@")?T=!0:x==="&"?x=SF("",s,u):x=SF(y,s,u):a&&!s&&(x==="&"||x==="")&&(x="",R=!0);var w=e(C,n,{root:R,injectHash:T,parentSelectors:[].concat($e(o),[x])}),I=oe(w,2),O=I[0],k=I[1];m=ee(ee({},m),k),f+="".concat(x).concat(O)}else{let N=function(A,D){var L=A.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),$=D;!Lue[A]&&typeof $=="number"&&$!==0&&($="".concat($,"px")),A==="animationName"&&D!==null&&D!==void 0&&D._keyframe&&(g(D),$=D.getName(s)),f+="".concat(L,":").concat($,";")};var P,M=(P=C==null?void 0:C.value)!==null&&P!==void 0?P:C;gt(C)==="object"&&C!==null&&C!==void 0&&C[AK]&&Array.isArray(M)?M.forEach(function(A){N(y,A)}):N(y,M)}})}}),a?l&&(f="@layer ".concat(l.name," {").concat(f,"}"),l.dependencies&&(m["@layer ".concat(l.name)]=l.dependencies.map(function(S){return"@layer ".concat(S,", ").concat(l.name,";")}).join(` -`))):f="{".concat(f,"}"),[f,m]};function DK(e,t){return om("".concat(e.join("%")).concat(t))}function rde(){return null}var MK="style";function bA(e,t){var n=e.token,r=e.path,a=e.hashId,i=e.layer,o=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,d=c.useContext(Tb),p=d.autoClear;d.mock;var f=d.defaultCache,m=d.hashPriority,g=d.container,h=d.ssrInline,v=d.transformers,S=d.linters,_=d.cache,E=d.layer,y=n._tokenKey,C=[y];E&&C.push("layer"),C.push.apply(C,$e(r));var T=hA,x=yL(MK,C,function(){var k=C.join("|");if(Zue(k)){var P=Jue(k),M=oe(P,2),N=M[0],A=M[1];if(N)return[N,y,A,{},s,u]}var D=t(),L=nde(D,{hashId:a,hashPriority:m,layer:E?i:void 0,path:r.join("-"),transformers:v,linters:S}),$=oe(L,2),F=$[0],B=$[1],z=pv(F),U=DK(C,z);return[z,y,U,B,s,u]},function(k,P){var M=oe(k,3),N=M[2];(P||p)&&hA&&sm(N,{mark:so})},function(k){var P=oe(k,4),M=P[0];P[1];var N=P[2],A=P[3];if(T&&M!==OK){var D={mark:so,prepend:E?!1:"queue",attachTo:g,priority:u},L=typeof o=="function"?o():o;L&&(D.csp={nonce:L});var $=[],F=[];Object.keys(A).forEach(function(z){z.startsWith("@layer")?$.push(z):F.push(z)}),$.forEach(function(z){fs(pv(A[z]),"_layer-".concat(z),ee(ee({},D),{},{prepend:!0}))});var B=fs(M,N,D);B[Ks]=_.instanceId,B.setAttribute(hd,y),F.forEach(function(z){fs(pv(A[z]),"_effect-".concat(z),D)})}}),R=oe(x,3),w=R[0],I=R[1],O=R[2];return function(k){var P;return!h||T||!f?P=c.createElement(rde,null):P=c.createElement("style",_e({},W(W({},hd,I),so,O),{dangerouslySetInnerHTML:{__html:w}})),c.createElement(c.Fragment,null,P,k)}}var ade=function(t,n,r){var a=oe(t,6),i=a[0],o=a[1],s=a[2],l=a[3],u=a[4],d=a[5],p=r||{},f=p.plain;if(u)return null;var m=i,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return m=u_(i,o,s,g,f),l&&Object.keys(l).forEach(function(h){if(!n[h]){n[h]=!0;var v=pv(l[h]),S=u_(v,o,"_effect-".concat(h),g,f);h.startsWith("@layer")?m=S+m:m+=S}}),[d,s,m]},LK="cssVar",ide=function(t,n){var r=t.key,a=t.prefix,i=t.unitless,o=t.ignore,s=t.token,l=t.scope,u=l===void 0?"":l,d=c.useContext(Tb),p=d.cache.instanceId,f=d.container,m=s._tokenKey,g=[].concat($e(t.path),[r,u,m]),h=yL(LK,g,function(){var v=n(),S=SK(v,r,{prefix:a,unitless:i,ignore:o,scope:u}),_=oe(S,2),E=_[0],y=_[1],C=DK(g,y);return[E,y,C,r]},function(v){var S=oe(v,3),_=S[2];hA&&sm(_,{mark:so})},function(v){var S=oe(v,3),_=S[1],E=S[2];if(_){var y=fs(_,E,{mark:so,prepend:"queue",attachTo:f,priority:-999});y[Ks]=p,y.setAttribute(hd,r)}});return h},ode=function(t,n,r){var a=oe(t,4),i=a[1],o=a[2],s=a[3],l=r||{},u=l.plain;if(!i)return null;var d=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},f=u_(i,s,o,p,u);return[d,o,f]};W(W(W({},MK,ade),yK,Mue),LK,ode);var dn=function(){function e(t,n){Jn(this,e),W(this,"name",void 0),W(this,"style",void 0),W(this,"_keyframe",!0),this.name=t,this.style=n}return er(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function ru(e){return e.notSplit=!0,e}ru(["borderTop","borderBottom"]),ru(["borderTop"]),ru(["borderBottom"]),ru(["borderLeft","borderRight"]),ru(["borderLeft"]),ru(["borderRight"]);var xL=c.createContext({});function kK(e){return mK(e)||uK(e)||_L(e)||gK()}function li(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!li(e,t.slice(0,-1))?e:PK(e,t,n,r)}function sde(e){return gt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function EF(e){return Array.isArray(e)?[]:{}}var lde=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function $u(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=cde,e},$K=c.createContext(void 0);var FK={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},dde={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pde=ee(ee({},dde),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const BK={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},d_={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},pde),timePickerLocale:Object.assign({},BK)},ei="${label} is not a valid ${type}",zi={locale:"en",Pagination:FK,DatePicker:d_,TimePicker:BK,Calendar:d_,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ei,method:ei,array:ei,object:ei,number:ei,date:ei,boolean:ei,integer:ei,float:ei,regexp:ei,email:ei,url:ei,hex:ei},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let fv=Object.assign({},zi.Modal),mv=[];const yF=()=>mv.reduce((e,t)=>Object.assign(Object.assign({},e),t),zi.Modal);function fde(e){if(e){const t=Object.assign({},e);return mv.push(t),fv=yF(),()=>{mv=mv.filter(n=>n!==t),fv=yF()}}fv=Object.assign({},zi.Modal)}function UK(){return fv}const RL=c.createContext(void 0),Go=(e,t)=>{const n=c.useContext(RL),r=c.useMemo(()=>{var i;const o=t||zi[e],s=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),a=c.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?zi.locale:i},[n]);return[r,a]},mde="internalMark",gde=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;c.useEffect(()=>fde(t==null?void 0:t.Modal),[t]);const a=c.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return c.createElement(RL.Provider,{value:a},n)};function pa(e,t){hde(e)&&(e="100%");var n=vde(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function th(e){return Math.min(1,Math.max(0,e))}function hde(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function vde(e){return typeof e=="string"&&e.indexOf("%")!==-1}function jK(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nh(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ec(e){return e.length===1?"0"+e:String(e)}function _de(e,t,n){return{r:pa(e,255)*255,g:pa(t,255)*255,b:pa(n,255)*255}}function CF(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,s=(r+a)/2;if(r===a)o=0,i=0;else{var l=r-a;switch(o=s>.5?l/(2-r-a):l/(r+a),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function bde(e,t,n){var r,a,i;if(e=pa(e,360),t=pa(t,100),n=pa(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=$E(s,o,e+1/3),a=$E(s,o,e),i=$E(s,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function SA(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,s=r-a,l=r===0?0:s/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var yA={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Cu(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return typeof e=="string"&&(e=Rde(e)),typeof e=="object"&&(Ko(e.r)&&Ko(e.g)&&Ko(e.b)?(t=_de(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ko(e.h)&&Ko(e.s)&&Ko(e.v)?(r=nh(e.s),a=nh(e.v),t=Sde(e.h,r,a),o=!0,s="hsv"):Ko(e.h)&&Ko(e.s)&&Ko(e.l)&&(r=nh(e.s),i=nh(e.l),t=bde(e.h,r,i),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=jK(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Tde="[-\\+]?\\d+%?",xde="[-\\+]?\\d*\\.\\d+%?",Qs="(?:".concat(xde,")|(?:").concat(Tde,")"),FE="[\\s|\\(]+(".concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")\\s*\\)?"),BE="[\\s|\\(]+(".concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")\\s*\\)?"),Qi={CSS_UNIT:new RegExp(Qs),rgb:new RegExp("rgb"+FE),rgba:new RegExp("rgba"+BE),hsl:new RegExp("hsl"+FE),hsla:new RegExp("hsla"+BE),hsv:new RegExp("hsv"+FE),hsva:new RegExp("hsva"+BE),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Rde(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(yA[e])e=yA[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Qi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Qi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Qi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qi.hex8.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),a:TF(n[4]),format:t?"name":"hex8"}:(n=Qi.hex6.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),format:t?"name":"hex"}:(n=Qi.hex4.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),a:TF(n[4]+n[4]),format:t?"name":"hex8"}:(n=Qi.hex3.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ko(e){return!!Qi.CSS_UNIT.exec(String(e))}var an=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Cde(t)),this.originalInput=t;var a=Cu(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,o=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=jK(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=SA(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=SA(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=CF(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=CF(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),EA(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ede(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(pa(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(pa(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+EA(this.r,this.g,this.b,!1),n=0,r=Object.entries(yA);n=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=th(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=th(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=th(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=th(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-rh*t:Math.round(e.h)+rh*t:r=n?Math.round(e.h)+rh*t:Math.round(e.h)-rh*t,r<0?r+=360:r>=360&&(r-=360),r}function IF(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-xF*t:t===HK?r=e.s+xF:r=e.s+wde*t,r>1&&(r=1),n&&t===zK&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function OF(e,t,n){var r;return n?r=e.v+Ide*t:r=e.v-Ode*t,r>1&&(r=1),Number(r.toFixed(2))}function xc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Cu(e),a=zK;a>0;a-=1){var i=RF(r),o=ah(Cu({h:wF(i,a,!0),s:IF(i,a,!0),v:OF(i,a,!0)}));n.push(o)}n.push(ah(r));for(var s=1;s<=HK;s+=1){var l=RF(r),u=ah(Cu({h:wF(l,s),s:IF(l,s),v:OF(l,s)}));n.push(u)}return t.theme==="dark"?Nde.map(function(d){var p=d.index,f=d.opacity,m=ah(Ade(Cu(t.backgroundColor||"#141414"),Cu(n[p]),f*100));return m}):n}var Ju={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},CA=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];CA.primary=CA[5];var TA=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];TA.primary=TA[5];var xA=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];xA.primary=xA[5];var p_=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];p_.primary=p_[5];var RA=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];RA.primary=RA[5];var wA=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];wA.primary=wA[5];var IA=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];IA.primary=IA[5];var OA=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];OA.primary=OA[5];var bd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];bd.primary=bd[5];var NA=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];NA.primary=NA[5];var AA=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];AA.primary=AA[5];var DA=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];DA.primary=DA[5];var MA=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];MA.primary=MA[5];var UE={red:CA,volcano:TA,orange:xA,gold:p_,yellow:RA,lime:wA,green:IA,cyan:OA,blue:bd,geekblue:NA,purple:AA,magenta:DA,grey:MA};const wL={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Sd=Object.assign(Object.assign({},wL),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + */var _L=Symbol.for("react.element"),bL=Symbol.for("react.portal"),gb=Symbol.for("react.fragment"),hb=Symbol.for("react.strict_mode"),vb=Symbol.for("react.profiler"),_b=Symbol.for("react.provider"),bb=Symbol.for("react.context"),xce=Symbol.for("react.server_context"),Sb=Symbol.for("react.forward_ref"),Eb=Symbol.for("react.suspense"),yb=Symbol.for("react.suspense_list"),Cb=Symbol.for("react.memo"),Tb=Symbol.for("react.lazy"),Rce=Symbol.for("react.offscreen"),JY;JY=Symbol.for("react.module.reference");function Wi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _L:switch(e=e.type,e){case gb:case vb:case hb:case Eb:case yb:return e;default:switch(e=e&&e.$$typeof,e){case xce:case bb:case Sb:case Tb:case Cb:case _b:return e;default:return t}}case bL:return t}}}kn.ContextConsumer=bb;kn.ContextProvider=_b;kn.Element=_L;kn.ForwardRef=Sb;kn.Fragment=gb;kn.Lazy=Tb;kn.Memo=Cb;kn.Portal=bL;kn.Profiler=vb;kn.StrictMode=hb;kn.Suspense=Eb;kn.SuspenseList=yb;kn.isAsyncMode=function(){return!1};kn.isConcurrentMode=function(){return!1};kn.isContextConsumer=function(e){return Wi(e)===bb};kn.isContextProvider=function(e){return Wi(e)===_b};kn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_L};kn.isForwardRef=function(e){return Wi(e)===Sb};kn.isFragment=function(e){return Wi(e)===gb};kn.isLazy=function(e){return Wi(e)===Tb};kn.isMemo=function(e){return Wi(e)===Cb};kn.isPortal=function(e){return Wi(e)===bL};kn.isProfiler=function(e){return Wi(e)===vb};kn.isStrictMode=function(e){return Wi(e)===hb};kn.isSuspense=function(e){return Wi(e)===Eb};kn.isSuspenseList=function(e){return Wi(e)===yb};kn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gb||e===vb||e===hb||e===Eb||e===yb||e===Rce||typeof e=="object"&&e!==null&&(e.$$typeof===Tb||e.$$typeof===Cb||e.$$typeof===_b||e.$$typeof===bb||e.$$typeof===Sb||e.$$typeof===JY||e.getModuleId!==void 0)};kn.typeOf=Wi;ZY.exports=kn;var bf=ZY.exports;function _r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ce.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(_r(r)):bf.isFragment(r)&&r.props?n=n.concat(_r(r.props.children,t)):n.push(r))}),n}var cA={},wce=function(t){};function Ice(e,t){}function Oce(e,t){}function Nce(){cA={}}function eK(e,t,n){!t&&!cA[n]&&(e(!1,n),cA[n]=!0)}function bn(e,t){eK(Ice,e,t)}function tK(e,t){eK(Oce,e,t)}bn.preMessage=wce;bn.resetWarned=Nce;bn.noteOnce=tK;function gt(e){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(e)}function Ace(e,t){if(gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nK(e){var t=Ace(e,"string");return gt(t)=="symbol"?t:t+""}function W(e,t,n){return(t=nK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t=19;var dA=c.createContext(null);function Mce(e){var t=e.children,n=e.onBatchResize,r=c.useRef(0),a=c.useRef([]),i=c.useContext(dA),o=c.useCallback(function(s,l,u){r.current+=1;var d=r.current;a.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),i==null||i(s,l,u)},[n,i]);return c.createElement(dA.Provider,{value:o},t)}var aK=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,i=this.__entries__;a0},e.prototype.connect_=function(){!pA||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Bce?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!pA||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=Fce.some(function(i){return!!~r.indexOf(i)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),iK=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof _d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Yce(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Kce(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),sK=typeof WeakMap<"u"?new WeakMap:new aK,lK=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Uce.getInstance(),r=new Xce(t,n,this);sK.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){lK.prototype[e]=function(){var t;return(t=sK.get(this))[e].apply(t,arguments)}});var Qce=function(){return typeof p_.ResizeObserver<"u"?p_.ResizeObserver:lK}(),Ks=new Map;function Zce(e){e.forEach(function(t){var n,r=t.target;(n=Ks.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var cK=new Qce(Zce);function Jce(e,t){Ks.has(e)||(Ks.set(e,new Set),cK.observe(e)),Ks.get(e).add(t)}function eue(e,t){Ks.has(e)&&(Ks.get(e).delete(t),Ks.get(e).size||(cK.unobserve(e),Ks.delete(e)))}function er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uF(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;dF+=1;var r=dF;function a(i){if(i===0)mK(r),t();else{var o=pK(function(){a(i-1)});EL.set(r,o)}}return a(n),r};Gt.cancel=function(e){var t=EL.get(e);return mK(e),fK(t)};function gK(e){if(Array.isArray(e))return e}function lue(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(d){u=!0,a=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function hK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oe(e,t){return gK(e)||lue(e,t)||SL(e,t)||hK()}function lm(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Jr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function mA(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var pF="data-rc-order",fF="data-rc-priority",cue="rc-util-key",gA=new Map;function vK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):cue}function wb(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function uue(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function yL(e){return Array.from((gA.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function _K(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Jr())return null;var n=t.csp,r=t.prepend,a=t.priority,i=a===void 0?0:a,o=uue(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(pF,o),s&&i&&l.setAttribute(fF,"".concat(i)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=wb(t),d=u.firstChild;if(r){if(s){var p=(t.styles||yL(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(pF)))return!1;var m=Number(f.getAttribute(fF)||0);return i>=m});if(p.length)return u.insertBefore(l,p[p.length-1].nextSibling),l}u.insertBefore(l,d)}else u.appendChild(l);return l}function bK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=wb(t);return(t.styles||yL(n)).find(function(r){return r.getAttribute(vK(t))===e})}function cm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=bK(e,t);if(n){var r=wb(t);r.removeChild(n)}}function due(e,t){var n=gA.get(e);if(!n||!mA(document,n)){var r=_K("",t),a=r.parentNode;gA.set(e,a),e.removeChild(r)}}function gs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=wb(n),a=yL(r),i=ee(ee({},n),{},{styles:a});due(r,i);var o=bK(t,i);if(o){var s,l;if((s=i.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=i.csp)===null||l===void 0?void 0:l.nonce)){var u;o.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var d=_K(e,i);return d.setAttribute(vK(i),t),d}function pue(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function yt(e,t){if(e==null)return{};var n,r,a=pue(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(bn(!l,"Warning: There may be circular references"),l)return!1;if(i===o)return!0;if(n&&s>1)return!1;r.add(i);var u=s+1;if(Array.isArray(i)){if(!Array.isArray(o)||i.length!==o.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(s){if(!o)o=void 0;else{var l;o=(l=o)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=o)!==null&&r!==void 0&&r.value&&i&&(o.value[1]=this.cacheCallTimes++),(a=o)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,d){var p=oe(u,2),f=p[1];return a.internalGet(d)[1]0,void 0),mF+=1}return tr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),$E=new CL;function um(e){var t=Array.isArray(e)?e:[e];return $E.has(t)||$E.set(t,new SK(t)),$E.get(t)}var vue=new WeakMap,FE={};function _ue(e,t){for(var n=vue,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=gF.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof SK?n+=a.id:a&>(a)==="object"?n+=Ef(a,t):n+=a}),t&&(n=lm(n)),gF.set(e,n)),n}function hF(e,t){return lm("".concat(t,"_").concat(Ef(e,!0)))}var vA=Jr();function X(e){return typeof e=="number"?"".concat(e,"px"):e}function m_(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var i=ee(ee({},r),{},W(W({},bd,t),lo,n)),o=Object.keys(i).map(function(s){var l=i[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"")}var dv=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},bue=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var i=oe(a,2),o=i[0],s=i[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},EK=function(t,n,r){var a={},i={};return Object.entries(t).forEach(function(o){var s,l,u=oe(o,2),d=u[0],p=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])i[d]=p;else if((typeof p=="string"||typeof p=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[d])){var f,m=dv(d,r==null?void 0:r.prefix);a[m]=typeof p=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[d])?"".concat(p,"px"):String(p),i[d]="var(".concat(m,")")}}),[i,bue(a,n,{scope:r==null?void 0:r.scope})]},vF=Jr()?c.useLayoutEffect:c.useEffect,Qt=function(t,n){var r=c.useRef(!0);vF(function(){return t(r.current)},n),vF(function(){return r.current=!1,function(){r.current=!0}},[])},pc=function(t,n){Qt(function(r){if(!r)return t()},n)},Sue=ee({},Gm),_F=Sue.useInsertionEffect,Eue=function(t,n,r){c.useMemo(t,r),Qt(function(){return n(!0)},r)},yue=_F?function(e,t,n){return _F(function(){return e(),t()},n)}:Eue,Cue=ee({},Gm),Tue=Cue.useInsertionEffect,xue=function(t){var n=[],r=!1;function a(i){r||n.push(i)}return c.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),a},Rue=function(){return function(t){t()}},wue=typeof Tue<"u"?xue:Rue;function TL(e,t,n,r,a){var i=c.useContext(Ib),o=i.cache,s=[e].concat($e(t)),l=hA(s),u=wue([l]),d=function(g){o.opUpdate(l,function(h){var v=h||[void 0,void 0],S=oe(v,2),b=S[0],E=b===void 0?0:b,y=S[1],C=y,T=C||n(),x=[E,T];return g?g(x):x})};c.useMemo(function(){d()},[l]);var p=o.opGet(l),f=p[1];return yue(function(){a==null||a(f)},function(m){return d(function(g){var h=oe(g,2),v=h[0],S=h[1];return m&&v===0&&(a==null||a(f)),[v+1,S]}),function(){o.opUpdate(l,function(g){var h=g||[],v=oe(h,2),S=v[0],b=S===void 0?0:S,E=v[1],y=b-1;return y===0?(u(function(){(m||!o.opGet(l))&&(r==null||r(E,!1))}),null):[b-1,E]})}},[l]),f}var Iue={},Oue="css",Xl=new Map;function Nue(e){Xl.set(e,(Xl.get(e)||0)+1)}function Aue(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(bd,'="').concat(e,'"]'));n.forEach(function(r){if(r[Xs]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Due=0;function Mue(e,t){Xl.set(e,(Xl.get(e)||0)-1);var n=Array.from(Xl.keys()),r=n.filter(function(a){var i=Xl.get(a)||0;return i<=0});n.length-r.length>Due&&r.forEach(function(a){Aue(a,t),Xl.delete(a)})}var yK=function(t,n,r,a){var i=r.getDerivativeToken(t),o=ee(ee({},i),n);return a&&(o=a(o)),o},CK="token";function Lue(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=c.useContext(Ib),a=r.cache.instanceId,i=r.container,o=n.salt,s=o===void 0?"":o,l=n.override,u=l===void 0?Iue:l,d=n.formatToken,p=n.getComputedToken,f=n.cssVar,m=_ue(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),g=Ef(m),h=Ef(u),v=f?Ef(f):"",S=TL(CK,[s,e.id,g,h,v],function(){var b,E=p?p(m,u,e):yK(m,u,e,d),y=ee({},E),C="";if(f){var T=EK(E,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),x=oe(T,2);E=x[0],C=x[1]}var R=hF(E,s);E._tokenKey=R,y._tokenKey=hF(y,s);var w=(b=f==null?void 0:f.key)!==null&&b!==void 0?b:R;E._themeKey=w,Nue(w);var I="".concat(Oue,"-").concat(lm(R));return E._hashId=I,[E,I,y,C,(f==null?void 0:f.key)||""]},function(b){Mue(b[0]._themeKey,a)},function(b){var E=oe(b,4),y=E[0],C=E[3];if(f&&C){var T=gs(C,lm("css-variables-".concat(y._themeKey)),{mark:lo,prepend:"queue",attachTo:i,priority:-999});T[Xs]=a,T.setAttribute(bd,y._themeKey)}});return S}var kue=function(t,n,r){var a=oe(t,5),i=a[2],o=a[3],s=a[4],l=r||{},u=l.plain;if(!o)return null;var d=i._tokenKey,p=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(p)},m=m_(o,s,d,f,u);return[p,d,m]},Pue={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},TK="comm",xK="rule",RK="decl",$ue="@import",Fue="@keyframes",Bue="@layer",wK=Math.abs,xL=String.fromCharCode;function IK(e){return e.trim()}function pv(e,t,n){return e.replace(t,n)}function Uue(e,t,n){return e.indexOf(t,n)}function dm(e,t){return e.charCodeAt(t)|0}function Sd(e,t,n){return e.slice(t,n)}function wo(e){return e.length}function jue(e){return e.length}function rh(e,t){return t.push(e),e}var Ob=1,Ed=1,OK=0,zi=0,Nr=0,Vd="";function RL(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:Ob,column:Ed,length:o,return:"",siblings:s}}function zue(){return Nr}function Hue(){return Nr=zi>0?dm(Vd,--zi):0,Ed--,Nr===10&&(Ed=1,Ob--),Nr}function co(){return Nr=zi2||pm(Nr)>3?"":" "}function Wue(e,t){for(;--t&&co()&&!(Nr<48||Nr>102||Nr>57&&Nr<65||Nr>70&&Nr<97););return Nb(e,fv()+(t<6&&Qs()==32&&co()==32))}function _A(e){for(;co();)switch(Nr){case e:return zi;case 34:case 39:e!==34&&e!==39&&_A(Nr);break;case 40:e===41&&_A(e);break;case 92:co();break}return zi}function Yue(e,t){for(;co()&&e+Nr!==57;)if(e+Nr===84&&Qs()===47)break;return"/*"+Nb(t,zi-1)+"*"+xL(e===47?e:co())}function Kue(e){for(;!pm(Qs());)co();return Nb(e,zi)}function Xue(e){return Vue(mv("",null,null,null,[""],e=Gue(e),0,[0],e))}function mv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,b=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=b,b=co()){case 40:if(g!=108&&dm(x,p-1)==58){Uue(x+=pv(BE(b),"&","&\f"),"&\f",wK(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=BE(b);break;case 9:case 10:case 13:case 32:x+=que(g);break;case 92:x+=Wue(fv()-1,7);continue;case 47:switch(Qs()){case 42:case 47:rh(Que(Yue(co(),fv()),t,n,l),l),(pm(g||1)==5||pm(Qs()||1)==5)&&wo(x)&&Sd(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*h:s[u++]=wo(x)*S;case 125*h:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+d:S==-1&&(x=pv(x,/\f/g,"")),m>0&&(wo(x)-p||h===0&&g===47)&&rh(m>32?SF(x+";",r,n,p-1,l):SF(pv(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(rh(T=bF(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),b===123)if(d===0)mv(x,t,T,T,y,i,p,s,C);else switch(f===99&&dm(x,3)===110?100:f){case 100:case 108:case 109:case 115:mv(e,T,T,r&&rh(bF(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:mv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+wo(x),m=g;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&Hue()==125)continue}switch(x+=xL(b),b*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(wo(x)-1)*S,S=1;break;case 64:Qs()===45&&(x+=BE(co())),f=Qs(),d=p=wo(E=x+=Kue(fv())),b++;break;case 45:g===45&&wo(x)==2&&(h=0)}}return i}function bF(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=jue(m),h=0,v=0,S=0;h0?m[b]+" "+E:pv(E,/&\f/g,m[b])))&&(l[S++]=y);return RL(e,t,n,a===0?xK:s,l,u,d,p)}function Que(e,t,n,r){return RL(e,t,n,TK,xL(zue()),Sd(e,2,-2),0,r)}function SF(e,t,n,r,a){return RL(e,t,n,RK,Sd(e,0,r),Sd(e,r+1,-1),r,a)}function bA(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,i=r.injectHash,o=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var u=n.hashPriority,d=n.transformers,p=d===void 0?[]:d;n.linters;var f="",m={};function g(S){var b=S.getName(s);if(!m[b]){var E=e(S.style,n,{root:!1,parentSelectors:o}),y=oe(E,1),C=y[0];m[b]="@keyframes ".concat(S.getName(s)).concat(C)}}function h(S){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return S.forEach(function(E){Array.isArray(E)?h(E,b):E&&b.push(E)}),b}var v=h(Array.isArray(t)?t:[t]);return v.forEach(function(S){var b=typeof S=="string"&&!a?{}:S;if(typeof b=="string")f+="".concat(b,` +`);else if(b._keyframe)g(b);else{var E=p.reduce(function(y,C){var T;return(C==null||(T=C.visit)===null||T===void 0?void 0:T.call(C,y))||y},b);Object.keys(E).forEach(function(y){var C=E[y];if(gt(C)==="object"&&C&&(y!=="animationName"||!C._keyframe)&&!rde(C)){var T=!1,x=y.trim(),R=!1;(a||i)&&s?x.startsWith("@")?T=!0:x==="&"?x=yF("",s,u):x=yF(y,s,u):a&&!s&&(x==="&"||x==="")&&(x="",R=!0);var w=e(C,n,{root:R,injectHash:T,parentSelectors:[].concat($e(o),[x])}),I=oe(w,2),O=I[0],k=I[1];m=ee(ee({},m),k),f+="".concat(x).concat(O)}else{let N=function(A,D){var L=A.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),$=D;!Pue[A]&&typeof $=="number"&&$!==0&&($="".concat($,"px")),A==="animationName"&&D!==null&&D!==void 0&&D._keyframe&&(g(D),$=D.getName(s)),f+="".concat(L,":").concat($,";")};var P,M=(P=C==null?void 0:C.value)!==null&&P!==void 0?P:C;gt(C)==="object"&&C!==null&&C!==void 0&&C[DK]&&Array.isArray(M)?M.forEach(function(A){N(y,A)}):N(y,M)}})}}),a?l&&(f="@layer ".concat(l.name," {").concat(f,"}"),l.dependencies&&(m["@layer ".concat(l.name)]=l.dependencies.map(function(S){return"@layer ".concat(S,", ").concat(l.name,";")}).join(` +`))):f="{".concat(f,"}"),[f,m]};function MK(e,t){return lm("".concat(e.join("%")).concat(t))}function ide(){return null}var LK="style";function SA(e,t){var n=e.token,r=e.path,a=e.hashId,i=e.layer,o=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,d=c.useContext(Ib),p=d.autoClear;d.mock;var f=d.defaultCache,m=d.hashPriority,g=d.container,h=d.ssrInline,v=d.transformers,S=d.linters,b=d.cache,E=d.layer,y=n._tokenKey,C=[y];E&&C.push("layer"),C.push.apply(C,$e(r));var T=vA,x=TL(LK,C,function(){var k=C.join("|");if(ede(k)){var P=tde(k),M=oe(P,2),N=M[0],A=M[1];if(N)return[N,y,A,{},s,u]}var D=t(),L=ade(D,{hashId:a,hashPriority:m,layer:E?i:void 0,path:r.join("-"),transformers:v,linters:S}),$=oe(L,2),F=$[0],B=$[1],z=gv(F),U=MK(C,z);return[z,y,U,B,s,u]},function(k,P){var M=oe(k,3),N=M[2];(P||p)&&vA&&cm(N,{mark:lo})},function(k){var P=oe(k,4),M=P[0];P[1];var N=P[2],A=P[3];if(T&&M!==NK){var D={mark:lo,prepend:E?!1:"queue",attachTo:g,priority:u},L=typeof o=="function"?o():o;L&&(D.csp={nonce:L});var $=[],F=[];Object.keys(A).forEach(function(z){z.startsWith("@layer")?$.push(z):F.push(z)}),$.forEach(function(z){gs(gv(A[z]),"_layer-".concat(z),ee(ee({},D),{},{prepend:!0}))});var B=gs(M,N,D);B[Xs]=b.instanceId,B.setAttribute(bd,y),F.forEach(function(z){gs(gv(A[z]),"_effect-".concat(z),D)})}}),R=oe(x,3),w=R[0],I=R[1],O=R[2];return function(k){var P;return!h||T||!f?P=c.createElement(ide,null):P=c.createElement("style",ve({},W(W({},bd,I),lo,O),{dangerouslySetInnerHTML:{__html:w}})),c.createElement(c.Fragment,null,P,k)}}var ode=function(t,n,r){var a=oe(t,6),i=a[0],o=a[1],s=a[2],l=a[3],u=a[4],d=a[5],p=r||{},f=p.plain;if(u)return null;var m=i,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return m=m_(i,o,s,g,f),l&&Object.keys(l).forEach(function(h){if(!n[h]){n[h]=!0;var v=gv(l[h]),S=m_(v,o,"_effect-".concat(h),g,f);h.startsWith("@layer")?m=S+m:m+=S}}),[d,s,m]},kK="cssVar",sde=function(t,n){var r=t.key,a=t.prefix,i=t.unitless,o=t.ignore,s=t.token,l=t.scope,u=l===void 0?"":l,d=c.useContext(Ib),p=d.cache.instanceId,f=d.container,m=s._tokenKey,g=[].concat($e(t.path),[r,u,m]),h=TL(kK,g,function(){var v=n(),S=EK(v,r,{prefix:a,unitless:i,ignore:o,scope:u}),b=oe(S,2),E=b[0],y=b[1],C=MK(g,y);return[E,y,C,r]},function(v){var S=oe(v,3),b=S[2];vA&&cm(b,{mark:lo})},function(v){var S=oe(v,3),b=S[1],E=S[2];if(b){var y=gs(b,E,{mark:lo,prepend:"queue",attachTo:f,priority:-999});y[Xs]=p,y.setAttribute(bd,r)}});return h},lde=function(t,n,r){var a=oe(t,4),i=a[1],o=a[2],s=a[3],l=r||{},u=l.plain;if(!i)return null;var d=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},f=m_(i,s,o,p,u);return[d,o,f]};W(W(W({},LK,ode),CK,kue),kK,lde);var dn=function(){function e(t,n){er(this,e),W(this,"name",void 0),W(this,"style",void 0),W(this,"_keyframe",!0),this.name=t,this.style=n}return tr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function iu(e){return e.notSplit=!0,e}iu(["borderTop","borderBottom"]),iu(["borderTop"]),iu(["borderBottom"]),iu(["borderLeft","borderRight"]),iu(["borderLeft"]),iu(["borderRight"]);var wL=c.createContext({});function PK(e){return gK(e)||dK(e)||SL(e)||hK()}function li(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!li(e,t.slice(0,-1))?e:$K(e,t,n,r)}function cde(e){return gt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function CF(e){return Array.isArray(e)?[]:{}}var ude=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Uu(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=dde,e},FK=c.createContext(void 0);var BK={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},fde={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},mde=ee(ee({},fde),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const UK={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},g_={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},mde),timePickerLocale:Object.assign({},UK)},ei="${label} is not a valid ${type}",Hi={locale:"en",Pagination:BK,DatePicker:g_,TimePicker:UK,Calendar:g_,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ei,method:ei,array:ei,object:ei,number:ei,date:ei,boolean:ei,integer:ei,float:ei,regexp:ei,email:ei,url:ei,hex:ei},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let hv=Object.assign({},Hi.Modal),vv=[];const TF=()=>vv.reduce((e,t)=>Object.assign(Object.assign({},e),t),Hi.Modal);function gde(e){if(e){const t=Object.assign({},e);return vv.push(t),hv=TF(),()=>{vv=vv.filter(n=>n!==t),hv=TF()}}hv=Object.assign({},Hi.Modal)}function jK(){return hv}const IL=c.createContext(void 0),qo=(e,t)=>{const n=c.useContext(IL),r=c.useMemo(()=>{var i;const o=t||Hi[e],s=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),a=c.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?Hi.locale:i},[n]);return[r,a]},hde="internalMark",vde=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;c.useEffect(()=>gde(t==null?void 0:t.Modal),[t]);const a=c.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return c.createElement(IL.Provider,{value:a},n)};function pa(e,t){_de(e)&&(e="100%");var n=bde(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ah(e){return Math.min(1,Math.max(0,e))}function _de(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function bde(e){return typeof e=="string"&&e.indexOf("%")!==-1}function zK(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ih(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ec(e){return e.length===1?"0"+e:String(e)}function Sde(e,t,n){return{r:pa(e,255)*255,g:pa(t,255)*255,b:pa(n,255)*255}}function xF(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,s=(r+a)/2;if(r===a)o=0,i=0;else{var l=r-a;switch(o=s>.5?l/(2-r-a):l/(r+a),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ede(e,t,n){var r,a,i;if(e=pa(e,360),t=pa(t,100),n=pa(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=UE(s,o,e+1/3),a=UE(s,o,e),i=UE(s,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function EA(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,s=r-a,l=r===0?0:s/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var CA={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ru(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return typeof e=="string"&&(e=Ide(e)),typeof e=="object"&&(Qo(e.r)&&Qo(e.g)&&Qo(e.b)?(t=Sde(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qo(e.h)&&Qo(e.s)&&Qo(e.v)?(r=ih(e.s),a=ih(e.v),t=yde(e.h,r,a),o=!0,s="hsv"):Qo(e.h)&&Qo(e.s)&&Qo(e.l)&&(r=ih(e.s),i=ih(e.l),t=Ede(e.h,r,i),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=zK(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Rde="[-\\+]?\\d+%?",wde="[-\\+]?\\d*\\.\\d+%?",Zs="(?:".concat(wde,")|(?:").concat(Rde,")"),jE="[\\s|\\(]+(".concat(Zs,")[,|\\s]+(").concat(Zs,")[,|\\s]+(").concat(Zs,")\\s*\\)?"),zE="[\\s|\\(]+(".concat(Zs,")[,|\\s]+(").concat(Zs,")[,|\\s]+(").concat(Zs,")[,|\\s]+(").concat(Zs,")\\s*\\)?"),Zi={CSS_UNIT:new RegExp(Zs),rgb:new RegExp("rgb"+jE),rgba:new RegExp("rgba"+zE),hsl:new RegExp("hsl"+jE),hsla:new RegExp("hsla"+zE),hsv:new RegExp("hsv"+jE),hsva:new RegExp("hsva"+zE),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ide(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(CA[e])e=CA[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Zi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Zi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Zi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Zi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Zi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Zi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Zi.hex8.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),a:RF(n[4]),format:t?"name":"hex8"}:(n=Zi.hex6.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),format:t?"name":"hex"}:(n=Zi.hex4.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),a:RF(n[4]+n[4]),format:t?"name":"hex8"}:(n=Zi.hex3.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Qo(e){return!!Zi.CSS_UNIT.exec(String(e))}var on=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=xde(t)),this.originalInput=t;var a=Ru(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,o=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=zK(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=EA(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=EA(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=xF(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=xF(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),yA(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Cde(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(pa(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(pa(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+yA(this.r,this.g,this.b,!1),n=0,r=Object.entries(CA);n=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ah(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ah(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ah(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ah(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-oh*t:Math.round(e.h)+oh*t:r=n?Math.round(e.h)+oh*t:Math.round(e.h)-oh*t,r<0?r+=360:r>=360&&(r-=360),r}function NF(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-wF*t:t===GK?r=e.s+wF:r=e.s+Ode*t,r>1&&(r=1),n&&t===HK&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function AF(e,t,n){var r;return n?r=e.v+Nde*t:r=e.v-Ade*t,r>1&&(r=1),Number(r.toFixed(2))}function xc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Ru(e),a=HK;a>0;a-=1){var i=IF(r),o=sh(Ru({h:OF(i,a,!0),s:NF(i,a,!0),v:AF(i,a,!0)}));n.push(o)}n.push(sh(r));for(var s=1;s<=GK;s+=1){var l=IF(r),u=sh(Ru({h:OF(l,s),s:NF(l,s),v:AF(l,s)}));n.push(u)}return t.theme==="dark"?Dde.map(function(d){var p=d.index,f=d.opacity,m=sh(Mde(Ru(t.backgroundColor||"#141414"),Ru(n[p]),f*100));return m}):n}var nd={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},TA=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];TA.primary=TA[5];var xA=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];xA.primary=xA[5];var RA=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];RA.primary=RA[5];var h_=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];h_.primary=h_[5];var wA=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];wA.primary=wA[5];var IA=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];IA.primary=IA[5];var OA=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];OA.primary=OA[5];var NA=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];NA.primary=NA[5];var yd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];yd.primary=yd[5];var AA=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];AA.primary=AA[5];var DA=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];DA.primary=DA[5];var MA=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];MA.primary=MA[5];var LA=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];LA.primary=LA[5];var HE={red:TA,volcano:xA,orange:RA,gold:h_,yellow:wA,lime:IA,green:OA,cyan:NA,blue:yd,geekblue:AA,purple:DA,magenta:MA,grey:LA};const OL={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Cd=Object.assign(Object.assign({},OL),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function GK(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:i,colorError:o,colorInfo:s,colorPrimary:l,colorBgBase:u,colorTextBase:d}=e,p=n(l),f=n(a),m=n(i),g=n(o),h=n(s),v=r(u,d),S=e.colorLink||e.colorInfo,_=n(S);return Object.assign(Object.assign({},v),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:_[4],colorLink:_[6],colorLinkActive:_[7],colorBgMask:new an("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Dde=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function Mde(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Dde(r))}const VK=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function gv(e){return(e+8)/e}function Lde(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,i=e*Math.pow(Math.E,a/5),o=r>1?Math.floor(i):Math.ceil(i);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:gv(n)}))}const qK=e=>{const t=Lde(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],i=n[0],o=n[2],s=r[1],l=r[0],u=r[2];return{fontSizeSM:i,fontSize:a,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:l,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function kde(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Xo=(e,t)=>new an(e).setAlpha(t).toRgbString(),Dp=(e,t)=>new an(e).darken(t).toHexString(),Pde=e=>{const t=xc(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},$de=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Xo(r,.88),colorTextSecondary:Xo(r,.65),colorTextTertiary:Xo(r,.45),colorTextQuaternary:Xo(r,.25),colorFill:Xo(r,.15),colorFillSecondary:Xo(r,.06),colorFillTertiary:Xo(r,.04),colorFillQuaternary:Xo(r,.02),colorBgLayout:Dp(n,4),colorBgContainer:Dp(n,0),colorBgElevated:Dp(n,0),colorBgSpotlight:Xo(r,.85),colorBgBlur:"transparent",colorBorder:Dp(n,15),colorBorderSecondary:Dp(n,6)}};function Wm(e){Ju.pink=Ju.magenta,UE.pink=UE.magenta;const t=Object.keys(wL).map(n=>{const r=e[n]===Ju[n]?UE[n]:xc(e[n]);return new Array(10).fill(1).reduce((a,i,o)=>(a[`${n}-${o+1}`]=r[o],a[`${n}${o+1}`]=r[o],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),GK(e,{generateColorPalettes:Pde,generateNeutralColorPalettes:$de})),qK(e.fontSize)),kde(e)),VK(e)),Mde(e))}const WK=lm(Wm),dm={token:Sd,override:{override:Sd},hashed:!0},IL=ce.createContext(dm),pm="ant",OL="anticon",Fde=["outlined","borderless","filled"],Bde=(e,t)=>t||(e?`${pm}-${e}`:pm),lt=c.createContext({getPrefixCls:Bde,iconPrefixCls:OL}),Ude=`-ant-${Date.now()}-${Math.random()}`;function jde(e,t){const n={},r=(o,s)=>{let l=o.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},a=(o,s)=>{const l=new an(o),u=xc(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const o=new an(t.primaryColor),s=xc(o.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const l=new an(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(l,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function VK(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:i,colorError:o,colorInfo:s,colorPrimary:l,colorBgBase:u,colorTextBase:d}=e,p=n(l),f=n(a),m=n(i),g=n(o),h=n(s),v=r(u,d),S=e.colorLink||e.colorInfo,b=n(S);return Object.assign(Object.assign({},v),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new on("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Lde=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function kde(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Lde(r))}const qK=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function _v(e){return(e+8)/e}function Pde(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,i=e*Math.pow(Math.E,a/5),o=r>1?Math.floor(i):Math.ceil(i);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:_v(n)}))}const WK=e=>{const t=Pde(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],i=n[0],o=n[2],s=r[1],l=r[0],u=r[2];return{fontSizeSM:i,fontSize:a,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:l,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function $de(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Zo=(e,t)=>new on(e).setAlpha(t).toRgbString(),Lp=(e,t)=>new on(e).darken(t).toHexString(),Fde=e=>{const t=xc(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Bde=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Zo(r,.88),colorTextSecondary:Zo(r,.65),colorTextTertiary:Zo(r,.45),colorTextQuaternary:Zo(r,.25),colorFill:Zo(r,.15),colorFillSecondary:Zo(r,.06),colorFillTertiary:Zo(r,.04),colorFillQuaternary:Zo(r,.02),colorBgLayout:Lp(n,4),colorBgContainer:Lp(n,0),colorBgElevated:Lp(n,0),colorBgSpotlight:Zo(r,.85),colorBgBlur:"transparent",colorBorder:Lp(n,15),colorBorderSecondary:Lp(n,6)}};function Km(e){nd.pink=nd.magenta,HE.pink=HE.magenta;const t=Object.keys(OL).map(n=>{const r=e[n]===nd[n]?HE[n]:xc(e[n]);return new Array(10).fill(1).reduce((a,i,o)=>(a[`${n}-${o+1}`]=r[o],a[`${n}${o+1}`]=r[o],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),VK(e,{generateColorPalettes:Fde,generateNeutralColorPalettes:Bde})),WK(e.fontSize)),$de(e)),qK(e)),kde(e))}const YK=um(Km),fm={token:Cd,override:{override:Cd},hashed:!0},NL=ce.createContext(fm),mm="ant",AL="anticon",Ude=["outlined","borderless","filled"],jde=(e,t)=>t||(e?`${mm}-${e}`:mm),lt=c.createContext({getPrefixCls:jde,iconPrefixCls:AL}),zde=`-ant-${Date.now()}-${Math.random()}`;function Hde(e,t){const n={},r=(o,s)=>{let l=o.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},a=(o,s)=>{const l=new on(o),u=xc(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const o=new on(t.primaryColor),s=xc(o.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const l=new on(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(l,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` :root { ${Object.keys(n).map(o=>`--${e}-${o}: ${n[o]};`).join(` `)} } - `.trim()}function zde(e,t){const n=jde(e,t);Jr()&&fs(n,`${Ude}-dynamic-theme`)}const ea=c.createContext(!1),NL=e=>{let{children:t,disabled:n}=e;const r=c.useContext(ea);return c.createElement(ea.Provider,{value:n??r},t)},Rc=c.createContext(void 0),Hde=e=>{let{children:t,size:n}=e;const r=c.useContext(Rc);return c.createElement(Rc.Provider,{value:n||r},t)};function Gde(){const e=c.useContext(ea),t=c.useContext(Rc);return{componentDisabled:e,componentSize:t}}var YK=er(function e(){Jn(this,e)}),KK="CALC_UNIT",Vde=new RegExp(KK,"g");function jE(e){return typeof e=="number"?"".concat(e).concat(KK):e}var qde=function(e){Si(n,e);var t=Wi(n);function n(r,a){var i;Jn(this,n),i=t.call(this),W(Ge(i),"result",""),W(Ge(i),"unitlessCssVar",void 0),W(Ge(i),"lowPriority",void 0);var o=gt(r);return i.unitlessCssVar=a,r instanceof n?i.result="(".concat(r.result,")"):o==="number"?i.result=jE(r):o==="string"&&(i.result=r),i}return er(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(jE(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(jE(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var i=this,o=a||{},s=o.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(l=!1),this.result=this.result.replace(Vde,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(YK),Wde=function(e){Si(n,e);var t=Wi(n);function n(r){var a;return Jn(this,n),a=t.call(this),W(Ge(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return er(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(YK),Yde=function(t,n){var r=t==="css"?qde:Wde;return function(a){return new r(a,n)}},NF=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Wt(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,i){r-a>Zde&&(n.map.delete(i),n.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e}(),LF=new Jde;function epe(e,t){return ce.useMemo(function(){var n=LF.get(t);if(n)return n;var r=e();return LF.set(t,r),r},t)}var tpe=function(){return{}};function npe(e){var t=e.useCSP,n=t===void 0?tpe:t,r=e.useToken,a=e.usePrefix,i=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(f,m,g,h){var v=Array.isArray(f)?f[0]:f;function S(R){return"".concat(String(v)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var _=(h==null?void 0:h.unitless)||{},E=typeof s=="function"?s(f):{},y=ee(ee({},E),{},W({},S("zIndexPopup"),!0));Object.keys(_).forEach(function(R){y[S(R)]=_[R]});var C=ee(ee({},h),{},{unitless:y,prefixToken:S}),T=d(f,m,g,C),x=u(v,g,C);return function(R){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,I=T(R,w),O=oe(I,2),k=O[1],P=x(w),M=oe(P,2),N=M[0],A=M[1];return[N,k,A]}}function u(f,m,g){var h=g.unitless,v=g.injectStyle,S=v===void 0?!0:v,_=g.prefixToken,E=g.ignore,y=function(x){var R=x.rootCls,w=x.cssVar,I=w===void 0?{}:w,O=r(),k=O.realToken;return ide({path:[f],prefix:I.prefix,key:I.key,unitless:h,ignore:E,token:k,scope:R},function(){var P=MF(f,k,m),M=AF(f,k,P,{deprecatedTokens:g==null?void 0:g.deprecatedTokens});return Object.keys(P).forEach(function(N){M[_(N)]=M[N],delete M[N]}),M}),null},C=function(x){var R=r(),w=R.cssVar;return[function(I){return S&&w?ce.createElement(ce.Fragment,null,ce.createElement(y,{rootCls:x,cssVar:w,component:f}),I):I},w==null?void 0:w.key]};return C}function d(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(f)?f:[f,f],S=oe(v,1),_=S[0],E=v.join("-");return function(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y,T=r(),x=T.theme,R=T.realToken,w=T.hashId,I=T.token,O=T.cssVar,k=a(),P=k.rootPrefixCls,M=k.iconPrefixCls,N=n(),A=O?"css":"js",D=epe(function(){var U=new Set;return O&&Object.keys(h.unitless||{}).forEach(function(j){U.add(lv(j,O.prefix)),U.add(lv(j,NF(_,O.prefix)))}),Yde(A,U)},[A,_,O==null?void 0:O.prefix]),L=Qde(A),$=L.max,F=L.min,B={theme:x,token:I,hashId:w,nonce:function(){return N.nonce},clientOnly:h.clientOnly,layer:{name:"antd"},order:h.order||-999};bA(ee(ee({},B),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof i=="function"?i(I):[]});var z=bA(ee(ee({},B),{},{path:[E,y,M]}),function(){if(h.injectStyle===!1)return[];var U=Xde(I),j=U.token,G=U.flush,J=MF(_,R,g),Y=".".concat(y),X=AF(_,R,J,{deprecatedTokens:h.deprecatedTokens});O&>(J)==="object"&&Object.keys(J).forEach(function(K){J[K]="var(".concat(lv(K,NF(_,O.prefix)),")")});var V=Ht(j,{componentCls:Y,prefixCls:y,iconCls:".".concat(M),antCls:".".concat(P),calc:D,max:$,min:F},O?J:X),H=m(V,{hashId:w,prefixCls:y,rootPrefixCls:P,iconPrefixCls:M});G(_,X);var q=typeof o=="function"?o(V,y,C,h.resetFont):null;return[h.resetStyle===!1?null:q,H]});return[z,w]}}function p(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=d(f,m,g,ee({resetStyle:!1,order:-998},h)),S=function(E){var y=E.prefixCls,C=E.rootCls,T=C===void 0?y:C;return v(y,T),null};return S}return{genStyleHooks:l,genSubStyleComponent:p,genComponentStyleHook:d}}const fm=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],rpe="5.20.6";function HE(e){return e>=0&&e<=255}function ih(e,t){const{r:n,g:r,b:a,a:i}=new an(e).toRgb();if(i<1)return e;const{r:o,g:s,b:l}=new an(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-o*(1-u))/u),p=Math.round((r-s*(1-u))/u),f=Math.round((a-l*(1-u))/u);if(HE(d)&&HE(p)&&HE(f))return new an({r:d,g:p,b:f,a:Math.round(u*100)/100}).toRgbString()}return new an({r:n,g:r,b:a,a:1}).toRgbString()}var ape=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[f]});const a=Object.assign(Object.assign({},n),r),i=480,o=576,s=768,l=992,u=1200,d=1600;if(a.motion===!1){const f="0s";a.motionDurationFast=f,a.motionDurationMid=f,a.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:ih(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:ih(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:ih(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*4,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:ih(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` + `.trim()}function Gde(e,t){const n=Hde(e,t);Jr()&&gs(n,`${zde}-dynamic-theme`)}const ea=c.createContext(!1),DL=e=>{let{children:t,disabled:n}=e;const r=c.useContext(ea);return c.createElement(ea.Provider,{value:n??r},t)},Rc=c.createContext(void 0),Vde=e=>{let{children:t,size:n}=e;const r=c.useContext(Rc);return c.createElement(Rc.Provider,{value:n||r},t)};function qde(){const e=c.useContext(ea),t=c.useContext(Rc);return{componentDisabled:e,componentSize:t}}var KK=tr(function e(){er(this,e)}),XK="CALC_UNIT",Wde=new RegExp(XK,"g");function GE(e){return typeof e=="number"?"".concat(e).concat(XK):e}var Yde=function(e){Ei(n,e);var t=Yi(n);function n(r,a){var i;er(this,n),i=t.call(this),W(Ge(i),"result",""),W(Ge(i),"unitlessCssVar",void 0),W(Ge(i),"lowPriority",void 0);var o=gt(r);return i.unitlessCssVar=a,r instanceof n?i.result="(".concat(r.result,")"):o==="number"?i.result=GE(r):o==="string"&&(i.result=r),i}return tr(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(GE(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(GE(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var i=this,o=a||{},s=o.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(l=!1),this.result=this.result.replace(Wde,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(KK),Kde=function(e){Ei(n,e);var t=Yi(n);function n(r){var a;return er(this,n),a=t.call(this),W(Ge(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return tr(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(KK),Xde=function(t,n){var r=t==="css"?Yde:Kde;return function(a){return new r(a,n)}},DF=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Wt(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,i){r-a>epe&&(n.map.delete(i),n.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e}(),PF=new tpe;function npe(e,t){return ce.useMemo(function(){var n=PF.get(t);if(n)return n;var r=e();return PF.set(t,r),r},t)}var rpe=function(){return{}};function ape(e){var t=e.useCSP,n=t===void 0?rpe:t,r=e.useToken,a=e.usePrefix,i=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(f,m,g,h){var v=Array.isArray(f)?f[0]:f;function S(R){return"".concat(String(v)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var b=(h==null?void 0:h.unitless)||{},E=typeof s=="function"?s(f):{},y=ee(ee({},E),{},W({},S("zIndexPopup"),!0));Object.keys(b).forEach(function(R){y[S(R)]=b[R]});var C=ee(ee({},h),{},{unitless:y,prefixToken:S}),T=d(f,m,g,C),x=u(v,g,C);return function(R){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,I=T(R,w),O=oe(I,2),k=O[1],P=x(w),M=oe(P,2),N=M[0],A=M[1];return[N,k,A]}}function u(f,m,g){var h=g.unitless,v=g.injectStyle,S=v===void 0?!0:v,b=g.prefixToken,E=g.ignore,y=function(x){var R=x.rootCls,w=x.cssVar,I=w===void 0?{}:w,O=r(),k=O.realToken;return sde({path:[f],prefix:I.prefix,key:I.key,unitless:h,ignore:E,token:k,scope:R},function(){var P=kF(f,k,m),M=MF(f,k,P,{deprecatedTokens:g==null?void 0:g.deprecatedTokens});return Object.keys(P).forEach(function(N){M[b(N)]=M[N],delete M[N]}),M}),null},C=function(x){var R=r(),w=R.cssVar;return[function(I){return S&&w?ce.createElement(ce.Fragment,null,ce.createElement(y,{rootCls:x,cssVar:w,component:f}),I):I},w==null?void 0:w.key]};return C}function d(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(f)?f:[f,f],S=oe(v,1),b=S[0],E=v.join("-");return function(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y,T=r(),x=T.theme,R=T.realToken,w=T.hashId,I=T.token,O=T.cssVar,k=a(),P=k.rootPrefixCls,M=k.iconPrefixCls,N=n(),A=O?"css":"js",D=npe(function(){var U=new Set;return O&&Object.keys(h.unitless||{}).forEach(function(j){U.add(dv(j,O.prefix)),U.add(dv(j,DF(b,O.prefix)))}),Xde(A,U)},[A,b,O==null?void 0:O.prefix]),L=Jde(A),$=L.max,F=L.min,B={theme:x,token:I,hashId:w,nonce:function(){return N.nonce},clientOnly:h.clientOnly,layer:{name:"antd"},order:h.order||-999};SA(ee(ee({},B),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof i=="function"?i(I):[]});var z=SA(ee(ee({},B),{},{path:[E,y,M]}),function(){if(h.injectStyle===!1)return[];var U=Zde(I),j=U.token,G=U.flush,J=kF(b,R,g),Y=".".concat(y),Q=MF(b,R,J,{deprecatedTokens:h.deprecatedTokens});O&>(J)==="object"&&Object.keys(J).forEach(function(K){J[K]="var(".concat(dv(K,DF(b,O.prefix)),")")});var V=Ht(j,{componentCls:Y,prefixCls:y,iconCls:".".concat(M),antCls:".".concat(P),calc:D,max:$,min:F},O?J:Q),H=m(V,{hashId:w,prefixCls:y,rootPrefixCls:P,iconPrefixCls:M});G(b,Q);var q=typeof o=="function"?o(V,y,C,h.resetFont):null;return[h.resetStyle===!1?null:q,H]});return[z,w]}}function p(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=d(f,m,g,ee({resetStyle:!1,order:-998},h)),S=function(E){var y=E.prefixCls,C=E.rootCls,T=C===void 0?y:C;return v(y,T),null};return S}return{genStyleHooks:l,genSubStyleComponent:p,genComponentStyleHook:d}}const gm=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],ipe="5.20.6";function qE(e){return e>=0&&e<=255}function lh(e,t){const{r:n,g:r,b:a,a:i}=new on(e).toRgb();if(i<1)return e;const{r:o,g:s,b:l}=new on(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-o*(1-u))/u),p=Math.round((r-s*(1-u))/u),f=Math.round((a-l*(1-u))/u);if(qE(d)&&qE(p)&&qE(f))return new on({r:d,g:p,b:f,a:Math.round(u*100)/100}).toRgbString()}return new on({r:n,g:r,b:a,a:1}).toRgbString()}var ope=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[f]});const a=Object.assign(Object.assign({},n),r),i=480,o=576,s=768,l=992,u=1200,d=1600;if(a.motion===!1){const f="0s";a.motionDurationFast=f,a.motionDurationMid=f,a.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:lh(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:lh(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:lh(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*4,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:lh(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -75,9 +75,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) `,screenXS:i,screenXSMin:i,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new an("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new an("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new an("rgba(0, 0, 0, 0.09)").toRgbString()} + 0 1px 2px -2px ${new on("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new on("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new on("rgba(0, 0, 0, 0.09)").toRgbString()} `,boxShadowDrawerRight:` -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12), @@ -94,7 +94,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var kF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,i=kF(t,["override"]);let o=Object.assign(Object.assign({},r),{override:a});return o=AL(o),i&&Object.entries(i).forEach(s=>{let[l,u]=s;const{theme:d}=u,p=kF(u,["theme"]);let f=p;d&&(f=ZK(Object.assign(Object.assign({},o),p),{override:p},d)),o[l]=f}),o};function ia(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=ce.useContext(IL),i=`${rpe}-${t||""}`,o=n||WK,[s,l,u]=Due(o,[Sd,e],{salt:i,override:r,getComputedToken:ZK,formatToken:AL,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:QK,ignore:ipe,preserve:ope}});return[o,u,t?l:"",s,a]}const DL=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),vi={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Hd=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),mo=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),spe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),lpe=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:a,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),o),{[a]:o})}},bs=e=>({outline:`${Q(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Bo=e=>({"&:focus-visible":Object.assign({},bs(e))}),JK=(e,t)=>{const[n,r]=ia();return bA({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},Hd()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:cn,genComponentStyleHook:cpe,genSubStyleComponent:Gd}=npe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=c.useContext(lt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ia();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=c.useContext(lt);return JK(t,e),e??{}},getResetStyles:e=>[{"&":spe(e)}],getCommonStyle:lpe,getCompUnitless:()=>QK});function eX(e,t){return fm.reduce((n,r)=>{const a=e[`${r}1`],i=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:i,darkColor:o,textColor:s}))},{})}const upe=Object.assign({},zm),{useId:PF}=upe,dpe=()=>"",ppe=typeof PF>"u"?dpe:PF;function fpe(e,t,n){var r;Il();const a=e||{},i=a.inherit===!1||!t?Object.assign(Object.assign({},dm),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:dm.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=ppe();return wl(()=>{var s,l;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(f=>{u[f]=Object.assign(Object.assign({},u[f]),e.components[f])});const d=`css-var-${o.replace(/:/g,"")}`,p=((s=a.cssVar)!==null&&s!==void 0?s:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((l=a.cssVar)===null||l===void 0?void 0:l.key)||d});return Object.assign(Object.assign(Object.assign({},i),a),{token:Object.assign(Object.assign({},i.token),a.token),components:u,cssVar:p})},[a,i],(s,l)=>s.some((u,d)=>{const p=l[d];return!Ui(u,p,!0)}))}var mpe=["children"],tX=c.createContext({});function gpe(e){var t=e.children,n=Et(e,mpe);return c.createElement(tX.Provider,{value:n},t)}var hpe=function(e){Si(n,e);var t=Wi(n);function n(){return Jn(this,n),t.apply(this,arguments)}return er(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);function vpe(e){var t=c.useReducer(function(s){return s+1},0),n=oe(t,2),r=n[1],a=c.useRef(e),i=Wt(function(){return a.current}),o=Wt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[i,o]}var Ps="none",oh="appear",sh="enter",lh="leave",$F="none",no="prepare",Fu="start",Bu="active",ML="end",nX="prepared";function FF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function _pe(e,t){var n={animationend:FF("Animation","AnimationEnd"),transitionend:FF("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var bpe=_pe(Jr(),typeof window<"u"?window:{}),rX={};if(Jr()){var Spe=document.createElement("div");rX=Spe.style}var ch={};function aX(e){if(ch[e])return ch[e];var t=bpe[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Gt(function(){a<=1?r({isCanceled:function(){return i!==e.current}}):n(r,a-1)});e.current=i}return c.useEffect(function(){return function(){t()}},[]),[n,t]};var Cpe=[no,Fu,Bu,ML],Tpe=[no,nX],cX=!1,xpe=!0;function uX(e){return e===Bu||e===ML}const Rpe=function(e,t,n){var r=wc($F),a=oe(r,2),i=a[0],o=a[1],s=ype(),l=oe(s,2),u=l[0],d=l[1];function p(){o(no,!0)}var f=t?Tpe:Cpe;return lX(function(){if(i!==$F&&i!==ML){var m=f.indexOf(i),g=f[m+1],h=n(i);h===cX?o(g,!0):g&&u(function(v){function S(){v.isCanceled()||o(g,!0)}h===!0?S():Promise.resolve(h).then(S)})}},[e,i]),c.useEffect(function(){return function(){d()}},[]),[p,i]};function wpe(e,t,n,r){var a=r.motionEnter,i=a===void 0?!0:a,o=r.motionAppear,s=o===void 0?!0:o,l=r.motionLeave,u=l===void 0?!0:l,d=r.motionDeadline,p=r.motionLeaveImmediately,f=r.onAppearPrepare,m=r.onEnterPrepare,g=r.onLeavePrepare,h=r.onAppearStart,v=r.onEnterStart,S=r.onLeaveStart,_=r.onAppearActive,E=r.onEnterActive,y=r.onLeaveActive,C=r.onAppearEnd,T=r.onEnterEnd,x=r.onLeaveEnd,R=r.onVisibleChanged,w=wc(),I=oe(w,2),O=I[0],k=I[1],P=vpe(Ps),M=oe(P,2),N=M[0],A=M[1],D=wc(null),L=oe(D,2),$=L[0],F=L[1],B=N(),z=c.useRef(!1),U=c.useRef(null);function j(){return n()}var G=c.useRef(!1);function J(){A(Ps),F(null,!0)}var Y=Wt(function(Ee){var ge=N();if(ge!==Ps){var re=j();if(!(Ee&&!Ee.deadline&&Ee.target!==re)){var ne=G.current,ae;ge===oh&&ne?ae=C==null?void 0:C(re,Ee):ge===sh&&ne?ae=T==null?void 0:T(re,Ee):ge===lh&&ne&&(ae=x==null?void 0:x(re,Ee)),ne&&ae!==!1&&J()}}}),X=Epe(Y),V=oe(X,1),H=V[0],q=function(ge){switch(ge){case oh:return W(W(W({},no,f),Fu,h),Bu,_);case sh:return W(W(W({},no,m),Fu,v),Bu,E);case lh:return W(W(W({},no,g),Fu,S),Bu,y);default:return{}}},K=c.useMemo(function(){return q(B)},[B]),Z=Rpe(B,!e,function(Ee){if(Ee===no){var ge=K[no];return ge?ge(j()):cX}if(ue in K){var re;F(((re=K[ue])===null||re===void 0?void 0:re.call(K,j(),null))||null)}return ue===Bu&&B!==Ps&&(H(j()),d>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Y({deadline:!0})},d))),ue===nX&&J(),xpe}),te=oe(Z,2),se=te[0],ue=te[1],me=uX(ue);G.current=me,lX(function(){k(t);var Ee=z.current;z.current=!0;var ge;!Ee&&t&&s&&(ge=oh),Ee&&t&&i&&(ge=sh),(Ee&&!t&&u||!Ee&&p&&!t&&u)&&(ge=lh);var re=q(ge);ge&&(e||re[no])?(A(ge),se()):A(Ps)},[t]),c.useEffect(function(){(B===oh&&!s||B===sh&&!i||B===lh&&!u)&&A(Ps)},[s,i,u]),c.useEffect(function(){return function(){z.current=!1,clearTimeout(U.current)}},[]);var de=c.useRef(!1);c.useEffect(function(){O&&(de.current=!0),O!==void 0&&B===Ps&&((de.current||O)&&(R==null||R(O)),de.current=!0)},[O,B]);var Te=$;return K[no]&&ue===Fu&&(Te=ee({transition:"none"},Te)),[B,ue,Te,O??t]}function Ipe(e){var t=e;gt(e)==="object"&&(t=e.transitionSupport);function n(a,i){return!!(a.motionName&&t&&i!==!1)}var r=c.forwardRef(function(a,i){var o=a.visible,s=o===void 0?!0:o,l=a.removeOnLeave,u=l===void 0?!0:l,d=a.forceRender,p=a.children,f=a.motionName,m=a.leavedClassName,g=a.eventProps,h=c.useContext(tX),v=h.motion,S=n(a,v),_=c.useRef(),E=c.useRef();function y(){try{return _.current instanceof HTMLElement?_.current:_f(E.current)}catch{return null}}var C=wpe(S,s,y,a),T=oe(C,4),x=T[0],R=T[1],w=T[2],I=T[3],O=c.useRef(I);I&&(O.current=!0);var k=c.useCallback(function($){_.current=$,am(i,$)},[i]),P,M=ee(ee({},g),{},{visible:s});if(!p)P=null;else if(x===Ps)I?P=p(ee({},M),k):!u&&O.current&&m?P=p(ee(ee({},M),{},{className:m}),k):d||!u&&!m?P=p(ee(ee({},M),{},{style:{display:"none"}}),k):P=null;else{var N;R===no?N="prepare":uX(R)?N="active":R===Fu&&(N="start");var A=jF(f,"".concat(x,"-").concat(N));P=p(ee(ee({},M),{},{className:ie(jF(f,x),W(W({},A,A&&N),f,typeof f=="string")),style:w}),k)}if(c.isValidElement(P)&&fo(P)){var D=P,L=D.ref;L||(P=c.cloneElement(P,{ref:k}))}return c.createElement(hpe,{ref:E},P)});return r.displayName="CSSMotion",r}const ta=Ipe(sX);var kA="add",PA="keep",$A="remove",GE="removed";function Ope(e){var t;return e&>(e)==="object"&&"key"in e?t=e:t={key:e},ee(ee({},t),{},{key:String(t.key)})}function FA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Ope)}function Npe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,i=FA(e),o=FA(t);i.forEach(function(u){for(var d=!1,p=r;p1});return l.forEach(function(u){n=n.filter(function(d){var p=d.key,f=d.status;return p!==u||f!==$A}),n.forEach(function(d){d.key===u&&(d.status=PA)})}),n}var Ape=["component","children","onVisibleChanged","onAllRemoved"],Dpe=["status"],Mpe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Lpe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ta,n=function(r){Si(i,r);var a=Wi(i);function i(){var o;Jn(this,i);for(var s=arguments.length,l=new Array(s),u=0;unull;var $pe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const jpe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(f_=t),n!==void 0&&(dX=n),"holderRender"in e&&(fX=a),r&&(Upe(r)?zde(hv(),r):pX=r)},mX=()=>({getPrefixCls:(e,t)=>t||(e?`${hv()}-${e}`:hv()),getIconPrefixCls:Bpe,getRootPrefixCls:()=>f_||hv(),getTheme:()=>pX,holderRender:fX}),zpe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:i,form:o,locale:s,componentSize:l,direction:u,space:d,virtual:p,dropdownMatchSelectWidth:f,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:h,parentContext:v,iconPrefixCls:S,theme:_,componentDisabled:E,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:X,input:V,textArea:H,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:ve,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:Ie,variant:xe,inputNumber:ke,treeSelect:rt}=e,Me=c.useCallback((pt,We)=>{const{prefixCls:Ve}=e;if(We)return We;const Ze=Ve||v.getPrefixCls("");return pt?`${Ze}-${pt}`:Ze},[v.getPrefixCls,e.prefixCls]),Ce=S||v.iconPrefixCls||OL,De=n||v.csp;JK(Ce,De);const Ue=fpe(_,v.theme,{prefixCls:Me("")}),Ye={csp:De,autoInsertSpaceInButton:r,alert:a,anchor:i,locale:s||h,direction:u,space:d,virtual:p,popupMatchSelectWidth:m??f,popupOverflow:g,getPrefixCls:Me,iconPrefixCls:Ce,theme:Ue,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,input:V,textArea:H,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:X,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:ve,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:Ie,variant:xe,inputNumber:ke,treeSelect:rt},He=Object.assign({},v);Object.keys(Ye).forEach(pt=>{Ye[pt]!==void 0&&(He[pt]=Ye[pt])}),Fpe.forEach(pt=>{const We=e[pt];We&&(He[pt]=We)}),typeof r<"u"&&(He.button=Object.assign({autoInsertSpace:r},He.button));const ze=wl(()=>He,He,(pt,We)=>{const Ve=Object.keys(pt),Ze=Object.keys(We);return Ve.length!==Ze.length||Ve.some(dt=>pt[dt]!==We[dt])}),Xe=c.useMemo(()=>({prefixCls:Ce,csp:De}),[Ce,De]);let Be=c.createElement(c.Fragment,null,c.createElement(Ppe,{dropdownMatchSelectWidth:f}),t);const Je=c.useMemo(()=>{var pt,We,Ve,Ze;return $u(((pt=zi.Form)===null||pt===void 0?void 0:pt.defaultValidateMessages)||{},((Ve=(We=ze.locale)===null||We===void 0?void 0:We.Form)===null||Ve===void 0?void 0:Ve.defaultValidateMessages)||{},((Ze=ze.form)===null||Ze===void 0?void 0:Ze.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[ze,o==null?void 0:o.validateMessages]);Object.keys(Je).length>0&&(Be=c.createElement($K.Provider,{value:Je},Be)),s&&(Be=c.createElement(gde,{locale:s,_ANT_MARK__:mde},Be)),(Ce||De)&&(Be=c.createElement(xL.Provider,{value:Xe},Be)),l&&(Be=c.createElement(Hde,{size:l},Be)),Be=c.createElement(kpe,null,Be);const mt=c.useMemo(()=>{const pt=Ue||{},{algorithm:We,token:Ve,components:Ze,cssVar:dt}=pt,It=$pe(pt,["algorithm","token","components","cssVar"]),Nt=We&&(!Array.isArray(We)||We.length>0)?lm(We):WK,ht={};Object.entries(Ze||{}).forEach(ot=>{let[et,vt]=ot;const nt=Object.assign({},vt);"algorithm"in nt&&(nt.algorithm===!0?nt.theme=Nt:(Array.isArray(nt.algorithm)||typeof nt.algorithm=="function")&&(nt.theme=lm(nt.algorithm)),delete nt.algorithm),ht[et]=nt});const ct=Object.assign(Object.assign({},Sd),Ve);return Object.assign(Object.assign({},It),{theme:Nt,token:ct,components:ht,override:Object.assign({override:ct},ht),cssVar:dt})},[Ue]);return _&&(Be=c.createElement(IL.Provider,{value:mt},Be)),ze.warning&&(Be=c.createElement(ude.Provider,{value:ze.warning},Be)),E!==void 0&&(Be=c.createElement(NL,{disabled:E},Be)),c.createElement(lt.Provider,{value:ze},Be)},_o=e=>{const t=c.useContext(lt),n=c.useContext(RL);return c.createElement(zpe,Object.assign({parentContext:t,legacyLocale:n},e))};_o.ConfigContext=lt;_o.SizeContext=Rc;_o.config=jpe;_o.useConfig=Gde;Object.defineProperty(_o,"SizeContext",{get:()=>Rc});var Hpe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function gX(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Gpe(e){return gX(e)instanceof ShadowRoot}function m_(e){return Gpe(e)?gX(e):null}function Vpe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function qpe(e,t){bn(e,"[@ant-design/icons] ".concat(t))}function zF(e){return gt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(gt(e.icon)==="object"||typeof e.icon=="function")}function HF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Vpe(n)]=r}return t},{})}function BA(e,t,n){return n?ce.createElement(e.tag,ee(ee({key:t},HF(e.attrs)),n),(e.children||[]).map(function(r,a){return BA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):ce.createElement(e.tag,ee({key:t},HF(e.attrs)),(e.children||[]).map(function(r,a){return BA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function hX(e){return xc(e)[0]}function vX(e){return e?Array.isArray(e)?e:[e]:[]}var Wpe=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var $F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,i=$F(t,["override"]);let o=Object.assign(Object.assign({},r),{override:a});return o=ML(o),i&&Object.entries(i).forEach(s=>{let[l,u]=s;const{theme:d}=u,p=$F(u,["theme"]);let f=p;d&&(f=JK(Object.assign(Object.assign({},o),p),{override:p},d)),o[l]=f}),o};function ia(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=ce.useContext(NL),i=`${ipe}-${t||""}`,o=n||YK,[s,l,u]=Lue(o,[Cd,e],{salt:i,override:r,getComputedToken:JK,formatToken:ML,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:ZK,ignore:spe,preserve:lpe}});return[o,u,t?l:"",s,a]}const LL=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),_i={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},an=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},qd=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),go=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),cpe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),upe=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:a,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),o),{[a]:o})}},Es=e=>({outline:`${X(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Uo=e=>({"&:focus-visible":Object.assign({},Es(e))}),eX=(e,t)=>{const[n,r]=ia();return SA({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},qd()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:sn,genComponentStyleHook:dpe,genSubStyleComponent:Wd}=ape({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=c.useContext(lt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ia();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=c.useContext(lt);return eX(t,e),e??{}},getResetStyles:e=>[{"&":cpe(e)}],getCommonStyle:upe,getCompUnitless:()=>ZK});function tX(e,t){return gm.reduce((n,r)=>{const a=e[`${r}1`],i=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:i,darkColor:o,textColor:s}))},{})}const ppe=Object.assign({},Gm),{useId:FF}=ppe,fpe=()=>"",mpe=typeof FF>"u"?fpe:FF;function gpe(e,t,n){var r;Ol();const a=e||{},i=a.inherit===!1||!t?Object.assign(Object.assign({},fm),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:fm.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=mpe();return Il(()=>{var s,l;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(f=>{u[f]=Object.assign(Object.assign({},u[f]),e.components[f])});const d=`css-var-${o.replace(/:/g,"")}`,p=((s=a.cssVar)!==null&&s!==void 0?s:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((l=a.cssVar)===null||l===void 0?void 0:l.key)||d});return Object.assign(Object.assign(Object.assign({},i),a),{token:Object.assign(Object.assign({},i.token),a.token),components:u,cssVar:p})},[a,i],(s,l)=>s.some((u,d)=>{const p=l[d];return!ji(u,p,!0)}))}var hpe=["children"],nX=c.createContext({});function vpe(e){var t=e.children,n=yt(e,hpe);return c.createElement(nX.Provider,{value:n},t)}var _pe=function(e){Ei(n,e);var t=Yi(n);function n(){return er(this,n),t.apply(this,arguments)}return tr(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);function bpe(e){var t=c.useReducer(function(s){return s+1},0),n=oe(t,2),r=n[1],a=c.useRef(e),i=Wt(function(){return a.current}),o=Wt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[i,o]}var $s="none",ch="appear",uh="enter",dh="leave",BF="none",ro="prepare",ju="start",zu="active",kL="end",rX="prepared";function UF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Spe(e,t){var n={animationend:UF("Animation","AnimationEnd"),transitionend:UF("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Epe=Spe(Jr(),typeof window<"u"?window:{}),aX={};if(Jr()){var ype=document.createElement("div");aX=ype.style}var ph={};function iX(e){if(ph[e])return ph[e];var t=Epe[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Gt(function(){a<=1?r({isCanceled:function(){return i!==e.current}}):n(r,a-1)});e.current=i}return c.useEffect(function(){return function(){t()}},[]),[n,t]};var xpe=[ro,ju,zu,kL],Rpe=[ro,rX],uX=!1,wpe=!0;function dX(e){return e===zu||e===kL}const Ipe=function(e,t,n){var r=wc(BF),a=oe(r,2),i=a[0],o=a[1],s=Tpe(),l=oe(s,2),u=l[0],d=l[1];function p(){o(ro,!0)}var f=t?Rpe:xpe;return cX(function(){if(i!==BF&&i!==kL){var m=f.indexOf(i),g=f[m+1],h=n(i);h===uX?o(g,!0):g&&u(function(v){function S(){v.isCanceled()||o(g,!0)}h===!0?S():Promise.resolve(h).then(S)})}},[e,i]),c.useEffect(function(){return function(){d()}},[]),[p,i]};function Ope(e,t,n,r){var a=r.motionEnter,i=a===void 0?!0:a,o=r.motionAppear,s=o===void 0?!0:o,l=r.motionLeave,u=l===void 0?!0:l,d=r.motionDeadline,p=r.motionLeaveImmediately,f=r.onAppearPrepare,m=r.onEnterPrepare,g=r.onLeavePrepare,h=r.onAppearStart,v=r.onEnterStart,S=r.onLeaveStart,b=r.onAppearActive,E=r.onEnterActive,y=r.onLeaveActive,C=r.onAppearEnd,T=r.onEnterEnd,x=r.onLeaveEnd,R=r.onVisibleChanged,w=wc(),I=oe(w,2),O=I[0],k=I[1],P=bpe($s),M=oe(P,2),N=M[0],A=M[1],D=wc(null),L=oe(D,2),$=L[0],F=L[1],B=N(),z=c.useRef(!1),U=c.useRef(null);function j(){return n()}var G=c.useRef(!1);function J(){A($s),F(null,!0)}var Y=Wt(function(Ee){var ge=N();if(ge!==$s){var re=j();if(!(Ee&&!Ee.deadline&&Ee.target!==re)){var ne=G.current,ae;ge===ch&&ne?ae=C==null?void 0:C(re,Ee):ge===uh&&ne?ae=T==null?void 0:T(re,Ee):ge===dh&&ne&&(ae=x==null?void 0:x(re,Ee)),ne&&ae!==!1&&J()}}}),Q=Cpe(Y),V=oe(Q,1),H=V[0],q=function(ge){switch(ge){case ch:return W(W(W({},ro,f),ju,h),zu,b);case uh:return W(W(W({},ro,m),ju,v),zu,E);case dh:return W(W(W({},ro,g),ju,S),zu,y);default:return{}}},K=c.useMemo(function(){return q(B)},[B]),Z=Ipe(B,!e,function(Ee){if(Ee===ro){var ge=K[ro];return ge?ge(j()):uX}if(ue in K){var re;F(((re=K[ue])===null||re===void 0?void 0:re.call(K,j(),null))||null)}return ue===zu&&B!==$s&&(H(j()),d>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Y({deadline:!0})},d))),ue===rX&&J(),wpe}),te=oe(Z,2),se=te[0],ue=te[1],me=dX(ue);G.current=me,cX(function(){k(t);var Ee=z.current;z.current=!0;var ge;!Ee&&t&&s&&(ge=ch),Ee&&t&&i&&(ge=uh),(Ee&&!t&&u||!Ee&&p&&!t&&u)&&(ge=dh);var re=q(ge);ge&&(e||re[ro])?(A(ge),se()):A($s)},[t]),c.useEffect(function(){(B===ch&&!s||B===uh&&!i||B===dh&&!u)&&A($s)},[s,i,u]),c.useEffect(function(){return function(){z.current=!1,clearTimeout(U.current)}},[]);var de=c.useRef(!1);c.useEffect(function(){O&&(de.current=!0),O!==void 0&&B===$s&&((de.current||O)&&(R==null||R(O)),de.current=!0)},[O,B]);var Te=$;return K[ro]&&ue===ju&&(Te=ee({transition:"none"},Te)),[B,ue,Te,O??t]}function Npe(e){var t=e;gt(e)==="object"&&(t=e.transitionSupport);function n(a,i){return!!(a.motionName&&t&&i!==!1)}var r=c.forwardRef(function(a,i){var o=a.visible,s=o===void 0?!0:o,l=a.removeOnLeave,u=l===void 0?!0:l,d=a.forceRender,p=a.children,f=a.motionName,m=a.leavedClassName,g=a.eventProps,h=c.useContext(nX),v=h.motion,S=n(a,v),b=c.useRef(),E=c.useRef();function y(){try{return b.current instanceof HTMLElement?b.current:Sf(E.current)}catch{return null}}var C=Ope(S,s,y,a),T=oe(C,4),x=T[0],R=T[1],w=T[2],I=T[3],O=c.useRef(I);I&&(O.current=!0);var k=c.useCallback(function($){b.current=$,om(i,$)},[i]),P,M=ee(ee({},g),{},{visible:s});if(!p)P=null;else if(x===$s)I?P=p(ee({},M),k):!u&&O.current&&m?P=p(ee(ee({},M),{},{className:m}),k):d||!u&&!m?P=p(ee(ee({},M),{},{style:{display:"none"}}),k):P=null;else{var N;R===ro?N="prepare":dX(R)?N="active":R===ju&&(N="start");var A=HF(f,"".concat(x,"-").concat(N));P=p(ee(ee({},M),{},{className:ie(HF(f,x),W(W({},A,A&&N),f,typeof f=="string")),style:w}),k)}if(c.isValidElement(P)&&mo(P)){var D=P,L=D.ref;L||(P=c.cloneElement(P,{ref:k}))}return c.createElement(_pe,{ref:E},P)});return r.displayName="CSSMotion",r}const ta=Npe(lX);var PA="add",$A="keep",FA="remove",WE="removed";function Ape(e){var t;return e&>(e)==="object"&&"key"in e?t=e:t={key:e},ee(ee({},t),{},{key:String(t.key)})}function BA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Ape)}function Dpe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,i=BA(e),o=BA(t);i.forEach(function(u){for(var d=!1,p=r;p1});return l.forEach(function(u){n=n.filter(function(d){var p=d.key,f=d.status;return p!==u||f!==FA}),n.forEach(function(d){d.key===u&&(d.status=$A)})}),n}var Mpe=["component","children","onVisibleChanged","onAllRemoved"],Lpe=["status"],kpe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ppe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ta,n=function(r){Ei(i,r);var a=Yi(i);function i(){var o;er(this,i);for(var s=arguments.length,l=new Array(s),u=0;unull;var Bpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const Hpe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(v_=t),n!==void 0&&(pX=n),"holderRender"in e&&(mX=a),r&&(zpe(r)?Gde(bv(),r):fX=r)},gX=()=>({getPrefixCls:(e,t)=>t||(e?`${bv()}-${e}`:bv()),getIconPrefixCls:jpe,getRootPrefixCls:()=>v_||bv(),getTheme:()=>fX,holderRender:mX}),Gpe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:i,form:o,locale:s,componentSize:l,direction:u,space:d,virtual:p,dropdownMatchSelectWidth:f,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:h,parentContext:v,iconPrefixCls:S,theme:b,componentDisabled:E,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:Q,input:V,textArea:H,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:_e,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:we,variant:xe,inputNumber:ke,treeSelect:at}=e,Me=c.useCallback((pt,We)=>{const{prefixCls:Ve}=e;if(We)return We;const Ze=Ve||v.getPrefixCls("");return pt?`${Ze}-${pt}`:Ze},[v.getPrefixCls,e.prefixCls]),Ce=S||v.iconPrefixCls||AL,De=n||v.csp;eX(Ce,De);const Ue=gpe(b,v.theme,{prefixCls:Me("")}),Ye={csp:De,autoInsertSpaceInButton:r,alert:a,anchor:i,locale:s||h,direction:u,space:d,virtual:p,popupMatchSelectWidth:m??f,popupOverflow:g,getPrefixCls:Me,iconPrefixCls:Ce,theme:Ue,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,input:V,textArea:H,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:Q,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:_e,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:we,variant:xe,inputNumber:ke,treeSelect:at},He=Object.assign({},v);Object.keys(Ye).forEach(pt=>{Ye[pt]!==void 0&&(He[pt]=Ye[pt])}),Upe.forEach(pt=>{const We=e[pt];We&&(He[pt]=We)}),typeof r<"u"&&(He.button=Object.assign({autoInsertSpace:r},He.button));const ze=Il(()=>He,He,(pt,We)=>{const Ve=Object.keys(pt),Ze=Object.keys(We);return Ve.length!==Ze.length||Ve.some(dt=>pt[dt]!==We[dt])}),Xe=c.useMemo(()=>({prefixCls:Ce,csp:De}),[Ce,De]);let Be=c.createElement(c.Fragment,null,c.createElement(Fpe,{dropdownMatchSelectWidth:f}),t);const Je=c.useMemo(()=>{var pt,We,Ve,Ze;return Uu(((pt=Hi.Form)===null||pt===void 0?void 0:pt.defaultValidateMessages)||{},((Ve=(We=ze.locale)===null||We===void 0?void 0:We.Form)===null||Ve===void 0?void 0:Ve.defaultValidateMessages)||{},((Ze=ze.form)===null||Ze===void 0?void 0:Ze.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[ze,o==null?void 0:o.validateMessages]);Object.keys(Je).length>0&&(Be=c.createElement(FK.Provider,{value:Je},Be)),s&&(Be=c.createElement(vde,{locale:s,_ANT_MARK__:hde},Be)),(Ce||De)&&(Be=c.createElement(wL.Provider,{value:Xe},Be)),l&&(Be=c.createElement(Vde,{size:l},Be)),Be=c.createElement($pe,null,Be);const mt=c.useMemo(()=>{const pt=Ue||{},{algorithm:We,token:Ve,components:Ze,cssVar:dt}=pt,It=Bpe(pt,["algorithm","token","components","cssVar"]),Nt=We&&(!Array.isArray(We)||We.length>0)?um(We):YK,ht={};Object.entries(Ze||{}).forEach(ot=>{let[et,vt]=ot;const rt=Object.assign({},vt);"algorithm"in rt&&(rt.algorithm===!0?rt.theme=Nt:(Array.isArray(rt.algorithm)||typeof rt.algorithm=="function")&&(rt.theme=um(rt.algorithm)),delete rt.algorithm),ht[et]=rt});const ct=Object.assign(Object.assign({},Cd),Ve);return Object.assign(Object.assign({},It),{theme:Nt,token:ct,components:ht,override:Object.assign({override:ct},ht),cssVar:dt})},[Ue]);return b&&(Be=c.createElement(NL.Provider,{value:mt},Be)),ze.warning&&(Be=c.createElement(pde.Provider,{value:ze.warning},Be)),E!==void 0&&(Be=c.createElement(DL,{disabled:E},Be)),c.createElement(lt.Provider,{value:ze},Be)},bo=e=>{const t=c.useContext(lt),n=c.useContext(IL);return c.createElement(Gpe,Object.assign({parentContext:t,legacyLocale:n},e))};bo.ConfigContext=lt;bo.SizeContext=Rc;bo.config=Hpe;bo.useConfig=qde;Object.defineProperty(bo,"SizeContext",{get:()=>Rc});var Vpe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function hX(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function qpe(e){return hX(e)instanceof ShadowRoot}function __(e){return qpe(e)?hX(e):null}function Wpe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function Ype(e,t){bn(e,"[@ant-design/icons] ".concat(t))}function GF(e){return gt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(gt(e.icon)==="object"||typeof e.icon=="function")}function VF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Wpe(n)]=r}return t},{})}function UA(e,t,n){return n?ce.createElement(e.tag,ee(ee({key:t},VF(e.attrs)),n),(e.children||[]).map(function(r,a){return UA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):ce.createElement(e.tag,ee({key:t},VF(e.attrs)),(e.children||[]).map(function(r,a){return UA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function vX(e){return xc(e)[0]}function _X(e){return e?Array.isArray(e)?e:[e]:[]}var Kpe=` .anticon { display: inline-flex; align-items: center; @@ -149,7 +149,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,Ype=function(t){var n=c.useContext(xL),r=n.csp,a=n.prefixCls,i=Wpe;a&&(i=i.replace(/anticon/g,a)),c.useEffect(function(){var o=t.current,s=m_(o);fs(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},Kpe=["icon","className","onClick","style","primaryColor","secondaryColor"],Sf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Xpe(e){var t=e.primaryColor,n=e.secondaryColor;Sf.primaryColor=t,Sf.secondaryColor=n||hX(t),Sf.calculated=!!n}function Qpe(){return ee({},Sf)}var Vd=function(t){var n=t.icon,r=t.className,a=t.onClick,i=t.style,o=t.primaryColor,s=t.secondaryColor,l=Et(t,Kpe),u=c.useRef(),d=Sf;if(o&&(d={primaryColor:o,secondaryColor:s||hX(o)}),Ype(u),qpe(zF(n),"icon should be icon definiton, but got ".concat(n)),!zF(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=ee(ee({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),BA(p.icon,"svg-".concat(p.name),ee(ee({className:r,onClick:a,style:i,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Vd.displayName="IconReact";Vd.getTwoToneColors=Qpe;Vd.setTwoToneColors=Xpe;function _X(e){var t=vX(e),n=oe(t,2),r=n[0],a=n[1];return Vd.setTwoToneColors({primaryColor:r,secondaryColor:a})}function Zpe(){var e=Vd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Jpe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];_X(bd.primary);var at=c.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=Et(e,Jpe),d=c.useContext(xL),p=d.prefixCls,f=p===void 0?"anticon":p,m=d.rootClassName,g=ie(m,f,W(W({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!a||r.name==="loading"),n),h=o;h===void 0&&s&&(h=-1);var v=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,S=vX(l),_=oe(S,2),E=_[0],y=_[1];return c.createElement("span",_e({role:"img","aria-label":r.name},u,{ref:t,tabIndex:h,onClick:s,className:g}),c.createElement(Vd,{icon:r,primaryColor:E,secondaryColor:y,style:v}))});at.displayName="AntdIcon";at.getTwoToneColor=Zpe;at.setTwoToneColor=_X;var efe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Hpe}))},Ym=c.forwardRef(efe),tfe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},nfe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tfe}))},Bc=c.forwardRef(nfe),rfe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},afe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:rfe}))},na=c.forwardRef(afe),ife={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},ofe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ife}))},wb=c.forwardRef(ofe),sfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},lfe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:sfe}))},kL=c.forwardRef(lfe),cfe=`accept acceptCharset accessKey action allowFullScreen allowTransparency +`,Xpe=function(t){var n=c.useContext(wL),r=n.csp,a=n.prefixCls,i=Kpe;a&&(i=i.replace(/anticon/g,a)),c.useEffect(function(){var o=t.current,s=__(o);gs(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},Qpe=["icon","className","onClick","style","primaryColor","secondaryColor"],yf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Zpe(e){var t=e.primaryColor,n=e.secondaryColor;yf.primaryColor=t,yf.secondaryColor=n||vX(t),yf.calculated=!!n}function Jpe(){return ee({},yf)}var Yd=function(t){var n=t.icon,r=t.className,a=t.onClick,i=t.style,o=t.primaryColor,s=t.secondaryColor,l=yt(t,Qpe),u=c.useRef(),d=yf;if(o&&(d={primaryColor:o,secondaryColor:s||vX(o)}),Xpe(u),Ype(GF(n),"icon should be icon definiton, but got ".concat(n)),!GF(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=ee(ee({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),UA(p.icon,"svg-".concat(p.name),ee(ee({className:r,onClick:a,style:i,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Yd.displayName="IconReact";Yd.getTwoToneColors=Jpe;Yd.setTwoToneColors=Zpe;function bX(e){var t=_X(e),n=oe(t,2),r=n[0],a=n[1];return Yd.setTwoToneColors({primaryColor:r,secondaryColor:a})}function efe(){var e=Yd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var tfe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];bX(yd.primary);var nt=c.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=yt(e,tfe),d=c.useContext(wL),p=d.prefixCls,f=p===void 0?"anticon":p,m=d.rootClassName,g=ie(m,f,W(W({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!a||r.name==="loading"),n),h=o;h===void 0&&s&&(h=-1);var v=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,S=_X(l),b=oe(S,2),E=b[0],y=b[1];return c.createElement("span",ve({role:"img","aria-label":r.name},u,{ref:t,tabIndex:h,onClick:s,className:g}),c.createElement(Yd,{icon:r,primaryColor:E,secondaryColor:y,style:v}))});nt.displayName="AntdIcon";nt.getTwoToneColor=efe;nt.setTwoToneColor=bX;var nfe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Vpe}))},Xm=c.forwardRef(nfe),rfe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},afe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:rfe}))},Bc=c.forwardRef(afe),ife={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},ofe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:ife}))},na=c.forwardRef(ofe),sfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},lfe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:sfe}))},Ab=c.forwardRef(lfe),cfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},ufe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:cfe}))},$L=c.forwardRef(ufe),dfe=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable @@ -160,115 +160,115 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,ufe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + summary tabIndex target title type useMap value width wmode wrap`,pfe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,dfe="".concat(cfe," ").concat(ufe).split(/[\s\n]+/),pfe="aria-",ffe="data-";function GF(e,t){return e.indexOf(t)===0}function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=ee({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||GF(a,pfe))||n.data&&GF(a,ffe)||n.attr&&dfe.includes(a))&&(r[a]=e[a])}),r}function bX(e){return e&&ce.isValidElement(e)&&e.type===ce.Fragment}const PL=(e,t,n)=>ce.isValidElement(e)?ce.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Tr(e,t){return PL(e,e,t)}const uh=(e,t,n,r,a)=>({background:e,border:`${Q(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),mfe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:i,fontSizeLG:o,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:p,colorTextHeading:f,withDescriptionPadding:m,defaultPadding:g}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"flex",alignItems:"center",padding:g,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ffe="".concat(dfe," ").concat(pfe).split(/[\s\n]+/),mfe="aria-",gfe="data-";function qF(e,t){return e.indexOf(t)===0}function Jn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=ee({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||qF(a,mfe))||n.data&&qF(a,gfe)||n.attr&&ffe.includes(a))&&(r[a]=e[a])}),r}function SX(e){return e&&ce.isValidElement(e)&&e.type===ce.Fragment}const FL=(e,t,n)=>ce.isValidElement(e)?ce.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Tr(e,t){return FL(e,e,t)}const fh=(e,t,n,r,a)=>({background:e,border:`${X(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),hfe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:i,fontSizeLG:o,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:p,colorTextHeading:f,withDescriptionPadding:m,defaultPadding:g}=e;return{[t]:Object.assign(Object.assign({},an(e)),{position:"relative",display:"flex",alignItems:"center",padding:g,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, padding-top ${n} ${u}, padding-bottom ${n} ${u}, - margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:m,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:o},[`${t}-description`]:{display:"block",color:p}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},gfe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:i,colorWarningBorder:o,colorWarningBg:s,colorError:l,colorErrorBorder:u,colorErrorBg:d,colorInfo:p,colorInfoBorder:f,colorInfoBg:m}=e;return{[t]:{"&-success":uh(a,r,n,e,t),"&-info":uh(m,f,p,e,t),"&-warning":uh(s,o,i,e,t),"&-error":Object.assign(Object.assign({},uh(d,u,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},hfe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:i,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:i,lineHeight:Q(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},vfe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),_fe=cn("Alert",e=>[mfe(e),gfe(e),hfe(e)],vfe);var VF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=bfe[r]||null;return t?PL(t,c.createElement("span",{className:`${n}-icon`},t),()=>({className:ie(`${n}-icon`,{[t.props.className]:t.props.className})})):c.createElement(a,{className:`${n}-icon`})},Efe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:i}=e,o=r===!0||r===void 0?c.createElement(na,null):r;return t?c.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},i),o):null},SX=c.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:i,className:o,rootClassName:s,style:l,onMouseEnter:u,onMouseLeave:d,onClick:p,afterClose:f,showIcon:m,closable:g,closeText:h,closeIcon:v,action:S,id:_}=e,E=VF(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[y,C]=c.useState(!1),T=c.useRef(null);c.useImperativeHandle(t,()=>({nativeElement:T.current}));const{getPrefixCls:x,direction:R,alert:w}=c.useContext(lt),I=x("alert",r),[O,k,P]=_fe(I),M=z=>{var U;C(!0),(U=e.onClose)===null||U===void 0||U.call(e,z)},N=c.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),A=c.useMemo(()=>typeof g=="object"&&g.closeIcon||h?!0:typeof g=="boolean"?g:v!==!1&&v!==null&&v!==void 0?!0:!!(w!=null&&w.closable),[h,v,g,w==null?void 0:w.closable]),D=i&&m===void 0?!0:m,L=ie(I,`${I}-${N}`,{[`${I}-with-description`]:!!n,[`${I}-no-icon`]:!D,[`${I}-banner`]:!!i,[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,o,s,P,k),$=Qn(E,{aria:!0,data:!0}),F=c.useMemo(()=>{var z,U;return typeof g=="object"&&g.closeIcon?g.closeIcon:h||(v!==void 0?v:typeof(w==null?void 0:w.closable)=="object"&&(!((z=w==null?void 0:w.closable)===null||z===void 0)&&z.closeIcon)?(U=w==null?void 0:w.closable)===null||U===void 0?void 0:U.closeIcon:w==null?void 0:w.closeIcon)},[v,g,h,w==null?void 0:w.closeIcon]),B=c.useMemo(()=>{const z=g??(w==null?void 0:w.closable);return typeof z=="object"?VF(z,["closeIcon"]):{}},[g,w==null?void 0:w.closable]);return O(c.createElement(ta,{visible:!y,motionName:`${I}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:z=>({maxHeight:z.offsetHeight}),onLeaveEnd:f},(z,U)=>{let{className:j,style:G}=z;return c.createElement("div",Object.assign({id:_,ref:aa(T,U),"data-show":!y,className:ie(L,j),style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.style),l),G),onMouseEnter:u,onMouseLeave:d,onClick:p,role:"alert"},$),D?c.createElement(Sfe,{description:n,icon:e.icon,prefixCls:I,type:N}):null,c.createElement("div",{className:`${I}-content`},a?c.createElement("div",{className:`${I}-message`},a):null,n?c.createElement("div",{className:`${I}-description`},n):null),S?c.createElement("div",{className:`${I}-action`},S):null,c.createElement(Efe,{isClosable:A,prefixCls:I,closeIcon:F,handleClose:M,ariaProps:B}))}))});function yfe(e,t,n){return t=Tc(t),cK(e,yb()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}let Cfe=function(e){function t(){var n;return Jn(this,t),n=yfe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Si(t,e),er(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:i,children:o}=this.props,{error:s,info:l}=this.state,u=(l==null?void 0:l.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,p=typeof a>"u"?u:a;return s?c.createElement(SX,{id:i,type:"error",message:d,description:c.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):o}}])}(c.Component);const Xn=SX;Xn.ErrorBoundary=Cfe;const qF=e=>typeof e=="object"&&e!=null&&e.nodeType===1,WF=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",VE=(e,t)=>{if(e.clientHeight{const a=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightit||i>e&&o=t&&s>=n?i-e-r:o>t&&sn?o-t+a:0,Tfe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},YF=(e,t)=>{var n,r,a,i;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:d}=t,p=typeof u=="function"?u:A=>A!==u;if(!qF(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,m=[];let g=e;for(;qF(g)&&p(g);){if(g=Tfe(g),g===f){m.push(g);break}g!=null&&g===document.body&&VE(g)&&!VE(document.documentElement)||g!=null&&VE(g,d)&&m.push(g)}const h=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(i=(a=window.visualViewport)==null?void 0:a.height)!=null?i:innerHeight,{scrollX:S,scrollY:_}=window,{height:E,width:y,top:C,right:T,bottom:x,left:R}=e.getBoundingClientRect(),{top:w,right:I,bottom:O,left:k}=(A=>{const D=window.getComputedStyle(A);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?C-w:s==="end"?x+O:C+E/2-w+O,M=l==="center"?R+y/2-k+I:l==="end"?T+I:R-k;const N=[];for(let A=0;A=0&&R>=0&&x<=v&&T<=h&&C>=F&&x<=z&&R>=U&&T<=B)return N;const j=getComputedStyle(D),G=parseInt(j.borderLeftWidth,10),J=parseInt(j.borderTopWidth,10),Y=parseInt(j.borderRightWidth,10),X=parseInt(j.borderBottomWidth,10);let V=0,H=0;const q="offsetWidth"in D?D.offsetWidth-D.clientWidth-G-Y:0,K="offsetHeight"in D?D.offsetHeight-D.clientHeight-J-X:0,Z="offsetWidth"in D?D.offsetWidth===0?0:$/D.offsetWidth:0,te="offsetHeight"in D?D.offsetHeight===0?0:L/D.offsetHeight:0;if(f===D)V=s==="start"?P:s==="end"?P-v:s==="nearest"?dh(_,_+v,v,J,X,_+P,_+P+E,E):P-v/2,H=l==="start"?M:l==="center"?M-h/2:l==="end"?M-h:dh(S,S+h,h,G,Y,S+M,S+M+y,y),V=Math.max(0,V+_),H=Math.max(0,H+S);else{V=s==="start"?P-F-J:s==="end"?P-z+X+K:s==="nearest"?dh(F,z,L,J,X+K,P,P+E,E):P-(F+L/2)+K/2,H=l==="start"?M-U-G:l==="center"?M-(U+$/2)+q/2:l==="end"?M-B+Y+q:dh(U,B,$,G,Y+q,M,M+y,y);const{scrollLeft:se,scrollTop:ue}=D;V=te===0?0:Math.max(0,Math.min(ue+V/te,D.scrollHeight-L/te+K)),H=Z===0?0:Math.max(0,Math.min(se+H/Z,D.scrollWidth-$/Z+q)),P+=ue-V,M+=se-H}N.push({el:D,top:V,left:H})}return N},xfe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Rfe(e,t){if(!e.isConnected||!(a=>{let i=a;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const n=(a=>{const i=window.getComputedStyle(a);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(YF(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:i,left:o}of YF(e,xfe(t))){const s=i-n.top+n.bottom,l=o-n.left+n.right;a.scroll({top:s,left:l,behavior:r})}}function UA(e){return e!=null&&e===e.window}const wfe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return UA(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!UA(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function Ife(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Ofe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,i=n(),o=wfe(i),s=Date.now(),l=()=>{const d=Date.now()-s,p=Ife(d>a?a:d,o,e,a);UA(i)?i.scrollTo(window.pageXOffset,p):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=p:i.scrollTop=p,d{const[,,,,t]=ia();return t?`${e}-css-var`:""};var Fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Fe.F1&&n<=Fe.F12)return!1;switch(n){case Fe.ALT:case Fe.CAPS_LOCK:case Fe.CONTEXT_MENU:case Fe.CTRL:case Fe.DOWN:case Fe.END:case Fe.ESC:case Fe.HOME:case Fe.INSERT:case Fe.LEFT:case Fe.MAC_FF_META:case Fe.META:case Fe.NUMLOCK:case Fe.NUM_CENTER:case Fe.PAGE_DOWN:case Fe.PAGE_UP:case Fe.PAUSE:case Fe.PRINT_SCREEN:case Fe.RIGHT:case Fe.SHIFT:case Fe.UP:case Fe.WIN_KEY:case Fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Fe.ZERO&&t<=Fe.NINE||t>=Fe.NUM_ZERO&&t<=Fe.NUM_MULTIPLY||t>=Fe.A&&t<=Fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Fe.SPACE:case Fe.QUESTION_MARK:case Fe.NUM_PLUS:case Fe.NUM_MINUS:case Fe.NUM_PERIOD:case Fe.NUM_DIVISION:case Fe.SEMICOLON:case Fe.DASH:case Fe.EQUALS:case Fe.COMMA:case Fe.PERIOD:case Fe.SLASH:case Fe.APOSTROPHE:case Fe.SINGLE_QUOTE:case Fe.OPEN_SQUARE_BRACKET:case Fe.BACKSLASH:case Fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},EX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,i=e.duration,o=i===void 0?4.5:i,s=e.showProgress,l=e.pauseOnHover,u=l===void 0?!0:l,d=e.eventKey,p=e.content,f=e.closable,m=e.closeIcon,g=m===void 0?"x":m,h=e.props,v=e.onClick,S=e.onNoticeClose,_=e.times,E=e.hovering,y=c.useState(!1),C=oe(y,2),T=C[0],x=C[1],R=c.useState(0),w=oe(R,2),I=w[0],O=w[1],k=c.useState(0),P=oe(k,2),M=P[0],N=P[1],A=E||T,D=o>0&&s,L=function(){S(d)},$=function(G){(G.key==="Enter"||G.code==="Enter"||G.keyCode===Fe.ENTER)&&L()};c.useEffect(function(){if(!A&&o>0){var j=Date.now()-M,G=setTimeout(function(){L()},o*1e3-M);return function(){u&&clearTimeout(G),N(Date.now()-j)}}},[o,A,_]),c.useEffect(function(){if(!A&&D&&(u||M===0)){var j=performance.now(),G,J=function Y(){cancelAnimationFrame(G),G=requestAnimationFrame(function(X){var V=X+M-j,H=Math.min(V/(o*1e3),1);O(H*100),H<1&&Y()})};return J(),function(){u&&cancelAnimationFrame(G)}}},[o,M,A,D,_]);var F=c.useMemo(function(){return gt(f)==="object"&&f!==null?f:f?{closeIcon:g}:{}},[f,g]),B=Qn(F,!0),z=100-(!I||I<0?0:I>100?100:I),U="".concat(n,"-notice");return c.createElement("div",_e({},h,{ref:t,className:ie(U,a,W({},"".concat(U,"-closable"),f)),style:r,onMouseEnter:function(G){var J;x(!0),h==null||(J=h.onMouseEnter)===null||J===void 0||J.call(h,G)},onMouseLeave:function(G){var J;x(!1),h==null||(J=h.onMouseLeave)===null||J===void 0||J.call(h,G)},onClick:v}),c.createElement("div",{className:"".concat(U,"-content")},p),f&&c.createElement("a",_e({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:$,"aria-label":"Close"},B,{onClick:function(G){G.preventDefault(),G.stopPropagation(),L()}}),F.closeIcon),D&&c.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:z},z+"%"))}),yX=ce.createContext({}),Nfe=function(t){var n=t.children,r=t.classNames;return ce.createElement(yX.Provider,{value:{classNames:r}},n)},KF=8,XF=3,QF=16,Afe=function(t){var n={offset:KF,threshold:XF,gap:QF};if(t&>(t)==="object"){var r,a,i;n.offset=(r=t.offset)!==null&&r!==void 0?r:KF,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:XF,n.gap=(i=t.gap)!==null&&i!==void 0?i:QF}return[!!t,n]},Dfe=["className","style","classNames","styles"],Mfe=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,i=t.className,o=t.style,s=t.motion,l=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,p=c.useContext(yX),f=p.classNames,m=c.useRef({}),g=c.useState(null),h=oe(g,2),v=h[0],S=h[1],_=c.useState([]),E=oe(_,2),y=E[0],C=E[1],T=n.map(function(A){return{config:A,key:String(A.key)}}),x=Afe(d),R=oe(x,2),w=R[0],I=R[1],O=I.offset,k=I.threshold,P=I.gap,M=w&&(y.length>0||T.length<=k),N=typeof s=="function"?s(r):s;return c.useEffect(function(){w&&y.length>1&&C(function(A){return A.filter(function(D){return T.some(function(L){var $=L.key;return D===$})})})},[y,T,w]),c.useEffect(function(){var A;if(w&&m.current[(A=T[T.length-1])===null||A===void 0?void 0:A.key]){var D;S(m.current[(D=T[T.length-1])===null||D===void 0?void 0:D.key])}},[T,w]),ce.createElement(LL,_e({key:r,className:ie(a,"".concat(a,"-").concat(r),f==null?void 0:f.list,i,W(W({},"".concat(a,"-stack"),!!w),"".concat(a,"-stack-expanded"),M)),style:o,keys:T,motionAppear:!0},N,{onAllRemoved:function(){l(r)}}),function(A,D){var L=A.config,$=A.className,F=A.style,B=A.index,z=L,U=z.key,j=z.times,G=String(U),J=L,Y=J.className,X=J.style,V=J.classNames,H=J.styles,q=Et(J,Dfe),K=T.findIndex(function(ae){return ae.key===G}),Z={};if(w){var te=T.length-1-(K>-1?K:B-1),se=r==="top"||r==="bottom"?"-50%":"0";if(te>0){var ue,me,de;Z.height=M?(ue=m.current[G])===null||ue===void 0?void 0:ue.offsetHeight:v==null?void 0:v.offsetHeight;for(var Te=0,Ee=0;Ee-1?m.current[G]=le:delete m.current[G]},prefixCls:a,classNames:V,styles:H,className:ie(Y,f==null?void 0:f.notice),style:X,times:j,key:U,eventKey:U,onNoticeClose:u,hovering:w&&y.length>0})))})},Lfe=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,i=e.motion,o=e.maxCount,s=e.className,l=e.style,u=e.onAllRemoved,d=e.stack,p=e.renderNotifications,f=c.useState([]),m=oe(f,2),g=m[0],h=m[1],v=function(w){var I,O=g.find(function(k){return k.key===w});O==null||(I=O.onClose)===null||I===void 0||I.call(O),h(function(k){return k.filter(function(P){return P.key!==w})})};c.useImperativeHandle(t,function(){return{open:function(w){h(function(I){var O=$e(I),k=O.findIndex(function(N){return N.key===w.key}),P=ee({},w);if(k>=0){var M;P.times=(((M=I[k])===null||M===void 0?void 0:M.times)||0)+1,O[k]=P}else P.times=0,O.push(P);return o>0&&O.length>o&&(O=O.slice(-o)),O})},close:function(w){v(w)},destroy:function(){h([])}}});var S=c.useState({}),_=oe(S,2),E=_[0],y=_[1];c.useEffect(function(){var R={};g.forEach(function(w){var I=w.placement,O=I===void 0?"topRight":I;O&&(R[O]=R[O]||[],R[O].push(w))}),Object.keys(E).forEach(function(w){R[w]=R[w]||[]}),y(R)},[g]);var C=function(w){y(function(I){var O=ee({},I),k=O[w]||[];return k.length||delete O[w],O})},T=c.useRef(!1);if(c.useEffect(function(){Object.keys(E).length>0?T.current=!0:T.current&&(u==null||u(),T.current=!1)},[E]),!a)return null;var x=Object.keys(E);return Ur.createPortal(c.createElement(c.Fragment,null,x.map(function(R){var w=E[R],I=c.createElement(Mfe,{key:R,configList:w,placement:R,prefixCls:r,className:s==null?void 0:s(R),style:l==null?void 0:l(R),motion:i,onNoticeClose:v,onAllNoticeRemoved:C,stack:d});return p?p(I,{prefixCls:r,key:R}):I})),a)}),kfe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Pfe=function(){return document.body},ZF=0;function $fe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?Pfe:t,r=e.motion,a=e.prefixCls,i=e.maxCount,o=e.className,s=e.style,l=e.onAllRemoved,u=e.stack,d=e.renderNotifications,p=Et(e,kfe),f=c.useState(),m=oe(f,2),g=m[0],h=m[1],v=c.useRef(),S=c.createElement(Lfe,{container:g,ref:v,prefixCls:a,motion:r,maxCount:i,className:o,style:s,onAllRemoved:l,stack:u,renderNotifications:d}),_=c.useState([]),E=oe(_,2),y=E[0],C=E[1],T=c.useMemo(function(){return{open:function(R){var w=$fe(p,R);(w.key===null||w.key===void 0)&&(w.key="rc-notification-".concat(ZF),ZF+=1),C(function(I){return[].concat($e(I),[{type:"open",config:w}])})},close:function(R){C(function(w){return[].concat($e(w),[{type:"close",key:R}])})},destroy:function(){C(function(R){return[].concat($e(R),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){h(n())}),c.useEffect(function(){v.current&&y.length&&(y.forEach(function(x){switch(x.type){case"open":v.current.open(x.config);break;case"close":v.current.close(x.key);break;case"destroy":v.current.destroy();break}}),C(function(x){return x.filter(function(R){return!y.includes(R)})}))},[y]),[T,S]}var Bfe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},Ufe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Bfe}))},Ss=c.forwardRef(Ufe);const Km=ce.createContext(void 0),Wl=100,jfe=10,CX=Wl*jfe,TX={Modal:Wl,Drawer:Wl,Popover:Wl,Popconfirm:Wl,Tooltip:Wl,Tour:Wl},zfe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Hfe(e){return e in TX}function bo(e,t){const[,n]=ia(),r=ce.useContext(Km),a=Hfe(e);let i;if(t!==void 0)i=[t,t];else{let o=r??0;a?o+=(r?0:n.zIndexPopupBase)+TX[e]:o+=zfe[e],i=[r===void 0?t:o,o]}return i}const Gfe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:a,colorSuccess:i,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:u,motionEaseInOutCirc:d,motionDurationSlow:p,marginXS:f,paddingXS:m,borderRadiusLG:g,zIndexPopup:h,contentPadding:v,contentBg:S}=e,_=`${t}-notice`,E=new dn("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),y=new dn("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:m,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:u},[`${_}-content`]:{display:"inline-block",padding:v,background:S,borderRadius:g,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},on(e)),{color:a,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:m,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:o},[`${t}-description`]:{display:"block",color:p}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},vfe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:i,colorWarningBorder:o,colorWarningBg:s,colorError:l,colorErrorBorder:u,colorErrorBg:d,colorInfo:p,colorInfoBorder:f,colorInfoBg:m}=e;return{[t]:{"&-success":fh(a,r,n,e,t),"&-info":fh(m,f,p,e,t),"&-warning":fh(s,o,i,e,t),"&-error":Object.assign(Object.assign({},fh(d,u,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},_fe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:i,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:i,lineHeight:X(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},bfe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),Sfe=sn("Alert",e=>[hfe(e),vfe(e),_fe(e)],bfe);var WF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=Efe[r]||null;return t?FL(t,c.createElement("span",{className:`${n}-icon`},t),()=>({className:ie(`${n}-icon`,{[t.props.className]:t.props.className})})):c.createElement(a,{className:`${n}-icon`})},Cfe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:i}=e,o=r===!0||r===void 0?c.createElement(na,null):r;return t?c.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},i),o):null},EX=c.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:i,className:o,rootClassName:s,style:l,onMouseEnter:u,onMouseLeave:d,onClick:p,afterClose:f,showIcon:m,closable:g,closeText:h,closeIcon:v,action:S,id:b}=e,E=WF(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[y,C]=c.useState(!1),T=c.useRef(null);c.useImperativeHandle(t,()=>({nativeElement:T.current}));const{getPrefixCls:x,direction:R,alert:w}=c.useContext(lt),I=x("alert",r),[O,k,P]=Sfe(I),M=z=>{var U;C(!0),(U=e.onClose)===null||U===void 0||U.call(e,z)},N=c.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),A=c.useMemo(()=>typeof g=="object"&&g.closeIcon||h?!0:typeof g=="boolean"?g:v!==!1&&v!==null&&v!==void 0?!0:!!(w!=null&&w.closable),[h,v,g,w==null?void 0:w.closable]),D=i&&m===void 0?!0:m,L=ie(I,`${I}-${N}`,{[`${I}-with-description`]:!!n,[`${I}-no-icon`]:!D,[`${I}-banner`]:!!i,[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,o,s,P,k),$=Jn(E,{aria:!0,data:!0}),F=c.useMemo(()=>{var z,U;return typeof g=="object"&&g.closeIcon?g.closeIcon:h||(v!==void 0?v:typeof(w==null?void 0:w.closable)=="object"&&(!((z=w==null?void 0:w.closable)===null||z===void 0)&&z.closeIcon)?(U=w==null?void 0:w.closable)===null||U===void 0?void 0:U.closeIcon:w==null?void 0:w.closeIcon)},[v,g,h,w==null?void 0:w.closeIcon]),B=c.useMemo(()=>{const z=g??(w==null?void 0:w.closable);return typeof z=="object"?WF(z,["closeIcon"]):{}},[g,w==null?void 0:w.closable]);return O(c.createElement(ta,{visible:!y,motionName:`${I}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:z=>({maxHeight:z.offsetHeight}),onLeaveEnd:f},(z,U)=>{let{className:j,style:G}=z;return c.createElement("div",Object.assign({id:b,ref:aa(T,U),"data-show":!y,className:ie(L,j),style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.style),l),G),onMouseEnter:u,onMouseLeave:d,onClick:p,role:"alert"},$),D?c.createElement(yfe,{description:n,icon:e.icon,prefixCls:I,type:N}):null,c.createElement("div",{className:`${I}-content`},a?c.createElement("div",{className:`${I}-message`},a):null,n?c.createElement("div",{className:`${I}-description`},n):null),S?c.createElement("div",{className:`${I}-action`},S):null,c.createElement(Cfe,{isClosable:A,prefixCls:I,closeIcon:F,handleClose:M,ariaProps:B}))}))});function Tfe(e,t,n){return t=Tc(t),uK(e,Rb()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}let xfe=function(e){function t(){var n;return er(this,t),n=Tfe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Ei(t,e),tr(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:i,children:o}=this.props,{error:s,info:l}=this.state,u=(l==null?void 0:l.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,p=typeof a>"u"?u:a;return s?c.createElement(EX,{id:i,type:"error",message:d,description:c.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):o}}])}(c.Component);const Zn=EX;Zn.ErrorBoundary=xfe;const YF=e=>typeof e=="object"&&e!=null&&e.nodeType===1,KF=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",YE=(e,t)=>{if(e.clientHeight{const a=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightit||i>e&&o=t&&s>=n?i-e-r:o>t&&sn?o-t+a:0,Rfe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},XF=(e,t)=>{var n,r,a,i;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:d}=t,p=typeof u=="function"?u:A=>A!==u;if(!YF(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,m=[];let g=e;for(;YF(g)&&p(g);){if(g=Rfe(g),g===f){m.push(g);break}g!=null&&g===document.body&&YE(g)&&!YE(document.documentElement)||g!=null&&YE(g,d)&&m.push(g)}const h=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(i=(a=window.visualViewport)==null?void 0:a.height)!=null?i:innerHeight,{scrollX:S,scrollY:b}=window,{height:E,width:y,top:C,right:T,bottom:x,left:R}=e.getBoundingClientRect(),{top:w,right:I,bottom:O,left:k}=(A=>{const D=window.getComputedStyle(A);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?C-w:s==="end"?x+O:C+E/2-w+O,M=l==="center"?R+y/2-k+I:l==="end"?T+I:R-k;const N=[];for(let A=0;A=0&&R>=0&&x<=v&&T<=h&&C>=F&&x<=z&&R>=U&&T<=B)return N;const j=getComputedStyle(D),G=parseInt(j.borderLeftWidth,10),J=parseInt(j.borderTopWidth,10),Y=parseInt(j.borderRightWidth,10),Q=parseInt(j.borderBottomWidth,10);let V=0,H=0;const q="offsetWidth"in D?D.offsetWidth-D.clientWidth-G-Y:0,K="offsetHeight"in D?D.offsetHeight-D.clientHeight-J-Q:0,Z="offsetWidth"in D?D.offsetWidth===0?0:$/D.offsetWidth:0,te="offsetHeight"in D?D.offsetHeight===0?0:L/D.offsetHeight:0;if(f===D)V=s==="start"?P:s==="end"?P-v:s==="nearest"?mh(b,b+v,v,J,Q,b+P,b+P+E,E):P-v/2,H=l==="start"?M:l==="center"?M-h/2:l==="end"?M-h:mh(S,S+h,h,G,Y,S+M,S+M+y,y),V=Math.max(0,V+b),H=Math.max(0,H+S);else{V=s==="start"?P-F-J:s==="end"?P-z+Q+K:s==="nearest"?mh(F,z,L,J,Q+K,P,P+E,E):P-(F+L/2)+K/2,H=l==="start"?M-U-G:l==="center"?M-(U+$/2)+q/2:l==="end"?M-B+Y+q:mh(U,B,$,G,Y+q,M,M+y,y);const{scrollLeft:se,scrollTop:ue}=D;V=te===0?0:Math.max(0,Math.min(ue+V/te,D.scrollHeight-L/te+K)),H=Z===0?0:Math.max(0,Math.min(se+H/Z,D.scrollWidth-$/Z+q)),P+=ue-V,M+=se-H}N.push({el:D,top:V,left:H})}return N},wfe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Ife(e,t){if(!e.isConnected||!(a=>{let i=a;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const n=(a=>{const i=window.getComputedStyle(a);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(XF(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:i,left:o}of XF(e,wfe(t))){const s=i-n.top+n.bottom,l=o-n.left+n.right;a.scroll({top:s,left:l,behavior:r})}}function jA(e){return e!=null&&e===e.window}const Ofe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return jA(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!jA(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function Nfe(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Afe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,i=n(),o=Ofe(i),s=Date.now(),l=()=>{const d=Date.now()-s,p=Nfe(d>a?a:d,o,e,a);jA(i)?i.scrollTo(window.pageXOffset,p):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=p:i.scrollTop=p,d{const[,,,,t]=ia();return t?`${e}-css-var`:""};var Fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Fe.F1&&n<=Fe.F12)return!1;switch(n){case Fe.ALT:case Fe.CAPS_LOCK:case Fe.CONTEXT_MENU:case Fe.CTRL:case Fe.DOWN:case Fe.END:case Fe.ESC:case Fe.HOME:case Fe.INSERT:case Fe.LEFT:case Fe.MAC_FF_META:case Fe.META:case Fe.NUMLOCK:case Fe.NUM_CENTER:case Fe.PAGE_DOWN:case Fe.PAGE_UP:case Fe.PAUSE:case Fe.PRINT_SCREEN:case Fe.RIGHT:case Fe.SHIFT:case Fe.UP:case Fe.WIN_KEY:case Fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Fe.ZERO&&t<=Fe.NINE||t>=Fe.NUM_ZERO&&t<=Fe.NUM_MULTIPLY||t>=Fe.A&&t<=Fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Fe.SPACE:case Fe.QUESTION_MARK:case Fe.NUM_PLUS:case Fe.NUM_MINUS:case Fe.NUM_PERIOD:case Fe.NUM_DIVISION:case Fe.SEMICOLON:case Fe.DASH:case Fe.EQUALS:case Fe.COMMA:case Fe.PERIOD:case Fe.SLASH:case Fe.APOSTROPHE:case Fe.SINGLE_QUOTE:case Fe.OPEN_SQUARE_BRACKET:case Fe.BACKSLASH:case Fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},yX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,i=e.duration,o=i===void 0?4.5:i,s=e.showProgress,l=e.pauseOnHover,u=l===void 0?!0:l,d=e.eventKey,p=e.content,f=e.closable,m=e.closeIcon,g=m===void 0?"x":m,h=e.props,v=e.onClick,S=e.onNoticeClose,b=e.times,E=e.hovering,y=c.useState(!1),C=oe(y,2),T=C[0],x=C[1],R=c.useState(0),w=oe(R,2),I=w[0],O=w[1],k=c.useState(0),P=oe(k,2),M=P[0],N=P[1],A=E||T,D=o>0&&s,L=function(){S(d)},$=function(G){(G.key==="Enter"||G.code==="Enter"||G.keyCode===Fe.ENTER)&&L()};c.useEffect(function(){if(!A&&o>0){var j=Date.now()-M,G=setTimeout(function(){L()},o*1e3-M);return function(){u&&clearTimeout(G),N(Date.now()-j)}}},[o,A,b]),c.useEffect(function(){if(!A&&D&&(u||M===0)){var j=performance.now(),G,J=function Y(){cancelAnimationFrame(G),G=requestAnimationFrame(function(Q){var V=Q+M-j,H=Math.min(V/(o*1e3),1);O(H*100),H<1&&Y()})};return J(),function(){u&&cancelAnimationFrame(G)}}},[o,M,A,D,b]);var F=c.useMemo(function(){return gt(f)==="object"&&f!==null?f:f?{closeIcon:g}:{}},[f,g]),B=Jn(F,!0),z=100-(!I||I<0?0:I>100?100:I),U="".concat(n,"-notice");return c.createElement("div",ve({},h,{ref:t,className:ie(U,a,W({},"".concat(U,"-closable"),f)),style:r,onMouseEnter:function(G){var J;x(!0),h==null||(J=h.onMouseEnter)===null||J===void 0||J.call(h,G)},onMouseLeave:function(G){var J;x(!1),h==null||(J=h.onMouseLeave)===null||J===void 0||J.call(h,G)},onClick:v}),c.createElement("div",{className:"".concat(U,"-content")},p),f&&c.createElement("a",ve({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:$,"aria-label":"Close"},B,{onClick:function(G){G.preventDefault(),G.stopPropagation(),L()}}),F.closeIcon),D&&c.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:z},z+"%"))}),CX=ce.createContext({}),Dfe=function(t){var n=t.children,r=t.classNames;return ce.createElement(CX.Provider,{value:{classNames:r}},n)},QF=8,ZF=3,JF=16,Mfe=function(t){var n={offset:QF,threshold:ZF,gap:JF};if(t&>(t)==="object"){var r,a,i;n.offset=(r=t.offset)!==null&&r!==void 0?r:QF,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:ZF,n.gap=(i=t.gap)!==null&&i!==void 0?i:JF}return[!!t,n]},Lfe=["className","style","classNames","styles"],kfe=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,i=t.className,o=t.style,s=t.motion,l=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,p=c.useContext(CX),f=p.classNames,m=c.useRef({}),g=c.useState(null),h=oe(g,2),v=h[0],S=h[1],b=c.useState([]),E=oe(b,2),y=E[0],C=E[1],T=n.map(function(A){return{config:A,key:String(A.key)}}),x=Mfe(d),R=oe(x,2),w=R[0],I=R[1],O=I.offset,k=I.threshold,P=I.gap,M=w&&(y.length>0||T.length<=k),N=typeof s=="function"?s(r):s;return c.useEffect(function(){w&&y.length>1&&C(function(A){return A.filter(function(D){return T.some(function(L){var $=L.key;return D===$})})})},[y,T,w]),c.useEffect(function(){var A;if(w&&m.current[(A=T[T.length-1])===null||A===void 0?void 0:A.key]){var D;S(m.current[(D=T[T.length-1])===null||D===void 0?void 0:D.key])}},[T,w]),ce.createElement(PL,ve({key:r,className:ie(a,"".concat(a,"-").concat(r),f==null?void 0:f.list,i,W(W({},"".concat(a,"-stack"),!!w),"".concat(a,"-stack-expanded"),M)),style:o,keys:T,motionAppear:!0},N,{onAllRemoved:function(){l(r)}}),function(A,D){var L=A.config,$=A.className,F=A.style,B=A.index,z=L,U=z.key,j=z.times,G=String(U),J=L,Y=J.className,Q=J.style,V=J.classNames,H=J.styles,q=yt(J,Lfe),K=T.findIndex(function(ae){return ae.key===G}),Z={};if(w){var te=T.length-1-(K>-1?K:B-1),se=r==="top"||r==="bottom"?"-50%":"0";if(te>0){var ue,me,de;Z.height=M?(ue=m.current[G])===null||ue===void 0?void 0:ue.offsetHeight:v==null?void 0:v.offsetHeight;for(var Te=0,Ee=0;Ee-1?m.current[G]=le:delete m.current[G]},prefixCls:a,classNames:V,styles:H,className:ie(Y,f==null?void 0:f.notice),style:Q,times:j,key:U,eventKey:U,onNoticeClose:u,hovering:w&&y.length>0})))})},Pfe=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,i=e.motion,o=e.maxCount,s=e.className,l=e.style,u=e.onAllRemoved,d=e.stack,p=e.renderNotifications,f=c.useState([]),m=oe(f,2),g=m[0],h=m[1],v=function(w){var I,O=g.find(function(k){return k.key===w});O==null||(I=O.onClose)===null||I===void 0||I.call(O),h(function(k){return k.filter(function(P){return P.key!==w})})};c.useImperativeHandle(t,function(){return{open:function(w){h(function(I){var O=$e(I),k=O.findIndex(function(N){return N.key===w.key}),P=ee({},w);if(k>=0){var M;P.times=(((M=I[k])===null||M===void 0?void 0:M.times)||0)+1,O[k]=P}else P.times=0,O.push(P);return o>0&&O.length>o&&(O=O.slice(-o)),O})},close:function(w){v(w)},destroy:function(){h([])}}});var S=c.useState({}),b=oe(S,2),E=b[0],y=b[1];c.useEffect(function(){var R={};g.forEach(function(w){var I=w.placement,O=I===void 0?"topRight":I;O&&(R[O]=R[O]||[],R[O].push(w))}),Object.keys(E).forEach(function(w){R[w]=R[w]||[]}),y(R)},[g]);var C=function(w){y(function(I){var O=ee({},I),k=O[w]||[];return k.length||delete O[w],O})},T=c.useRef(!1);if(c.useEffect(function(){Object.keys(E).length>0?T.current=!0:T.current&&(u==null||u(),T.current=!1)},[E]),!a)return null;var x=Object.keys(E);return Ur.createPortal(c.createElement(c.Fragment,null,x.map(function(R){var w=E[R],I=c.createElement(kfe,{key:R,configList:w,placement:R,prefixCls:r,className:s==null?void 0:s(R),style:l==null?void 0:l(R),motion:i,onNoticeClose:v,onAllNoticeRemoved:C,stack:d});return p?p(I,{prefixCls:r,key:R}):I})),a)}),$fe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Ffe=function(){return document.body},eB=0;function Bfe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?Ffe:t,r=e.motion,a=e.prefixCls,i=e.maxCount,o=e.className,s=e.style,l=e.onAllRemoved,u=e.stack,d=e.renderNotifications,p=yt(e,$fe),f=c.useState(),m=oe(f,2),g=m[0],h=m[1],v=c.useRef(),S=c.createElement(Pfe,{container:g,ref:v,prefixCls:a,motion:r,maxCount:i,className:o,style:s,onAllRemoved:l,stack:u,renderNotifications:d}),b=c.useState([]),E=oe(b,2),y=E[0],C=E[1],T=c.useMemo(function(){return{open:function(R){var w=Bfe(p,R);(w.key===null||w.key===void 0)&&(w.key="rc-notification-".concat(eB),eB+=1),C(function(I){return[].concat($e(I),[{type:"open",config:w}])})},close:function(R){C(function(w){return[].concat($e(w),[{type:"close",key:R}])})},destroy:function(){C(function(R){return[].concat($e(R),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){h(n())}),c.useEffect(function(){v.current&&y.length&&(y.forEach(function(x){switch(x.type){case"open":v.current.open(x.config);break;case"close":v.current.close(x.key);break;case"destroy":v.current.destroy();break}}),C(function(x){return x.filter(function(R){return!y.includes(R)})}))},[y]),[T,S]}var jfe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},zfe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:jfe}))},jo=c.forwardRef(zfe);const Qm=ce.createContext(void 0),Wl=100,Hfe=10,TX=Wl*Hfe,xX={Modal:Wl,Drawer:Wl,Popover:Wl,Popconfirm:Wl,Tooltip:Wl,Tour:Wl},Gfe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Vfe(e){return e in xX}function So(e,t){const[,n]=ia(),r=ce.useContext(Qm),a=Vfe(e);let i;if(t!==void 0)i=[t,t];else{let o=r??0;a?o+=(r?0:n.zIndexPopupBase)+xX[e]:o+=Gfe[e],i=[r===void 0?t:o,o]}return i}const qfe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:a,colorSuccess:i,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:u,motionEaseInOutCirc:d,motionDurationSlow:p,marginXS:f,paddingXS:m,borderRadiusLG:g,zIndexPopup:h,contentPadding:v,contentBg:S}=e,b=`${t}-notice`,E=new dn("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),y=new dn("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:m,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:u},[`${b}-content`]:{display:"inline-block",padding:v,background:S,borderRadius:g,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, + ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},an(e)),{color:a,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:E,animationDuration:p,animationPlayState:"paused",animationTimingFunction:d},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:y,animationDuration:p,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${_}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},Vfe=e=>({zIndexPopup:e.zIndexPopupBase+CX+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),xX=cn("Message",e=>{const t=Ht(e,{height:150});return[Gfe(t)]},Vfe);var qfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,type:n,icon:r,children:a}=e;return c.createElement("div",{className:ie(`${t}-custom-content`,`${t}-${n}`)},r||Wfe[n],c.createElement("span",null,a))},Yfe=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:i}=e,o=qfe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=c.useContext(lt),l=t||s("message"),u=Zn(l),[d,p,f]=xX(l,u);return d(c.createElement(EX,Object.assign({},o,{prefixCls:l,className:ie(n,p,`${l}-notice-pure-panel`,f,u),eventKey:"pure",duration:null,content:c.createElement(RX,{prefixCls:l,type:r,icon:a},i)})))};function Kfe(e,t){return{motionName:t??`${e}-move-up`}}function $L(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,i)=>n.then(a,i),r.promise=n,r}var Xfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=Zn(n),[a,i,o]=xX(n,r);return a(c.createElement(Nfe,{classNames:{list:ie(i,o,r)}},t))},eme=(e,t)=>{let{prefixCls:n,key:r}=t;return c.createElement(Jfe,{prefixCls:n,key:r},e)},tme=c.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:i,duration:o=Zfe,rtl:s,transitionName:l,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:p,message:f,direction:m}=c.useContext(lt),g=r||d("message"),h=()=>({left:"50%",transform:"translateX(-50%)",top:n??Qfe}),v=()=>ie({[`${g}-rtl`]:s??m==="rtl"}),S=()=>Kfe(g,l),_=c.createElement("span",{className:`${g}-close-x`},c.createElement(na,{className:`${g}-close-icon`})),[E,y]=Ffe({prefixCls:g,style:h,className:v,motion:S,closable:!1,closeIcon:_,duration:o,getContainer:()=>(a==null?void 0:a())||(p==null?void 0:p())||document.body,maxCount:i,onAllRemoved:u,renderNotifications:eme});return c.useImperativeHandle(t,()=>Object.assign(Object.assign({},E),{prefixCls:g,message:f})),y});let JF=0;function wX(e){const t=c.useRef(null);return Il(),[c.useMemo(()=>{const r=l=>{var u;(u=t.current)===null||u===void 0||u.close(l)},a=l=>{if(!t.current){const T=()=>{};return T.then=()=>{},T}const{open:u,prefixCls:d,message:p}=t.current,f=`${d}-notice`,{content:m,icon:g,type:h,key:v,className:S,style:_,onClose:E}=l,y=Xfe(l,["content","icon","type","key","className","style","onClose"]);let C=v;return C==null&&(JF+=1,C=`antd-message-${JF}`),$L(T=>(u(Object.assign(Object.assign({},y),{key:C,content:c.createElement(RX,{prefixCls:d,type:h,icon:g},m),placement:"top",className:ie(h&&`${f}-${h}`,S,p==null?void 0:p.className),style:Object.assign(Object.assign({},p==null?void 0:p.style),_),onClose:()=>{E==null||E(),T()}})),()=>{r(C)}))},o={open:a,destroy:l=>{var u;l!==void 0?r(l):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const u=(d,p,f)=>{let m;d&&typeof d=="object"&&"content"in d?m=d:m={content:d};let g,h;typeof p=="function"?h=p:(g=p,h=f);const v=Object.assign(Object.assign({onClose:h,duration:g},m),{type:l});return a(v)};o[l]=u}),o},[]),c.createElement(tme,Object.assign({key:"message-holder"},e,{ref:t}))]}function nme(e){return wX(e)}function rme(){const[e,t]=c.useState([]),n=c.useCallback(r=>(t(a=>[].concat($e(a),[r])),()=>{t(a=>a.filter(i=>i!==r))}),[]);return[e,n]}function zn(){zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(A,D,L){A[D]=L.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(A,D,L){return Object.defineProperty(A,D,{value:L,enumerable:!0,configurable:!0,writable:!0}),A[D]}try{u({},"")}catch{u=function(L,$,F){return L[$]=F}}function d(A,D,L,$){var F=D&&D.prototype instanceof S?D:S,B=Object.create(F.prototype),z=new M($||[]);return a(B,"_invoke",{value:I(A,L,z)}),B}function p(A,D,L){try{return{type:"normal",arg:A.call(D,L)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var f="suspendedStart",m="suspendedYield",g="executing",h="completed",v={};function S(){}function _(){}function E(){}var y={};u(y,o,function(){return this});var C=Object.getPrototypeOf,T=C&&C(C(N([])));T&&T!==n&&r.call(T,o)&&(y=T);var x=E.prototype=S.prototype=Object.create(y);function R(A){["next","throw","return"].forEach(function(D){u(A,D,function(L){return this._invoke(D,L)})})}function w(A,D){function L(F,B,z,U){var j=p(A[F],A,B);if(j.type!=="throw"){var G=j.arg,J=G.value;return J&>(J)=="object"&&r.call(J,"__await")?D.resolve(J.__await).then(function(Y){L("next",Y,z,U)},function(Y){L("throw",Y,z,U)}):D.resolve(J).then(function(Y){G.value=Y,z(G)},function(Y){return L("throw",Y,z,U)})}U(j.arg)}var $;a(this,"_invoke",{value:function(B,z){function U(){return new D(function(j,G){L(B,z,j,G)})}return $=$?$.then(U,U):U()}})}function I(A,D,L){var $=f;return function(F,B){if($===g)throw Error("Generator is already running");if($===h){if(F==="throw")throw B;return{value:e,done:!0}}for(L.method=F,L.arg=B;;){var z=L.delegate;if(z){var U=O(z,L);if(U){if(U===v)continue;return U}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if($===f)throw $=h,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);$=g;var j=p(A,D,L);if(j.type==="normal"){if($=L.done?h:m,j.arg===v)continue;return{value:j.arg,done:L.done}}j.type==="throw"&&($=h,L.method="throw",L.arg=j.arg)}}}function O(A,D){var L=D.method,$=A.iterator[L];if($===e)return D.delegate=null,L==="throw"&&A.iterator.return&&(D.method="return",D.arg=e,O(A,D),D.method==="throw")||L!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+L+"' method")),v;var F=p($,A.iterator,D.arg);if(F.type==="throw")return D.method="throw",D.arg=F.arg,D.delegate=null,v;var B=F.arg;return B?B.done?(D[A.resultName]=B.value,D.next=A.nextLoc,D.method!=="return"&&(D.method="next",D.arg=e),D.delegate=null,v):B:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,v)}function k(A){var D={tryLoc:A[0]};1 in A&&(D.catchLoc=A[1]),2 in A&&(D.finallyLoc=A[2],D.afterLoc=A[3]),this.tryEntries.push(D)}function P(A){var D=A.completion||{};D.type="normal",delete D.arg,A.completion=D}function M(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(k,this),this.reset(!0)}function N(A){if(A||A===""){var D=A[o];if(D)return D.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var L=-1,$=function F(){for(;++L=0;--F){var B=this.tryEntries[F],z=B.completion;if(B.tryLoc==="root")return $("end");if(B.tryLoc<=this.prev){var U=r.call(B,"catchLoc"),j=r.call(B,"finallyLoc");if(U&&j){if(this.prev=0;--$){var F=this.tryEntries[$];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--L){var $=this.tryEntries[L];if($.finallyLoc===D)return this.complete($.completion,$.afterLoc),P($),v}},catch:function(D){for(var L=this.tryEntries.length-1;L>=0;--L){var $=this.tryEntries[L];if($.tryLoc===D){var F=$.completion;if(F.type==="throw"){var B=F.arg;P($)}return B}}throw Error("illegal catch attempt")},delegateYield:function(D,L,$){return this.delegate={iterator:N(D),resultName:L,nextLoc:$},this.method==="next"&&(this.arg=e),v}},t}function eB(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,a)}function ci(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(l){eB(i,r,a,o,s,"next",l)}function s(l){eB(i,r,a,o,s,"throw",l)}o(void 0)})}}var Xm=ee({},lle),ame=Xm.version,ime=Xm.render,ome=Xm.unmountComponentAtNode,Ib;try{var sme=Number((ame||"").split(".")[0]);sme>=18&&(Ib=Xm.createRoot)}catch{}function tB(e){var t=Xm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&>(t)==="object"&&(t.usingClientEntryPoint=e)}var g_="__rc_react_root__";function lme(e,t){tB(!0);var n=t[g_]||Ib(t);tB(!1),n.render(e),t[g_]=n}function cme(e,t){ime(e,t)}function FL(e,t){if(Ib){lme(e,t);return}cme(e,t)}function ume(e){return jA.apply(this,arguments)}function jA(){return jA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[g_])===null||a===void 0||a.unmount(),delete t[g_]}));case 1:case"end":return r.stop()}},e)})),jA.apply(this,arguments)}function dme(e){ome(e)}function IX(e){return zA.apply(this,arguments)}function zA(){return zA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Ib===void 0){r.next=2;break}return r.abrupt("return",ume(t));case 2:dme(t);case 3:case"end":return r.stop()}},e)})),zA.apply(this,arguments)}const qE=()=>({height:0,opacity:0}),nB=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},pme=e=>({height:e?e.offsetHeight:0}),WE=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Ed=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:pm}-motion-collapse`,onAppearStart:qE,onEnterStart:qE,onAppearActive:nB,onEnterActive:nB,onLeaveStart:pme,onLeaveActive:qE,onAppearEnd:WE,onEnterEnd:WE,onLeaveEnd:WE,motionDeadline:500}},ya=(e,t,n)=>n!==void 0?n:`${e}-${t}`,qd=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),i=a.width,o=a.height;if(i||o)return!0}}return!1},fme=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},mme=cpe("Wave",e=>[fme(e)]),Ob=`${pm}-wave-target`;function gme(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function YE(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&gme(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function hme(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return YE(t)?t:YE(n)?n:YE(r)?r:null}function KE(e){return Number.isNaN(e)?0:e}const vme=e=>{const{className:t,target:n,component:r}=e,a=c.useRef(null),[i,o]=c.useState(null),[s,l]=c.useState([]),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=c.useState(0),[h,v]=c.useState(0),[S,_]=c.useState(!1),E={left:u,top:p,width:m,height:h,borderRadius:s.map(T=>`${T}px`).join(" ")};i&&(E["--wave-color"]=i);function y(){const T=getComputedStyle(n);o(hme(n));const x=T.position==="static",{borderLeftWidth:R,borderTopWidth:w}=T;d(x?n.offsetLeft:KE(-parseFloat(R))),f(x?n.offsetTop:KE(-parseFloat(w))),g(n.offsetWidth),v(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:O,borderBottomLeftRadius:k,borderBottomRightRadius:P}=T;l([I,O,P,k].map(M=>KE(parseFloat(M))))}if(c.useEffect(()=>{if(n){const T=Gt(()=>{y(),_(!0)});let x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(y),x.observe(n)),()=>{Gt.cancel(T),x==null||x.disconnect()}}},[]),!S)return null;const C=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Ob));return c.createElement(ta,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,x)=>{var R;if(x.deadline||x.propertyName==="opacity"){const w=(R=a.current)===null||R===void 0?void 0:R.parentElement;IX(w).then(()=>{w==null||w.remove()})}return!1}},(T,x)=>{let{className:R}=T;return c.createElement("div",{ref:aa(a,x),className:ie(t,R,{"wave-quick":C}),style:E})})},_me=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild),FL(c.createElement(vme,Object.assign({},t,{target:e})),a)},bme=(e,t,n)=>{const{wave:r}=c.useContext(lt),[,a,i]=ia(),o=Wt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const p=d.querySelector(`.${Ob}`)||d,{showEffect:f}=r||{};(f||_me)(p,{className:t,token:a,component:n,event:u,hashId:i})}),s=c.useRef();return u=>{Gt.cancel(s.current),s.current=Gt(()=>{o(u)})}},Qm=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=c.useContext(lt),i=c.useRef(null),o=a("wave"),[,s]=mme(o),l=bme(i,ie(o,s),r);if(ce.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const p=f=>{!qd(f.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||l(f)};return d.addEventListener("click",p,!0),()=>{d.removeEventListener("click",p,!0)}},[n]),!ce.isValidElement(t))return t??null;const u=fo(t)?aa(t.ref,i):i;return Tr(t,{ref:u})},xr=e=>{const t=ce.useContext(Rc);return ce.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Sme=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Eme=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},yme=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},OX=cn("Space",e=>{const t=Ht(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Eme(t),yme(t),Sme(t)]},()=>({}),{resetStyle:!1});var NX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=c.useContext(Nb),r=c.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:i,isLastItem:o}=n,s=a==="vertical"?"-vertical-":"-";return ie(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Cme=e=>{let{children:t}=e;return c.createElement(Nb.Provider,{value:null},t)},Tme=e=>{var{children:t}=e,n=NX(e,["children"]);return c.createElement(Nb.Provider,{value:n},t)},xme=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{size:r,direction:a,block:i,prefixCls:o,className:s,rootClassName:l,children:u}=e,d=NX(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=xr(E=>r??E),f=t("space-compact",o),[m,g]=OX(f),h=ie(f,g,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:i,[`${f}-vertical`]:a==="vertical"},s,l),v=c.useContext(Nb),S=br(u),_=c.useMemo(()=>S.map((E,y)=>{const C=(E==null?void 0:E.key)||`${f}-item-${y}`;return c.createElement(Tme,{key:C,compactSize:p,compactDirection:a,isFirstItem:y===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:y===S.length-1&&(!v||(v==null?void 0:v.isLastItem))},E)}),[r,S,v]);return S.length===0?null:m(c.createElement("div",Object.assign({className:h},d),_))};var Rme=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=c.useContext(lt),{prefixCls:r,size:a,className:i}=e,o=Rme(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=ia();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=ie(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},i,l);return c.createElement(AX.Provider,{value:a},c.createElement("div",Object.assign({},o,{className:d})))},rB=/^[\u4e00-\u9fa5]{2}$/,HA=rB.test.bind(rB);function DX(e){return e==="danger"?{danger:!0}:{type:e}}function aB(e){return typeof e=="string"}function XE(e){return e==="text"||e==="link"}function Ime(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&aB(e.type)&&HA(e.props.children)?Tr(e,{children:e.props.children.split("").join(n)}):aB(e)?HA(e)?ce.createElement("span",null,e.split("").join(n)):ce.createElement("span",null,e):bX(e)?ce.createElement("span",null,e):e}function Ome(e,t){let n=!1;const r=[];return ce.Children.forEach(e,a=>{const i=typeof a,o=i==="string"||i==="number";if(n&&o){const s=r.length-1,l=r[s];r[s]=`${l}${a}`}else r.push(a);n=o}),ce.Children.map(r,a=>Ime(a,t))}const MX=c.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:i}=e,o=ie(`${i}-icon`,n);return ce.createElement("span",{ref:t,className:o,style:r},a)}),iB=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:i}=e,o=ie(`${n}-loading-icon`,r);return ce.createElement(MX,{prefixCls:n,className:o,style:a,ref:t},ce.createElement(Ss,{className:i}))}),QE=()=>({width:0,opacity:0,transform:"scale(0)"}),ZE=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Nme=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:i}=e,o=!!n;return r?ce.createElement(iB,{prefixCls:t,className:a,style:i}):ce.createElement(ta,{visible:o,motionName:`${t}-loading-icon-motion`,motionLeave:o,removeOnLeave:!0,onAppearStart:QE,onAppearActive:ZE,onEnterStart:QE,onEnterActive:ZE,onLeaveStart:ZE,onLeaveActive:QE},(s,l)=>{let{className:u,style:d}=s;return ce.createElement(iB,{prefixCls:t,className:a,style:Object.assign(Object.assign({},i),d),ref:l,iconClassName:u})})},oB=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Ame=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},oB(`${t}-primary`,a),oB(`${t}-danger`,i)]}},LX=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Ht(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},kX=e=>{var t,n,r,a,i,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(a=e.contentLineHeight)!==null&&a!==void 0?a:gv(s),p=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:gv(l),f=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:gv(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*p)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*f)/2-e.lineWidth,0)}},Dme=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Q(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Bo(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},Es=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Mme=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Lme=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),kme=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),mm=(e,t,n,r,a,i,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Es(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:i||void 0}})}),BL=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},kme(e))}),PX=e=>Object.assign({},BL(e)),h_=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),$X=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},PX(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Es(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),mm(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Es(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),mm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),BL(e))}),Pme=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},PX(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Es(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),mm(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Es(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),mm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),BL(e))}),$me=e=>Object.assign(Object.assign({},$X(e)),{borderStyle:"dashed"}),Fme=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Es(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),h_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Es(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),h_(e))}),Bme=e=>Object.assign(Object.assign(Object.assign({},Es(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),h_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},h_(e)),Es(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),Ume=e=>{const{componentCls:t}=e;return{[`${t}-default`]:$X(e),[`${t}-primary`]:Pme(e),[`${t}-dashed`]:$me(e),[`${t}-link`]:Fme(e),[`${t}-text`]:Bme(e),[`${t}-ghost`]:mm(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},UL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:i,borderRadius:o,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:i,height:r,padding:`${Q(u)} ${Q(s)}`,borderRadius:o,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Mme(e)},{[`${n}${n}-round${t}`]:Lme(e)}]},jme=e=>{const t=Ht(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return UL(t,e.componentCls)},zme=e=>{const t=Ht(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return UL(t,`${e.componentCls}-sm`)},Hme=e=>{const t=Ht(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return UL(t,`${e.componentCls}-lg`)},Gme=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Vme=cn("Button",e=>{const t=LX(e);return[Dme(t),jme(t),zme(t),Hme(t),Gme(t),Ume(t),Ame(t)]},kX,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function qme(e,t,n){const{focusElCls:r,focus:a,borderElCls:i}=n,o=i?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function Wme(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Zm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},qme(e,r,t)),Wme(n,r,t))}}function Yme(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Kme(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Xme(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Yme(e,t)),Kme(e.componentCls,t))}}const Qme=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${Q(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${Q(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Zme=Gd(["Button","compact"],e=>{const t=LX(e);return[Zm(t),Xme(t),Qme(t)]},kX);var Jme=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{loading:i=!1,prefixCls:o,type:s,danger:l=!1,shape:u="default",size:d,styles:p,disabled:f,className:m,rootClassName:g,children:h,icon:v,iconPosition:S="start",ghost:_=!1,block:E=!1,htmlType:y="button",classNames:C,style:T={},autoInsertSpace:x}=e,R=Jme(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),w=s||"default",{getPrefixCls:I,direction:O,button:k}=c.useContext(lt),P=(n=x??(k==null?void 0:k.autoInsertSpace))!==null&&n!==void 0?n:!0,M=I("btn",o),[N,A,D]=Vme(M),L=c.useContext(ea),$=f??L,F=c.useContext(AX),B=c.useMemo(()=>ege(i),[i]),[z,U]=c.useState(B.loading),[j,G]=c.useState(!1),Y=aa(t,c.createRef()),X=c.Children.count(h)===1&&!v&&!XE(w);c.useEffect(()=>{let ae=null;B.delay>0?ae=setTimeout(()=>{ae=null,U(!0)},B.delay):U(B.loading);function le(){ae&&(clearTimeout(ae),ae=null)}return le},[B]),c.useEffect(()=>{if(!Y||!Y.current||!P)return;const ae=Y.current.textContent;X&&HA(ae)?j||G(!0):j&&G(!1)},[Y]);const V=ae=>{const{onClick:le}=e;if(z||$){ae.preventDefault();return}le==null||le(ae)},{compactSize:H,compactItemClassnames:q}=ws(M,O),K={large:"lg",small:"sm",middle:void 0},Z=xr(ae=>{var le,pe;return(pe=(le=d??H)!==null&&le!==void 0?le:F)!==null&&pe!==void 0?pe:ae}),te=Z&&K[Z]||"",se=z?"loading":v,ue=An(R,["navigate"]),me=ie(M,A,D,{[`${M}-${u}`]:u!=="default"&&u,[`${M}-${w}`]:w,[`${M}-${te}`]:te,[`${M}-icon-only`]:!h&&h!==0&&!!se,[`${M}-background-ghost`]:_&&!XE(w),[`${M}-loading`]:z,[`${M}-two-chinese-chars`]:j&&P&&!z,[`${M}-block`]:E,[`${M}-dangerous`]:l,[`${M}-rtl`]:O==="rtl",[`${M}-icon-end`]:S==="end"},q,m,g,k==null?void 0:k.className),de=Object.assign(Object.assign({},k==null?void 0:k.style),T),Te=ie(C==null?void 0:C.icon,(r=k==null?void 0:k.classNames)===null||r===void 0?void 0:r.icon),Ee=Object.assign(Object.assign({},(p==null?void 0:p.icon)||{}),((a=k==null?void 0:k.styles)===null||a===void 0?void 0:a.icon)||{}),ge=v&&!z?ce.createElement(MX,{prefixCls:M,className:Te,style:Ee},v):ce.createElement(Nme,{existIcon:!!v,prefixCls:M,loading:z}),re=h||h===0?Ome(h,X&&P):null;if(ue.href!==void 0)return N(ce.createElement("a",Object.assign({},ue,{className:ie(me,{[`${M}-disabled`]:$}),href:$?void 0:ue.href,style:de,onClick:V,ref:Y,tabIndex:$?-1:0}),ge,re));let ne=ce.createElement("button",Object.assign({},R,{type:y,className:me,style:de,onClick:V,disabled:$,ref:Y}),ge,re,!!q&&ce.createElement(Zme,{key:"compact",prefixCls:M}));return XE(w)||(ne=ce.createElement(Qm,{component:"Button",disabled:z},ne)),N(ne)}),Rt=tge;Rt.Group=wme;Rt.__ANT_BUTTON=!0;function JE(e){return!!(e!=null&&e.then)}const FX=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:i,autoFocus:o,emitEvent:s,isSilent:l,quitOnNullishReturnValue:u,actionFn:d}=e,p=c.useRef(!1),f=c.useRef(null),[m,g]=wc(!1),h=function(){i==null||i.apply(void 0,arguments)};c.useEffect(()=>{let _=null;return o&&(_=setTimeout(()=>{var E;(E=f.current)===null||E===void 0||E.focus()})),()=>{_&&clearTimeout(_)}},[]);const v=_=>{JE(_)&&(g(!0),_.then(function(){g(!1,!0),h.apply(void 0,arguments),p.current=!1},E=>{if(g(!1,!0),p.current=!1,!(l!=null&&l()))return Promise.reject(E)}))},S=_=>{if(p.current)return;if(p.current=!0,!d){h();return}let E;if(s){if(E=d(_),u&&!JE(E)){p.current=!1,h(_);return}}else if(d.length)E=d(i),p.current=!1;else if(E=d(),!JE(E)){h();return}v(E)};return c.createElement(Rt,Object.assign({},DX(t),{onClick:S,loading:m,prefixCls:r},a,{ref:f}),n)},Jm=ce.createContext({}),{Provider:BX}=Jm,sB=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:i,close:o,onCancel:s,onConfirm:l}=c.useContext(Jm);return a?ce.createElement(FX,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${i}-btn`},n):null},lB=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:i,okType:o,onConfirm:s,onOk:l}=c.useContext(Jm);return ce.createElement(FX,{isSilent:n,type:o||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},i)};var UX=c.createContext(null),cB=[];function nge(e,t){var n=c.useState(function(){if(!Jr())return null;var g=document.createElement("div");return g}),r=oe(n,1),a=r[0],i=c.useRef(!1),o=c.useContext(UX),s=c.useState(cB),l=oe(s,2),u=l[0],d=l[1],p=o||(i.current?void 0:function(g){d(function(h){var v=[g].concat($e(h));return v})});function f(){a.parentElement||document.body.appendChild(a),i.current=!0}function m(){var g;(g=a.parentElement)===null||g===void 0||g.removeChild(a),i.current=!1}return Qt(function(){return e?o?o(f):f():m(),m},[e]),Qt(function(){u.length&&(u.forEach(function(g){return g()}),d(cB))},[u]),[a,p]}var ey;function jX(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,i;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=l?"width: ".concat(s.width,";"):"",p=u?"height: ".concat(s.height,";"):"";fs(` + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:y,animationDuration:p,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},Wfe=e=>({zIndexPopup:e.zIndexPopupBase+TX+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),RX=sn("Message",e=>{const t=Ht(e,{height:150});return[qfe(t)]},Wfe);var Yfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,type:n,icon:r,children:a}=e;return c.createElement("div",{className:ie(`${t}-custom-content`,`${t}-${n}`)},r||Kfe[n],c.createElement("span",null,a))},Xfe=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:i}=e,o=Yfe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=c.useContext(lt),l=t||s("message"),u=Hn(l),[d,p,f]=RX(l,u);return d(c.createElement(yX,Object.assign({},o,{prefixCls:l,className:ie(n,p,`${l}-notice-pure-panel`,f,u),eventKey:"pure",duration:null,content:c.createElement(wX,{prefixCls:l,type:r,icon:a},i)})))};function Qfe(e,t){return{motionName:t??`${e}-move-up`}}function BL(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,i)=>n.then(a,i),r.promise=n,r}var Zfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=Hn(n),[a,i,o]=RX(n,r);return a(c.createElement(Dfe,{classNames:{list:ie(i,o,r)}},t))},nme=(e,t)=>{let{prefixCls:n,key:r}=t;return c.createElement(tme,{prefixCls:n,key:r},e)},rme=c.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:i,duration:o=eme,rtl:s,transitionName:l,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:p,message:f,direction:m}=c.useContext(lt),g=r||d("message"),h=()=>({left:"50%",transform:"translateX(-50%)",top:n??Jfe}),v=()=>ie({[`${g}-rtl`]:s??m==="rtl"}),S=()=>Qfe(g,l),b=c.createElement("span",{className:`${g}-close-x`},c.createElement(na,{className:`${g}-close-icon`})),[E,y]=Ufe({prefixCls:g,style:h,className:v,motion:S,closable:!1,closeIcon:b,duration:o,getContainer:()=>(a==null?void 0:a())||(p==null?void 0:p())||document.body,maxCount:i,onAllRemoved:u,renderNotifications:nme});return c.useImperativeHandle(t,()=>Object.assign(Object.assign({},E),{prefixCls:g,message:f})),y});let tB=0;function IX(e){const t=c.useRef(null);return Ol(),[c.useMemo(()=>{const r=l=>{var u;(u=t.current)===null||u===void 0||u.close(l)},a=l=>{if(!t.current){const T=()=>{};return T.then=()=>{},T}const{open:u,prefixCls:d,message:p}=t.current,f=`${d}-notice`,{content:m,icon:g,type:h,key:v,className:S,style:b,onClose:E}=l,y=Zfe(l,["content","icon","type","key","className","style","onClose"]);let C=v;return C==null&&(tB+=1,C=`antd-message-${tB}`),BL(T=>(u(Object.assign(Object.assign({},y),{key:C,content:c.createElement(wX,{prefixCls:d,type:h,icon:g},m),placement:"top",className:ie(h&&`${f}-${h}`,S,p==null?void 0:p.className),style:Object.assign(Object.assign({},p==null?void 0:p.style),b),onClose:()=>{E==null||E(),T()}})),()=>{r(C)}))},o={open:a,destroy:l=>{var u;l!==void 0?r(l):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const u=(d,p,f)=>{let m;d&&typeof d=="object"&&"content"in d?m=d:m={content:d};let g,h;typeof p=="function"?h=p:(g=p,h=f);const v=Object.assign(Object.assign({onClose:h,duration:g},m),{type:l});return a(v)};o[l]=u}),o},[]),c.createElement(rme,Object.assign({key:"message-holder"},e,{ref:t}))]}function ame(e){return IX(e)}function ime(){const[e,t]=c.useState([]),n=c.useCallback(r=>(t(a=>[].concat($e(a),[r])),()=>{t(a=>a.filter(i=>i!==r))}),[]);return[e,n]}function zn(){zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(A,D,L){A[D]=L.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(A,D,L){return Object.defineProperty(A,D,{value:L,enumerable:!0,configurable:!0,writable:!0}),A[D]}try{u({},"")}catch{u=function(L,$,F){return L[$]=F}}function d(A,D,L,$){var F=D&&D.prototype instanceof S?D:S,B=Object.create(F.prototype),z=new M($||[]);return a(B,"_invoke",{value:I(A,L,z)}),B}function p(A,D,L){try{return{type:"normal",arg:A.call(D,L)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var f="suspendedStart",m="suspendedYield",g="executing",h="completed",v={};function S(){}function b(){}function E(){}var y={};u(y,o,function(){return this});var C=Object.getPrototypeOf,T=C&&C(C(N([])));T&&T!==n&&r.call(T,o)&&(y=T);var x=E.prototype=S.prototype=Object.create(y);function R(A){["next","throw","return"].forEach(function(D){u(A,D,function(L){return this._invoke(D,L)})})}function w(A,D){function L(F,B,z,U){var j=p(A[F],A,B);if(j.type!=="throw"){var G=j.arg,J=G.value;return J&>(J)=="object"&&r.call(J,"__await")?D.resolve(J.__await).then(function(Y){L("next",Y,z,U)},function(Y){L("throw",Y,z,U)}):D.resolve(J).then(function(Y){G.value=Y,z(G)},function(Y){return L("throw",Y,z,U)})}U(j.arg)}var $;a(this,"_invoke",{value:function(B,z){function U(){return new D(function(j,G){L(B,z,j,G)})}return $=$?$.then(U,U):U()}})}function I(A,D,L){var $=f;return function(F,B){if($===g)throw Error("Generator is already running");if($===h){if(F==="throw")throw B;return{value:e,done:!0}}for(L.method=F,L.arg=B;;){var z=L.delegate;if(z){var U=O(z,L);if(U){if(U===v)continue;return U}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if($===f)throw $=h,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);$=g;var j=p(A,D,L);if(j.type==="normal"){if($=L.done?h:m,j.arg===v)continue;return{value:j.arg,done:L.done}}j.type==="throw"&&($=h,L.method="throw",L.arg=j.arg)}}}function O(A,D){var L=D.method,$=A.iterator[L];if($===e)return D.delegate=null,L==="throw"&&A.iterator.return&&(D.method="return",D.arg=e,O(A,D),D.method==="throw")||L!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+L+"' method")),v;var F=p($,A.iterator,D.arg);if(F.type==="throw")return D.method="throw",D.arg=F.arg,D.delegate=null,v;var B=F.arg;return B?B.done?(D[A.resultName]=B.value,D.next=A.nextLoc,D.method!=="return"&&(D.method="next",D.arg=e),D.delegate=null,v):B:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,v)}function k(A){var D={tryLoc:A[0]};1 in A&&(D.catchLoc=A[1]),2 in A&&(D.finallyLoc=A[2],D.afterLoc=A[3]),this.tryEntries.push(D)}function P(A){var D=A.completion||{};D.type="normal",delete D.arg,A.completion=D}function M(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(k,this),this.reset(!0)}function N(A){if(A||A===""){var D=A[o];if(D)return D.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var L=-1,$=function F(){for(;++L=0;--F){var B=this.tryEntries[F],z=B.completion;if(B.tryLoc==="root")return $("end");if(B.tryLoc<=this.prev){var U=r.call(B,"catchLoc"),j=r.call(B,"finallyLoc");if(U&&j){if(this.prev=0;--$){var F=this.tryEntries[$];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--L){var $=this.tryEntries[L];if($.finallyLoc===D)return this.complete($.completion,$.afterLoc),P($),v}},catch:function(D){for(var L=this.tryEntries.length-1;L>=0;--L){var $=this.tryEntries[L];if($.tryLoc===D){var F=$.completion;if(F.type==="throw"){var B=F.arg;P($)}return B}}throw Error("illegal catch attempt")},delegateYield:function(D,L,$){return this.delegate={iterator:N(D),resultName:L,nextLoc:$},this.method==="next"&&(this.arg=e),v}},t}function nB(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,a)}function ci(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(l){nB(i,r,a,o,s,"next",l)}function s(l){nB(i,r,a,o,s,"throw",l)}o(void 0)})}}var Zm=ee({},ule),ome=Zm.version,sme=Zm.render,lme=Zm.unmountComponentAtNode,Db;try{var cme=Number((ome||"").split(".")[0]);cme>=18&&(Db=Zm.createRoot)}catch{}function rB(e){var t=Zm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&>(t)==="object"&&(t.usingClientEntryPoint=e)}var b_="__rc_react_root__";function ume(e,t){rB(!0);var n=t[b_]||Db(t);rB(!1),n.render(e),t[b_]=n}function dme(e,t){sme(e,t)}function UL(e,t){if(Db){ume(e,t);return}dme(e,t)}function pme(e){return zA.apply(this,arguments)}function zA(){return zA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[b_])===null||a===void 0||a.unmount(),delete t[b_]}));case 1:case"end":return r.stop()}},e)})),zA.apply(this,arguments)}function fme(e){lme(e)}function OX(e){return HA.apply(this,arguments)}function HA(){return HA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Db===void 0){r.next=2;break}return r.abrupt("return",pme(t));case 2:fme(t);case 3:case"end":return r.stop()}},e)})),HA.apply(this,arguments)}const KE=()=>({height:0,opacity:0}),aB=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},mme=e=>({height:e?e.offsetHeight:0}),XE=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Td=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:mm}-motion-collapse`,onAppearStart:KE,onEnterStart:KE,onAppearActive:aB,onEnterActive:aB,onLeaveStart:mme,onLeaveActive:KE,onAppearEnd:XE,onEnterEnd:XE,onLeaveEnd:XE,motionDeadline:500}},ya=(e,t,n)=>n!==void 0?n:`${e}-${t}`,Kd=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),i=a.width,o=a.height;if(i||o)return!0}}return!1},gme=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},hme=dpe("Wave",e=>[gme(e)]),Mb=`${mm}-wave-target`;function vme(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function QE(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&vme(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function _me(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return QE(t)?t:QE(n)?n:QE(r)?r:null}function ZE(e){return Number.isNaN(e)?0:e}const bme=e=>{const{className:t,target:n,component:r}=e,a=c.useRef(null),[i,o]=c.useState(null),[s,l]=c.useState([]),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=c.useState(0),[h,v]=c.useState(0),[S,b]=c.useState(!1),E={left:u,top:p,width:m,height:h,borderRadius:s.map(T=>`${T}px`).join(" ")};i&&(E["--wave-color"]=i);function y(){const T=getComputedStyle(n);o(_me(n));const x=T.position==="static",{borderLeftWidth:R,borderTopWidth:w}=T;d(x?n.offsetLeft:ZE(-parseFloat(R))),f(x?n.offsetTop:ZE(-parseFloat(w))),g(n.offsetWidth),v(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:O,borderBottomLeftRadius:k,borderBottomRightRadius:P}=T;l([I,O,P,k].map(M=>ZE(parseFloat(M))))}if(c.useEffect(()=>{if(n){const T=Gt(()=>{y(),b(!0)});let x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(y),x.observe(n)),()=>{Gt.cancel(T),x==null||x.disconnect()}}},[]),!S)return null;const C=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Mb));return c.createElement(ta,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,x)=>{var R;if(x.deadline||x.propertyName==="opacity"){const w=(R=a.current)===null||R===void 0?void 0:R.parentElement;OX(w).then(()=>{w==null||w.remove()})}return!1}},(T,x)=>{let{className:R}=T;return c.createElement("div",{ref:aa(a,x),className:ie(t,R,{"wave-quick":C}),style:E})})},Sme=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild),UL(c.createElement(bme,Object.assign({},t,{target:e})),a)},Eme=(e,t,n)=>{const{wave:r}=c.useContext(lt),[,a,i]=ia(),o=Wt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const p=d.querySelector(`.${Mb}`)||d,{showEffect:f}=r||{};(f||Sme)(p,{className:t,token:a,component:n,event:u,hashId:i})}),s=c.useRef();return u=>{Gt.cancel(s.current),s.current=Gt(()=>{o(u)})}},Jm=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=c.useContext(lt),i=c.useRef(null),o=a("wave"),[,s]=hme(o),l=Eme(i,ie(o,s),r);if(ce.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const p=f=>{!Kd(f.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||l(f)};return d.addEventListener("click",p,!0),()=>{d.removeEventListener("click",p,!0)}},[n]),!ce.isValidElement(t))return t??null;const u=mo(t)?aa(t.ref,i):i;return Tr(t,{ref:u})},xr=e=>{const t=ce.useContext(Rc);return ce.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},yme=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Cme=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Tme=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},NX=sn("Space",e=>{const t=Ht(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Cme(t),Tme(t),yme(t)]},()=>({}),{resetStyle:!1});var AX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=c.useContext(Lb),r=c.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:i,isLastItem:o}=n,s=a==="vertical"?"-vertical-":"-";return ie(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},xme=e=>{let{children:t}=e;return c.createElement(Lb.Provider,{value:null},t)},Rme=e=>{var{children:t}=e,n=AX(e,["children"]);return c.createElement(Lb.Provider,{value:n},t)},wme=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{size:r,direction:a,block:i,prefixCls:o,className:s,rootClassName:l,children:u}=e,d=AX(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=xr(E=>r??E),f=t("space-compact",o),[m,g]=NX(f),h=ie(f,g,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:i,[`${f}-vertical`]:a==="vertical"},s,l),v=c.useContext(Lb),S=_r(u),b=c.useMemo(()=>S.map((E,y)=>{const C=(E==null?void 0:E.key)||`${f}-item-${y}`;return c.createElement(Rme,{key:C,compactSize:p,compactDirection:a,isFirstItem:y===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:y===S.length-1&&(!v||(v==null?void 0:v.isLastItem))},E)}),[r,S,v]);return S.length===0?null:m(c.createElement("div",Object.assign({className:h},d),b))};var Ime=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=c.useContext(lt),{prefixCls:r,size:a,className:i}=e,o=Ime(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=ia();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=ie(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},i,l);return c.createElement(DX.Provider,{value:a},c.createElement("div",Object.assign({},o,{className:d})))},iB=/^[\u4e00-\u9fa5]{2}$/,GA=iB.test.bind(iB);function MX(e){return e==="danger"?{danger:!0}:{type:e}}function oB(e){return typeof e=="string"}function JE(e){return e==="text"||e==="link"}function Nme(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&oB(e.type)&&GA(e.props.children)?Tr(e,{children:e.props.children.split("").join(n)}):oB(e)?GA(e)?ce.createElement("span",null,e.split("").join(n)):ce.createElement("span",null,e):SX(e)?ce.createElement("span",null,e):e}function Ame(e,t){let n=!1;const r=[];return ce.Children.forEach(e,a=>{const i=typeof a,o=i==="string"||i==="number";if(n&&o){const s=r.length-1,l=r[s];r[s]=`${l}${a}`}else r.push(a);n=o}),ce.Children.map(r,a=>Nme(a,t))}const LX=c.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:i}=e,o=ie(`${i}-icon`,n);return ce.createElement("span",{ref:t,className:o,style:r},a)}),sB=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:i}=e,o=ie(`${n}-loading-icon`,r);return ce.createElement(LX,{prefixCls:n,className:o,style:a,ref:t},ce.createElement(jo,{className:i}))}),ey=()=>({width:0,opacity:0,transform:"scale(0)"}),ty=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Dme=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:i}=e,o=!!n;return r?ce.createElement(sB,{prefixCls:t,className:a,style:i}):ce.createElement(ta,{visible:o,motionName:`${t}-loading-icon-motion`,motionLeave:o,removeOnLeave:!0,onAppearStart:ey,onAppearActive:ty,onEnterStart:ey,onEnterActive:ty,onLeaveStart:ty,onLeaveActive:ey},(s,l)=>{let{className:u,style:d}=s;return ce.createElement(sB,{prefixCls:t,className:a,style:Object.assign(Object.assign({},i),d),ref:l,iconClassName:u})})},lB=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Mme=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},lB(`${t}-primary`,a),lB(`${t}-danger`,i)]}},kX=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Ht(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},PX=e=>{var t,n,r,a,i,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(a=e.contentLineHeight)!==null&&a!==void 0?a:_v(s),p=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:_v(l),f=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:_v(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*p)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*f)/2-e.lineWidth,0)}},Lme=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${X(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Uo(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},ys=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),kme=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Pme=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),$me=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),hm=(e,t,n,r,a,i,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ys(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:i||void 0}})}),jL=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},$me(e))}),$X=e=>Object.assign({},jL(e)),S_=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),FX=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$X(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ys(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),hm(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ys(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),hm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),jL(e))}),Fme=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$X(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),ys(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),hm(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},ys(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),hm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),jL(e))}),Bme=e=>Object.assign(Object.assign({},FX(e)),{borderStyle:"dashed"}),Ume=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ys(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),S_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ys(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),S_(e))}),jme=e=>Object.assign(Object.assign(Object.assign({},ys(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),S_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},S_(e)),ys(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),zme=e=>{const{componentCls:t}=e;return{[`${t}-default`]:FX(e),[`${t}-primary`]:Fme(e),[`${t}-dashed`]:Bme(e),[`${t}-link`]:Ume(e),[`${t}-text`]:jme(e),[`${t}-ghost`]:hm(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},zL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:i,borderRadius:o,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:i,height:r,padding:`${X(u)} ${X(s)}`,borderRadius:o,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:kme(e)},{[`${n}${n}-round${t}`]:Pme(e)}]},Hme=e=>{const t=Ht(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return zL(t,e.componentCls)},Gme=e=>{const t=Ht(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return zL(t,`${e.componentCls}-sm`)},Vme=e=>{const t=Ht(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return zL(t,`${e.componentCls}-lg`)},qme=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Wme=sn("Button",e=>{const t=kX(e);return[Lme(t),Hme(t),Gme(t),Vme(t),qme(t),zme(t),Mme(t)]},PX,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function Yme(e,t,n){const{focusElCls:r,focus:a,borderElCls:i}=n,o=i?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function Kme(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function eg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},Yme(e,r,t)),Kme(n,r,t))}}function Xme(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Qme(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Zme(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Xme(e,t)),Qme(e.componentCls,t))}}const Jme=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${X(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${X(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},ege=Wd(["Button","compact"],e=>{const t=kX(e);return[eg(t),Zme(t),Jme(t)]},PX);var tge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{loading:i=!1,prefixCls:o,type:s,danger:l=!1,shape:u="default",size:d,styles:p,disabled:f,className:m,rootClassName:g,children:h,icon:v,iconPosition:S="start",ghost:b=!1,block:E=!1,htmlType:y="button",classNames:C,style:T={},autoInsertSpace:x}=e,R=tge(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),w=s||"default",{getPrefixCls:I,direction:O,button:k}=c.useContext(lt),P=(n=x??(k==null?void 0:k.autoInsertSpace))!==null&&n!==void 0?n:!0,M=I("btn",o),[N,A,D]=Wme(M),L=c.useContext(ea),$=f??L,F=c.useContext(DX),B=c.useMemo(()=>nge(i),[i]),[z,U]=c.useState(B.loading),[j,G]=c.useState(!1),Y=aa(t,c.createRef()),Q=c.Children.count(h)===1&&!v&&!JE(w);c.useEffect(()=>{let ae=null;B.delay>0?ae=setTimeout(()=>{ae=null,U(!0)},B.delay):U(B.loading);function le(){ae&&(clearTimeout(ae),ae=null)}return le},[B]),c.useEffect(()=>{if(!Y||!Y.current||!P)return;const ae=Y.current.textContent;Q&&GA(ae)?j||G(!0):j&&G(!1)},[Y]);const V=ae=>{const{onClick:le}=e;if(z||$){ae.preventDefault();return}le==null||le(ae)},{compactSize:H,compactItemClassnames:q}=Is(M,O),K={large:"lg",small:"sm",middle:void 0},Z=xr(ae=>{var le,pe;return(pe=(le=d??H)!==null&&le!==void 0?le:F)!==null&&pe!==void 0?pe:ae}),te=Z&&K[Z]||"",se=z?"loading":v,ue=An(R,["navigate"]),me=ie(M,A,D,{[`${M}-${u}`]:u!=="default"&&u,[`${M}-${w}`]:w,[`${M}-${te}`]:te,[`${M}-icon-only`]:!h&&h!==0&&!!se,[`${M}-background-ghost`]:b&&!JE(w),[`${M}-loading`]:z,[`${M}-two-chinese-chars`]:j&&P&&!z,[`${M}-block`]:E,[`${M}-dangerous`]:l,[`${M}-rtl`]:O==="rtl",[`${M}-icon-end`]:S==="end"},q,m,g,k==null?void 0:k.className),de=Object.assign(Object.assign({},k==null?void 0:k.style),T),Te=ie(C==null?void 0:C.icon,(r=k==null?void 0:k.classNames)===null||r===void 0?void 0:r.icon),Ee=Object.assign(Object.assign({},(p==null?void 0:p.icon)||{}),((a=k==null?void 0:k.styles)===null||a===void 0?void 0:a.icon)||{}),ge=v&&!z?ce.createElement(LX,{prefixCls:M,className:Te,style:Ee},v):ce.createElement(Dme,{existIcon:!!v,prefixCls:M,loading:z}),re=h||h===0?Ame(h,Q&&P):null;if(ue.href!==void 0)return N(ce.createElement("a",Object.assign({},ue,{className:ie(me,{[`${M}-disabled`]:$}),href:$?void 0:ue.href,style:de,onClick:V,ref:Y,tabIndex:$?-1:0}),ge,re));let ne=ce.createElement("button",Object.assign({},R,{type:y,className:me,style:de,onClick:V,disabled:$,ref:Y}),ge,re,!!q&&ce.createElement(ege,{key:"compact",prefixCls:M}));return JE(w)||(ne=ce.createElement(Jm,{component:"Button",disabled:z},ne)),N(ne)}),wt=rge;wt.Group=Ome;wt.__ANT_BUTTON=!0;function ny(e){return!!(e!=null&&e.then)}const BX=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:i,autoFocus:o,emitEvent:s,isSilent:l,quitOnNullishReturnValue:u,actionFn:d}=e,p=c.useRef(!1),f=c.useRef(null),[m,g]=wc(!1),h=function(){i==null||i.apply(void 0,arguments)};c.useEffect(()=>{let b=null;return o&&(b=setTimeout(()=>{var E;(E=f.current)===null||E===void 0||E.focus()})),()=>{b&&clearTimeout(b)}},[]);const v=b=>{ny(b)&&(g(!0),b.then(function(){g(!1,!0),h.apply(void 0,arguments),p.current=!1},E=>{if(g(!1,!0),p.current=!1,!(l!=null&&l()))return Promise.reject(E)}))},S=b=>{if(p.current)return;if(p.current=!0,!d){h();return}let E;if(s){if(E=d(b),u&&!ny(E)){p.current=!1,h(b);return}}else if(d.length)E=d(i),p.current=!1;else if(E=d(),!ny(E)){h();return}v(E)};return c.createElement(wt,Object.assign({},MX(t),{onClick:S,loading:m,prefixCls:r},a,{ref:f}),n)},tg=ce.createContext({}),{Provider:UX}=tg,cB=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:i,close:o,onCancel:s,onConfirm:l}=c.useContext(tg);return a?ce.createElement(BX,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${i}-btn`},n):null},uB=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:i,okType:o,onConfirm:s,onOk:l}=c.useContext(tg);return ce.createElement(BX,{isSilent:n,type:o||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},i)};var jX=c.createContext(null),dB=[];function age(e,t){var n=c.useState(function(){if(!Jr())return null;var g=document.createElement("div");return g}),r=oe(n,1),a=r[0],i=c.useRef(!1),o=c.useContext(jX),s=c.useState(dB),l=oe(s,2),u=l[0],d=l[1],p=o||(i.current?void 0:function(g){d(function(h){var v=[g].concat($e(h));return v})});function f(){a.parentElement||document.body.appendChild(a),i.current=!0}function m(){var g;(g=a.parentElement)===null||g===void 0||g.removeChild(a),i.current=!1}return Qt(function(){return e?o?o(f):f():m(),m},[e]),Qt(function(){u.length&&(u.forEach(function(g){return g()}),d(dB))},[u]),[a,p]}var ry;function zX(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,i;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=l?"width: ".concat(s.width,";"):"",p=u?"height: ".concat(s.height,";"):"";gs(` #`.concat(t,`::-webkit-scrollbar { `).concat(d,` `).concat(p,` -}`),t)}catch(g){console.error(g),a=l,i=u}}document.body.appendChild(n);var f=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,m=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),sm(t),{width:f,height:m}}function uB(e){return typeof document>"u"?0:(ey===void 0&&(ey=jX()),ey.width)}function GA(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:jX(e)}function rge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var age="rc-util-locker-".concat(Date.now()),dB=0;function ige(e){var t=!!e,n=c.useState(function(){return dB+=1,"".concat(age,"_").concat(dB)}),r=oe(n,1),a=r[0];Qt(function(){if(t){var i=GA(document.body).width,o=rge();fs(` +}`),t)}catch(g){console.error(g),a=l,i=u}}document.body.appendChild(n);var f=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,m=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),cm(t),{width:f,height:m}}function pB(e){return typeof document>"u"?0:(ry===void 0&&(ry=zX()),ry.width)}function VA(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:zX(e)}function ige(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var oge="rc-util-locker-".concat(Date.now()),fB=0;function sge(e){var t=!!e,n=c.useState(function(){return fB+=1,"".concat(oge,"_").concat(fB)}),r=oe(n,1),a=r[0];Qt(function(){if(t){var i=VA(document.body).width,o=ige();gs(` html body { overflow-y: hidden; `.concat(o?"width: calc(100% - ".concat(i,"px);"):"",` -}`),a)}else sm(a);return function(){sm(a)}},[t,a])}var oge=!1;function sge(e){return oge}var pB=function(t){return t===!1?!1:!Jr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},eg=c.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var i=e.autoDestroy,o=i===void 0?!0:i,s=e.children,l=c.useState(n),u=oe(l,2),d=u[0],p=u[1],f=d||n;c.useEffect(function(){(o||n)&&p(n)},[n,o]);var m=c.useState(function(){return pB(a)}),g=oe(m,2),h=g[0],v=g[1];c.useEffect(function(){var O=pB(a);v(O??null)});var S=nge(f&&!h),_=oe(S,2),E=_[0],y=_[1],C=h??E;ige(r&&n&&Jr()&&(C===E||C===document.body));var T=null;if(s&&fo(s)&&t){var x=s;T=x.ref}var R=Rs(T,t);if(!f||!Jr()||h===void 0)return null;var w=C===!1||sge(),I=s;return t&&(I=c.cloneElement(s,{ref:R})),c.createElement(UX.Provider,{value:y},w?I:Ur.createPortal(I,C))}),zX=c.createContext({});function lge(){var e=ee({},zm);return e.useId}var fB=0,mB=lge();const HX=mB?function(t){var n=mB();return t||n}:function(t){var n=c.useState("ssr-id"),r=oe(n,2),a=r[0],i=r[1];return c.useEffect(function(){var o=fB;fB+=1,i("rc_unique_".concat(o))},[]),t||a};function gB(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function hB(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function cge(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=hB(a),n.top+=hB(a,!0),n}const uge=c.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var vB={width:0,height:0,overflow:"hidden",outline:"none"},dge={outline:"none"},GX=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.title,o=e.ariaId,s=e.footer,l=e.closable,u=e.closeIcon,d=e.onClose,p=e.children,f=e.bodyStyle,m=e.bodyProps,g=e.modalRender,h=e.onMouseDown,v=e.onMouseUp,S=e.holderRef,_=e.visible,E=e.forceRender,y=e.width,C=e.height,T=e.classNames,x=e.styles,R=ce.useContext(zX),w=R.panel,I=Rs(S,w),O=c.useRef(),k=c.useRef(),P=c.useRef();ce.useImperativeHandle(t,function(){return{focus:function(){var U;(U=P.current)===null||U===void 0||U.focus({preventScroll:!0})},changeActive:function(U){var j=document,G=j.activeElement;U&&G===k.current?O.current.focus({preventScroll:!0}):!U&&G===O.current&&k.current.focus({preventScroll:!0})}}});var M={};y!==void 0&&(M.width=y),C!==void 0&&(M.height=C);var N=s?ce.createElement("div",{className:ie("".concat(n,"-footer"),T==null?void 0:T.footer),style:ee({},x==null?void 0:x.footer)},s):null,A=i?ce.createElement("div",{className:ie("".concat(n,"-header"),T==null?void 0:T.header),style:ee({},x==null?void 0:x.header)},ce.createElement("div",{className:"".concat(n,"-title"),id:o},i)):null,D=c.useMemo(function(){return gt(l)==="object"&&l!==null?l:l?{closeIcon:u??ce.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,u,n]),L=Qn(D,!0),$=gt(l)==="object"&&l.disabled,F=l?ce.createElement("button",_e({type:"button",onClick:d,"aria-label":"Close"},L,{className:"".concat(n,"-close"),disabled:$}),D.closeIcon):null,B=ce.createElement("div",{className:ie("".concat(n,"-content"),T==null?void 0:T.content),style:x==null?void 0:x.content},F,A,ce.createElement("div",_e({className:ie("".concat(n,"-body"),T==null?void 0:T.body),style:ee(ee({},f),x==null?void 0:x.body)},m),p),N);return ce.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?o:null,"aria-modal":"true",ref:I,style:ee(ee({},a),M),className:ie(n,r),onMouseDown:h,onMouseUp:v},ce.createElement("div",{tabIndex:0,ref:O,style:vB,"aria-hidden":"true"}),ce.createElement("div",{ref:P,tabIndex:-1,style:dge},ce.createElement(uge,{shouldUpdate:_||E},g?g(B):B)),ce.createElement("div",{tabIndex:0,ref:k,style:vB,"aria-hidden":"true"}))}),VX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,i=e.className,o=e.visible,s=e.forceRender,l=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,m=c.useRef(),g=c.useState(),h=oe(g,2),v=h[0],S=h[1],_={};v&&(_.transformOrigin=v);function E(){var y=cge(m.current);S(f&&(f.x||f.y)?"".concat(f.x-y.left,"px ").concat(f.y-y.top,"px"):"")}return c.createElement(ta,{visible:o,onVisibleChanged:p,onAppearPrepare:E,onEnterPrepare:E,forceRender:s,motionName:u,removeOnLeave:l,ref:m},function(y,C){var T=y.className,x=y.style;return c.createElement(GX,_e({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:C,style:ee(ee(ee({},x),a),_),className:ie(i,T)}))})});VX.displayName="Content";var pge=function(t){var n=t.prefixCls,r=t.style,a=t.visible,i=t.maskProps,o=t.motionName,s=t.className;return c.createElement(ta,{key:"mask",visible:a,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(l,u){var d=l.className,p=l.style;return c.createElement("div",_e({ref:u,style:ee(ee({},p),r),className:ie("".concat(n,"-mask"),d,s)},i))})},fge=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,i=t.visible,o=i===void 0?!1:i,s=t.keyboard,l=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,p=t.wrapStyle,f=t.wrapClassName,m=t.wrapProps,g=t.onClose,h=t.afterOpenChange,v=t.afterClose,S=t.transitionName,_=t.animation,E=t.closable,y=E===void 0?!0:E,C=t.mask,T=C===void 0?!0:C,x=t.maskTransitionName,R=t.maskAnimation,w=t.maskClosable,I=w===void 0?!0:w,O=t.maskStyle,k=t.maskProps,P=t.rootClassName,M=t.classNames,N=t.styles,A=c.useRef(),D=c.useRef(),L=c.useRef(),$=c.useState(o),F=oe($,2),B=F[0],z=F[1],U=HX();function j(){fA(D.current,document.activeElement)||(A.current=document.activeElement)}function G(){if(!fA(D.current,document.activeElement)){var se;(se=L.current)===null||se===void 0||se.focus()}}function J(se){if(se)G();else{if(z(!1),T&&A.current&&d){try{A.current.focus({preventScroll:!0})}catch{}A.current=null}B&&(v==null||v())}h==null||h(se)}function Y(se){g==null||g(se)}var X=c.useRef(!1),V=c.useRef(),H=function(){clearTimeout(V.current),X.current=!0},q=function(){V.current=setTimeout(function(){X.current=!1})},K=null;I&&(K=function(ue){X.current?X.current=!1:D.current===ue.target&&Y(ue)});function Z(se){if(l&&se.keyCode===Fe.ESC){se.stopPropagation(),Y(se);return}o&&se.keyCode===Fe.TAB&&L.current.changeActive(!se.shiftKey)}c.useEffect(function(){o&&(z(!0),j())},[o]),c.useEffect(function(){return function(){clearTimeout(V.current)}},[]);var te=ee(ee(ee({zIndex:a},p),N==null?void 0:N.wrapper),{},{display:B?null:"none"});return c.createElement("div",_e({className:ie("".concat(r,"-root"),P)},Qn(t,{data:!0})),c.createElement(pge,{prefixCls:r,visible:T&&o,motionName:gB(r,x,R),style:ee(ee({zIndex:a},O),N==null?void 0:N.mask),maskProps:k,className:M==null?void 0:M.mask}),c.createElement("div",_e({tabIndex:-1,onKeyDown:Z,className:ie("".concat(r,"-wrap"),f,M==null?void 0:M.wrapper),ref:D,onClick:K,style:te},m),c.createElement(VX,_e({},t,{onMouseDown:H,onMouseUp:q,ref:L,closable:y,ariaId:U,prefixCls:r,visible:o&&B,onClose:Y,onVisibleChanged:J,motionName:gB(r,S,_)}))))},jL=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,i=t.destroyOnClose,o=i===void 0?!1:i,s=t.afterClose,l=t.panelRef,u=c.useState(n),d=oe(u,2),p=d[0],f=d[1],m=c.useMemo(function(){return{panel:l}},[l]);return c.useEffect(function(){n&&f(!0)},[n]),!a&&o&&!p?null:c.createElement(zX.Provider,{value:m},c.createElement(eg,{open:n||a||p,autoDestroy:!1,getContainer:r,autoLock:n||p},c.createElement(fge,_e({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),f(!1)}}))))};jL.displayName="Dialog";var tc="RC_FORM_INTERNAL_HOOKS",Fn=function(){bn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ic=c.createContext({getFieldValue:Fn,getFieldsValue:Fn,getFieldError:Fn,getFieldWarning:Fn,getFieldsError:Fn,isFieldsTouched:Fn,isFieldTouched:Fn,isFieldValidating:Fn,isFieldsValidating:Fn,resetFields:Fn,setFields:Fn,setFieldValue:Fn,setFieldsValue:Fn,validateFields:Fn,submit:Fn,getInternalHooks:function(){return Fn(),{dispatch:Fn,initEntityValue:Fn,registerField:Fn,useSubscribe:Fn,setInitialValues:Fn,destroyForm:Fn,setCallbacks:Fn,registerWatch:Fn,getFields:Fn,setValidateMessages:Fn,setPreserve:Fn,getInitialValue:Fn}}}),gm=c.createContext(null);function VA(e){return e==null?[]:Array.isArray(e)?e:[e]}function mge(e){return e&&!!e._init}function qA(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var WA=qA();function gge(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function hge(e,t,n){if(yb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&im(a,n.prototype),a}function YA(e){var t=typeof Map=="function"?new Map:void 0;return YA=function(r){if(r===null||!gge(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return hge(r,arguments,Tc(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),im(a,r)},YA(e)}var vge=/%[sdj%]/g,_ge=function(){};function KA(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function ui(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function bge(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Hr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||bge(t)&&typeof e=="string"&&!e)}function Sge(e,t,n){var r=[],a=0,i=e.length;function o(s){r.push.apply(r,$e(s||[])),a++,a===i&&n(r)}e.forEach(function(s){t(s,o)})}function _B(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?a.push(ui(i.messages[p].max,t.fullField,t.max)):s&&l&&(dt.max)&&a.push(ui(i.messages[p].range,t.fullField,t.min,t.max))},qX=function(t,n,r,a,i,o){t.required&&(!r.hasOwnProperty(t.field)||Hr(n,o||t.type))&&a.push(ui(i.messages.required,t.fullField))},ph;const Ige=function(){if(ph)return ph;var e="[a-fA-F\\d:]",t=function(T){return T&&T.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(a.join("|"),")").concat(i),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(o,"$")),d=function(T){return T&&T.exact?s:new RegExp("(?:".concat(t(T)).concat(n).concat(t(T),")|(?:").concat(t(T)).concat(o).concat(t(T),")"),"g")};d.v4=function(C){return C&&C.exact?l:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},d.v6=function(C){return C&&C.exact?u:new RegExp("".concat(t(C)).concat(o).concat(t(C)),"g")};var p="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",m=d.v4().source,g=d.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",_="(?::\\d{2,5})?",E='(?:[/?#][^\\s"]*)?',y="(?:".concat(p,"|www\\.)").concat(f,"(?:localhost|").concat(m,"|").concat(g,"|").concat(h).concat(v).concat(S,")").concat(_).concat(E);return ph=new RegExp("(?:^".concat(y,"$)"),"i"),ph};var yB={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Kp={integer:function(t){return Kp.number(t)&&parseInt(t,10)===t},float:function(t){return Kp.number(t)&&!Kp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return gt(t)==="object"&&!Kp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(yB.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Ige())},hex:function(t){return typeof t=="string"&&!!t.match(yB.hex)}},Oge=function(t,n,r,a,i){if(t.required&&n===void 0){qX(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Kp[s](n)||a.push(ui(i.messages.types[s],t.fullField,t.type)):s&>(n)!==t.type&&a.push(ui(i.messages.types[s],t.fullField,t.type))},Nge=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(ui(i.messages.whitespace,t.fullField))};const hn={required:qX,whitespace:Nge,type:Oge,range:wge,enum:xge,pattern:Rge};var Age=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i)}r(o)},Dge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();hn.required(t,n,a,o,i,"array"),n!=null&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Mge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Lge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"date")&&!t.required)return r();if(hn.required(t,n,a,o,i),!Hr(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),hn.type(t,l,a,o,i),l&&hn.range(t,l.getTime(),a,o,i)}}r(o)},kge="enum",Pge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn[kge](t,n,a,o,i)}r(o)},$ge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Fge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Bge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Uge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},jge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},zge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n,"string")||hn.pattern(t,n,a,o,i)}r(o)},Hge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n)||hn.type(t,n,a,o,i)}r(o)},Gge=function(t,n,r,a,i){var o=[],s=Array.isArray(n)?"array":gt(n);hn.required(t,n,a,o,i,s),r(o)},Vge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i,"string"),Hr(n,"string")||(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i),hn.pattern(t,n,a,o,i),t.whitespace===!0&&hn.whitespace(t,n,a,o,i))}r(o)},ty=function(t,n,r,a,i){var o=t.type,s=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(Hr(n,o)&&!t.required)return r();hn.required(t,n,a,s,i,o),Hr(n,o)||hn.type(t,n,a,s,i)}r(s)};const Ef={string:Vge,method:Bge,number:Uge,boolean:Mge,regexp:Hge,integer:Fge,float:$ge,array:Dge,object:jge,enum:Pge,pattern:zge,date:Lge,url:ty,hex:ty,email:ty,required:Gge,any:Age};var tg=function(){function e(t){Jn(this,e),W(this,"rules",null),W(this,"_messages",WA),this.define(t)}return er(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(gt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var i=n[a];r.rules[a]=Array.isArray(i)?i:[i]})}},{key:"messages",value:function(n){return n&&(this._messages=EB(qA(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=a,l=i;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function u(g){var h=[],v={};function S(E){if(Array.isArray(E)){var y;h=(y=h).concat.apply(y,$e(E))}else h.push(E)}for(var _=0;_0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(x)?x:[x];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&v.message!==void 0&&(R=[].concat(v.message));var w=R.map(SB(v,o));if(s.first&&w.length)return m[v.field]=1,h(w);if(!S)h(w);else{if(v.required&&!g.value)return v.message!==void 0?w=[].concat(v.message).map(SB(v,o)):s.error&&(w=[s.error(v,ui(s.messages.required,v.field))]),h(w);var I={};v.defaultField&&Object.keys(g.value).map(function(P){I[P]=v.defaultField}),I=ee(ee({},I),g.rule.fields);var O={};Object.keys(I).forEach(function(P){var M=I[P],N=Array.isArray(M)?M:[M];O[P]=N.map(_.bind(null,P))});var k=new e(O);k.messages(s.messages),g.rule.options&&(g.rule.options.messages=s.messages,g.rule.options.error=s.error),k.validate(g.value,g.rule.options||s,function(P){var M=[];w&&w.length&&M.push.apply(M,$e(w)),P&&P.length&&M.push.apply(M,$e(P)),h(M.length?M:null)})}}var y;if(v.asyncValidator)y=v.asyncValidator(v,g.value,E,g.source,s);else if(v.validator){try{y=v.validator(v,g.value,E,g.source,s)}catch(x){var C,T;(C=(T=console).error)===null||C===void 0||C.call(T,x),s.suppressValidatorError||setTimeout(function(){throw x},0),E(x.message)}y===!0?E():y===!1?E(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):y instanceof Array?E(y):y instanceof Error&&E(y.message)}y&&y.then&&y.then(function(){return E()},function(x){return E(x)})},function(g){u(g)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Ef.hasOwnProperty(n.type))throw new Error(ui("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?Ef.required:Ef[this.getType(n)]||void 0}}]),e}();W(tg,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ef[t]=n});W(tg,"warning",_ge);W(tg,"messages",WA);W(tg,"validators",Ef);var ti="'${name}' is not a valid ${type}",WX={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ti,method:ti,array:ti,object:ti,number:ti,date:ti,boolean:ti,integer:ti,float:ti,regexp:ti,email:ti,url:ti,hex:ti},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},CB=tg;function qge(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var TB="CODE_LOGIC_ERROR";function XA(e,t,n,r,a){return QA.apply(this,arguments)}function QA(){return QA=ci(zn().mark(function e(t,n,r,a,i){var o,s,l,u,d,p,f,m,g;return zn().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=ee({},r),delete o.ruleIndex,CB.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(TB)}}),l=null,o&&o.type==="array"&&o.defaultField&&(l=o.defaultField,delete o.defaultField),u=new CB(W({},t,[o])),d=$u(WX,a.validateMessages),u.messages(d),p=[],v.prev=10,v.next=13,Promise.resolve(u.validate(W({},t,n),ee({},a)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(p=v.t0.errors.map(function(S,_){var E=S.message,y=E===TB?d.default:E;return c.isValidElement(y)?c.cloneElement(y,{key:"error_".concat(_)}):y}));case 18:if(!(!p.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(S,_){return XA("".concat(t,".").concat(_),S,l,a,i)}));case 21:return f=v.sent,v.abrupt("return",f.reduce(function(S,_){return[].concat($e(S),$e(_))},[]));case 23:return m=ee(ee({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),g=p.map(function(S){return typeof S=="string"?qge(S,m):S}),v.abrupt("return",g);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),QA.apply(this,arguments)}function Wge(e,t,n,r,a,i){var o=e.join("."),s=n.map(function(d,p){var f=d.validator,m=ee(ee({},d),{},{ruleIndex:p});return f&&(m.validator=function(g,h,v){var S=!1,_=function(){for(var C=arguments.length,T=new Array(C),x=0;x2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return YX(t,r,n)})}function YX(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function Xge(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||gt(e)!=="object"||gt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return $e(a).every(function(i){var o=e[i],s=t[i];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function Qge(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&>(t.target)==="object"&&e in t.target?t.target[e]:t}function RB(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],i=t-n;return i>0?[].concat($e(e.slice(0,n)),[a],$e(e.slice(n,t)),$e(e.slice(t+1,r))):i<0?[].concat($e(e.slice(0,t)),$e(e.slice(t+1,n+1)),[a],$e(e.slice(n+1,r))):e}var Zge=["name"],yi=[];function ny(e,t,n,r,a,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==a}var zL=function(e){Si(n,e);var t=Wi(n);function n(r){var a;if(Jn(this,n),a=t.call(this,r),W(Ge(a),"state",{resetCount:0}),W(Ge(a),"cancelRegisterFunc",null),W(Ge(a),"mounted",!1),W(Ge(a),"touched",!1),W(Ge(a),"dirty",!1),W(Ge(a),"validatePromise",void 0),W(Ge(a),"prevValidating",void 0),W(Ge(a),"errors",yi),W(Ge(a),"warnings",yi),W(Ge(a),"cancelRegister",function(){var l=a.props,u=l.preserve,d=l.isListField,p=l.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,yr(p)),a.cancelRegisterFunc=null}),W(Ge(a),"getNamePath",function(){var l=a.props,u=l.name,d=l.fieldContext,p=d.prefixName,f=p===void 0?[]:p;return u!==void 0?[].concat($e(f),$e(u)):[]}),W(Ge(a),"getRules",function(){var l=a.props,u=l.rules,d=u===void 0?[]:u,p=l.fieldContext;return d.map(function(f){return typeof f=="function"?f(p):f})}),W(Ge(a),"refresh",function(){a.mounted&&a.setState(function(l){var u=l.resetCount;return{resetCount:u+1}})}),W(Ge(a),"metaCache",null),W(Ge(a),"triggerMetaEvent",function(l){var u=a.props.onMetaChange;if(u){var d=ee(ee({},a.getMeta()),{},{destroy:l});Ui(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),W(Ge(a),"onStoreChange",function(l,u,d){var p=a.props,f=p.shouldUpdate,m=p.dependencies,g=m===void 0?[]:m,h=p.onReset,v=d.store,S=a.getNamePath(),_=a.getValue(l),E=a.getValue(v),y=u&&ed(u,S);switch(d.type==="valueUpdate"&&d.source==="external"&&!Ui(_,E)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=yi,a.warnings=yi,a.triggerMetaEvent()),d.type){case"reset":if(!u||y){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=yi,a.warnings=yi,a.triggerMetaEvent(),h==null||h(),a.refresh();return}break;case"remove":{if(f&&ny(f,l,v,_,E,d)){a.reRender();return}break}case"setField":{var C=d.data;if(y){"touched"in C&&(a.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(a.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(a.errors=C.errors||yi),"warnings"in C&&(a.warnings=C.warnings||yi),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in C&&ed(u,S,!0)){a.reRender();return}if(f&&!S.length&&ny(f,l,v,_,E,d)){a.reRender();return}break}case"dependenciesUpdate":{var T=g.map(yr);if(T.some(function(x){return ed(d.relatedFields,x)})){a.reRender();return}break}default:if(y||(!g.length||S.length||f)&&ny(f,l,v,_,E,d)){a.reRender();return}break}f===!0&&a.reRender()}),W(Ge(a),"validateRules",function(l){var u=a.getNamePath(),d=a.getValue(),p=l||{},f=p.triggerName,m=p.validateOnly,g=m===void 0?!1:m,h=Promise.resolve().then(ci(zn().mark(function v(){var S,_,E,y,C,T,x;return zn().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(a.mounted){w.next=2;break}return w.abrupt("return",[]);case 2:if(S=a.props,_=S.validateFirst,E=_===void 0?!1:_,y=S.messageVariables,C=S.validateDebounce,T=a.getRules(),f&&(T=T.filter(function(I){return I}).filter(function(I){var O=I.validateTrigger;if(!O)return!0;var k=VA(O);return k.includes(f)})),!(C&&f)){w.next=10;break}return w.next=8,new Promise(function(I){setTimeout(I,C)});case 8:if(a.validatePromise===h){w.next=10;break}return w.abrupt("return",[]);case 10:return x=Wge(u,d,T,l,E,y),x.catch(function(I){return I}).then(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yi;if(a.validatePromise===h){var O;a.validatePromise=null;var k=[],P=[];(O=I.forEach)===null||O===void 0||O.call(I,function(M){var N=M.rule.warningOnly,A=M.errors,D=A===void 0?yi:A;N?P.push.apply(P,$e(D)):k.push.apply(k,$e(D))}),a.errors=k,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),w.abrupt("return",x);case 13:case"end":return w.stop()}},v)})));return g||(a.validatePromise=h,a.dirty=!0,a.errors=yi,a.warnings=yi,a.triggerMetaEvent(),a.reRender()),h}),W(Ge(a),"isFieldValidating",function(){return!!a.validatePromise}),W(Ge(a),"isFieldTouched",function(){return a.touched}),W(Ge(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var l=a.props.fieldContext,u=l.getInternalHooks(tc),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),W(Ge(a),"getErrors",function(){return a.errors}),W(Ge(a),"getWarnings",function(){return a.warnings}),W(Ge(a),"isListField",function(){return a.props.isListField}),W(Ge(a),"isList",function(){return a.props.isList}),W(Ge(a),"isPreserve",function(){return a.props.preserve}),W(Ge(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var l={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return l}),W(Ge(a),"getOnlyChild",function(l){if(typeof l=="function"){var u=a.getMeta();return ee(ee({},a.getOnlyChild(l(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=br(l);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),W(Ge(a),"getValue",function(l){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return li(l||u(!0),d)}),W(Ge(a),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,p=u.trigger,f=u.validateTrigger,m=u.getValueFromEvent,g=u.normalize,h=u.valuePropName,v=u.getValueProps,S=u.fieldContext,_=f!==void 0?f:S.validateTrigger,E=a.getNamePath(),y=S.getInternalHooks,C=S.getFieldsValue,T=y(tc),x=T.dispatch,R=a.getValue(),w=v||function(M){return W({},h,M)},I=l[p],O=d!==void 0?w(R):{},k=ee(ee({},l),O);k[p]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var M,N=arguments.length,A=new Array(N),D=0;D=0&&I<=O.length?(d.keys=[].concat($e(d.keys.slice(0,I)),[d.id],$e(d.keys.slice(I))),E([].concat($e(O.slice(0,I)),[w],$e(O.slice(I))))):(d.keys=[].concat($e(d.keys),[d.id]),E([].concat($e(O),[w]))),d.id+=1},remove:function(w){var I=C(),O=new Set(Array.isArray(w)?w:[w]);O.size<=0||(d.keys=d.keys.filter(function(k,P){return!O.has(P)}),E(I.filter(function(k,P){return!O.has(P)})))},move:function(w,I){if(w!==I){var O=C();w<0||w>=O.length||I<0||I>=O.length||(d.keys=RB(d.keys,w,I),E(RB(O,w,I)))}}},x=_||[];return Array.isArray(x)||(x=[]),r(x.map(function(R,w){var I=d.keys[w];return I===void 0&&(d.keys[w]=d.id,I=d.keys[w],d.id+=1),{name:w,key:I,isListField:!0}}),T,v)})))}function Jge(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,i){e.forEach(function(o,s){o.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&i(r),a(r))})})}):Promise.resolve([])}var XX="__@field_split__";function ry(e){return e.map(function(t){return"".concat(gt(t),":").concat(t)}).join(XX)}var iu=function(){function e(){Jn(this,e),W(this,"kvs",new Map)}return er(e,[{key:"set",value:function(n,r){this.kvs.set(ry(n),r)}},{key:"get",value:function(n){return this.kvs.get(ry(n))}},{key:"update",value:function(n,r){var a=this.get(n),i=r(a);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(ry(n))}},{key:"map",value:function(n){return $e(this.kvs.entries()).map(function(r){var a=oe(r,2),i=a[0],o=a[1],s=i.split(XX);return n({key:s.map(function(l){var u=l.match(/^([^:]*):(.*)$/),d=oe(u,3),p=d[1],f=d[2];return p==="number"?Number(f):f}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,i=r.value;return n[a.join(".")]=i,null}),n}}]),e}(),ehe=["name"],the=er(function e(t){var n=this;Jn(this,e),W(this,"formHooked",!1),W(this,"forceRootUpdate",void 0),W(this,"subscribable",!0),W(this,"store",{}),W(this,"fieldEntities",[]),W(this,"initialValues",{}),W(this,"callbacks",{}),W(this,"validateMessages",null),W(this,"preserve",null),W(this,"lastValidatePromise",null),W(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),W(this,"getInternalHooks",function(r){return r===tc?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(bn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),W(this,"useSubscribe",function(r){n.subscribable=r}),W(this,"prevWithoutPreserves",null),W(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var i,o=$u(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(s){var l=s.key;o=to(o,l,li(r,l))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),W(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new iu;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||a.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),W(this,"getInitialValue",function(r){var a=li(n.initialValues,r);return r.length?$u(a):a}),W(this,"setCallbacks",function(r){n.callbacks=r}),W(this,"setValidateMessages",function(r){n.validateMessages=r}),W(this,"setPreserve",function(r){n.preserve=r}),W(this,"watchList",[]),W(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),W(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(a,i,r)})}}),W(this,"timeoutId",null),W(this,"warningUnhooked",function(){}),W(this,"updateStore",function(r){n.store=r}),W(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),W(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new iu;return n.getFieldEntities(r).forEach(function(i){var o=i.getNamePath();a.set(o,i)}),a}),W(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(i){var o=yr(i);return a.get(o)||{INVALIDATE_NAME_PATH:yr(i)}})}),W(this,"getFieldsValue",function(r,a){n.warningUnhooked();var i,o,s;if(r===!0||Array.isArray(r)?(i=r,o=a):r&>(r)==="object"&&(s=r.strict,o=r.filter),i===!0&&!o)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return l.forEach(function(d){var p,f,m="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var g,h;if((g=(h=d).isList)!==null&&g!==void 0&&g.call(h))return}else if(!i&&(p=(f=d).isListField)!==null&&p!==void 0&&p.call(f))return;if(!o)u.push(m);else{var v="getMeta"in d?d.getMeta():null;o(v)&&u.push(m)}}),xB(n.store,u.map(yr))}),W(this,"getFieldValue",function(r){n.warningUnhooked();var a=yr(r);return li(n.store,a)}),W(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(i,o){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:yr(r[o]),errors:[],warnings:[]}})}),W(this,"getFieldError",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.errors}),W(this,"getFieldWarning",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.warnings}),W(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},a=new iu,i=n.getFieldEntities(!0);i.forEach(function(l){var u=l.props.initialValue,d=l.getNamePath();if(u!==void 0){var p=a.get(d)||new Set;p.add({entity:l,value:u}),a.set(d,p)}});var o=function(u){u.forEach(function(d){var p=d.props.initialValue;if(p!==void 0){var f=d.getNamePath(),m=n.getInitialValue(f);if(m!==void 0)bn(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var g=a.get(f);if(g&&g.size>1)bn(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(g){var h=n.getFieldValue(f),v=d.isListField();!v&&(!r.skipExist||h===void 0)&&n.updateStore(to(n.store,f,$e(g)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var u=a.get(l);if(u){var d;(d=s).push.apply(d,$e($e(u).map(function(p){return p.entity})))}})):s=i,o(s)}),W(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore($u(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(yr);i.forEach(function(o){var s=n.getInitialValue(o);n.updateStore(to(n.store,o,s))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(a,i,{type:"reset"}),n.notifyWatch(i)}),W(this,"setFields",function(r){n.warningUnhooked();var a=n.store,i=[];r.forEach(function(o){var s=o.name,l=Et(o,ehe),u=yr(s);i.push(u),"value"in l&&n.updateStore(to(n.store,u,l.value)),n.notifyObservers(a,[u],{type:"setField",data:o})}),n.notifyWatch(i)}),W(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(i){var o=i.getNamePath(),s=i.getMeta(),l=ee(ee({},s),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return a}),W(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var i=r.getNamePath(),o=li(n.store,i);o===void 0&&n.updateStore(to(n.store,i,a))}}),W(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),W(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(p){return p!==r}),!n.isMergedPreserve(s)&&(!o||l.length>1)){var u=o?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(p){return!YX(p.getNamePath(),a)})){var d=n.store;n.updateStore(to(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),W(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,i=r.value;n.updateValue(a,i);break}case"validateField":{var o=r.namePath,s=r.triggerName;n.validateFields([o],{triggerName:s});break}}}),W(this,"notifyObservers",function(r,a,i){if(n.subscribable){var o=ee(ee({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,a,o)})}else n.forceRootUpdate()}),W(this,"triggerDependenciesUpdate",function(r,a){var i=n.getDependencyChildrenFields(a);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[a].concat($e(i))}),i}),W(this,"updateValue",function(r,a){var i=yr(r),o=n.store;n.updateStore(to(n.store,i,a)),n.notifyObservers(o,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var s=n.triggerDependenciesUpdate(o,i),l=n.callbacks.onValuesChange;if(l){var u=xB(n.store,[i]);l(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat($e(s)))}),W(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var i=$u(n.store,r);n.updateStore(i)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),W(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),W(this,"getDependencyChildrenFields",function(r){var a=new Set,i=[],o=new iu;n.getFieldEntities().forEach(function(l){var u=l.props.dependencies;(u||[]).forEach(function(d){var p=yr(d);o.update(p,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(u){var d=o.get(u)||new Set;d.forEach(function(p){if(!a.has(p)){a.add(p);var f=p.getNamePath();p.isFieldDirty()&&f.length&&(i.push(f),l(f))}})};return s(r),i}),W(this,"triggerOnFieldsChange",function(r,a){var i=n.callbacks.onFieldsChange;if(i){var o=n.getFields();if(a){var s=new iu;a.forEach(function(u){var d=u.name,p=u.errors;s.set(d,p)}),o.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var l=o.filter(function(u){var d=u.name;return ed(r,d)});l.length&&i(l,o)}}),W(this,"validateFields",function(r,a){n.warningUnhooked();var i,o;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(i=r,o=a):o=r;var s=!!i,l=s?i.map(yr):[],u=[],d=String(Date.now()),p=new Set,f=o||{},m=f.recursive,g=f.dirty;n.getFieldEntities(!0).forEach(function(_){if(s||l.push(_.getNamePath()),!(!_.props.rules||!_.props.rules.length)&&!(g&&!_.isFieldDirty())){var E=_.getNamePath();if(p.add(E.join(d)),!s||ed(l,E,m)){var y=_.validateRules(ee({validateMessages:ee(ee({},WX),n.validateMessages)},o));u.push(y.then(function(){return{name:E,errors:[],warnings:[]}}).catch(function(C){var T,x=[],R=[];return(T=C.forEach)===null||T===void 0||T.call(C,function(w){var I=w.rule.warningOnly,O=w.errors;I?R.push.apply(R,$e(O)):x.push.apply(x,$e(O))}),x.length?Promise.reject({name:E,errors:x,warnings:R}):{name:E,errors:x,warnings:R}}))}}});var h=Jge(u);n.lastValidatePromise=h,h.catch(function(_){return _}).then(function(_){var E=_.map(function(y){var C=y.name;return C});n.notifyObservers(n.store,E,{type:"validateFinish"}),n.triggerOnFieldsChange(E,_)});var v=h.then(function(){return n.lastValidatePromise===h?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(_){var E=_.filter(function(y){return y&&y.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:E,outOfDate:n.lastValidatePromise!==h})});v.catch(function(_){return _});var S=l.filter(function(_){return p.has(_.join(d))});return n.triggerOnFieldsChange(S),v}),W(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(i){console.error(i)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function GL(e){var t=c.useRef(),n=c.useState({}),r=oe(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){a({})},o=new the(i);t.current=o.getForm()}return[t.current]}var eD=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),QX=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,i=t.children,o=c.useContext(eD),s=c.useRef({});return c.createElement(eD.Provider,{value:ee(ee({},o),{},{validateMessages:ee(ee({},o.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),o.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),o.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=ee(ee({},s.current),{},W({},u,d))),o.registerForm(u,d)},unregisterForm:function(u){var d=ee({},s.current);delete d[u],s.current=d,o.unregisterForm(u)}})},i)},nhe=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],rhe=function(t,n){var r=t.name,a=t.initialValues,i=t.fields,o=t.form,s=t.preserve,l=t.children,u=t.component,d=u===void 0?"form":u,p=t.validateMessages,f=t.validateTrigger,m=f===void 0?"onChange":f,g=t.onValuesChange,h=t.onFieldsChange,v=t.onFinish,S=t.onFinishFailed,_=t.clearOnDestroy,E=Et(t,nhe),y=c.useRef(null),C=c.useContext(eD),T=GL(o),x=oe(T,1),R=x[0],w=R.getInternalHooks(tc),I=w.useSubscribe,O=w.setInitialValues,k=w.setCallbacks,P=w.setValidateMessages,M=w.setPreserve,N=w.destroyForm;c.useImperativeHandle(n,function(){return ee(ee({},R),{},{nativeElement:y.current})}),c.useEffect(function(){return C.registerForm(r,R),function(){C.unregisterForm(r)}},[C,R,r]),P(ee(ee({},C.validateMessages),p)),k({onValuesChange:g,onFieldsChange:function(j){if(C.triggerFormChange(r,j),h){for(var G=arguments.length,J=new Array(G>1?G-1:0),Y=1;Y{}}),JX=c.createContext(null),eQ=e=>{const t=An(e,["prefixCls"]);return c.createElement(QX,Object.assign({},t))},VL=c.createContext({prefixCls:""}),Gr=c.createContext({}),ihe=e=>{let{children:t,status:n,override:r}=e;const a=c.useContext(Gr),i=c.useMemo(()=>{const o=Object.assign({},a);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,a]);return c.createElement(Gr.Provider,{value:i},t)},tQ=c.createContext(void 0),Uo=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=ce.createElement(ihe,{override:!0,status:!0},a)),t&&(a=ce.createElement(Cme,null,a)),a};function yd(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function IB(e){const{closable:t,closeIcon:n}=e||{};return ce.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function OB(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(i=>{a[i]!==void 0&&(e[i]=a[i])})}),e}const ohe={};function qL(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ohe;const r=IB(e),a=IB(t),i=ce.useMemo(()=>Object.assign({closeIcon:ce.createElement(na,null)},n),[n]),o=ce.useMemo(()=>r===!1?!1:r?OB(i,a,r):a===!1?!1:a?OB(i,a):i.closable?i:!1,[r,a,i]);return ce.useMemo(()=>{if(o===!1)return[!1,null];const{closeIconRender:s}=i,{closeIcon:l}=o;let u=l;if(u!=null){s&&(u=s(l));const d=Qn(o,!0);Object.keys(d).length&&(u=ce.isValidElement(u)?ce.cloneElement(u,d):ce.createElement("span",Object.assign({},d),u))}return[!0,u]},[o,i])}var nQ=function(t){if(Jr()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},she=function(t,n){if(!nQ(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function tD(e,t){return!Array.isArray(e)&&t!==void 0?she(e,t):nQ(e)}const lhe=()=>Jr()&&window.document.documentElement,Ab=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:i}=e,o=ie({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ie({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),l=c.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return c.createElement("span",{className:ie(t,o,s,n),style:Object.assign(Object.assign({},l),r)})},che=new dn("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Db=e=>({height:e,lineHeight:Q(e)}),td=e=>Object.assign({width:e},Db(e)),uhe=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:che,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ay=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Db(e)),dhe=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},td(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},td(a)),[`${t}${t}-sm`]:Object.assign({},td(i))}},phe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},ay(t,s)),[`${r}-lg`]:Object.assign({},ay(a,s)),[`${r}-sm`]:Object.assign({},ay(i,s))}},NB=e=>Object.assign({width:e},Db(e)),fhe=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},NB(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},NB(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},iy=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},oy=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Db(e)),mhe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},oy(r,s))},iy(e,r,n)),{[`${n}-lg`]:Object.assign({},oy(a,s))}),iy(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},oy(i,s))}),iy(e,i,`${n}-sm`))},ghe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:s,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:p,padding:f,marginSM:m,borderRadius:g,titleHeight:h,blockRadius:v,paragraphLiHeight:S,controlHeightXS:_,paragraphMarginTop:E}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:p},td(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},td(u)),[`${n}-sm`]:Object.assign({},td(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:h,background:p,borderRadius:v,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:p,borderRadius:v,"+ li":{marginBlockStart:_}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:g}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:m,[`+ ${a}`]:{marginBlockStart:E}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},mhe(e)),dhe(e)),phe(e)),fhe(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[` +}`),a)}else cm(a);return function(){cm(a)}},[t,a])}var lge=!1;function cge(e){return lge}var mB=function(t){return t===!1?!1:!Jr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},ng=c.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var i=e.autoDestroy,o=i===void 0?!0:i,s=e.children,l=c.useState(n),u=oe(l,2),d=u[0],p=u[1],f=d||n;c.useEffect(function(){(o||n)&&p(n)},[n,o]);var m=c.useState(function(){return mB(a)}),g=oe(m,2),h=g[0],v=g[1];c.useEffect(function(){var O=mB(a);v(O??null)});var S=age(f&&!h),b=oe(S,2),E=b[0],y=b[1],C=h??E;sge(r&&n&&Jr()&&(C===E||C===document.body));var T=null;if(s&&mo(s)&&t){var x=s;T=x.ref}var R=ws(T,t);if(!f||!Jr()||h===void 0)return null;var w=C===!1||cge(),I=s;return t&&(I=c.cloneElement(s,{ref:R})),c.createElement(jX.Provider,{value:y},w?I:Ur.createPortal(I,C))}),HX=c.createContext({});function uge(){var e=ee({},Gm);return e.useId}var gB=0,hB=uge();const GX=hB?function(t){var n=hB();return t||n}:function(t){var n=c.useState("ssr-id"),r=oe(n,2),a=r[0],i=r[1];return c.useEffect(function(){var o=gB;gB+=1,i("rc_unique_".concat(o))},[]),t||a};function vB(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function _B(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function dge(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=_B(a),n.top+=_B(a,!0),n}const pge=c.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var bB={width:0,height:0,overflow:"hidden",outline:"none"},fge={outline:"none"},VX=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.title,o=e.ariaId,s=e.footer,l=e.closable,u=e.closeIcon,d=e.onClose,p=e.children,f=e.bodyStyle,m=e.bodyProps,g=e.modalRender,h=e.onMouseDown,v=e.onMouseUp,S=e.holderRef,b=e.visible,E=e.forceRender,y=e.width,C=e.height,T=e.classNames,x=e.styles,R=ce.useContext(HX),w=R.panel,I=ws(S,w),O=c.useRef(),k=c.useRef(),P=c.useRef();ce.useImperativeHandle(t,function(){return{focus:function(){var U;(U=P.current)===null||U===void 0||U.focus({preventScroll:!0})},changeActive:function(U){var j=document,G=j.activeElement;U&&G===k.current?O.current.focus({preventScroll:!0}):!U&&G===O.current&&k.current.focus({preventScroll:!0})}}});var M={};y!==void 0&&(M.width=y),C!==void 0&&(M.height=C);var N=s?ce.createElement("div",{className:ie("".concat(n,"-footer"),T==null?void 0:T.footer),style:ee({},x==null?void 0:x.footer)},s):null,A=i?ce.createElement("div",{className:ie("".concat(n,"-header"),T==null?void 0:T.header),style:ee({},x==null?void 0:x.header)},ce.createElement("div",{className:"".concat(n,"-title"),id:o},i)):null,D=c.useMemo(function(){return gt(l)==="object"&&l!==null?l:l?{closeIcon:u??ce.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,u,n]),L=Jn(D,!0),$=gt(l)==="object"&&l.disabled,F=l?ce.createElement("button",ve({type:"button",onClick:d,"aria-label":"Close"},L,{className:"".concat(n,"-close"),disabled:$}),D.closeIcon):null,B=ce.createElement("div",{className:ie("".concat(n,"-content"),T==null?void 0:T.content),style:x==null?void 0:x.content},F,A,ce.createElement("div",ve({className:ie("".concat(n,"-body"),T==null?void 0:T.body),style:ee(ee({},f),x==null?void 0:x.body)},m),p),N);return ce.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?o:null,"aria-modal":"true",ref:I,style:ee(ee({},a),M),className:ie(n,r),onMouseDown:h,onMouseUp:v},ce.createElement("div",{tabIndex:0,ref:O,style:bB,"aria-hidden":"true"}),ce.createElement("div",{ref:P,tabIndex:-1,style:fge},ce.createElement(pge,{shouldUpdate:b||E},g?g(B):B)),ce.createElement("div",{tabIndex:0,ref:k,style:bB,"aria-hidden":"true"}))}),qX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,i=e.className,o=e.visible,s=e.forceRender,l=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,m=c.useRef(),g=c.useState(),h=oe(g,2),v=h[0],S=h[1],b={};v&&(b.transformOrigin=v);function E(){var y=dge(m.current);S(f&&(f.x||f.y)?"".concat(f.x-y.left,"px ").concat(f.y-y.top,"px"):"")}return c.createElement(ta,{visible:o,onVisibleChanged:p,onAppearPrepare:E,onEnterPrepare:E,forceRender:s,motionName:u,removeOnLeave:l,ref:m},function(y,C){var T=y.className,x=y.style;return c.createElement(VX,ve({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:C,style:ee(ee(ee({},x),a),b),className:ie(i,T)}))})});qX.displayName="Content";var mge=function(t){var n=t.prefixCls,r=t.style,a=t.visible,i=t.maskProps,o=t.motionName,s=t.className;return c.createElement(ta,{key:"mask",visible:a,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(l,u){var d=l.className,p=l.style;return c.createElement("div",ve({ref:u,style:ee(ee({},p),r),className:ie("".concat(n,"-mask"),d,s)},i))})},gge=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,i=t.visible,o=i===void 0?!1:i,s=t.keyboard,l=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,p=t.wrapStyle,f=t.wrapClassName,m=t.wrapProps,g=t.onClose,h=t.afterOpenChange,v=t.afterClose,S=t.transitionName,b=t.animation,E=t.closable,y=E===void 0?!0:E,C=t.mask,T=C===void 0?!0:C,x=t.maskTransitionName,R=t.maskAnimation,w=t.maskClosable,I=w===void 0?!0:w,O=t.maskStyle,k=t.maskProps,P=t.rootClassName,M=t.classNames,N=t.styles,A=c.useRef(),D=c.useRef(),L=c.useRef(),$=c.useState(o),F=oe($,2),B=F[0],z=F[1],U=GX();function j(){mA(D.current,document.activeElement)||(A.current=document.activeElement)}function G(){if(!mA(D.current,document.activeElement)){var se;(se=L.current)===null||se===void 0||se.focus()}}function J(se){if(se)G();else{if(z(!1),T&&A.current&&d){try{A.current.focus({preventScroll:!0})}catch{}A.current=null}B&&(v==null||v())}h==null||h(se)}function Y(se){g==null||g(se)}var Q=c.useRef(!1),V=c.useRef(),H=function(){clearTimeout(V.current),Q.current=!0},q=function(){V.current=setTimeout(function(){Q.current=!1})},K=null;I&&(K=function(ue){Q.current?Q.current=!1:D.current===ue.target&&Y(ue)});function Z(se){if(l&&se.keyCode===Fe.ESC){se.stopPropagation(),Y(se);return}o&&se.keyCode===Fe.TAB&&L.current.changeActive(!se.shiftKey)}c.useEffect(function(){o&&(z(!0),j())},[o]),c.useEffect(function(){return function(){clearTimeout(V.current)}},[]);var te=ee(ee(ee({zIndex:a},p),N==null?void 0:N.wrapper),{},{display:B?null:"none"});return c.createElement("div",ve({className:ie("".concat(r,"-root"),P)},Jn(t,{data:!0})),c.createElement(mge,{prefixCls:r,visible:T&&o,motionName:vB(r,x,R),style:ee(ee({zIndex:a},O),N==null?void 0:N.mask),maskProps:k,className:M==null?void 0:M.mask}),c.createElement("div",ve({tabIndex:-1,onKeyDown:Z,className:ie("".concat(r,"-wrap"),f,M==null?void 0:M.wrapper),ref:D,onClick:K,style:te},m),c.createElement(qX,ve({},t,{onMouseDown:H,onMouseUp:q,ref:L,closable:y,ariaId:U,prefixCls:r,visible:o&&B,onClose:Y,onVisibleChanged:J,motionName:vB(r,S,b)}))))},HL=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,i=t.destroyOnClose,o=i===void 0?!1:i,s=t.afterClose,l=t.panelRef,u=c.useState(n),d=oe(u,2),p=d[0],f=d[1],m=c.useMemo(function(){return{panel:l}},[l]);return c.useEffect(function(){n&&f(!0)},[n]),!a&&o&&!p?null:c.createElement(HX.Provider,{value:m},c.createElement(ng,{open:n||a||p,autoDestroy:!1,getContainer:r,autoLock:n||p},c.createElement(gge,ve({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),f(!1)}}))))};HL.displayName="Dialog";var tc="RC_FORM_INTERNAL_HOOKS",Fn=function(){bn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ic=c.createContext({getFieldValue:Fn,getFieldsValue:Fn,getFieldError:Fn,getFieldWarning:Fn,getFieldsError:Fn,isFieldsTouched:Fn,isFieldTouched:Fn,isFieldValidating:Fn,isFieldsValidating:Fn,resetFields:Fn,setFields:Fn,setFieldValue:Fn,setFieldsValue:Fn,validateFields:Fn,submit:Fn,getInternalHooks:function(){return Fn(),{dispatch:Fn,initEntityValue:Fn,registerField:Fn,useSubscribe:Fn,setInitialValues:Fn,destroyForm:Fn,setCallbacks:Fn,registerWatch:Fn,getFields:Fn,setValidateMessages:Fn,setPreserve:Fn,getInitialValue:Fn}}}),vm=c.createContext(null);function qA(e){return e==null?[]:Array.isArray(e)?e:[e]}function hge(e){return e&&!!e._init}function WA(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var YA=WA();function vge(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function _ge(e,t,n){if(Rb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&sm(a,n.prototype),a}function KA(e){var t=typeof Map=="function"?new Map:void 0;return KA=function(r){if(r===null||!vge(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return _ge(r,arguments,Tc(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),sm(a,r)},KA(e)}var bge=/%[sdj%]/g,Sge=function(){};function XA(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function ui(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function Ege(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Hr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ege(t)&&typeof e=="string"&&!e)}function yge(e,t,n){var r=[],a=0,i=e.length;function o(s){r.push.apply(r,$e(s||[])),a++,a===i&&n(r)}e.forEach(function(s){t(s,o)})}function SB(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?a.push(ui(i.messages[p].max,t.fullField,t.max)):s&&l&&(dt.max)&&a.push(ui(i.messages[p].range,t.fullField,t.min,t.max))},WX=function(t,n,r,a,i,o){t.required&&(!r.hasOwnProperty(t.field)||Hr(n,o||t.type))&&a.push(ui(i.messages.required,t.fullField))},gh;const Nge=function(){if(gh)return gh;var e="[a-fA-F\\d:]",t=function(T){return T&&T.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(a.join("|"),")").concat(i),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(o,"$")),d=function(T){return T&&T.exact?s:new RegExp("(?:".concat(t(T)).concat(n).concat(t(T),")|(?:").concat(t(T)).concat(o).concat(t(T),")"),"g")};d.v4=function(C){return C&&C.exact?l:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},d.v6=function(C){return C&&C.exact?u:new RegExp("".concat(t(C)).concat(o).concat(t(C)),"g")};var p="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",m=d.v4().source,g=d.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",E='(?:[/?#][^\\s"]*)?',y="(?:".concat(p,"|www\\.)").concat(f,"(?:localhost|").concat(m,"|").concat(g,"|").concat(h).concat(v).concat(S,")").concat(b).concat(E);return gh=new RegExp("(?:^".concat(y,"$)"),"i"),gh};var TB={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Qp={integer:function(t){return Qp.number(t)&&parseInt(t,10)===t},float:function(t){return Qp.number(t)&&!Qp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return gt(t)==="object"&&!Qp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(TB.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Nge())},hex:function(t){return typeof t=="string"&&!!t.match(TB.hex)}},Age=function(t,n,r,a,i){if(t.required&&n===void 0){WX(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Qp[s](n)||a.push(ui(i.messages.types[s],t.fullField,t.type)):s&>(n)!==t.type&&a.push(ui(i.messages.types[s],t.fullField,t.type))},Dge=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(ui(i.messages.whitespace,t.fullField))};const hn={required:WX,whitespace:Dge,type:Age,range:Oge,enum:wge,pattern:Ige};var Mge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i)}r(o)},Lge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();hn.required(t,n,a,o,i,"array"),n!=null&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},kge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Pge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"date")&&!t.required)return r();if(hn.required(t,n,a,o,i),!Hr(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),hn.type(t,l,a,o,i),l&&hn.range(t,l.getTime(),a,o,i)}}r(o)},$ge="enum",Fge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn[$ge](t,n,a,o,i)}r(o)},Bge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Uge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},jge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},zge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Hge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Gge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n,"string")||hn.pattern(t,n,a,o,i)}r(o)},Vge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n)||hn.type(t,n,a,o,i)}r(o)},qge=function(t,n,r,a,i){var o=[],s=Array.isArray(n)?"array":gt(n);hn.required(t,n,a,o,i,s),r(o)},Wge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i,"string"),Hr(n,"string")||(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i),hn.pattern(t,n,a,o,i),t.whitespace===!0&&hn.whitespace(t,n,a,o,i))}r(o)},ay=function(t,n,r,a,i){var o=t.type,s=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(Hr(n,o)&&!t.required)return r();hn.required(t,n,a,s,i,o),Hr(n,o)||hn.type(t,n,a,s,i)}r(s)};const Cf={string:Wge,method:jge,number:zge,boolean:kge,regexp:Vge,integer:Uge,float:Bge,array:Lge,object:Hge,enum:Fge,pattern:Gge,date:Pge,url:ay,hex:ay,email:ay,required:qge,any:Mge};var rg=function(){function e(t){er(this,e),W(this,"rules",null),W(this,"_messages",YA),this.define(t)}return tr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(gt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var i=n[a];r.rules[a]=Array.isArray(i)?i:[i]})}},{key:"messages",value:function(n){return n&&(this._messages=CB(WA(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=a,l=i;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function u(g){var h=[],v={};function S(E){if(Array.isArray(E)){var y;h=(y=h).concat.apply(y,$e(E))}else h.push(E)}for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(x)?x:[x];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&v.message!==void 0&&(R=[].concat(v.message));var w=R.map(yB(v,o));if(s.first&&w.length)return m[v.field]=1,h(w);if(!S)h(w);else{if(v.required&&!g.value)return v.message!==void 0?w=[].concat(v.message).map(yB(v,o)):s.error&&(w=[s.error(v,ui(s.messages.required,v.field))]),h(w);var I={};v.defaultField&&Object.keys(g.value).map(function(P){I[P]=v.defaultField}),I=ee(ee({},I),g.rule.fields);var O={};Object.keys(I).forEach(function(P){var M=I[P],N=Array.isArray(M)?M:[M];O[P]=N.map(b.bind(null,P))});var k=new e(O);k.messages(s.messages),g.rule.options&&(g.rule.options.messages=s.messages,g.rule.options.error=s.error),k.validate(g.value,g.rule.options||s,function(P){var M=[];w&&w.length&&M.push.apply(M,$e(w)),P&&P.length&&M.push.apply(M,$e(P)),h(M.length?M:null)})}}var y;if(v.asyncValidator)y=v.asyncValidator(v,g.value,E,g.source,s);else if(v.validator){try{y=v.validator(v,g.value,E,g.source,s)}catch(x){var C,T;(C=(T=console).error)===null||C===void 0||C.call(T,x),s.suppressValidatorError||setTimeout(function(){throw x},0),E(x.message)}y===!0?E():y===!1?E(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):y instanceof Array?E(y):y instanceof Error&&E(y.message)}y&&y.then&&y.then(function(){return E()},function(x){return E(x)})},function(g){u(g)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Cf.hasOwnProperty(n.type))throw new Error(ui("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?Cf.required:Cf[this.getType(n)]||void 0}}]),e}();W(rg,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Cf[t]=n});W(rg,"warning",Sge);W(rg,"messages",YA);W(rg,"validators",Cf);var ti="'${name}' is not a valid ${type}",YX={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ti,method:ti,array:ti,object:ti,number:ti,date:ti,boolean:ti,integer:ti,float:ti,regexp:ti,email:ti,url:ti,hex:ti},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},xB=rg;function Yge(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var RB="CODE_LOGIC_ERROR";function QA(e,t,n,r,a){return ZA.apply(this,arguments)}function ZA(){return ZA=ci(zn().mark(function e(t,n,r,a,i){var o,s,l,u,d,p,f,m,g;return zn().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=ee({},r),delete o.ruleIndex,xB.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(RB)}}),l=null,o&&o.type==="array"&&o.defaultField&&(l=o.defaultField,delete o.defaultField),u=new xB(W({},t,[o])),d=Uu(YX,a.validateMessages),u.messages(d),p=[],v.prev=10,v.next=13,Promise.resolve(u.validate(W({},t,n),ee({},a)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(p=v.t0.errors.map(function(S,b){var E=S.message,y=E===RB?d.default:E;return c.isValidElement(y)?c.cloneElement(y,{key:"error_".concat(b)}):y}));case 18:if(!(!p.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(S,b){return QA("".concat(t,".").concat(b),S,l,a,i)}));case 21:return f=v.sent,v.abrupt("return",f.reduce(function(S,b){return[].concat($e(S),$e(b))},[]));case 23:return m=ee(ee({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),g=p.map(function(S){return typeof S=="string"?Yge(S,m):S}),v.abrupt("return",g);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),ZA.apply(this,arguments)}function Kge(e,t,n,r,a,i){var o=e.join("."),s=n.map(function(d,p){var f=d.validator,m=ee(ee({},d),{},{ruleIndex:p});return f&&(m.validator=function(g,h,v){var S=!1,b=function(){for(var C=arguments.length,T=new Array(C),x=0;x2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return KX(t,r,n)})}function KX(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function Zge(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||gt(e)!=="object"||gt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return $e(a).every(function(i){var o=e[i],s=t[i];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function Jge(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&>(t.target)==="object"&&e in t.target?t.target[e]:t}function IB(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],i=t-n;return i>0?[].concat($e(e.slice(0,n)),[a],$e(e.slice(n,t)),$e(e.slice(t+1,r))):i<0?[].concat($e(e.slice(0,t)),$e(e.slice(t+1,n+1)),[a],$e(e.slice(n+1,r))):e}var ehe=["name"],Ci=[];function iy(e,t,n,r,a,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==a}var GL=function(e){Ei(n,e);var t=Yi(n);function n(r){var a;if(er(this,n),a=t.call(this,r),W(Ge(a),"state",{resetCount:0}),W(Ge(a),"cancelRegisterFunc",null),W(Ge(a),"mounted",!1),W(Ge(a),"touched",!1),W(Ge(a),"dirty",!1),W(Ge(a),"validatePromise",void 0),W(Ge(a),"prevValidating",void 0),W(Ge(a),"errors",Ci),W(Ge(a),"warnings",Ci),W(Ge(a),"cancelRegister",function(){var l=a.props,u=l.preserve,d=l.isListField,p=l.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,yr(p)),a.cancelRegisterFunc=null}),W(Ge(a),"getNamePath",function(){var l=a.props,u=l.name,d=l.fieldContext,p=d.prefixName,f=p===void 0?[]:p;return u!==void 0?[].concat($e(f),$e(u)):[]}),W(Ge(a),"getRules",function(){var l=a.props,u=l.rules,d=u===void 0?[]:u,p=l.fieldContext;return d.map(function(f){return typeof f=="function"?f(p):f})}),W(Ge(a),"refresh",function(){a.mounted&&a.setState(function(l){var u=l.resetCount;return{resetCount:u+1}})}),W(Ge(a),"metaCache",null),W(Ge(a),"triggerMetaEvent",function(l){var u=a.props.onMetaChange;if(u){var d=ee(ee({},a.getMeta()),{},{destroy:l});ji(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),W(Ge(a),"onStoreChange",function(l,u,d){var p=a.props,f=p.shouldUpdate,m=p.dependencies,g=m===void 0?[]:m,h=p.onReset,v=d.store,S=a.getNamePath(),b=a.getValue(l),E=a.getValue(v),y=u&&rd(u,S);switch(d.type==="valueUpdate"&&d.source==="external"&&!ji(b,E)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=Ci,a.warnings=Ci,a.triggerMetaEvent()),d.type){case"reset":if(!u||y){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=Ci,a.warnings=Ci,a.triggerMetaEvent(),h==null||h(),a.refresh();return}break;case"remove":{if(f&&iy(f,l,v,b,E,d)){a.reRender();return}break}case"setField":{var C=d.data;if(y){"touched"in C&&(a.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(a.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(a.errors=C.errors||Ci),"warnings"in C&&(a.warnings=C.warnings||Ci),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in C&&rd(u,S,!0)){a.reRender();return}if(f&&!S.length&&iy(f,l,v,b,E,d)){a.reRender();return}break}case"dependenciesUpdate":{var T=g.map(yr);if(T.some(function(x){return rd(d.relatedFields,x)})){a.reRender();return}break}default:if(y||(!g.length||S.length||f)&&iy(f,l,v,b,E,d)){a.reRender();return}break}f===!0&&a.reRender()}),W(Ge(a),"validateRules",function(l){var u=a.getNamePath(),d=a.getValue(),p=l||{},f=p.triggerName,m=p.validateOnly,g=m===void 0?!1:m,h=Promise.resolve().then(ci(zn().mark(function v(){var S,b,E,y,C,T,x;return zn().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(a.mounted){w.next=2;break}return w.abrupt("return",[]);case 2:if(S=a.props,b=S.validateFirst,E=b===void 0?!1:b,y=S.messageVariables,C=S.validateDebounce,T=a.getRules(),f&&(T=T.filter(function(I){return I}).filter(function(I){var O=I.validateTrigger;if(!O)return!0;var k=qA(O);return k.includes(f)})),!(C&&f)){w.next=10;break}return w.next=8,new Promise(function(I){setTimeout(I,C)});case 8:if(a.validatePromise===h){w.next=10;break}return w.abrupt("return",[]);case 10:return x=Kge(u,d,T,l,E,y),x.catch(function(I){return I}).then(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ci;if(a.validatePromise===h){var O;a.validatePromise=null;var k=[],P=[];(O=I.forEach)===null||O===void 0||O.call(I,function(M){var N=M.rule.warningOnly,A=M.errors,D=A===void 0?Ci:A;N?P.push.apply(P,$e(D)):k.push.apply(k,$e(D))}),a.errors=k,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),w.abrupt("return",x);case 13:case"end":return w.stop()}},v)})));return g||(a.validatePromise=h,a.dirty=!0,a.errors=Ci,a.warnings=Ci,a.triggerMetaEvent(),a.reRender()),h}),W(Ge(a),"isFieldValidating",function(){return!!a.validatePromise}),W(Ge(a),"isFieldTouched",function(){return a.touched}),W(Ge(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var l=a.props.fieldContext,u=l.getInternalHooks(tc),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),W(Ge(a),"getErrors",function(){return a.errors}),W(Ge(a),"getWarnings",function(){return a.warnings}),W(Ge(a),"isListField",function(){return a.props.isListField}),W(Ge(a),"isList",function(){return a.props.isList}),W(Ge(a),"isPreserve",function(){return a.props.preserve}),W(Ge(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var l={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return l}),W(Ge(a),"getOnlyChild",function(l){if(typeof l=="function"){var u=a.getMeta();return ee(ee({},a.getOnlyChild(l(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=_r(l);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),W(Ge(a),"getValue",function(l){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return li(l||u(!0),d)}),W(Ge(a),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,p=u.trigger,f=u.validateTrigger,m=u.getValueFromEvent,g=u.normalize,h=u.valuePropName,v=u.getValueProps,S=u.fieldContext,b=f!==void 0?f:S.validateTrigger,E=a.getNamePath(),y=S.getInternalHooks,C=S.getFieldsValue,T=y(tc),x=T.dispatch,R=a.getValue(),w=v||function(M){return W({},h,M)},I=l[p],O=d!==void 0?w(R):{},k=ee(ee({},l),O);k[p]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var M,N=arguments.length,A=new Array(N),D=0;D=0&&I<=O.length?(d.keys=[].concat($e(d.keys.slice(0,I)),[d.id],$e(d.keys.slice(I))),E([].concat($e(O.slice(0,I)),[w],$e(O.slice(I))))):(d.keys=[].concat($e(d.keys),[d.id]),E([].concat($e(O),[w]))),d.id+=1},remove:function(w){var I=C(),O=new Set(Array.isArray(w)?w:[w]);O.size<=0||(d.keys=d.keys.filter(function(k,P){return!O.has(P)}),E(I.filter(function(k,P){return!O.has(P)})))},move:function(w,I){if(w!==I){var O=C();w<0||w>=O.length||I<0||I>=O.length||(d.keys=IB(d.keys,w,I),E(IB(O,w,I)))}}},x=b||[];return Array.isArray(x)||(x=[]),r(x.map(function(R,w){var I=d.keys[w];return I===void 0&&(d.keys[w]=d.id,I=d.keys[w],d.id+=1),{name:w,key:I,isListField:!0}}),T,v)})))}function the(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,i){e.forEach(function(o,s){o.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&i(r),a(r))})})}):Promise.resolve([])}var QX="__@field_split__";function oy(e){return e.map(function(t){return"".concat(gt(t),":").concat(t)}).join(QX)}var su=function(){function e(){er(this,e),W(this,"kvs",new Map)}return tr(e,[{key:"set",value:function(n,r){this.kvs.set(oy(n),r)}},{key:"get",value:function(n){return this.kvs.get(oy(n))}},{key:"update",value:function(n,r){var a=this.get(n),i=r(a);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(oy(n))}},{key:"map",value:function(n){return $e(this.kvs.entries()).map(function(r){var a=oe(r,2),i=a[0],o=a[1],s=i.split(QX);return n({key:s.map(function(l){var u=l.match(/^([^:]*):(.*)$/),d=oe(u,3),p=d[1],f=d[2];return p==="number"?Number(f):f}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,i=r.value;return n[a.join(".")]=i,null}),n}}]),e}(),nhe=["name"],rhe=tr(function e(t){var n=this;er(this,e),W(this,"formHooked",!1),W(this,"forceRootUpdate",void 0),W(this,"subscribable",!0),W(this,"store",{}),W(this,"fieldEntities",[]),W(this,"initialValues",{}),W(this,"callbacks",{}),W(this,"validateMessages",null),W(this,"preserve",null),W(this,"lastValidatePromise",null),W(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),W(this,"getInternalHooks",function(r){return r===tc?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(bn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),W(this,"useSubscribe",function(r){n.subscribable=r}),W(this,"prevWithoutPreserves",null),W(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var i,o=Uu(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(s){var l=s.key;o=no(o,l,li(r,l))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),W(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new su;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||a.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),W(this,"getInitialValue",function(r){var a=li(n.initialValues,r);return r.length?Uu(a):a}),W(this,"setCallbacks",function(r){n.callbacks=r}),W(this,"setValidateMessages",function(r){n.validateMessages=r}),W(this,"setPreserve",function(r){n.preserve=r}),W(this,"watchList",[]),W(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),W(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(a,i,r)})}}),W(this,"timeoutId",null),W(this,"warningUnhooked",function(){}),W(this,"updateStore",function(r){n.store=r}),W(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),W(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new su;return n.getFieldEntities(r).forEach(function(i){var o=i.getNamePath();a.set(o,i)}),a}),W(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(i){var o=yr(i);return a.get(o)||{INVALIDATE_NAME_PATH:yr(i)}})}),W(this,"getFieldsValue",function(r,a){n.warningUnhooked();var i,o,s;if(r===!0||Array.isArray(r)?(i=r,o=a):r&>(r)==="object"&&(s=r.strict,o=r.filter),i===!0&&!o)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return l.forEach(function(d){var p,f,m="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var g,h;if((g=(h=d).isList)!==null&&g!==void 0&&g.call(h))return}else if(!i&&(p=(f=d).isListField)!==null&&p!==void 0&&p.call(f))return;if(!o)u.push(m);else{var v="getMeta"in d?d.getMeta():null;o(v)&&u.push(m)}}),wB(n.store,u.map(yr))}),W(this,"getFieldValue",function(r){n.warningUnhooked();var a=yr(r);return li(n.store,a)}),W(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(i,o){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:yr(r[o]),errors:[],warnings:[]}})}),W(this,"getFieldError",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.errors}),W(this,"getFieldWarning",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.warnings}),W(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},a=new su,i=n.getFieldEntities(!0);i.forEach(function(l){var u=l.props.initialValue,d=l.getNamePath();if(u!==void 0){var p=a.get(d)||new Set;p.add({entity:l,value:u}),a.set(d,p)}});var o=function(u){u.forEach(function(d){var p=d.props.initialValue;if(p!==void 0){var f=d.getNamePath(),m=n.getInitialValue(f);if(m!==void 0)bn(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var g=a.get(f);if(g&&g.size>1)bn(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(g){var h=n.getFieldValue(f),v=d.isListField();!v&&(!r.skipExist||h===void 0)&&n.updateStore(no(n.store,f,$e(g)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var u=a.get(l);if(u){var d;(d=s).push.apply(d,$e($e(u).map(function(p){return p.entity})))}})):s=i,o(s)}),W(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(Uu(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(yr);i.forEach(function(o){var s=n.getInitialValue(o);n.updateStore(no(n.store,o,s))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(a,i,{type:"reset"}),n.notifyWatch(i)}),W(this,"setFields",function(r){n.warningUnhooked();var a=n.store,i=[];r.forEach(function(o){var s=o.name,l=yt(o,nhe),u=yr(s);i.push(u),"value"in l&&n.updateStore(no(n.store,u,l.value)),n.notifyObservers(a,[u],{type:"setField",data:o})}),n.notifyWatch(i)}),W(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(i){var o=i.getNamePath(),s=i.getMeta(),l=ee(ee({},s),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return a}),W(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var i=r.getNamePath(),o=li(n.store,i);o===void 0&&n.updateStore(no(n.store,i,a))}}),W(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),W(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(p){return p!==r}),!n.isMergedPreserve(s)&&(!o||l.length>1)){var u=o?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(p){return!KX(p.getNamePath(),a)})){var d=n.store;n.updateStore(no(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),W(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,i=r.value;n.updateValue(a,i);break}case"validateField":{var o=r.namePath,s=r.triggerName;n.validateFields([o],{triggerName:s});break}}}),W(this,"notifyObservers",function(r,a,i){if(n.subscribable){var o=ee(ee({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,a,o)})}else n.forceRootUpdate()}),W(this,"triggerDependenciesUpdate",function(r,a){var i=n.getDependencyChildrenFields(a);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[a].concat($e(i))}),i}),W(this,"updateValue",function(r,a){var i=yr(r),o=n.store;n.updateStore(no(n.store,i,a)),n.notifyObservers(o,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var s=n.triggerDependenciesUpdate(o,i),l=n.callbacks.onValuesChange;if(l){var u=wB(n.store,[i]);l(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat($e(s)))}),W(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var i=Uu(n.store,r);n.updateStore(i)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),W(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),W(this,"getDependencyChildrenFields",function(r){var a=new Set,i=[],o=new su;n.getFieldEntities().forEach(function(l){var u=l.props.dependencies;(u||[]).forEach(function(d){var p=yr(d);o.update(p,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(u){var d=o.get(u)||new Set;d.forEach(function(p){if(!a.has(p)){a.add(p);var f=p.getNamePath();p.isFieldDirty()&&f.length&&(i.push(f),l(f))}})};return s(r),i}),W(this,"triggerOnFieldsChange",function(r,a){var i=n.callbacks.onFieldsChange;if(i){var o=n.getFields();if(a){var s=new su;a.forEach(function(u){var d=u.name,p=u.errors;s.set(d,p)}),o.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var l=o.filter(function(u){var d=u.name;return rd(r,d)});l.length&&i(l,o)}}),W(this,"validateFields",function(r,a){n.warningUnhooked();var i,o;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(i=r,o=a):o=r;var s=!!i,l=s?i.map(yr):[],u=[],d=String(Date.now()),p=new Set,f=o||{},m=f.recursive,g=f.dirty;n.getFieldEntities(!0).forEach(function(b){if(s||l.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(g&&!b.isFieldDirty())){var E=b.getNamePath();if(p.add(E.join(d)),!s||rd(l,E,m)){var y=b.validateRules(ee({validateMessages:ee(ee({},YX),n.validateMessages)},o));u.push(y.then(function(){return{name:E,errors:[],warnings:[]}}).catch(function(C){var T,x=[],R=[];return(T=C.forEach)===null||T===void 0||T.call(C,function(w){var I=w.rule.warningOnly,O=w.errors;I?R.push.apply(R,$e(O)):x.push.apply(x,$e(O))}),x.length?Promise.reject({name:E,errors:x,warnings:R}):{name:E,errors:x,warnings:R}}))}}});var h=the(u);n.lastValidatePromise=h,h.catch(function(b){return b}).then(function(b){var E=b.map(function(y){var C=y.name;return C});n.notifyObservers(n.store,E,{type:"validateFinish"}),n.triggerOnFieldsChange(E,b)});var v=h.then(function(){return n.lastValidatePromise===h?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(b){var E=b.filter(function(y){return y&&y.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:E,outOfDate:n.lastValidatePromise!==h})});v.catch(function(b){return b});var S=l.filter(function(b){return p.has(b.join(d))});return n.triggerOnFieldsChange(S),v}),W(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(i){console.error(i)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function qL(e){var t=c.useRef(),n=c.useState({}),r=oe(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){a({})},o=new rhe(i);t.current=o.getForm()}return[t.current]}var tD=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ZX=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,i=t.children,o=c.useContext(tD),s=c.useRef({});return c.createElement(tD.Provider,{value:ee(ee({},o),{},{validateMessages:ee(ee({},o.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),o.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),o.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=ee(ee({},s.current),{},W({},u,d))),o.registerForm(u,d)},unregisterForm:function(u){var d=ee({},s.current);delete d[u],s.current=d,o.unregisterForm(u)}})},i)},ahe=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],ihe=function(t,n){var r=t.name,a=t.initialValues,i=t.fields,o=t.form,s=t.preserve,l=t.children,u=t.component,d=u===void 0?"form":u,p=t.validateMessages,f=t.validateTrigger,m=f===void 0?"onChange":f,g=t.onValuesChange,h=t.onFieldsChange,v=t.onFinish,S=t.onFinishFailed,b=t.clearOnDestroy,E=yt(t,ahe),y=c.useRef(null),C=c.useContext(tD),T=qL(o),x=oe(T,1),R=x[0],w=R.getInternalHooks(tc),I=w.useSubscribe,O=w.setInitialValues,k=w.setCallbacks,P=w.setValidateMessages,M=w.setPreserve,N=w.destroyForm;c.useImperativeHandle(n,function(){return ee(ee({},R),{},{nativeElement:y.current})}),c.useEffect(function(){return C.registerForm(r,R),function(){C.unregisterForm(r)}},[C,R,r]),P(ee(ee({},C.validateMessages),p)),k({onValuesChange:g,onFieldsChange:function(j){if(C.triggerFormChange(r,j),h){for(var G=arguments.length,J=new Array(G>1?G-1:0),Y=1;Y{}}),eQ=c.createContext(null),tQ=e=>{const t=An(e,["prefixCls"]);return c.createElement(ZX,Object.assign({},t))},WL=c.createContext({prefixCls:""}),Gr=c.createContext({}),she=e=>{let{children:t,status:n,override:r}=e;const a=c.useContext(Gr),i=c.useMemo(()=>{const o=Object.assign({},a);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,a]);return c.createElement(Gr.Provider,{value:i},t)},nQ=c.createContext(void 0),zo=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=ce.createElement(she,{override:!0,status:!0},a)),t&&(a=ce.createElement(xme,null,a)),a};function xd(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function NB(e){const{closable:t,closeIcon:n}=e||{};return ce.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function AB(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(i=>{a[i]!==void 0&&(e[i]=a[i])})}),e}const lhe={};function YL(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lhe;const r=NB(e),a=NB(t),i=ce.useMemo(()=>Object.assign({closeIcon:ce.createElement(na,null)},n),[n]),o=ce.useMemo(()=>r===!1?!1:r?AB(i,a,r):a===!1?!1:a?AB(i,a):i.closable?i:!1,[r,a,i]);return ce.useMemo(()=>{if(o===!1)return[!1,null];const{closeIconRender:s}=i,{closeIcon:l}=o;let u=l;if(u!=null){s&&(u=s(l));const d=Jn(o,!0);Object.keys(d).length&&(u=ce.isValidElement(u)?ce.cloneElement(u,d):ce.createElement("span",Object.assign({},d),u))}return[!0,u]},[o,i])}var rQ=function(t){if(Jr()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},che=function(t,n){if(!rQ(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function nD(e,t){return!Array.isArray(e)&&t!==void 0?che(e,t):rQ(e)}const uhe=()=>Jr()&&window.document.documentElement,kb=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:i}=e,o=ie({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ie({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),l=c.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return c.createElement("span",{className:ie(t,o,s,n),style:Object.assign(Object.assign({},l),r)})},dhe=new dn("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pb=e=>({height:e,lineHeight:X(e)}),ad=e=>Object.assign({width:e},Pb(e)),phe=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:dhe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),sy=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Pb(e)),fhe=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},ad(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},ad(a)),[`${t}${t}-sm`]:Object.assign({},ad(i))}},mhe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},sy(t,s)),[`${r}-lg`]:Object.assign({},sy(a,s)),[`${r}-sm`]:Object.assign({},sy(i,s))}},DB=e=>Object.assign({width:e},Pb(e)),ghe=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},DB(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},DB(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},ly=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},cy=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Pb(e)),hhe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},cy(r,s))},ly(e,r,n)),{[`${n}-lg`]:Object.assign({},cy(a,s))}),ly(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},cy(i,s))}),ly(e,i,`${n}-sm`))},vhe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:s,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:p,padding:f,marginSM:m,borderRadius:g,titleHeight:h,blockRadius:v,paragraphLiHeight:S,controlHeightXS:b,paragraphMarginTop:E}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:p},ad(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},ad(u)),[`${n}-sm`]:Object.assign({},ad(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:h,background:p,borderRadius:v,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:p,borderRadius:v,"+ li":{marginBlockStart:b}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:g}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:m,[`+ ${a}`]:{marginBlockStart:E}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},hhe(e)),fhe(e)),mhe(e)),ghe(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[` ${r}, ${a} > li, ${n}, ${i}, ${o}, ${s} - `]:Object.assign({},uhe(e))}}},hhe=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Yd=cn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Ht(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ghe(r)]},hhe,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),vhe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:i="circle",size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls","className"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:o},f))))},_he=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i=!1,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-button`,size:o},f))))},bhe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",She=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i}=e,{getPrefixCls:o}=c.useContext(lt),s=o("skeleton",t),[l,u,d]=Yd(s),p=ie(s,`${s}-element`,{[`${s}-active`]:i},n,r,u,d);return l(c.createElement("div",{className:p},c.createElement("div",{className:ie(`${s}-image`,n),style:a},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},c.createElement("title",null,"Image placeholder"),c.createElement("path",{d:bhe,className:`${s}-image-path`})))))},Ehe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-input`,size:o},f))))};var yhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Che=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yhe}))},The=c.forwardRef(Che);const xhe=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i,children:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=ie(l,`${l}-element`,{[`${l}-active`]:i},d,n,r,p),m=o??c.createElement(The,null);return u(c.createElement("div",{className:f},c.createElement("div",{className:ie(`${l}-image`,n),style:a},m)))},Rhe=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},whe=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,i=$e(Array(a)).map((o,s)=>c.createElement("li",{key:s,style:{width:Rhe(s,e)}}));return c.createElement("ul",{className:ie(t,n),style:r},i)},Ihe=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return c.createElement("h3",{className:ie(t,n),style:Object.assign({width:r},a)})};function sy(e){return e&&typeof e=="object"?e:{}}function Ohe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nhe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Ahe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:i,children:o,avatar:s=!1,title:l=!0,paragraph:u=!0,active:d,round:p}=e,{getPrefixCls:f,direction:m,skeleton:g}=c.useContext(lt),h=f("skeleton",t),[v,S,_]=Yd(h);if(n||!("loading"in e)){const E=!!s,y=!!l,C=!!u;let T;if(E){const w=Object.assign(Object.assign({prefixCls:`${h}-avatar`},Ohe(y,C)),sy(s));T=c.createElement("div",{className:`${h}-header`},c.createElement(Ab,Object.assign({},w)))}let x;if(y||C){let w;if(y){const O=Object.assign(Object.assign({prefixCls:`${h}-title`},Nhe(E,C)),sy(l));w=c.createElement(Ihe,Object.assign({},O))}let I;if(C){const O=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},Ahe(E,y)),sy(u));I=c.createElement(whe,Object.assign({},O))}x=c.createElement("div",{className:`${h}-content`},w,I)}const R=ie(h,{[`${h}-with-avatar`]:E,[`${h}-active`]:d,[`${h}-rtl`]:m==="rtl",[`${h}-round`]:p},g==null?void 0:g.className,r,a,S,_);return v(c.createElement("div",{className:R,style:Object.assign(Object.assign({},g==null?void 0:g.style),i)},T,x))}return o??null};Ol.Button=_he;Ol.Avatar=vhe;Ol.Input=Ehe;Ol.Image=She;Ol.Node=xhe;function AB(){}const Dhe=c.createContext({add:AB,remove:AB});function rQ(e){const t=c.useContext(Dhe),n=c.useRef();return Wt(a=>{if(a){const i=e?a.querySelector(e):a;t.add(i),n.current=i}else t.remove(n.current)})}const DB=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=c.useContext(Jm);return ce.createElement(Rt,Object.assign({onClick:n},e),t)},MB=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=c.useContext(Jm);return ce.createElement(Rt,Object.assign({},DX(n),{loading:e,onClick:a},t),r)};function aQ(e,t){return ce.createElement("span",{className:`${e}-close-x`},t||ce.createElement(na,{className:`${e}-close-icon`}))}const iQ=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:i,onCancel:o,okButtonProps:s,cancelButtonProps:l,footer:u}=e,[d]=Go("Modal",UK()),p=t||(d==null?void 0:d.okText),f=r||(d==null?void 0:d.cancelText),m={confirmLoading:a,okButtonProps:s,cancelButtonProps:l,okTextLocale:p,cancelTextLocale:f,okType:n,onOk:i,onCancel:o},g=ce.useMemo(()=>m,$e(Object.values(m)));let h;return typeof u=="function"||typeof u>"u"?(h=ce.createElement(ce.Fragment,null,ce.createElement(DB,null),ce.createElement(MB,null)),typeof u=="function"&&(h=u(h,{OkBtn:MB,CancelBtn:DB})),h=ce.createElement(BX,{value:g},h)):h=u,ce.createElement(NL,{disabled:!1},h)},ng=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + `]:Object.assign({},phe(e))}}},_he=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Qd=sn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Ht(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[vhe(r)]},_he,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),bhe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:i="circle",size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Qd(l),f=An(e,["prefixCls","className"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(kb,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:o},f))))},She=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i=!1,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Qd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(kb,Object.assign({prefixCls:`${l}-button`,size:o},f))))},Ehe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",yhe=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i}=e,{getPrefixCls:o}=c.useContext(lt),s=o("skeleton",t),[l,u,d]=Qd(s),p=ie(s,`${s}-element`,{[`${s}-active`]:i},n,r,u,d);return l(c.createElement("div",{className:p},c.createElement("div",{className:ie(`${s}-image`,n),style:a},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},c.createElement("title",null,"Image placeholder"),c.createElement("path",{d:Ehe,className:`${s}-image-path`})))))},Che=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Qd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(kb,Object.assign({prefixCls:`${l}-input`,size:o},f))))};var The={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},xhe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:The}))},Rhe=c.forwardRef(xhe);const whe=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i,children:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Qd(l),f=ie(l,`${l}-element`,{[`${l}-active`]:i},d,n,r,p),m=o??c.createElement(Rhe,null);return u(c.createElement("div",{className:f},c.createElement("div",{className:ie(`${l}-image`,n),style:a},m)))},Ihe=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Ohe=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,i=$e(Array(a)).map((o,s)=>c.createElement("li",{key:s,style:{width:Ihe(s,e)}}));return c.createElement("ul",{className:ie(t,n),style:r},i)},Nhe=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return c.createElement("h3",{className:ie(t,n),style:Object.assign({width:r},a)})};function uy(e){return e&&typeof e=="object"?e:{}}function Ahe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Dhe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Mhe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Nl=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:i,children:o,avatar:s=!1,title:l=!0,paragraph:u=!0,active:d,round:p}=e,{getPrefixCls:f,direction:m,skeleton:g}=c.useContext(lt),h=f("skeleton",t),[v,S,b]=Qd(h);if(n||!("loading"in e)){const E=!!s,y=!!l,C=!!u;let T;if(E){const w=Object.assign(Object.assign({prefixCls:`${h}-avatar`},Ahe(y,C)),uy(s));T=c.createElement("div",{className:`${h}-header`},c.createElement(kb,Object.assign({},w)))}let x;if(y||C){let w;if(y){const O=Object.assign(Object.assign({prefixCls:`${h}-title`},Dhe(E,C)),uy(l));w=c.createElement(Nhe,Object.assign({},O))}let I;if(C){const O=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},Mhe(E,y)),uy(u));I=c.createElement(Ohe,Object.assign({},O))}x=c.createElement("div",{className:`${h}-content`},w,I)}const R=ie(h,{[`${h}-with-avatar`]:E,[`${h}-active`]:d,[`${h}-rtl`]:m==="rtl",[`${h}-round`]:p},g==null?void 0:g.className,r,a,S,b);return v(c.createElement("div",{className:R,style:Object.assign(Object.assign({},g==null?void 0:g.style),i)},T,x))}return o??null};Nl.Button=She;Nl.Avatar=bhe;Nl.Input=Che;Nl.Image=yhe;Nl.Node=whe;function MB(){}const Lhe=c.createContext({add:MB,remove:MB});function aQ(e){const t=c.useContext(Lhe),n=c.useRef();return Wt(a=>{if(a){const i=e?a.querySelector(e):a;t.add(i),n.current=i}else t.remove(n.current)})}const LB=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=c.useContext(tg);return ce.createElement(wt,Object.assign({onClick:n},e),t)},kB=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=c.useContext(tg);return ce.createElement(wt,Object.assign({},MX(n),{loading:e,onClick:a},t),r)};function iQ(e,t){return ce.createElement("span",{className:`${e}-close-x`},t||ce.createElement(na,{className:`${e}-close-icon`}))}const oQ=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:i,onCancel:o,okButtonProps:s,cancelButtonProps:l,footer:u}=e,[d]=qo("Modal",jK()),p=t||(d==null?void 0:d.okText),f=r||(d==null?void 0:d.cancelText),m={confirmLoading:a,okButtonProps:s,cancelButtonProps:l,okTextLocale:p,cancelTextLocale:f,okType:n,onOk:i,onCancel:o},g=ce.useMemo(()=>m,$e(Object.values(m)));let h;return typeof u=="function"||typeof u>"u"?(h=ce.createElement(ce.Fragment,null,ce.createElement(LB,null),ce.createElement(kB,null)),typeof u=="function"&&(h=u(h,{OkBtn:kB,CancelBtn:LB})),h=ce.createElement(UX,{value:g},h)):h=u,ce.createElement(DL,{disabled:!1},h)},ag=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Mhe=e=>({animationDuration:e,animationFillMode:"both"}),Lhe=e=>({animationDuration:e,animationFillMode:"both"}),Mb=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),khe=e=>({animationDuration:e,animationFillMode:"both"}),Phe=e=>({animationDuration:e,animationFillMode:"both"}),$b=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${i}${e}-enter, ${i}${e}-appear - `]:Object.assign(Object.assign({},Mhe(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Lhe(r)),{animationPlayState:"paused"}),[` + `]:Object.assign(Object.assign({},khe(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Phe(r)),{animationPlayState:"paused"}),[` ${i}${e}-enter${e}-enter-active, ${i}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},khe=new dn("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Phe=new dn("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),WL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[Mb(r,khe,Phe,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},$he=new dn("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Fhe=new dn("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),KL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[$b(r,$he,Fhe,e.motionDurationMid,t),{[` ${a}${r}-enter, ${a}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},$he=new dn("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Fhe=new dn("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Bhe=new dn("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Uhe=new dn("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),jhe=new dn("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zhe=new dn("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Hhe=new dn("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ghe=new dn("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Vhe={"move-up":{inKeyframes:Hhe,outKeyframes:Ghe},"move-down":{inKeyframes:$he,outKeyframes:Fhe},"move-left":{inKeyframes:Bhe,outKeyframes:Uhe},"move-right":{inKeyframes:jhe,outKeyframes:zhe}},Cd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Vhe[t];return[Mb(r,a,i,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},Bhe=new dn("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Uhe=new dn("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),jhe=new dn("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zhe=new dn("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Hhe=new dn("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ghe=new dn("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Vhe=new dn("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qhe=new dn("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Whe={"move-up":{inKeyframes:Vhe,outKeyframes:qhe},"move-down":{inKeyframes:Bhe,outKeyframes:Uhe},"move-left":{inKeyframes:jhe,outKeyframes:zhe},"move-right":{inKeyframes:Hhe,outKeyframes:Ghe}},Rd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Whe[t];return[$b(r,a,i,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Lb=new dn("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),kb=new dn("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Pb=new dn("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),$b=new dn("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),qhe=new dn("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Whe=new dn("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Yhe=new dn("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Khe=new dn("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Xhe={"slide-up":{inKeyframes:Lb,outKeyframes:kb},"slide-down":{inKeyframes:Pb,outKeyframes:$b},"slide-left":{inKeyframes:qhe,outKeyframes:Whe},"slide-right":{inKeyframes:Yhe,outKeyframes:Khe}},jo=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Xhe[t];return[Mb(r,a,i,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Fb=new dn("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Bb=new dn("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ub=new dn("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),jb=new dn("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Yhe=new dn("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Khe=new dn("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Xhe=new dn("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Qhe=new dn("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Zhe={"slide-up":{inKeyframes:Fb,outKeyframes:Bb},"slide-down":{inKeyframes:Ub,outKeyframes:jb},"slide-left":{inKeyframes:Yhe,outKeyframes:Khe},"slide-right":{inKeyframes:Xhe,outKeyframes:Qhe}},Ho=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Zhe[t];return[$b(r,a,i,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},YL=new dn("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Qhe=new dn("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),LB=new dn("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),kB=new dn("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Zhe=new dn("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Jhe=new dn("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),eve=new dn("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),tve=new dn("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),nve=new dn("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),rve=new dn("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),ave=new dn("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ive=new dn("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),ove={zoom:{inKeyframes:YL,outKeyframes:Qhe},"zoom-big":{inKeyframes:LB,outKeyframes:kB},"zoom-big-fast":{inKeyframes:LB,outKeyframes:kB},"zoom-left":{inKeyframes:eve,outKeyframes:tve},"zoom-right":{inKeyframes:nve,outKeyframes:rve},"zoom-up":{inKeyframes:Zhe,outKeyframes:Jhe},"zoom-down":{inKeyframes:ave,outKeyframes:ive}},Kd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=ove[t];return[Mb(r,a,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},XL=new dn("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Jhe=new dn("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),PB=new dn("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),$B=new dn("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),eve=new dn("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),tve=new dn("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),nve=new dn("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),rve=new dn("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),ave=new dn("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ive=new dn("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),ove=new dn("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),sve=new dn("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),lve={zoom:{inKeyframes:XL,outKeyframes:Jhe},"zoom-big":{inKeyframes:PB,outKeyframes:$B},"zoom-big-fast":{inKeyframes:PB,outKeyframes:$B},"zoom-left":{inKeyframes:nve,outKeyframes:rve},"zoom-right":{inKeyframes:ave,outKeyframes:ive},"zoom-up":{inKeyframes:eve,outKeyframes:tve},"zoom-down":{inKeyframes:ove,outKeyframes:sve}},Zd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=lve[t];return[$b(r,a,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function PB(e){return{position:e,inset:0}}const oQ=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},PB("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},PB("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:WL(e)}]},sve=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${Q(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Q(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:Q(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Bo(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${Q(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function FB(e){return{position:e,inset:0}}const sQ=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},FB("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},FB("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:KL(e)}]},cve=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${X(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},an(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${X(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:X(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Uo(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${X(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},lve=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},sQ=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Ht(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},lQ=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Q(e.paddingMD)} ${Q(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Q(e.padding)} ${Q(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Q(e.paddingXS)} ${Q(e.padding)}`:0,footerBorderTop:e.wireframe?`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Q(e.padding*2)} ${Q(e.padding*2)} ${Q(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),cQ=cn("Modal",e=>{const t=sQ(e);return[sve(t),lve(t),oQ(t),Kd(t,"zoom")]},lQ,{unitless:{titleLineHeight:!0}});var cve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{nD={x:e.pageX,y:e.pageY},setTimeout(()=>{nD=null},100)};lhe()&&document.documentElement.addEventListener("click",uve,!0);const uQ=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:i}=c.useContext(lt),o=z=>{const{onCancel:U}=e;U==null||U(z)},s=z=>{const{onOk:U}=e;U==null||U(z)},{prefixCls:l,className:u,rootClassName:d,open:p,wrapClassName:f,centered:m,getContainer:g,focusTriggerAfterClose:h=!0,style:v,visible:S,width:_=520,footer:E,classNames:y,styles:C,children:T,loading:x}=e,R=cve(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),w=r("modal",l),I=r(),O=Zn(w),[k,P,M]=cQ(w,O),N=ie(f,{[`${w}-centered`]:!!m,[`${w}-wrap-rtl`]:a==="rtl"}),A=E!==null&&!x?c.createElement(iQ,Object.assign({},e,{onOk:s,onCancel:o})):null,[D,L]=qL(yd(e),yd(i),{closable:!0,closeIcon:c.createElement(na,{className:`${w}-close-icon`}),closeIconRender:z=>aQ(w,z)}),$=rQ(`.${w}-content`),[F,B]=bo("Modal",R.zIndex);return k(c.createElement(Uo,{form:!0,space:!0},c.createElement(Km.Provider,{value:B},c.createElement(jL,Object.assign({width:_},R,{zIndex:F,getContainer:g===void 0?n:g,prefixCls:w,rootClassName:ie(P,d,M,O),footer:A,visible:p??S,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:nD,onClose:o,closable:D,closeIcon:L,focusTriggerAfterClose:h,transitionName:ya(I,"zoom",e.transitionName),maskTransitionName:ya(I,"fade",e.maskTransitionName),className:ie(P,u,i==null?void 0:i.className),style:Object.assign(Object.assign({},i==null?void 0:i.style),v),classNames:Object.assign(Object.assign(Object.assign({},i==null?void 0:i.classNames),y),{wrapper:ie(N,y==null?void 0:y.wrapper)}),styles:Object.assign(Object.assign({},i==null?void 0:i.styles),C),panelRef:$}),x?c.createElement(Ol,{active:!0,title:!1,paragraph:{rows:4},className:`${w}-body-skeleton`}):T))))},dve=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:i,lineHeight:o,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},mo()),[`&${t} ${t}-body`]:{padding:u},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${Q(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:i,lineHeight:o},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls}, - ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},pve=Gd(["Modal","confirm"],e=>{const t=sQ(e);return[dve(t)]},lQ,{order:-1e3});var fve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a_,$e(Object.values(_))),y=c.createElement(c.Fragment,null,c.createElement(sB,null),c.createElement(lB,null)),C=e.title!==void 0&&e.title!==null,T=`${i}-body`;return c.createElement("div",{className:`${i}-body-wrapper`},c.createElement("div",{className:ie(T,{[`${T}-has-title`]:C})},p,c.createElement("div",{className:`${i}-paragraph`},C&&c.createElement("span",{className:`${i}-title`},e.title),c.createElement("div",{className:`${i}-content`},e.content))),l===void 0||typeof l=="function"?c.createElement(BX,{value:E},c.createElement("div",{className:`${i}-btns`},typeof l=="function"?l(y,{OkBtn:lB,CancelBtn:sB}):y)):l,c.createElement(pve,{prefixCls:t}))}const mve=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:i,centered:o,getContainer:s,maskStyle:l,direction:u,prefixCls:d,wrapClassName:p,rootPrefixCls:f,bodyStyle:m,closable:g=!1,closeIcon:h,modalRender:v,focusTriggerAfterClose:S,onConfirm:_,styles:E}=e,y=`${d}-confirm`,C=e.width||416,T=e.style||{},x=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,w=ie(y,`${y}-${e.type}`,{[`${y}-rtl`]:u==="rtl"},e.className),[,I]=ia(),O=c.useMemo(()=>n!==void 0?n:I.zIndexPopupBase+CX,[n,I]);return c.createElement(uQ,{prefixCls:d,className:w,wrapClassName:ie({[`${y}-centered`]:!!e.centered},p),onCancel:()=>{t==null||t({triggerCancel:!0}),_==null||_(!1)},open:a,title:"",footer:null,transitionName:ya(f||"","zoom",e.transitionName),maskTransitionName:ya(f||"","fade",e.maskTransitionName),mask:x,maskClosable:R,style:T,styles:Object.assign({body:m,mask:l},E),width:C,zIndex:O,afterClose:r,keyboard:i,centered:o,getContainer:s,closable:g,closeIcon:h,modalRender:v,focusTriggerAfterClose:S},c.createElement(dQ,Object.assign({},e,{confirmPrefixCls:y})))},pQ=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return c.createElement(_o,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},c.createElement(mve,Object.assign({},e)))},nc=[];let fQ="";function mQ(){return fQ}const gve=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:i}=e,o=UK(),s=c.useContext(lt),l=mQ()||s.getPrefixCls(),u=r||`${l}-modal`;let d=a;return d===!1&&(d=void 0),ce.createElement(pQ,Object.assign({},e,{rootPrefixCls:l,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:i??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:o,getContainer:d}))};function rg(e){const t=mX(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function i(){for(var u,d=arguments.length,p=new Array(d),f=0;fh==null?void 0:h.triggerCancel)){var g;(u=e.onCancel)===null||u===void 0||(g=u).call.apply(g,[e,()=>{}].concat($e(p.slice(1))))}for(let h=0;h{const d=t.getPrefixCls(void 0,mQ()),p=t.getIconPrefixCls(),f=t.getTheme(),m=ce.createElement(gve,Object.assign({},u));FL(ce.createElement(_o,{prefixCls:d,iconPrefixCls:p,theme:f},t.holderRender?t.holderRender(m):m),n)})}function s(){for(var u=arguments.length,d=new Array(u),p=0;p{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,d)}}),r.visible&&delete r.visible,o(r)}function l(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),o(r)}return o(r),nc.push(s),{destroy:s,update:l}}function gQ(e){return Object.assign(Object.assign({},e),{type:"warning"})}function hQ(e){return Object.assign(Object.assign({},e),{type:"info"})}function vQ(e){return Object.assign(Object.assign({},e),{type:"success"})}function _Q(e){return Object.assign(Object.assign({},e),{type:"error"})}function bQ(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function hve(e){let{rootPrefixCls:t}=e;fQ=t}var vve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,i=vve(e,["afterClose","config"]);const[o,s]=c.useState(!0),[l,u]=c.useState(a),{direction:d,getPrefixCls:p}=c.useContext(lt),f=p("modal"),m=p(),g=()=>{var _;r(),(_=l.afterClose)===null||_===void 0||_.call(l)},h=function(){var _;s(!1);for(var E=arguments.length,y=new Array(E),C=0;CR==null?void 0:R.triggerCancel)){var x;(_=l.onCancel)===null||_===void 0||(x=_).call.apply(x,[l,()=>{}].concat($e(y.slice(1))))}};c.useImperativeHandle(t,()=>({destroy:h,update:_=>{u(E=>Object.assign(Object.assign({},E),_))}}));const v=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[S]=Go("Modal",zi.Modal);return c.createElement(pQ,Object.assign({prefixCls:f,rootPrefixCls:m},l,{close:h,open:o,afterClose:g,okText:l.okText||(v?S==null?void 0:S.okText:S==null?void 0:S.justOkText),direction:l.direction||d,cancelText:l.cancelText||(S==null?void 0:S.cancelText)},i))},bve=c.forwardRef(_ve);let $B=0;const Sve=c.memo(c.forwardRef((e,t)=>{const[n,r]=rme();return c.useImperativeHandle(t,()=>({patchElement:r}),[]),c.createElement(c.Fragment,null,n)}));function Eve(){const e=c.useRef(null),[t,n]=c.useState([]);c.useEffect(()=>{t.length&&($e(t).forEach(o=>{o()}),n([]))},[t]);const r=c.useCallback(i=>function(s){var l;$B+=1;const u=c.createRef();let d;const p=new Promise(v=>{d=v});let f=!1,m;const g=c.createElement(bve,{key:`modal-${$B}`,config:i(s),ref:u,afterClose:()=>{m==null||m()},isSilent:()=>f,onConfirm:v=>{d(v)}});return m=(l=e.current)===null||l===void 0?void 0:l.patchElement(g),m&&nc.push(m),{destroy:()=>{function v(){var S;(S=u.current)===null||S===void 0||S.destroy()}u.current?v():n(S=>[].concat($e(S),[v]))},update:v=>{function S(){var _;(_=u.current)===null||_===void 0||_.update(v)}u.current?S():n(_=>[].concat($e(_),[S]))},then:v=>(f=!0,p.then(v))}},[]);return[c.useMemo(()=>({info:r(hQ),success:r(vQ),error:r(_Q),warning:r(gQ),confirm:r(bQ)}),[]),c.createElement(Sve,{key:"modal-holder",ref:e})]}const yve=ce.createContext({});function SQ(e){return t=>c.createElement(_o,{theme:{token:{motion:!1,zIndexPopupBase:0}}},c.createElement(e,Object.assign({},t)))}const ag=(e,t,n,r)=>SQ(i=>{const{prefixCls:o,style:s}=i,l=c.useRef(null),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=ln(!1,{value:i.open}),{getPrefixCls:h}=c.useContext(lt),v=h(t||"select",o);c.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const E=new ResizeObserver(C=>{const T=C[0].target;d(T.offsetHeight+8),f(T.offsetWidth)}),y=setInterval(()=>{var C;const T=n?`.${n(v)}`:`.${v}-dropdown`,x=(C=l.current)===null||C===void 0?void 0:C.querySelector(T);x&&(clearInterval(y),E.observe(x))},10);return()=>{clearInterval(y),E.disconnect()}}},[]);let S=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});r&&(S=r(S));const _={paddingBottom:u,position:"relative",minWidth:p};return c.createElement("div",{ref:l,style:_},c.createElement(e,Object.assign({},S)))}),Fb=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Bb=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,i=t.children,o=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(a):r;return c.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),o==null||o(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:c.createElement("span",{className:ie(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},Cve=function(t,n,r,a,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,u=ce.useMemo(function(){if(gt(a)==="object")return a.clearIcon;if(i)return i},[a,i]),d=ce.useMemo(function(){return!!(!o&&a&&(r.length||s)&&!(l==="combobox"&&s===""))},[a,o,r.length,s,l]);return{allowClear:d,clearIcon:ce.createElement(Bb,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},EQ=c.createContext(null);function yQ(){return c.useContext(EQ)}function Tve(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(null),o=function(){window.clearTimeout(i.current)};c.useEffect(function(){return o},[]);var s=function(u,d){o(),i.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,o]}function CQ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=c.useRef(null),n=c.useRef(null);c.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function xve(e,t,n,r){var a=c.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},c.useEffect(function(){function i(o){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=o.target;l.shadowRoot&&o.composed&&(l=o.composedPath()[0]||l),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(l)&&u!==l})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function Rve(e){return![Fe.ESC,Fe.SHIFT,Fe.BACKSPACE,Fe.TAB,Fe.WIN_KEY,Fe.ALT,Fe.META,Fe.WIN_KEY_RIGHT,Fe.CTRL,Fe.SEMICOLON,Fe.EQUALS,Fe.CAPS_LOCK,Fe.CONTEXT_MENU,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12].includes(e)}var wve=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ou=void 0;function Ive(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,i=e.renderItem,o=e.responsive,s=e.responsiveDisabled,l=e.registerSize,u=e.itemKey,d=e.className,p=e.style,f=e.children,m=e.display,g=e.order,h=e.component,v=h===void 0?"div":h,S=Et(e,wve),_=o&&!m;function E(R){l(u,R)}c.useEffect(function(){return function(){E(null)}},[]);var y=i&&a!==ou?i(a):f,C;r||(C={opacity:_?0:1,height:_?0:ou,overflowY:_?"hidden":ou,order:o?g:ou,pointerEvents:_?"none":ou,position:_?"absolute":ou});var T={};_&&(T["aria-hidden"]=!0);var x=c.createElement(v,_e({className:ie(!r&&n,d),style:ee(ee({},C),p)},T,S,{ref:t}),y);return o&&(x=c.createElement(da,{onResize:function(w){var I=w.offsetWidth;E(I)},disabled:s},x)),x}var yf=c.forwardRef(Ive);yf.displayName="Item";function Ove(e){if(typeof MessageChannel>"u")Gt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Nve(){var e=c.useRef(null),t=function(r){e.current||(e.current=[],Ove(function(){Ur.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Mp(e,t){var n=c.useState(t),r=oe(n,2),a=r[0],i=r[1],o=Wt(function(s){e(function(){i(s)})});return[a,o]}var v_=ce.createContext(null),Ave=["component"],Dve=["className"],Mve=["className"],Lve=function(t,n){var r=c.useContext(v_);if(!r){var a=t.component,i=a===void 0?"div":a,o=Et(t,Ave);return c.createElement(i,_e({},o,{ref:n}))}var s=r.className,l=Et(r,Dve),u=t.className,d=Et(t,Mve);return c.createElement(v_.Provider,{value:null},c.createElement(yf,_e({ref:n,className:ie(s,u)},l,d)))},TQ=c.forwardRef(Lve);TQ.displayName="RawItem";var kve=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],xQ="responsive",RQ="invalidate";function Pve(e){return"+ ".concat(e.length," ...")}function $ve(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,i=a===void 0?[]:a,o=e.renderItem,s=e.renderRawItem,l=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,p=e.ssr,f=e.style,m=e.className,g=e.maxCount,h=e.renderRest,v=e.renderRawRest,S=e.suffix,_=e.component,E=_===void 0?"div":_,y=e.itemComponent,C=e.onVisibleChange,T=Et(e,kve),x=p==="full",R=Nve(),w=Mp(R,null),I=oe(w,2),O=I[0],k=I[1],P=O||0,M=Mp(R,new Map),N=oe(M,2),A=N[0],D=N[1],L=Mp(R,0),$=oe(L,2),F=$[0],B=$[1],z=Mp(R,0),U=oe(z,2),j=U[0],G=U[1],J=Mp(R,0),Y=oe(J,2),X=Y[0],V=Y[1],H=c.useState(null),q=oe(H,2),K=q[0],Z=q[1],te=c.useState(null),se=oe(te,2),ue=se[0],me=se[1],de=c.useMemo(function(){return ue===null&&x?Number.MAX_SAFE_INTEGER:ue||0},[ue,O]),Te=c.useState(!1),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne="".concat(r,"-item"),ae=Math.max(F,j),le=g===xQ,pe=i.length&&le,Re=g===RQ,Se=pe||typeof g=="number"&&i.length>g,Pe=c.useMemo(function(){var Xe=i;return pe?O===null&&x?Xe=i:Xe=i.slice(0,Math.min(i.length,P/d)):typeof g=="number"&&(Xe=i.slice(0,g)),Xe},[i,d,O,g,pe]),fe=c.useMemo(function(){return pe?i.slice(de+1):i.slice(Pe.length)},[i,Pe,pe,de]),ve=c.useCallback(function(Xe,Be){var Je;return typeof l=="function"?l(Xe):(Je=l&&(Xe==null?void 0:Xe[l]))!==null&&Je!==void 0?Je:Be},[l]),Ae=c.useCallback(o||function(Xe){return Xe},[o]);function ye(Xe,Be,Je){ue===Xe&&(Be===void 0||Be===K)||(me(Xe),Je||(re(XeP){ye(mt-1,Xe-pt-X+j);break}}S&&ke(0)+X>P&&Z(null)}},[P,A,j,X,ve,Pe]);var rt=ge&&!!fe.length,Me={};K!==null&&pe&&(Me={position:"absolute",left:K,top:0});var Ce={prefixCls:ne,responsive:pe,component:y,invalidate:Re},De=s?function(Xe,Be){var Je=ve(Xe,Be);return c.createElement(v_.Provider,{key:Je,value:ee(ee({},Ce),{},{order:Be,item:Xe,itemKey:Je,registerSize:Ne,display:Be<=de})},s(Xe,Be))}:function(Xe,Be){var Je=ve(Xe,Be);return c.createElement(yf,_e({},Ce,{order:Be,key:Je,item:Xe,renderItem:Ae,itemKey:Je,registerSize:Ne,display:Be<=de}))},Ue,Ye={order:rt?de:Number.MAX_SAFE_INTEGER,className:"".concat(ne,"-rest"),registerSize:Ie,display:rt};if(v)v&&(Ue=c.createElement(v_.Provider,{value:ee(ee({},Ce),Ye)},v(fe)));else{var He=h||Pve;Ue=c.createElement(yf,_e({},Ce,Ye),typeof He=="function"?He(fe):He)}var ze=c.createElement(E,_e({className:ie(!Re&&r,m),style:f,ref:t},T),Pe.map(De),Se?Ue:null,S&&c.createElement(yf,_e({},Ce,{responsive:le,responsiveDisabled:!pe,order:de,className:"".concat(ne,"-suffix"),registerSize:xe,display:!0,style:Me}),S));return le&&(ze=c.createElement(da,{onResize:be,disabled:!pe},ze)),ze}var co=c.forwardRef($ve);co.displayName="Overflow";co.Item=TQ;co.RESPONSIVE=xQ;co.INVALIDATE=RQ;var Fve=function(t,n){var r,a=t.prefixCls,i=t.id,o=t.inputElement,s=t.disabled,l=t.tabIndex,u=t.autoFocus,d=t.autoComplete,p=t.editable,f=t.activeDescendantId,m=t.value,g=t.maxLength,h=t.onKeyDown,v=t.onMouseDown,S=t.onChange,_=t.onPaste,E=t.onCompositionStart,y=t.onCompositionEnd,C=t.open,T=t.attrs,x=o||c.createElement("input",null),R=x,w=R.ref,I=R.props,O=I.onKeyDown,k=I.onChange,P=I.onMouseDown,M=I.onCompositionStart,N=I.onCompositionEnd,A=I.style;return"maxLength"in x.props,x=c.cloneElement(x,ee(ee(ee({type:"search"},I),{},{id:i,ref:aa(n,w),disabled:s,tabIndex:l,autoComplete:d||"off",autoFocus:u,className:ie("".concat(a,"-selection-search-input"),(r=x)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":C?f:void 0},T),{},{value:p?m:"",maxLength:g,readOnly:!p,unselectable:p?null:"on",style:ee(ee({},A),{},{opacity:p?null:0}),onKeyDown:function(L){h(L),O&&O(L)},onMouseDown:function(L){v(L),P&&P(L)},onChange:function(L){S(L),k&&k(L)},onCompositionStart:function(L){E(L),M&&M(L)},onCompositionEnd:function(L){y(L),N&&N(L)},onPaste:_})),x},wQ=c.forwardRef(Fve);function IQ(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Bve=typeof window<"u"&&window.document&&window.document.documentElement,Uve=Bve;function jve(e){return e!=null}function zve(e){return!e&&e!==0}function FB(e){return["string","number"].includes(gt(e))}function OQ(e){var t=void 0;return e&&(FB(e.title)?t=e.title.toString():FB(e.label)&&(t=e.label.toString())),t}function Hve(e,t){Uve?c.useLayoutEffect(e,t):c.useEffect(e,t)}function Gve(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var BB=function(t){t.preventDefault(),t.stopPropagation()},Vve=function(t){var n=t.id,r=t.prefixCls,a=t.values,i=t.open,o=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,u=t.placeholder,d=t.disabled,p=t.mode,f=t.showSearch,m=t.autoFocus,g=t.autoComplete,h=t.activeDescendantId,v=t.tabIndex,S=t.removeIcon,_=t.maxTagCount,E=t.maxTagTextLength,y=t.maxTagPlaceholder,C=y===void 0?function(Z){return"+ ".concat(Z.length," ...")}:y,T=t.tagRender,x=t.onToggleOpen,R=t.onRemove,w=t.onInputChange,I=t.onInputPaste,O=t.onInputKeyDown,k=t.onInputMouseDown,P=t.onInputCompositionStart,M=t.onInputCompositionEnd,N=c.useRef(null),A=c.useState(0),D=oe(A,2),L=D[0],$=D[1],F=c.useState(!1),B=oe(F,2),z=B[0],U=B[1],j="".concat(r,"-selection"),G=i||p==="multiple"&&s===!1||p==="tags"?o:"",J=p==="tags"||p==="multiple"&&s===!1||f&&(i||z);Hve(function(){$(N.current.scrollWidth)},[G]);var Y=function(te,se,ue,me,de){return c.createElement("span",{title:OQ(te),className:ie("".concat(j,"-item"),W({},"".concat(j,"-item-disabled"),ue))},c.createElement("span",{className:"".concat(j,"-item-content")},se),me&&c.createElement(Bb,{className:"".concat(j,"-item-remove"),onMouseDown:BB,onClick:de,customizeIcon:S},"×"))},X=function(te,se,ue,me,de,Te){var Ee=function(re){BB(re),x(!i)};return c.createElement("span",{onMouseDown:Ee},T({label:se,value:te,disabled:ue,closable:me,onClose:de,isMaxTag:!!Te}))},V=function(te){var se=te.disabled,ue=te.label,me=te.value,de=!d&&!se,Te=ue;if(typeof E=="number"&&(typeof ue=="string"||typeof ue=="number")){var Ee=String(Te);Ee.length>E&&(Te="".concat(Ee.slice(0,E),"..."))}var ge=function(ne){ne&&ne.stopPropagation(),R(te)};return typeof T=="function"?X(me,Te,se,de,ge):Y(te,Te,se,de,ge)},H=function(te){var se=typeof C=="function"?C(te):C;return typeof T=="function"?X(void 0,se,!1,!1,void 0,!0):Y({title:se},se,!1)},q=c.createElement("div",{className:"".concat(j,"-search"),style:{width:L},onFocus:function(){U(!0)},onBlur:function(){U(!1)}},c.createElement(wQ,{ref:l,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:m,autoComplete:g,editable:J,activeDescendantId:h,value:G,onKeyDown:O,onMouseDown:k,onChange:w,onPaste:I,onCompositionStart:P,onCompositionEnd:M,tabIndex:v,attrs:Qn(t,!0)}),c.createElement("span",{ref:N,className:"".concat(j,"-search-mirror"),"aria-hidden":!0},G," ")),K=c.createElement(co,{prefixCls:"".concat(j,"-overflow"),data:a,renderItem:V,renderRest:H,suffix:q,itemKey:Gve,maxCount:_});return c.createElement(c.Fragment,null,K,!a.length&&!G&&c.createElement("span",{className:"".concat(j,"-placeholder")},u))},qve=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,i=t.inputRef,o=t.disabled,s=t.autoFocus,l=t.autoComplete,u=t.activeDescendantId,d=t.mode,p=t.open,f=t.values,m=t.placeholder,g=t.tabIndex,h=t.showSearch,v=t.searchValue,S=t.activeValue,_=t.maxLength,E=t.onInputKeyDown,y=t.onInputMouseDown,C=t.onInputChange,T=t.onInputPaste,x=t.onInputCompositionStart,R=t.onInputCompositionEnd,w=t.title,I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=d==="combobox",N=M||h,A=f[0],D=v||"";M&&S&&!k&&(D=S),c.useEffect(function(){M&&P(!1)},[M,S]);var L=d!=="combobox"&&!p&&!h?!1:!!D,$=w===void 0?OQ(A):w,F=c.useMemo(function(){return A?null:c.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[A,L,m,r]);return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(r,"-selection-search")},c.createElement(wQ,{ref:i,prefixCls:r,id:a,open:p,inputElement:n,disabled:o,autoFocus:s,autoComplete:l,editable:N,activeDescendantId:u,value:D,onKeyDown:E,onMouseDown:y,onChange:function(z){P(!0),C(z)},onPaste:T,onCompositionStart:x,onCompositionEnd:R,tabIndex:g,attrs:Qn(t,!0),maxLength:M?_:void 0})),!M&&A?c.createElement("span",{className:"".concat(r,"-selection-item"),title:$,style:L?{visibility:"hidden"}:void 0},A.label):null,F)},Wve=function(t,n){var r=c.useRef(null),a=c.useRef(!1),i=t.prefixCls,o=t.open,s=t.mode,l=t.showSearch,u=t.tokenWithEnter,d=t.disabled,p=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,g=t.onToggleOpen,h=t.onInputKeyDown,v=t.domRef;c.useImperativeHandle(n,function(){return{focus:function(L){r.current.focus(L)},blur:function(){r.current.blur()}}});var S=CQ(0),_=oe(S,2),E=_[0],y=_[1],C=function(L){var $=L.which;($===Fe.UP||$===Fe.DOWN)&&L.preventDefault(),h&&h(L),$===Fe.ENTER&&s==="tags"&&!a.current&&!o&&(m==null||m(L.target.value)),Rve($)&&g(!0)},T=function(){y(!0)},x=c.useRef(null),R=function(L){f(L,!0,a.current)!==!1&&g(!0)},w=function(){a.current=!0},I=function(L){a.current=!1,s!=="combobox"&&R(L.target.value)},O=function(L){var $=L.target.value;if(u&&x.current&&/[\r\n]/.test(x.current)){var F=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$=$.replace(F,x.current)}x.current=null,R($)},k=function(L){var $=L.clipboardData,F=$==null?void 0:$.getData("text");x.current=F||""},P=function(L){var $=L.target;if($!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(L){var $=E();L.target!==r.current&&!$&&!(s==="combobox"&&d)&&L.preventDefault(),(s!=="combobox"&&(!l||!$)||!o)&&(o&&p!==!1&&f("",!0,!1),g())},N={inputRef:r,onInputKeyDown:C,onInputMouseDown:T,onInputChange:O,onInputPaste:k,onInputCompositionStart:w,onInputCompositionEnd:I},A=s==="multiple"||s==="tags"?c.createElement(Vve,_e({},t,N)):c.createElement(qve,_e({},t,N));return c.createElement("div",{ref:v,className:"".concat(i,"-selector"),onClick:P,onMouseDown:M},A)},Yve=c.forwardRef(Wve);function Kve(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,i=r||{},o=i.className,s=i.content,l=a.x,u=l===void 0?0:l,d=a.y,p=d===void 0?0:d,f=c.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(n.autoArrow!==!1){var g=n.points[0],h=n.points[1],v=g[0],S=g[1],_=h[0],E=h[1];v===_||!["t","b"].includes(v)?m.top=p:v==="t"?m.top=0:m.bottom=0,S===E||!["l","r"].includes(S)?m.left=u:S==="l"?m.left=0:m.right=0}return c.createElement("div",{ref:f,className:ie("".concat(t,"-arrow"),o),style:m},s)}function Xve(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,i=e.motion;return a?c.createElement(ta,_e({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var s=o.className;return c.createElement("div",{style:{zIndex:r},className:ie("".concat(t,"-mask"),s)})}):null}var Qve=c.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),Zve=c.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,i=e.style,o=e.target,s=e.onVisibleChanged,l=e.open,u=e.keepDom,d=e.fresh,p=e.onClick,f=e.mask,m=e.arrow,g=e.arrowPos,h=e.align,v=e.motion,S=e.maskMotion,_=e.forceRender,E=e.getPopupContainer,y=e.autoDestroy,C=e.portal,T=e.zIndex,x=e.onMouseEnter,R=e.onMouseLeave,w=e.onPointerEnter,I=e.ready,O=e.offsetX,k=e.offsetY,P=e.offsetR,M=e.offsetB,N=e.onAlign,A=e.onPrepare,D=e.stretch,L=e.targetWidth,$=e.targetHeight,F=typeof n=="function"?n():n,B=l||u,z=(E==null?void 0:E.length)>0,U=c.useState(!E||!z),j=oe(U,2),G=j[0],J=j[1];if(Qt(function(){!G&&z&&o&&J(!0)},[G,z,o]),!G)return null;var Y="auto",X={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(I||!l){var V,H=h.points,q=h.dynamicInset||((V=h._experimental)===null||V===void 0?void 0:V.dynamicInset),K=q&&H[0][1]==="r",Z=q&&H[0][0]==="b";K?(X.right=P,X.left=Y):(X.left=O,X.right=Y),Z?(X.bottom=M,X.top=Y):(X.top=k,X.bottom=Y)}var te={};return D&&(D.includes("height")&&$?te.height=$:D.includes("minHeight")&&$&&(te.minHeight=$),D.includes("width")&&L?te.width=L:D.includes("minWidth")&&L&&(te.minWidth=L)),l||(te.pointerEvents="none"),c.createElement(C,{open:_||B,getContainer:E&&function(){return E(o)},autoDestroy:y},c.createElement(Xve,{prefixCls:a,open:l,zIndex:T,mask:f,motion:S}),c.createElement(da,{onResize:N,disabled:!l},function(se){return c.createElement(ta,_e({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:_,leavedClassName:"".concat(a,"-hidden")},v,{onAppearPrepare:A,onEnterPrepare:A,visible:l,onVisibleChanged:function(me){var de;v==null||(de=v.onVisibleChanged)===null||de===void 0||de.call(v,me),s(me)}}),function(ue,me){var de=ue.className,Te=ue.style,Ee=ie(a,de,r);return c.createElement("div",{ref:aa(se,t,me),className:Ee,style:ee(ee(ee(ee({"--arrow-x":"".concat(g.x||0,"px"),"--arrow-y":"".concat(g.y||0,"px")},X),te),Te),{},{boxSizing:"border-box",zIndex:T},i),onMouseEnter:x,onMouseLeave:R,onPointerEnter:w,onClick:p},m&&c.createElement(Kve,{prefixCls:a,arrow:m,arrowPos:g,align:h}),c.createElement(Qve,{cache:!l&&!d},F))})}))}),Jve=c.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=fo(n),i=c.useCallback(function(s){am(t,r?r(s):s)},[r]),o=Rs(i,n.ref);return a?c.cloneElement(n,{ref:o}):n}),UB=c.createContext(null);function jB(e){return e?Array.isArray(e)?e:[e]:[]}function e_e(e,t,n,r){return c.useMemo(function(){var a=jB(n??t),i=jB(r??t),o=new Set(a),s=new Set(i);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[o,s]},[e,t,n,r])}function t_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function n_e(e,t,n,r){for(var a=n.points,i=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Lp(e){return hm(parseFloat(e),0)}function HB(e,t){var n=ee({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=ig(r).getComputedStyle(r),i=a.overflow,o=a.overflowClipMargin,s=a.borderTopWidth,l=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,p=r.getBoundingClientRect(),f=r.offsetHeight,m=r.clientHeight,g=r.offsetWidth,h=r.clientWidth,v=Lp(s),S=Lp(l),_=Lp(u),E=Lp(d),y=hm(Math.round(p.width/g*1e3)/1e3),C=hm(Math.round(p.height/f*1e3)/1e3),T=(g-h-_-E)*y,x=(f-m-v-S)*C,R=v*C,w=S*C,I=_*y,O=E*y,k=0,P=0;if(i==="clip"){var M=Lp(o);k=M*y,P=M*C}var N=p.x+I-k,A=p.y+R-P,D=N+p.width+2*k-I-O-T,L=A+p.height+2*P-R-w-x;n.left=Math.max(n.left,N),n.top=Math.max(n.top,A),n.right=Math.min(n.right,D),n.bottom=Math.min(n.bottom,L)}}),n}function GB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function VB(e,t){var n=t||[],r=oe(n,2),a=r[0],i=r[1];return[GB(e.width,a),GB(e.height,i)]}function qB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function su(e,t){var n=t[0],r=t[1],a,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:i}}function Ds(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function r_e(e,t,n,r,a,i,o){var s=c.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),l=oe(s,2),u=l[0],d=l[1],p=c.useRef(0),f=c.useMemo(function(){return t?rD(t):[]},[t]),m=c.useRef({}),g=function(){m.current={}};e||g();var h=Wt(function(){if(t&&n&&e){let pn=function(Or,Sr){var sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ae,Ja=j.x+Or,Yo=j.y+Sr,Dt=Ja+Z,Kt=Yo+K,Vn=Math.max(Ja,sa.left),fr=Math.max(Yo,sa.top),qn=Math.min(Dt,sa.right),Ns=Math.min(Kt,sa.bottom);return Math.max(0,(qn-Vn)*(Ns-fr))},Ir=function(){vt=j.y+Je,nt=vt+K,bt=j.x+Be,Ct=bt+Z};var mn=pn,pr=Ir,_,E,y,C,T=t,x=T.ownerDocument,R=ig(T),w=R.getComputedStyle(T),I=w.width,O=w.height,k=w.position,P=T.style.left,M=T.style.top,N=T.style.right,A=T.style.bottom,D=T.style.overflow,L=ee(ee({},a[r]),i),$=x.createElement("div");(_=T.parentElement)===null||_===void 0||_.appendChild($),$.style.left="".concat(T.offsetLeft,"px"),$.style.top="".concat(T.offsetTop,"px"),$.style.position=k,$.style.height="".concat(T.offsetHeight,"px"),$.style.width="".concat(T.offsetWidth,"px"),T.style.left="0",T.style.top="0",T.style.right="auto",T.style.bottom="auto",T.style.overflow="hidden";var F;if(Array.isArray(n))F={x:n[0],y:n[1],width:0,height:0};else{var B,z,U=n.getBoundingClientRect();U.x=(B=U.x)!==null&&B!==void 0?B:U.left,U.y=(z=U.y)!==null&&z!==void 0?z:U.top,F={x:U.x,y:U.y,width:U.width,height:U.height}}var j=T.getBoundingClientRect();j.x=(E=j.x)!==null&&E!==void 0?E:j.left,j.y=(y=j.y)!==null&&y!==void 0?y:j.top;var G=x.documentElement,J=G.clientWidth,Y=G.clientHeight,X=G.scrollWidth,V=G.scrollHeight,H=G.scrollTop,q=G.scrollLeft,K=j.height,Z=j.width,te=F.height,se=F.width,ue={left:0,top:0,right:J,bottom:Y},me={left:-q,top:-H,right:X-q,bottom:V-H},de=L.htmlRegion,Te="visible",Ee="visibleFirst";de!=="scroll"&&de!==Ee&&(de=Te);var ge=de===Ee,re=HB(me,f),ne=HB(ue,f),ae=de===Te?ne:re,le=ge?ne:ae;T.style.left="auto",T.style.top="auto",T.style.right="0",T.style.bottom="0";var pe=T.getBoundingClientRect();T.style.left=P,T.style.top=M,T.style.right=N,T.style.bottom=A,T.style.overflow=D,(C=T.parentElement)===null||C===void 0||C.removeChild($);var Re=hm(Math.round(Z/parseFloat(I)*1e3)/1e3),Se=hm(Math.round(K/parseFloat(O)*1e3)/1e3);if(Re===0||Se===0||rm(n)&&!qd(n))return;var Pe=L.offset,fe=L.targetOffset,ve=VB(j,Pe),Ae=oe(ve,2),ye=Ae[0],be=Ae[1],Ne=VB(F,fe),Ie=oe(Ne,2),xe=Ie[0],ke=Ie[1];F.x-=xe,F.y-=ke;var rt=L.points||[],Me=oe(rt,2),Ce=Me[0],De=Me[1],Ue=qB(De),Ye=qB(Ce),He=su(F,Ue),ze=su(j,Ye),Xe=ee({},L),Be=He.x-ze.x+ye,Je=He.y-ze.y+be,mt=pn(Be,Je),pt=pn(Be,Je,ne),We=su(F,["t","l"]),Ve=su(j,["t","l"]),Ze=su(F,["b","r"]),dt=su(j,["b","r"]),It=L.overflow||{},Nt=It.adjustX,ht=It.adjustY,ct=It.shiftX,ot=It.shiftY,et=function(Sr){return typeof Sr=="boolean"?Sr:Sr>=0},vt,nt,bt,Ct;Ir();var tt=et(ht),it=Ye[0]===Ue[0];if(tt&&Ye[0]==="t"&&(nt>le.bottom||m.current.bt)){var Ke=Je;it?Ke-=K-te:Ke=We.y-dt.y-be;var qe=pn(Be,Ke),_t=pn(Be,Ke,ne);qe>mt||qe===mt&&(!ge||_t>=pt)?(m.current.bt=!0,Je=Ke,be=-be,Xe.points=[Ds(Ye,0),Ds(Ue,0)]):m.current.bt=!1}if(tt&&Ye[0]==="b"&&(vtmt||kt===mt&&(!ge||tn>=pt)?(m.current.tb=!0,Je=xt,be=-be,Xe.points=[Ds(Ye,0),Ds(Ue,0)]):m.current.tb=!1}var nn=et(Nt),rn=Ye[1]===Ue[1];if(nn&&Ye[1]==="l"&&(Ct>le.right||m.current.rl)){var Vt=Be;rn?Vt-=Z-se:Vt=We.x-dt.x-ye;var yt=pn(Vt,Je),Ot=pn(Vt,Je,ne);yt>mt||yt===mt&&(!ge||Ot>=pt)?(m.current.rl=!0,Be=Vt,ye=-ye,Xe.points=[Ds(Ye,1),Ds(Ue,1)]):m.current.rl=!1}if(nn&&Ye[1]==="r"&&(btmt||En===mt&&(!ge||Hn>=pt)?(m.current.lr=!0,Be=Mt,ye=-ye,Xe.points=[Ds(Ye,1),Ds(Ue,1)]):m.current.lr=!1}Ir();var lr=ct===!0?0:ct;typeof lr=="number"&&(btne.right&&(Be-=Ct-ne.right-ye,F.x>ne.right-lr&&(Be+=F.x-ne.right+lr)));var tr=ot===!0?0:ot;typeof tr=="number"&&(vtne.bottom&&(Je-=nt-ne.bottom-be,F.y>ne.bottom-tr&&(Je+=F.y-ne.bottom+tr)));var Rr=j.x+Be,wr=Rr+Z,Gn=j.y+Je,Yt=Gn+K,Bt=F.x,qt=Bt+se,Ut=F.y,jt=Ut+te,St=Math.max(Rr,Bt),Tt=Math.min(wr,qt),sn=(St+Tt)/2,yn=sn-Rr,nr=Math.max(Gn,Ut),cr=Math.min(Yt,jt),vr=(nr+cr)/2,zt=vr-Gn;o==null||o(t,Xe);var Ft=pe.right-j.x-(Be+j.width),ut=pe.bottom-j.y-(Je+j.height);Re===1&&(Be=Math.round(Be),Ft=Math.round(Ft)),Se===1&&(Je=Math.round(Je),ut=Math.round(ut));var Pt={ready:!0,offsetX:Be/Re,offsetY:Je/Se,offsetR:Ft/Re,offsetB:ut/Se,arrowX:yn/Re,arrowY:zt/Se,scaleX:Re,scaleY:Se,align:Xe};d(Pt)}}),v=function(){p.current+=1;var E=p.current;Promise.resolve().then(function(){p.current===E&&h()})},S=function(){d(function(E){return ee(ee({},E),{},{ready:!1})})};return Qt(S,[r]),Qt(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,v]}function a_e(e,t,n,r,a){Qt(function(){if(e&&t&&n){let f=function(){r(),a()};var p=f,i=t,o=n,s=rD(i),l=rD(o),u=ig(o),d=new Set([u].concat($e(s),$e(l)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function i_e(e,t,n,r,a,i,o,s){var l=c.useRef(e);l.current=e,c.useEffect(function(){if(t&&r&&(!a||i)){var u=function(m){var g;l.current&&!o(((g=m.composedPath)===null||g===void 0||(g=g.call(m))===null||g===void 0?void 0:g[0])||m.target)&&s(!1)},d=ig(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var p=m_(n);return p&&(p.addEventListener("mousedown",u,!0),p.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),p&&(p.removeEventListener("mousedown",u,!0),p.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,i])}var o_e=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function s_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eg,t=c.forwardRef(function(n,r){var a=n.prefixCls,i=a===void 0?"rc-trigger-popup":a,o=n.children,s=n.action,l=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,p=n.popupVisible,f=n.defaultPopupVisible,m=n.onPopupVisibleChange,g=n.afterPopupVisibleChange,h=n.mouseEnterDelay,v=n.mouseLeaveDelay,S=v===void 0?.1:v,_=n.focusDelay,E=n.blurDelay,y=n.mask,C=n.maskClosable,T=C===void 0?!0:C,x=n.getPopupContainer,R=n.forceRender,w=n.autoDestroy,I=n.destroyPopupOnHide,O=n.popup,k=n.popupClassName,P=n.popupStyle,M=n.popupPlacement,N=n.builtinPlacements,A=N===void 0?{}:N,D=n.popupAlign,L=n.zIndex,$=n.stretch,F=n.getPopupClassNameFromAlign,B=n.fresh,z=n.alignPoint,U=n.onPopupClick,j=n.onPopupAlign,G=n.arrow,J=n.popupMotion,Y=n.maskMotion,X=n.popupTransitionName,V=n.popupAnimation,H=n.maskTransitionName,q=n.maskAnimation,K=n.className,Z=n.getTriggerDOMNode,te=Et(n,o_e),se=w||I||!1,ue=c.useState(!1),me=oe(ue,2),de=me[0],Te=me[1];Qt(function(){Te(Fb())},[]);var Ee=c.useRef({}),ge=c.useContext(UB),re=c.useMemo(function(){return{registerSubPopup:function(Kt,Vn){Ee.current[Kt]=Vn,ge==null||ge.registerSubPopup(Kt,Vn)}}},[ge]),ne=HX(),ae=c.useState(null),le=oe(ae,2),pe=le[0],Re=le[1],Se=c.useRef(null),Pe=Wt(function(Dt){Se.current=Dt,rm(Dt)&&pe!==Dt&&Re(Dt),ge==null||ge.registerSubPopup(ne,Dt)}),fe=c.useState(null),ve=oe(fe,2),Ae=ve[0],ye=ve[1],be=c.useRef(null),Ne=Wt(function(Dt){rm(Dt)&&Ae!==Dt&&(ye(Dt),be.current=Dt)}),Ie=c.Children.only(o),xe=(Ie==null?void 0:Ie.props)||{},ke={},rt=Wt(function(Dt){var Kt,Vn,fr=Ae;return(fr==null?void 0:fr.contains(Dt))||((Kt=m_(fr))===null||Kt===void 0?void 0:Kt.host)===Dt||Dt===fr||(pe==null?void 0:pe.contains(Dt))||((Vn=m_(pe))===null||Vn===void 0?void 0:Vn.host)===Dt||Dt===pe||Object.values(Ee.current).some(function(qn){return(qn==null?void 0:qn.contains(Dt))||Dt===qn})}),Me=zB(i,J,V,X),Ce=zB(i,Y,q,H),De=c.useState(f||!1),Ue=oe(De,2),Ye=Ue[0],He=Ue[1],ze=p??Ye,Xe=Wt(function(Dt){p===void 0&&He(Dt)});Qt(function(){He(p||!1)},[p]);var Be=c.useRef(ze);Be.current=ze;var Je=c.useRef([]);Je.current=[];var mt=Wt(function(Dt){var Kt;Xe(Dt),((Kt=Je.current[Je.current.length-1])!==null&&Kt!==void 0?Kt:ze)!==Dt&&(Je.current.push(Dt),m==null||m(Dt))}),pt=c.useRef(),We=function(){clearTimeout(pt.current)},Ve=function(Kt){var Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),Vn===0?mt(Kt):pt.current=setTimeout(function(){mt(Kt)},Vn*1e3)};c.useEffect(function(){return We},[]);var Ze=c.useState(!1),dt=oe(Ze,2),It=dt[0],Nt=dt[1];Qt(function(Dt){(!Dt||ze)&&Nt(!0)},[ze]);var ht=c.useState(null),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useState(null),nt=oe(vt,2),bt=nt[0],Ct=nt[1],tt=function(Kt){Ct([Kt.clientX,Kt.clientY])},it=r_e(ze,pe,z&&bt!==null?bt:Ae,M,A,D,j),Ke=oe(it,11),qe=Ke[0],_t=Ke[1],xt=Ke[2],kt=Ke[3],tn=Ke[4],nn=Ke[5],rn=Ke[6],Vt=Ke[7],yt=Ke[8],Ot=Ke[9],Mt=Ke[10],En=e_e(de,l,u,d),Hn=oe(En,2),lr=Hn[0],tr=Hn[1],Rr=lr.has("click"),wr=tr.has("click")||tr.has("contextMenu"),Gn=Wt(function(){It||Mt()}),Yt=function(){Be.current&&z&&wr&&Ve(!1)};a_e(ze,Ae,pe,Gn,Yt),Qt(function(){Gn()},[bt,M]),Qt(function(){ze&&!(A!=null&&A[M])&&Gn()},[JSON.stringify(D)]);var Bt=c.useMemo(function(){var Dt=n_e(A,i,Ot,z);return ie(Dt,F==null?void 0:F(Ot))},[Ot,F,A,i,z]);c.useImperativeHandle(r,function(){return{nativeElement:be.current,popupElement:Se.current,forceAlign:Gn}});var qt=c.useState(0),Ut=oe(qt,2),jt=Ut[0],St=Ut[1],Tt=c.useState(0),sn=oe(Tt,2),yn=sn[0],nr=sn[1],cr=function(){if($&&Ae){var Kt=Ae.getBoundingClientRect();St(Kt.width),nr(Kt.height)}},vr=function(){cr(),Gn()},zt=function(Kt){Nt(!1),Mt(),g==null||g(Kt)},Ft=function(){return new Promise(function(Kt){cr(),et(function(){return Kt})})};Qt(function(){ot&&(Mt(),ot(),et(null))},[ot]);function ut(Dt,Kt,Vn,fr){ke[Dt]=function(qn){var Ns;fr==null||fr(qn),Ve(Kt,Vn);for(var _p=arguments.length,bp=new Array(_p>1?_p-1:0),$l=1;$l<_p;$l++)bp[$l-1]=arguments[$l];(Ns=xe[Dt])===null||Ns===void 0||Ns.call.apply(Ns,[xe,qn].concat(bp))}}(Rr||wr)&&(ke.onClick=function(Dt){var Kt;Be.current&&wr?Ve(!1):!Be.current&&Rr&&(tt(Dt),Ve(!0));for(var Vn=arguments.length,fr=new Array(Vn>1?Vn-1:0),qn=1;qn1?Vn-1:0),qn=1;qn1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],i=NQ(n,!1),o=i.label,s=i.value,l=i.options,u=i.groupLabel;function d(p,f){Array.isArray(p)&&p.forEach(function(m){if(f||!(l in m)){var g=m[s];a.push({key:WB(m,a.length),groupOption:f,data:m,label:m[o],value:g})}else{var h=m[u];h===void 0&&r&&(h=m.label),a.push({key:WB(m,a.length),group:!0,data:m,label:h}),d(m[l],!0)}})}return d(e,!1),a}function iD(e){var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var f_e=function(t,n,r){if(!n||!n.length)return null;var a=!1,i=function s(l,u){var d=kK(u),p=d[0],f=d.slice(1);if(!p)return[l];var m=l.split(p);return a=a||m.length>1,m.reduce(function(g,h){return[].concat($e(g),$e(s(h,f)))},[]).filter(Boolean)},o=i(t,n);return a?typeof r<"u"?o.slice(0,r):o:null},KL=c.createContext(null);function m_e(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return c.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var i=a.label,o=a.value;return["number","string"].includes(gt(i))?i:o}).join(", ")),n.length>r?", ...":null)}var g_e=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],h_e=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],oD=function(t){return t==="tags"||t==="multiple"},AQ=c.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,i=e.className,o=e.showSearch,s=e.tagRender,l=e.direction,u=e.omitDomProps,d=e.displayValues,p=e.onDisplayValuesChange,f=e.emptyOptions,m=e.notFoundContent,g=m===void 0?"Not Found":m,h=e.onClear,v=e.mode,S=e.disabled,_=e.loading,E=e.getInputElement,y=e.getRawInputElement,C=e.open,T=e.defaultOpen,x=e.onDropdownVisibleChange,R=e.activeValue,w=e.onActiveValueChange,I=e.activeDescendantId,O=e.searchValue,k=e.autoClearSearchValue,P=e.onSearch,M=e.onSearchSplit,N=e.tokenSeparators,A=e.allowClear,D=e.suffixIcon,L=e.clearIcon,$=e.OptionList,F=e.animation,B=e.transitionName,z=e.dropdownStyle,U=e.dropdownClassName,j=e.dropdownMatchSelectWidth,G=e.dropdownRender,J=e.dropdownAlign,Y=e.placement,X=e.builtinPlacements,V=e.getPopupContainer,H=e.showAction,q=H===void 0?[]:H,K=e.onFocus,Z=e.onBlur,te=e.onKeyUp,se=e.onKeyDown,ue=e.onMouseDown,me=Et(e,g_e),de=oD(v),Te=(o!==void 0?o:de)||v==="combobox",Ee=ee({},me);h_e.forEach(function(Yt){delete Ee[Yt]}),u==null||u.forEach(function(Yt){delete Ee[Yt]});var ge=c.useState(!1),re=oe(ge,2),ne=re[0],ae=re[1];c.useEffect(function(){ae(Fb())},[]);var le=c.useRef(null),pe=c.useRef(null),Re=c.useRef(null),Se=c.useRef(null),Pe=c.useRef(null),fe=c.useRef(!1),ve=Tve(),Ae=oe(ve,3),ye=Ae[0],be=Ae[1],Ne=Ae[2];c.useImperativeHandle(t,function(){var Yt,Bt;return{focus:(Yt=Se.current)===null||Yt===void 0?void 0:Yt.focus,blur:(Bt=Se.current)===null||Bt===void 0?void 0:Bt.blur,scrollTo:function(Ut){var jt;return(jt=Pe.current)===null||jt===void 0?void 0:jt.scrollTo(Ut)},nativeElement:le.current||pe.current}});var Ie=c.useMemo(function(){var Yt;if(v!=="combobox")return O;var Bt=(Yt=d[0])===null||Yt===void 0?void 0:Yt.value;return typeof Bt=="string"||typeof Bt=="number"?String(Bt):""},[O,v,d]),xe=v==="combobox"&&typeof E=="function"&&E()||null,ke=typeof y=="function"&&y(),rt=Rs(pe,ke==null||(n=ke.props)===null||n===void 0?void 0:n.ref),Me=c.useState(!1),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1];Qt(function(){Ue(!0)},[]);var Ye=ln(!1,{defaultValue:T,value:C}),He=oe(Ye,2),ze=He[0],Xe=He[1],Be=De?ze:!1,Je=!g&&f;(S||Je&&Be&&v==="combobox")&&(Be=!1);var mt=Je?!1:Be,pt=c.useCallback(function(Yt){var Bt=Yt!==void 0?Yt:!Be;S||(Xe(Bt),Be!==Bt&&(x==null||x(Bt)))},[S,Be,Xe,x]),We=c.useMemo(function(){return(N||[]).some(function(Yt){return[` + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},uve=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},lQ=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Ht(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},cQ=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${X(e.paddingMD)} ${X(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${X(e.padding)} ${X(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${X(e.paddingXS)} ${X(e.padding)}`:0,footerBorderTop:e.wireframe?`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${X(e.padding*2)} ${X(e.padding*2)} ${X(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),uQ=sn("Modal",e=>{const t=lQ(e);return[cve(t),uve(t),sQ(t),Zd(t,"zoom")]},cQ,{unitless:{titleLineHeight:!0}});var dve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{rD={x:e.pageX,y:e.pageY},setTimeout(()=>{rD=null},100)};uhe()&&document.documentElement.addEventListener("click",pve,!0);const dQ=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:i}=c.useContext(lt),o=z=>{const{onCancel:U}=e;U==null||U(z)},s=z=>{const{onOk:U}=e;U==null||U(z)},{prefixCls:l,className:u,rootClassName:d,open:p,wrapClassName:f,centered:m,getContainer:g,focusTriggerAfterClose:h=!0,style:v,visible:S,width:b=520,footer:E,classNames:y,styles:C,children:T,loading:x}=e,R=dve(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),w=r("modal",l),I=r(),O=Hn(w),[k,P,M]=uQ(w,O),N=ie(f,{[`${w}-centered`]:!!m,[`${w}-wrap-rtl`]:a==="rtl"}),A=E!==null&&!x?c.createElement(oQ,Object.assign({},e,{onOk:s,onCancel:o})):null,[D,L]=YL(xd(e),xd(i),{closable:!0,closeIcon:c.createElement(na,{className:`${w}-close-icon`}),closeIconRender:z=>iQ(w,z)}),$=aQ(`.${w}-content`),[F,B]=So("Modal",R.zIndex);return k(c.createElement(zo,{form:!0,space:!0},c.createElement(Qm.Provider,{value:B},c.createElement(HL,Object.assign({width:b},R,{zIndex:F,getContainer:g===void 0?n:g,prefixCls:w,rootClassName:ie(P,d,M,O),footer:A,visible:p??S,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:rD,onClose:o,closable:D,closeIcon:L,focusTriggerAfterClose:h,transitionName:ya(I,"zoom",e.transitionName),maskTransitionName:ya(I,"fade",e.maskTransitionName),className:ie(P,u,i==null?void 0:i.className),style:Object.assign(Object.assign({},i==null?void 0:i.style),v),classNames:Object.assign(Object.assign(Object.assign({},i==null?void 0:i.classNames),y),{wrapper:ie(N,y==null?void 0:y.wrapper)}),styles:Object.assign(Object.assign({},i==null?void 0:i.styles),C),panelRef:$}),x?c.createElement(Nl,{active:!0,title:!1,paragraph:{rows:4},className:`${w}-body-skeleton`}):T))))},fve=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:i,lineHeight:o,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},go()),[`&${t} ${t}-body`]:{padding:u},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${X(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:i,lineHeight:o},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls}, + ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},mve=Wd(["Modal","confirm"],e=>{const t=lQ(e);return[fve(t)]},cQ,{order:-1e3});var gve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ab,$e(Object.values(b))),y=c.createElement(c.Fragment,null,c.createElement(cB,null),c.createElement(uB,null)),C=e.title!==void 0&&e.title!==null,T=`${i}-body`;return c.createElement("div",{className:`${i}-body-wrapper`},c.createElement("div",{className:ie(T,{[`${T}-has-title`]:C})},p,c.createElement("div",{className:`${i}-paragraph`},C&&c.createElement("span",{className:`${i}-title`},e.title),c.createElement("div",{className:`${i}-content`},e.content))),l===void 0||typeof l=="function"?c.createElement(UX,{value:E},c.createElement("div",{className:`${i}-btns`},typeof l=="function"?l(y,{OkBtn:uB,CancelBtn:cB}):y)):l,c.createElement(mve,{prefixCls:t}))}const hve=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:i,centered:o,getContainer:s,maskStyle:l,direction:u,prefixCls:d,wrapClassName:p,rootPrefixCls:f,bodyStyle:m,closable:g=!1,closeIcon:h,modalRender:v,focusTriggerAfterClose:S,onConfirm:b,styles:E}=e,y=`${d}-confirm`,C=e.width||416,T=e.style||{},x=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,w=ie(y,`${y}-${e.type}`,{[`${y}-rtl`]:u==="rtl"},e.className),[,I]=ia(),O=c.useMemo(()=>n!==void 0?n:I.zIndexPopupBase+TX,[n,I]);return c.createElement(dQ,{prefixCls:d,className:w,wrapClassName:ie({[`${y}-centered`]:!!e.centered},p),onCancel:()=>{t==null||t({triggerCancel:!0}),b==null||b(!1)},open:a,title:"",footer:null,transitionName:ya(f||"","zoom",e.transitionName),maskTransitionName:ya(f||"","fade",e.maskTransitionName),mask:x,maskClosable:R,style:T,styles:Object.assign({body:m,mask:l},E),width:C,zIndex:O,afterClose:r,keyboard:i,centered:o,getContainer:s,closable:g,closeIcon:h,modalRender:v,focusTriggerAfterClose:S},c.createElement(pQ,Object.assign({},e,{confirmPrefixCls:y})))},fQ=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return c.createElement(bo,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},c.createElement(hve,Object.assign({},e)))},nc=[];let mQ="";function gQ(){return mQ}const vve=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:i}=e,o=jK(),s=c.useContext(lt),l=gQ()||s.getPrefixCls(),u=r||`${l}-modal`;let d=a;return d===!1&&(d=void 0),ce.createElement(fQ,Object.assign({},e,{rootPrefixCls:l,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:i??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:o,getContainer:d}))};function ig(e){const t=gX(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function i(){for(var u,d=arguments.length,p=new Array(d),f=0;fh==null?void 0:h.triggerCancel)){var g;(u=e.onCancel)===null||u===void 0||(g=u).call.apply(g,[e,()=>{}].concat($e(p.slice(1))))}for(let h=0;h{const d=t.getPrefixCls(void 0,gQ()),p=t.getIconPrefixCls(),f=t.getTheme(),m=ce.createElement(vve,Object.assign({},u));UL(ce.createElement(bo,{prefixCls:d,iconPrefixCls:p,theme:f},t.holderRender?t.holderRender(m):m),n)})}function s(){for(var u=arguments.length,d=new Array(u),p=0;p{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,d)}}),r.visible&&delete r.visible,o(r)}function l(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),o(r)}return o(r),nc.push(s),{destroy:s,update:l}}function hQ(e){return Object.assign(Object.assign({},e),{type:"warning"})}function vQ(e){return Object.assign(Object.assign({},e),{type:"info"})}function _Q(e){return Object.assign(Object.assign({},e),{type:"success"})}function bQ(e){return Object.assign(Object.assign({},e),{type:"error"})}function SQ(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function _ve(e){let{rootPrefixCls:t}=e;mQ=t}var bve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,i=bve(e,["afterClose","config"]);const[o,s]=c.useState(!0),[l,u]=c.useState(a),{direction:d,getPrefixCls:p}=c.useContext(lt),f=p("modal"),m=p(),g=()=>{var b;r(),(b=l.afterClose)===null||b===void 0||b.call(l)},h=function(){var b;s(!1);for(var E=arguments.length,y=new Array(E),C=0;CR==null?void 0:R.triggerCancel)){var x;(b=l.onCancel)===null||b===void 0||(x=b).call.apply(x,[l,()=>{}].concat($e(y.slice(1))))}};c.useImperativeHandle(t,()=>({destroy:h,update:b=>{u(E=>Object.assign(Object.assign({},E),b))}}));const v=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[S]=qo("Modal",Hi.Modal);return c.createElement(fQ,Object.assign({prefixCls:f,rootPrefixCls:m},l,{close:h,open:o,afterClose:g,okText:l.okText||(v?S==null?void 0:S.okText:S==null?void 0:S.justOkText),direction:l.direction||d,cancelText:l.cancelText||(S==null?void 0:S.cancelText)},i))},Eve=c.forwardRef(Sve);let BB=0;const yve=c.memo(c.forwardRef((e,t)=>{const[n,r]=ime();return c.useImperativeHandle(t,()=>({patchElement:r}),[]),c.createElement(c.Fragment,null,n)}));function Cve(){const e=c.useRef(null),[t,n]=c.useState([]);c.useEffect(()=>{t.length&&($e(t).forEach(o=>{o()}),n([]))},[t]);const r=c.useCallback(i=>function(s){var l;BB+=1;const u=c.createRef();let d;const p=new Promise(v=>{d=v});let f=!1,m;const g=c.createElement(Eve,{key:`modal-${BB}`,config:i(s),ref:u,afterClose:()=>{m==null||m()},isSilent:()=>f,onConfirm:v=>{d(v)}});return m=(l=e.current)===null||l===void 0?void 0:l.patchElement(g),m&&nc.push(m),{destroy:()=>{function v(){var S;(S=u.current)===null||S===void 0||S.destroy()}u.current?v():n(S=>[].concat($e(S),[v]))},update:v=>{function S(){var b;(b=u.current)===null||b===void 0||b.update(v)}u.current?S():n(b=>[].concat($e(b),[S]))},then:v=>(f=!0,p.then(v))}},[]);return[c.useMemo(()=>({info:r(vQ),success:r(_Q),error:r(bQ),warning:r(hQ),confirm:r(SQ)}),[]),c.createElement(yve,{key:"modal-holder",ref:e})]}const Tve=ce.createContext({});function EQ(e){return t=>c.createElement(bo,{theme:{token:{motion:!1,zIndexPopupBase:0}}},c.createElement(e,Object.assign({},t)))}const og=(e,t,n,r)=>EQ(i=>{const{prefixCls:o,style:s}=i,l=c.useRef(null),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=ln(!1,{value:i.open}),{getPrefixCls:h}=c.useContext(lt),v=h(t||"select",o);c.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const E=new ResizeObserver(C=>{const T=C[0].target;d(T.offsetHeight+8),f(T.offsetWidth)}),y=setInterval(()=>{var C;const T=n?`.${n(v)}`:`.${v}-dropdown`,x=(C=l.current)===null||C===void 0?void 0:C.querySelector(T);x&&(clearInterval(y),E.observe(x))},10);return()=>{clearInterval(y),E.disconnect()}}},[]);let S=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});r&&(S=r(S));const b={paddingBottom:u,position:"relative",minWidth:p};return c.createElement("div",{ref:l,style:b},c.createElement(e,Object.assign({},S)))}),zb=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Hb=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,i=t.children,o=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(a):r;return c.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),o==null||o(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:c.createElement("span",{className:ie(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},xve=function(t,n,r,a,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,u=ce.useMemo(function(){if(gt(a)==="object")return a.clearIcon;if(i)return i},[a,i]),d=ce.useMemo(function(){return!!(!o&&a&&(r.length||s)&&!(l==="combobox"&&s===""))},[a,o,r.length,s,l]);return{allowClear:d,clearIcon:ce.createElement(Hb,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},yQ=c.createContext(null);function CQ(){return c.useContext(yQ)}function Rve(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(null),o=function(){window.clearTimeout(i.current)};c.useEffect(function(){return o},[]);var s=function(u,d){o(),i.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,o]}function TQ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=c.useRef(null),n=c.useRef(null);c.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function wve(e,t,n,r){var a=c.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},c.useEffect(function(){function i(o){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=o.target;l.shadowRoot&&o.composed&&(l=o.composedPath()[0]||l),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(l)&&u!==l})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function Ive(e){return![Fe.ESC,Fe.SHIFT,Fe.BACKSPACE,Fe.TAB,Fe.WIN_KEY,Fe.ALT,Fe.META,Fe.WIN_KEY_RIGHT,Fe.CTRL,Fe.SEMICOLON,Fe.EQUALS,Fe.CAPS_LOCK,Fe.CONTEXT_MENU,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12].includes(e)}var Ove=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],lu=void 0;function Nve(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,i=e.renderItem,o=e.responsive,s=e.responsiveDisabled,l=e.registerSize,u=e.itemKey,d=e.className,p=e.style,f=e.children,m=e.display,g=e.order,h=e.component,v=h===void 0?"div":h,S=yt(e,Ove),b=o&&!m;function E(R){l(u,R)}c.useEffect(function(){return function(){E(null)}},[]);var y=i&&a!==lu?i(a):f,C;r||(C={opacity:b?0:1,height:b?0:lu,overflowY:b?"hidden":lu,order:o?g:lu,pointerEvents:b?"none":lu,position:b?"absolute":lu});var T={};b&&(T["aria-hidden"]=!0);var x=c.createElement(v,ve({className:ie(!r&&n,d),style:ee(ee({},C),p)},T,S,{ref:t}),y);return o&&(x=c.createElement(da,{onResize:function(w){var I=w.offsetWidth;E(I)},disabled:s},x)),x}var Tf=c.forwardRef(Nve);Tf.displayName="Item";function Ave(e){if(typeof MessageChannel>"u")Gt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Dve(){var e=c.useRef(null),t=function(r){e.current||(e.current=[],Ave(function(){Ur.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function kp(e,t){var n=c.useState(t),r=oe(n,2),a=r[0],i=r[1],o=Wt(function(s){e(function(){i(s)})});return[a,o]}var E_=ce.createContext(null),Mve=["component"],Lve=["className"],kve=["className"],Pve=function(t,n){var r=c.useContext(E_);if(!r){var a=t.component,i=a===void 0?"div":a,o=yt(t,Mve);return c.createElement(i,ve({},o,{ref:n}))}var s=r.className,l=yt(r,Lve),u=t.className,d=yt(t,kve);return c.createElement(E_.Provider,{value:null},c.createElement(Tf,ve({ref:n,className:ie(s,u)},l,d)))},xQ=c.forwardRef(Pve);xQ.displayName="RawItem";var $ve=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],RQ="responsive",wQ="invalidate";function Fve(e){return"+ ".concat(e.length," ...")}function Bve(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,i=a===void 0?[]:a,o=e.renderItem,s=e.renderRawItem,l=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,p=e.ssr,f=e.style,m=e.className,g=e.maxCount,h=e.renderRest,v=e.renderRawRest,S=e.suffix,b=e.component,E=b===void 0?"div":b,y=e.itemComponent,C=e.onVisibleChange,T=yt(e,$ve),x=p==="full",R=Dve(),w=kp(R,null),I=oe(w,2),O=I[0],k=I[1],P=O||0,M=kp(R,new Map),N=oe(M,2),A=N[0],D=N[1],L=kp(R,0),$=oe(L,2),F=$[0],B=$[1],z=kp(R,0),U=oe(z,2),j=U[0],G=U[1],J=kp(R,0),Y=oe(J,2),Q=Y[0],V=Y[1],H=c.useState(null),q=oe(H,2),K=q[0],Z=q[1],te=c.useState(null),se=oe(te,2),ue=se[0],me=se[1],de=c.useMemo(function(){return ue===null&&x?Number.MAX_SAFE_INTEGER:ue||0},[ue,O]),Te=c.useState(!1),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne="".concat(r,"-item"),ae=Math.max(F,j),le=g===RQ,pe=i.length&&le,Re=g===wQ,Se=pe||typeof g=="number"&&i.length>g,Pe=c.useMemo(function(){var Xe=i;return pe?O===null&&x?Xe=i:Xe=i.slice(0,Math.min(i.length,P/d)):typeof g=="number"&&(Xe=i.slice(0,g)),Xe},[i,d,O,g,pe]),fe=c.useMemo(function(){return pe?i.slice(de+1):i.slice(Pe.length)},[i,Pe,pe,de]),_e=c.useCallback(function(Xe,Be){var Je;return typeof l=="function"?l(Xe):(Je=l&&(Xe==null?void 0:Xe[l]))!==null&&Je!==void 0?Je:Be},[l]),Ae=c.useCallback(o||function(Xe){return Xe},[o]);function ye(Xe,Be,Je){ue===Xe&&(Be===void 0||Be===K)||(me(Xe),Je||(re(XeP){ye(mt-1,Xe-pt-Q+j);break}}S&&ke(0)+Q>P&&Z(null)}},[P,A,j,Q,_e,Pe]);var at=ge&&!!fe.length,Me={};K!==null&&pe&&(Me={position:"absolute",left:K,top:0});var Ce={prefixCls:ne,responsive:pe,component:y,invalidate:Re},De=s?function(Xe,Be){var Je=_e(Xe,Be);return c.createElement(E_.Provider,{key:Je,value:ee(ee({},Ce),{},{order:Be,item:Xe,itemKey:Je,registerSize:Ne,display:Be<=de})},s(Xe,Be))}:function(Xe,Be){var Je=_e(Xe,Be);return c.createElement(Tf,ve({},Ce,{order:Be,key:Je,item:Xe,renderItem:Ae,itemKey:Je,registerSize:Ne,display:Be<=de}))},Ue,Ye={order:at?de:Number.MAX_SAFE_INTEGER,className:"".concat(ne,"-rest"),registerSize:we,display:at};if(v)v&&(Ue=c.createElement(E_.Provider,{value:ee(ee({},Ce),Ye)},v(fe)));else{var He=h||Fve;Ue=c.createElement(Tf,ve({},Ce,Ye),typeof He=="function"?He(fe):He)}var ze=c.createElement(E,ve({className:ie(!Re&&r,m),style:f,ref:t},T),Pe.map(De),Se?Ue:null,S&&c.createElement(Tf,ve({},Ce,{responsive:le,responsiveDisabled:!pe,order:de,className:"".concat(ne,"-suffix"),registerSize:xe,display:!0,style:Me}),S));return le&&(ze=c.createElement(da,{onResize:be,disabled:!pe},ze)),ze}var uo=c.forwardRef(Bve);uo.displayName="Overflow";uo.Item=xQ;uo.RESPONSIVE=RQ;uo.INVALIDATE=wQ;var Uve=function(t,n){var r,a=t.prefixCls,i=t.id,o=t.inputElement,s=t.disabled,l=t.tabIndex,u=t.autoFocus,d=t.autoComplete,p=t.editable,f=t.activeDescendantId,m=t.value,g=t.maxLength,h=t.onKeyDown,v=t.onMouseDown,S=t.onChange,b=t.onPaste,E=t.onCompositionStart,y=t.onCompositionEnd,C=t.open,T=t.attrs,x=o||c.createElement("input",null),R=x,w=R.ref,I=R.props,O=I.onKeyDown,k=I.onChange,P=I.onMouseDown,M=I.onCompositionStart,N=I.onCompositionEnd,A=I.style;return"maxLength"in x.props,x=c.cloneElement(x,ee(ee(ee({type:"search"},I),{},{id:i,ref:aa(n,w),disabled:s,tabIndex:l,autoComplete:d||"off",autoFocus:u,className:ie("".concat(a,"-selection-search-input"),(r=x)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":C?f:void 0},T),{},{value:p?m:"",maxLength:g,readOnly:!p,unselectable:p?null:"on",style:ee(ee({},A),{},{opacity:p?null:0}),onKeyDown:function(L){h(L),O&&O(L)},onMouseDown:function(L){v(L),P&&P(L)},onChange:function(L){S(L),k&&k(L)},onCompositionStart:function(L){E(L),M&&M(L)},onCompositionEnd:function(L){y(L),N&&N(L)},onPaste:b})),x},IQ=c.forwardRef(Uve);function OQ(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var jve=typeof window<"u"&&window.document&&window.document.documentElement,zve=jve;function Hve(e){return e!=null}function Gve(e){return!e&&e!==0}function UB(e){return["string","number"].includes(gt(e))}function NQ(e){var t=void 0;return e&&(UB(e.title)?t=e.title.toString():UB(e.label)&&(t=e.label.toString())),t}function Vve(e,t){zve?c.useLayoutEffect(e,t):c.useEffect(e,t)}function qve(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var jB=function(t){t.preventDefault(),t.stopPropagation()},Wve=function(t){var n=t.id,r=t.prefixCls,a=t.values,i=t.open,o=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,u=t.placeholder,d=t.disabled,p=t.mode,f=t.showSearch,m=t.autoFocus,g=t.autoComplete,h=t.activeDescendantId,v=t.tabIndex,S=t.removeIcon,b=t.maxTagCount,E=t.maxTagTextLength,y=t.maxTagPlaceholder,C=y===void 0?function(Z){return"+ ".concat(Z.length," ...")}:y,T=t.tagRender,x=t.onToggleOpen,R=t.onRemove,w=t.onInputChange,I=t.onInputPaste,O=t.onInputKeyDown,k=t.onInputMouseDown,P=t.onInputCompositionStart,M=t.onInputCompositionEnd,N=c.useRef(null),A=c.useState(0),D=oe(A,2),L=D[0],$=D[1],F=c.useState(!1),B=oe(F,2),z=B[0],U=B[1],j="".concat(r,"-selection"),G=i||p==="multiple"&&s===!1||p==="tags"?o:"",J=p==="tags"||p==="multiple"&&s===!1||f&&(i||z);Vve(function(){$(N.current.scrollWidth)},[G]);var Y=function(te,se,ue,me,de){return c.createElement("span",{title:NQ(te),className:ie("".concat(j,"-item"),W({},"".concat(j,"-item-disabled"),ue))},c.createElement("span",{className:"".concat(j,"-item-content")},se),me&&c.createElement(Hb,{className:"".concat(j,"-item-remove"),onMouseDown:jB,onClick:de,customizeIcon:S},"×"))},Q=function(te,se,ue,me,de,Te){var Ee=function(re){jB(re),x(!i)};return c.createElement("span",{onMouseDown:Ee},T({label:se,value:te,disabled:ue,closable:me,onClose:de,isMaxTag:!!Te}))},V=function(te){var se=te.disabled,ue=te.label,me=te.value,de=!d&&!se,Te=ue;if(typeof E=="number"&&(typeof ue=="string"||typeof ue=="number")){var Ee=String(Te);Ee.length>E&&(Te="".concat(Ee.slice(0,E),"..."))}var ge=function(ne){ne&&ne.stopPropagation(),R(te)};return typeof T=="function"?Q(me,Te,se,de,ge):Y(te,Te,se,de,ge)},H=function(te){var se=typeof C=="function"?C(te):C;return typeof T=="function"?Q(void 0,se,!1,!1,void 0,!0):Y({title:se},se,!1)},q=c.createElement("div",{className:"".concat(j,"-search"),style:{width:L},onFocus:function(){U(!0)},onBlur:function(){U(!1)}},c.createElement(IQ,{ref:l,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:m,autoComplete:g,editable:J,activeDescendantId:h,value:G,onKeyDown:O,onMouseDown:k,onChange:w,onPaste:I,onCompositionStart:P,onCompositionEnd:M,tabIndex:v,attrs:Jn(t,!0)}),c.createElement("span",{ref:N,className:"".concat(j,"-search-mirror"),"aria-hidden":!0},G," ")),K=c.createElement(uo,{prefixCls:"".concat(j,"-overflow"),data:a,renderItem:V,renderRest:H,suffix:q,itemKey:qve,maxCount:b});return c.createElement(c.Fragment,null,K,!a.length&&!G&&c.createElement("span",{className:"".concat(j,"-placeholder")},u))},Yve=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,i=t.inputRef,o=t.disabled,s=t.autoFocus,l=t.autoComplete,u=t.activeDescendantId,d=t.mode,p=t.open,f=t.values,m=t.placeholder,g=t.tabIndex,h=t.showSearch,v=t.searchValue,S=t.activeValue,b=t.maxLength,E=t.onInputKeyDown,y=t.onInputMouseDown,C=t.onInputChange,T=t.onInputPaste,x=t.onInputCompositionStart,R=t.onInputCompositionEnd,w=t.title,I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=d==="combobox",N=M||h,A=f[0],D=v||"";M&&S&&!k&&(D=S),c.useEffect(function(){M&&P(!1)},[M,S]);var L=d!=="combobox"&&!p&&!h?!1:!!D,$=w===void 0?NQ(A):w,F=c.useMemo(function(){return A?null:c.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[A,L,m,r]);return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(r,"-selection-search")},c.createElement(IQ,{ref:i,prefixCls:r,id:a,open:p,inputElement:n,disabled:o,autoFocus:s,autoComplete:l,editable:N,activeDescendantId:u,value:D,onKeyDown:E,onMouseDown:y,onChange:function(z){P(!0),C(z)},onPaste:T,onCompositionStart:x,onCompositionEnd:R,tabIndex:g,attrs:Jn(t,!0),maxLength:M?b:void 0})),!M&&A?c.createElement("span",{className:"".concat(r,"-selection-item"),title:$,style:L?{visibility:"hidden"}:void 0},A.label):null,F)},Kve=function(t,n){var r=c.useRef(null),a=c.useRef(!1),i=t.prefixCls,o=t.open,s=t.mode,l=t.showSearch,u=t.tokenWithEnter,d=t.disabled,p=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,g=t.onToggleOpen,h=t.onInputKeyDown,v=t.domRef;c.useImperativeHandle(n,function(){return{focus:function(L){r.current.focus(L)},blur:function(){r.current.blur()}}});var S=TQ(0),b=oe(S,2),E=b[0],y=b[1],C=function(L){var $=L.which;($===Fe.UP||$===Fe.DOWN)&&L.preventDefault(),h&&h(L),$===Fe.ENTER&&s==="tags"&&!a.current&&!o&&(m==null||m(L.target.value)),Ive($)&&g(!0)},T=function(){y(!0)},x=c.useRef(null),R=function(L){f(L,!0,a.current)!==!1&&g(!0)},w=function(){a.current=!0},I=function(L){a.current=!1,s!=="combobox"&&R(L.target.value)},O=function(L){var $=L.target.value;if(u&&x.current&&/[\r\n]/.test(x.current)){var F=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$=$.replace(F,x.current)}x.current=null,R($)},k=function(L){var $=L.clipboardData,F=$==null?void 0:$.getData("text");x.current=F||""},P=function(L){var $=L.target;if($!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(L){var $=E();L.target!==r.current&&!$&&!(s==="combobox"&&d)&&L.preventDefault(),(s!=="combobox"&&(!l||!$)||!o)&&(o&&p!==!1&&f("",!0,!1),g())},N={inputRef:r,onInputKeyDown:C,onInputMouseDown:T,onInputChange:O,onInputPaste:k,onInputCompositionStart:w,onInputCompositionEnd:I},A=s==="multiple"||s==="tags"?c.createElement(Wve,ve({},t,N)):c.createElement(Yve,ve({},t,N));return c.createElement("div",{ref:v,className:"".concat(i,"-selector"),onClick:P,onMouseDown:M},A)},Xve=c.forwardRef(Kve);function Qve(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,i=r||{},o=i.className,s=i.content,l=a.x,u=l===void 0?0:l,d=a.y,p=d===void 0?0:d,f=c.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(n.autoArrow!==!1){var g=n.points[0],h=n.points[1],v=g[0],S=g[1],b=h[0],E=h[1];v===b||!["t","b"].includes(v)?m.top=p:v==="t"?m.top=0:m.bottom=0,S===E||!["l","r"].includes(S)?m.left=u:S==="l"?m.left=0:m.right=0}return c.createElement("div",{ref:f,className:ie("".concat(t,"-arrow"),o),style:m},s)}function Zve(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,i=e.motion;return a?c.createElement(ta,ve({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var s=o.className;return c.createElement("div",{style:{zIndex:r},className:ie("".concat(t,"-mask"),s)})}):null}var Jve=c.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),e_e=c.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,i=e.style,o=e.target,s=e.onVisibleChanged,l=e.open,u=e.keepDom,d=e.fresh,p=e.onClick,f=e.mask,m=e.arrow,g=e.arrowPos,h=e.align,v=e.motion,S=e.maskMotion,b=e.forceRender,E=e.getPopupContainer,y=e.autoDestroy,C=e.portal,T=e.zIndex,x=e.onMouseEnter,R=e.onMouseLeave,w=e.onPointerEnter,I=e.ready,O=e.offsetX,k=e.offsetY,P=e.offsetR,M=e.offsetB,N=e.onAlign,A=e.onPrepare,D=e.stretch,L=e.targetWidth,$=e.targetHeight,F=typeof n=="function"?n():n,B=l||u,z=(E==null?void 0:E.length)>0,U=c.useState(!E||!z),j=oe(U,2),G=j[0],J=j[1];if(Qt(function(){!G&&z&&o&&J(!0)},[G,z,o]),!G)return null;var Y="auto",Q={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(I||!l){var V,H=h.points,q=h.dynamicInset||((V=h._experimental)===null||V===void 0?void 0:V.dynamicInset),K=q&&H[0][1]==="r",Z=q&&H[0][0]==="b";K?(Q.right=P,Q.left=Y):(Q.left=O,Q.right=Y),Z?(Q.bottom=M,Q.top=Y):(Q.top=k,Q.bottom=Y)}var te={};return D&&(D.includes("height")&&$?te.height=$:D.includes("minHeight")&&$&&(te.minHeight=$),D.includes("width")&&L?te.width=L:D.includes("minWidth")&&L&&(te.minWidth=L)),l||(te.pointerEvents="none"),c.createElement(C,{open:b||B,getContainer:E&&function(){return E(o)},autoDestroy:y},c.createElement(Zve,{prefixCls:a,open:l,zIndex:T,mask:f,motion:S}),c.createElement(da,{onResize:N,disabled:!l},function(se){return c.createElement(ta,ve({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(a,"-hidden")},v,{onAppearPrepare:A,onEnterPrepare:A,visible:l,onVisibleChanged:function(me){var de;v==null||(de=v.onVisibleChanged)===null||de===void 0||de.call(v,me),s(me)}}),function(ue,me){var de=ue.className,Te=ue.style,Ee=ie(a,de,r);return c.createElement("div",{ref:aa(se,t,me),className:Ee,style:ee(ee(ee(ee({"--arrow-x":"".concat(g.x||0,"px"),"--arrow-y":"".concat(g.y||0,"px")},Q),te),Te),{},{boxSizing:"border-box",zIndex:T},i),onMouseEnter:x,onMouseLeave:R,onPointerEnter:w,onClick:p},m&&c.createElement(Qve,{prefixCls:a,arrow:m,arrowPos:g,align:h}),c.createElement(Jve,{cache:!l&&!d},F))})}))}),t_e=c.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=mo(n),i=c.useCallback(function(s){om(t,r?r(s):s)},[r]),o=ws(i,n.ref);return a?c.cloneElement(n,{ref:o}):n}),zB=c.createContext(null);function HB(e){return e?Array.isArray(e)?e:[e]:[]}function n_e(e,t,n,r){return c.useMemo(function(){var a=HB(n??t),i=HB(r??t),o=new Set(a),s=new Set(i);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[o,s]},[e,t,n,r])}function r_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function a_e(e,t,n,r){for(var a=n.points,i=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Pp(e){return _m(parseFloat(e),0)}function VB(e,t){var n=ee({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=sg(r).getComputedStyle(r),i=a.overflow,o=a.overflowClipMargin,s=a.borderTopWidth,l=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,p=r.getBoundingClientRect(),f=r.offsetHeight,m=r.clientHeight,g=r.offsetWidth,h=r.clientWidth,v=Pp(s),S=Pp(l),b=Pp(u),E=Pp(d),y=_m(Math.round(p.width/g*1e3)/1e3),C=_m(Math.round(p.height/f*1e3)/1e3),T=(g-h-b-E)*y,x=(f-m-v-S)*C,R=v*C,w=S*C,I=b*y,O=E*y,k=0,P=0;if(i==="clip"){var M=Pp(o);k=M*y,P=M*C}var N=p.x+I-k,A=p.y+R-P,D=N+p.width+2*k-I-O-T,L=A+p.height+2*P-R-w-x;n.left=Math.max(n.left,N),n.top=Math.max(n.top,A),n.right=Math.min(n.right,D),n.bottom=Math.min(n.bottom,L)}}),n}function qB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function WB(e,t){var n=t||[],r=oe(n,2),a=r[0],i=r[1];return[qB(e.width,a),qB(e.height,i)]}function YB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function cu(e,t){var n=t[0],r=t[1],a,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:i}}function Ms(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function i_e(e,t,n,r,a,i,o){var s=c.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),l=oe(s,2),u=l[0],d=l[1],p=c.useRef(0),f=c.useMemo(function(){return t?aD(t):[]},[t]),m=c.useRef({}),g=function(){m.current={}};e||g();var h=Wt(function(){if(t&&n&&e){let mn=function(wr,Sr){var sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ae,Ja=j.x+wr,Xo=j.y+Sr,Mt=Ja+Z,Kt=Xo+K,Wn=Math.max(Ja,sa.left),mr=Math.max(Xo,sa.top),Yn=Math.min(Mt,sa.right),As=Math.min(Kt,sa.bottom);return Math.max(0,(Yn-Wn)*(As-mr))},$r=function(){vt=j.y+Je,rt=vt+K,bt=j.x+Be,Tt=bt+Z};var fn=mn,ar=$r,b,E,y,C,T=t,x=T.ownerDocument,R=sg(T),w=R.getComputedStyle(T),I=w.width,O=w.height,k=w.position,P=T.style.left,M=T.style.top,N=T.style.right,A=T.style.bottom,D=T.style.overflow,L=ee(ee({},a[r]),i),$=x.createElement("div");(b=T.parentElement)===null||b===void 0||b.appendChild($),$.style.left="".concat(T.offsetLeft,"px"),$.style.top="".concat(T.offsetTop,"px"),$.style.position=k,$.style.height="".concat(T.offsetHeight,"px"),$.style.width="".concat(T.offsetWidth,"px"),T.style.left="0",T.style.top="0",T.style.right="auto",T.style.bottom="auto",T.style.overflow="hidden";var F;if(Array.isArray(n))F={x:n[0],y:n[1],width:0,height:0};else{var B,z,U=n.getBoundingClientRect();U.x=(B=U.x)!==null&&B!==void 0?B:U.left,U.y=(z=U.y)!==null&&z!==void 0?z:U.top,F={x:U.x,y:U.y,width:U.width,height:U.height}}var j=T.getBoundingClientRect();j.x=(E=j.x)!==null&&E!==void 0?E:j.left,j.y=(y=j.y)!==null&&y!==void 0?y:j.top;var G=x.documentElement,J=G.clientWidth,Y=G.clientHeight,Q=G.scrollWidth,V=G.scrollHeight,H=G.scrollTop,q=G.scrollLeft,K=j.height,Z=j.width,te=F.height,se=F.width,ue={left:0,top:0,right:J,bottom:Y},me={left:-q,top:-H,right:Q-q,bottom:V-H},de=L.htmlRegion,Te="visible",Ee="visibleFirst";de!=="scroll"&&de!==Ee&&(de=Te);var ge=de===Ee,re=VB(me,f),ne=VB(ue,f),ae=de===Te?ne:re,le=ge?ne:ae;T.style.left="auto",T.style.top="auto",T.style.right="0",T.style.bottom="0";var pe=T.getBoundingClientRect();T.style.left=P,T.style.top=M,T.style.right=N,T.style.bottom=A,T.style.overflow=D,(C=T.parentElement)===null||C===void 0||C.removeChild($);var Re=_m(Math.round(Z/parseFloat(I)*1e3)/1e3),Se=_m(Math.round(K/parseFloat(O)*1e3)/1e3);if(Re===0||Se===0||im(n)&&!Kd(n))return;var Pe=L.offset,fe=L.targetOffset,_e=WB(j,Pe),Ae=oe(_e,2),ye=Ae[0],be=Ae[1],Ne=WB(F,fe),we=oe(Ne,2),xe=we[0],ke=we[1];F.x-=xe,F.y-=ke;var at=L.points||[],Me=oe(at,2),Ce=Me[0],De=Me[1],Ue=YB(De),Ye=YB(Ce),He=cu(F,Ue),ze=cu(j,Ye),Xe=ee({},L),Be=He.x-ze.x+ye,Je=He.y-ze.y+be,mt=mn(Be,Je),pt=mn(Be,Je,ne),We=cu(F,["t","l"]),Ve=cu(j,["t","l"]),Ze=cu(F,["b","r"]),dt=cu(j,["b","r"]),It=L.overflow||{},Nt=It.adjustX,ht=It.adjustY,ct=It.shiftX,ot=It.shiftY,et=function(Sr){return typeof Sr=="boolean"?Sr:Sr>=0},vt,rt,bt,Tt;$r();var tt=et(ht),it=Ye[0]===Ue[0];if(tt&&Ye[0]==="t"&&(rt>le.bottom||m.current.bt)){var Ke=Je;it?Ke-=K-te:Ke=We.y-dt.y-be;var qe=mn(Be,Ke),_t=mn(Be,Ke,ne);qe>mt||qe===mt&&(!ge||_t>=pt)?(m.current.bt=!0,Je=Ke,be=-be,Xe.points=[Ms(Ye,0),Ms(Ue,0)]):m.current.bt=!1}if(tt&&Ye[0]==="b"&&(vtmt||kt===mt&&(!ge||tn>=pt)?(m.current.tb=!0,Je=Rt,be=-be,Xe.points=[Ms(Ye,0),Ms(Ue,0)]):m.current.tb=!1}var rn=et(Nt),Vt=Ye[1]===Ue[1];if(rn&&Ye[1]==="l"&&(Tt>le.right||m.current.rl)){var nn=Be;Vt?nn-=Z-se:nn=We.x-dt.x-ye;var xt=mn(nn,Je),Ot=mn(nn,Je,ne);xt>mt||xt===mt&&(!ge||Ot>=pt)?(m.current.rl=!0,Be=nn,ye=-ye,Xe.points=[Ms(Ye,1),Ms(Ue,1)]):m.current.rl=!1}if(rn&&Ye[1]==="r"&&(btmt||Rn===mt&&(!ge||Gn>=pt)?(m.current.lr=!0,Be=Dt,ye=-ye,Xe.points=[Ms(Ye,1),Ms(Ue,1)]):m.current.lr=!1}$r();var ur=ct===!0?0:ct;typeof ur=="number"&&(btne.right&&(Be-=Tt-ne.right-ye,F.x>ne.right-ur&&(Be+=F.x-ne.right+ur)));var Vn=ot===!0?0:ot;typeof Vn=="number"&&(vtne.bottom&&(Je-=rt-ne.bottom-be,F.y>ne.bottom-Vn&&(Je+=F.y-ne.bottom+Vn)));var Pr=j.x+Be,Rr=Pr+Z,qn=j.y+Je,Yt=qn+K,Bt=F.x,qt=Bt+se,Ut=F.y,jt=Ut+te,Et=Math.max(Pr,Bt),Ct=Math.min(Rr,qt),cn=(Et+Ct)/2,En=cn-Pr,nr=Math.max(qn,Ut),rr=Math.min(Yt,jt),fr=(nr+rr)/2,zt=fr-qn;o==null||o(t,Xe);var Ft=pe.right-j.x-(Be+j.width),ut=pe.bottom-j.y-(Je+j.height);Re===1&&(Be=Math.round(Be),Ft=Math.round(Ft)),Se===1&&(Je=Math.round(Je),ut=Math.round(ut));var Pt={ready:!0,offsetX:Be/Re,offsetY:Je/Se,offsetR:Ft/Re,offsetB:ut/Se,arrowX:En/Re,arrowY:zt/Se,scaleX:Re,scaleY:Se,align:Xe};d(Pt)}}),v=function(){p.current+=1;var E=p.current;Promise.resolve().then(function(){p.current===E&&h()})},S=function(){d(function(E){return ee(ee({},E),{},{ready:!1})})};return Qt(S,[r]),Qt(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,v]}function o_e(e,t,n,r,a){Qt(function(){if(e&&t&&n){let f=function(){r(),a()};var p=f,i=t,o=n,s=aD(i),l=aD(o),u=sg(o),d=new Set([u].concat($e(s),$e(l)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function s_e(e,t,n,r,a,i,o,s){var l=c.useRef(e);l.current=e,c.useEffect(function(){if(t&&r&&(!a||i)){var u=function(m){var g;l.current&&!o(((g=m.composedPath)===null||g===void 0||(g=g.call(m))===null||g===void 0?void 0:g[0])||m.target)&&s(!1)},d=sg(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var p=__(n);return p&&(p.addEventListener("mousedown",u,!0),p.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),p&&(p.removeEventListener("mousedown",u,!0),p.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,i])}var l_e=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function c_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ng,t=c.forwardRef(function(n,r){var a=n.prefixCls,i=a===void 0?"rc-trigger-popup":a,o=n.children,s=n.action,l=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,p=n.popupVisible,f=n.defaultPopupVisible,m=n.onPopupVisibleChange,g=n.afterPopupVisibleChange,h=n.mouseEnterDelay,v=n.mouseLeaveDelay,S=v===void 0?.1:v,b=n.focusDelay,E=n.blurDelay,y=n.mask,C=n.maskClosable,T=C===void 0?!0:C,x=n.getPopupContainer,R=n.forceRender,w=n.autoDestroy,I=n.destroyPopupOnHide,O=n.popup,k=n.popupClassName,P=n.popupStyle,M=n.popupPlacement,N=n.builtinPlacements,A=N===void 0?{}:N,D=n.popupAlign,L=n.zIndex,$=n.stretch,F=n.getPopupClassNameFromAlign,B=n.fresh,z=n.alignPoint,U=n.onPopupClick,j=n.onPopupAlign,G=n.arrow,J=n.popupMotion,Y=n.maskMotion,Q=n.popupTransitionName,V=n.popupAnimation,H=n.maskTransitionName,q=n.maskAnimation,K=n.className,Z=n.getTriggerDOMNode,te=yt(n,l_e),se=w||I||!1,ue=c.useState(!1),me=oe(ue,2),de=me[0],Te=me[1];Qt(function(){Te(zb())},[]);var Ee=c.useRef({}),ge=c.useContext(zB),re=c.useMemo(function(){return{registerSubPopup:function(Kt,Wn){Ee.current[Kt]=Wn,ge==null||ge.registerSubPopup(Kt,Wn)}}},[ge]),ne=GX(),ae=c.useState(null),le=oe(ae,2),pe=le[0],Re=le[1],Se=c.useRef(null),Pe=Wt(function(Mt){Se.current=Mt,im(Mt)&&pe!==Mt&&Re(Mt),ge==null||ge.registerSubPopup(ne,Mt)}),fe=c.useState(null),_e=oe(fe,2),Ae=_e[0],ye=_e[1],be=c.useRef(null),Ne=Wt(function(Mt){im(Mt)&&Ae!==Mt&&(ye(Mt),be.current=Mt)}),we=c.Children.only(o),xe=(we==null?void 0:we.props)||{},ke={},at=Wt(function(Mt){var Kt,Wn,mr=Ae;return(mr==null?void 0:mr.contains(Mt))||((Kt=__(mr))===null||Kt===void 0?void 0:Kt.host)===Mt||Mt===mr||(pe==null?void 0:pe.contains(Mt))||((Wn=__(pe))===null||Wn===void 0?void 0:Wn.host)===Mt||Mt===pe||Object.values(Ee.current).some(function(Yn){return(Yn==null?void 0:Yn.contains(Mt))||Mt===Yn})}),Me=GB(i,J,V,Q),Ce=GB(i,Y,q,H),De=c.useState(f||!1),Ue=oe(De,2),Ye=Ue[0],He=Ue[1],ze=p??Ye,Xe=Wt(function(Mt){p===void 0&&He(Mt)});Qt(function(){He(p||!1)},[p]);var Be=c.useRef(ze);Be.current=ze;var Je=c.useRef([]);Je.current=[];var mt=Wt(function(Mt){var Kt;Xe(Mt),((Kt=Je.current[Je.current.length-1])!==null&&Kt!==void 0?Kt:ze)!==Mt&&(Je.current.push(Mt),m==null||m(Mt))}),pt=c.useRef(),We=function(){clearTimeout(pt.current)},Ve=function(Kt){var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),Wn===0?mt(Kt):pt.current=setTimeout(function(){mt(Kt)},Wn*1e3)};c.useEffect(function(){return We},[]);var Ze=c.useState(!1),dt=oe(Ze,2),It=dt[0],Nt=dt[1];Qt(function(Mt){(!Mt||ze)&&Nt(!0)},[ze]);var ht=c.useState(null),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useState(null),rt=oe(vt,2),bt=rt[0],Tt=rt[1],tt=function(Kt){Tt([Kt.clientX,Kt.clientY])},it=i_e(ze,pe,z&&bt!==null?bt:Ae,M,A,D,j),Ke=oe(it,11),qe=Ke[0],_t=Ke[1],Rt=Ke[2],kt=Ke[3],tn=Ke[4],rn=Ke[5],Vt=Ke[6],nn=Ke[7],xt=Ke[8],Ot=Ke[9],Dt=Ke[10],Rn=n_e(de,l,u,d),Gn=oe(Rn,2),ur=Gn[0],Vn=Gn[1],Pr=ur.has("click"),Rr=Vn.has("click")||Vn.has("contextMenu"),qn=Wt(function(){It||Dt()}),Yt=function(){Be.current&&z&&Rr&&Ve(!1)};o_e(ze,Ae,pe,qn,Yt),Qt(function(){qn()},[bt,M]),Qt(function(){ze&&!(A!=null&&A[M])&&qn()},[JSON.stringify(D)]);var Bt=c.useMemo(function(){var Mt=a_e(A,i,Ot,z);return ie(Mt,F==null?void 0:F(Ot))},[Ot,F,A,i,z]);c.useImperativeHandle(r,function(){return{nativeElement:be.current,popupElement:Se.current,forceAlign:qn}});var qt=c.useState(0),Ut=oe(qt,2),jt=Ut[0],Et=Ut[1],Ct=c.useState(0),cn=oe(Ct,2),En=cn[0],nr=cn[1],rr=function(){if($&&Ae){var Kt=Ae.getBoundingClientRect();Et(Kt.width),nr(Kt.height)}},fr=function(){rr(),qn()},zt=function(Kt){Nt(!1),Dt(),g==null||g(Kt)},Ft=function(){return new Promise(function(Kt){rr(),et(function(){return Kt})})};Qt(function(){ot&&(Dt(),ot(),et(null))},[ot]);function ut(Mt,Kt,Wn,mr){ke[Mt]=function(Yn){var As;mr==null||mr(Yn),Ve(Kt,Wn);for(var eu=arguments.length,Ep=new Array(eu>1?eu-1:0),tu=1;tu1?Wn-1:0),Yn=1;Yn1?Wn-1:0),Yn=1;Yn1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],i=AQ(n,!1),o=i.label,s=i.value,l=i.options,u=i.groupLabel;function d(p,f){Array.isArray(p)&&p.forEach(function(m){if(f||!(l in m)){var g=m[s];a.push({key:KB(m,a.length),groupOption:f,data:m,label:m[o],value:g})}else{var h=m[u];h===void 0&&r&&(h=m.label),a.push({key:KB(m,a.length),group:!0,data:m,label:h}),d(m[l],!0)}})}return d(e,!1),a}function oD(e){var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var g_e=function(t,n,r){if(!n||!n.length)return null;var a=!1,i=function s(l,u){var d=PK(u),p=d[0],f=d.slice(1);if(!p)return[l];var m=l.split(p);return a=a||m.length>1,m.reduce(function(g,h){return[].concat($e(g),$e(s(h,f)))},[]).filter(Boolean)},o=i(t,n);return a?typeof r<"u"?o.slice(0,r):o:null},QL=c.createContext(null);function h_e(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return c.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var i=a.label,o=a.value;return["number","string"].includes(gt(i))?i:o}).join(", ")),n.length>r?", ...":null)}var v_e=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],__e=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],sD=function(t){return t==="tags"||t==="multiple"},DQ=c.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,i=e.className,o=e.showSearch,s=e.tagRender,l=e.direction,u=e.omitDomProps,d=e.displayValues,p=e.onDisplayValuesChange,f=e.emptyOptions,m=e.notFoundContent,g=m===void 0?"Not Found":m,h=e.onClear,v=e.mode,S=e.disabled,b=e.loading,E=e.getInputElement,y=e.getRawInputElement,C=e.open,T=e.defaultOpen,x=e.onDropdownVisibleChange,R=e.activeValue,w=e.onActiveValueChange,I=e.activeDescendantId,O=e.searchValue,k=e.autoClearSearchValue,P=e.onSearch,M=e.onSearchSplit,N=e.tokenSeparators,A=e.allowClear,D=e.suffixIcon,L=e.clearIcon,$=e.OptionList,F=e.animation,B=e.transitionName,z=e.dropdownStyle,U=e.dropdownClassName,j=e.dropdownMatchSelectWidth,G=e.dropdownRender,J=e.dropdownAlign,Y=e.placement,Q=e.builtinPlacements,V=e.getPopupContainer,H=e.showAction,q=H===void 0?[]:H,K=e.onFocus,Z=e.onBlur,te=e.onKeyUp,se=e.onKeyDown,ue=e.onMouseDown,me=yt(e,v_e),de=sD(v),Te=(o!==void 0?o:de)||v==="combobox",Ee=ee({},me);__e.forEach(function(Yt){delete Ee[Yt]}),u==null||u.forEach(function(Yt){delete Ee[Yt]});var ge=c.useState(!1),re=oe(ge,2),ne=re[0],ae=re[1];c.useEffect(function(){ae(zb())},[]);var le=c.useRef(null),pe=c.useRef(null),Re=c.useRef(null),Se=c.useRef(null),Pe=c.useRef(null),fe=c.useRef(!1),_e=Rve(),Ae=oe(_e,3),ye=Ae[0],be=Ae[1],Ne=Ae[2];c.useImperativeHandle(t,function(){var Yt,Bt;return{focus:(Yt=Se.current)===null||Yt===void 0?void 0:Yt.focus,blur:(Bt=Se.current)===null||Bt===void 0?void 0:Bt.blur,scrollTo:function(Ut){var jt;return(jt=Pe.current)===null||jt===void 0?void 0:jt.scrollTo(Ut)},nativeElement:le.current||pe.current}});var we=c.useMemo(function(){var Yt;if(v!=="combobox")return O;var Bt=(Yt=d[0])===null||Yt===void 0?void 0:Yt.value;return typeof Bt=="string"||typeof Bt=="number"?String(Bt):""},[O,v,d]),xe=v==="combobox"&&typeof E=="function"&&E()||null,ke=typeof y=="function"&&y(),at=ws(pe,ke==null||(n=ke.props)===null||n===void 0?void 0:n.ref),Me=c.useState(!1),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1];Qt(function(){Ue(!0)},[]);var Ye=ln(!1,{defaultValue:T,value:C}),He=oe(Ye,2),ze=He[0],Xe=He[1],Be=De?ze:!1,Je=!g&&f;(S||Je&&Be&&v==="combobox")&&(Be=!1);var mt=Je?!1:Be,pt=c.useCallback(function(Yt){var Bt=Yt!==void 0?Yt:!Be;S||(Xe(Bt),Be!==Bt&&(x==null||x(Bt)))},[S,Be,Xe,x]),We=c.useMemo(function(){return(N||[]).some(function(Yt){return[` `,`\r -`].includes(Yt)})},[N]),Ve=c.useContext(KL)||{},Ze=Ve.maxCount,dt=Ve.rawValues,It=function(Bt,qt,Ut){if(!(de&&aD(Ze)&&(dt==null?void 0:dt.size)>=Ze)){var jt=!0,St=Bt;w==null||w(null);var Tt=f_e(Bt,N,aD(Ze)?Ze-dt.size:void 0),sn=Ut?null:Tt;return v!=="combobox"&&sn&&(St="",M==null||M(sn),pt(!1),jt=!1),P&&Ie!==St&&P(St,{source:qt?"typing":"effect"}),jt}},Nt=function(Bt){!Bt||!Bt.trim()||P(Bt,{source:"submit"})};c.useEffect(function(){!Be&&!de&&v!=="combobox"&&It("",!1,!1)},[Be]),c.useEffect(function(){ze&&S&&Xe(!1),S&&!fe.current&&be(!1)},[S]);var ht=CQ(),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useRef(!1),nt=function(Bt){var qt=ot(),Ut=Bt.key,jt=Ut==="Enter";if(jt&&(v!=="combobox"&&Bt.preventDefault(),Be||pt(!0)),et(!!Ie),Ut==="Backspace"&&!qt&&de&&!Ie&&d.length){for(var St=$e(d),Tt=null,sn=St.length-1;sn>=0;sn-=1){var yn=St[sn];if(!yn.disabled){St.splice(sn,1),Tt=yn;break}}Tt&&p(St,{type:"remove",values:[Tt]})}for(var nr=arguments.length,cr=new Array(nr>1?nr-1:0),vr=1;vr1?qt-1:0),jt=1;jt1?Tt-1:0),yn=1;yn"u"?"undefined":gt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const MQ=function(e,t,n,r){var a=c.useRef(!1),i=c.useRef(null);function o(){clearTimeout(i.current),a.current=!0,i.current=setTimeout(function(){a.current=!1},50)}var s=c.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=l?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&p?(clearTimeout(i.current),a.current=!1):(!p||a.current)&&o(),!a.current&&p}};function E_e(e,t,n,r,a,i,o){var s=c.useRef(0),l=c.useRef(null),u=c.useRef(null),d=c.useRef(!1),p=MQ(t,n,r,a);function f(_,E){Gt.cancel(l.current),s.current+=E,u.current=E,!p(!1,E)&&(YB||_.preventDefault(),l.current=Gt(function(){var y=d.current?10:1;o(s.current*y),s.current=0}))}function m(_,E){o(E,!0),YB||_.preventDefault()}var g=c.useRef(null),h=c.useRef(null);function v(_){if(e){Gt.cancel(h.current),h.current=Gt(function(){g.current=null},2);var E=_.deltaX,y=_.deltaY,C=_.shiftKey,T=E,x=y;(g.current==="sx"||!g.current&&C&&y&&!E)&&(T=y,x=0,g.current="sx");var R=Math.abs(T),w=Math.abs(x);g.current===null&&(g.current=i&&R>w?"x":"y"),g.current==="y"?f(_,x):m(_,T)}}function S(_){e&&(d.current=_.detail===u.current)}return[v,S]}function y_e(e,t,n,r){var a=c.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=oe(a,2),o=i[0],s=i[1],l=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,f=o.get(d),m=o.get(p);if(f===void 0||m===void 0)for(var g=e.length,h=s.length;h0&&arguments[0]!==void 0?arguments[0]:!1;d();var g=function(){s.current.forEach(function(v,S){if(v&&v.offsetParent){var _=_f(v),E=_.offsetHeight;l.current.get(S)!==E&&l.current.set(S,_.offsetHeight)}}),o(function(v){return v+1})};m?g():u.current=Gt(g)}function f(m,g){var h=e(m);s.current.get(h),g?(s.current.set(h,g),p()):s.current.delete(h)}return c.useEffect(function(){return d},[]),[f,p,l.current,i]}var KB=14/15;function x_e(e,t,n){var r=c.useRef(!1),a=c.useRef(0),i=c.useRef(0),o=c.useRef(null),s=c.useRef(null),l,u=function(m){if(r.current){var g=Math.ceil(m.touches[0].pageX),h=Math.ceil(m.touches[0].pageY),v=a.current-g,S=i.current-h,_=Math.abs(v)>Math.abs(S);_?a.current=g:i.current=h,n(_,_?v:S)&&m.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){_?v*=KB:S*=KB;var E=Math.floor(_?v:S);(!n(_,E,!0)||Math.abs(E)<=.1)&&clearInterval(s.current)},16)}},d=function(){r.current=!1,l()},p=function(m){l(),m.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(m.touches[0].pageX),i.current=Math.ceil(m.touches[0].pageY),o.current=m.target,o.current.addEventListener("touchmove",u,{passive:!1}),o.current.addEventListener("touchend",d,{passive:!0}))};l=function(){o.current&&(o.current.removeEventListener("touchmove",u),o.current.removeEventListener("touchend",d))},Qt(function(){return e&&t.current.addEventListener("touchstart",p,{passive:!0}),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",p),l(),clearInterval(s.current)}},[e])}var R_e=10;function w_e(e,t,n,r,a,i,o,s){var l=c.useRef(),u=c.useState(null),d=oe(u,2),p=d[0],f=d[1];return Qt(function(){if(p&&p.times=0;M-=1){var N=a(t[M]),A=n.get(N);if(A===void 0){_=!0;break}if(P-=A,P<=0)break}switch(C){case"top":y=x-v;break;case"bottom":y=R-S+v;break;default:{var D=e.current.scrollTop,L=D+S;xL&&(E="bottom")}}y!==null&&o(y),y!==p.lastTop&&(_=!0)}_&&f(ee(ee({},p),{},{times:p.times+1,targetAlign:E,lastTop:y}))}},[p,e.current]),function(m){if(m==null){s();return}if(Gt.cancel(l.current),typeof m=="number")o(m);else if(m&>(m)==="object"){var g,h=m.align;"index"in m?g=m.index:g=t.findIndex(function(_){return a(_)===m.key});var v=m.offset,S=v===void 0?0:v;f({times:0,index:g,offset:S,originAlign:h})}}}function XB(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var QB=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,i=e.scrollRange,o=e.onStartMove,s=e.onStopMove,l=e.onScroll,u=e.horizontal,d=e.spinSize,p=e.containerSize,f=e.style,m=e.thumbStyle,g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],_=c.useState(null),E=oe(_,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=!r,O=c.useRef(),k=c.useRef(),P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useRef(),L=function(){clearTimeout(D.current),A(!0),D.current=setTimeout(function(){A(!1)},3e3)},$=i-p||0,F=p-d||0,B=c.useMemo(function(){if(a===0||$===0)return 0;var H=a/$;return H*F},[a,$,F]),z=function(q){q.stopPropagation(),q.preventDefault()},U=c.useRef({top:B,dragging:v,pageY:y,startTop:R});U.current={top:B,dragging:v,pageY:y,startTop:R};var j=function(q){S(!0),C(XB(q,u)),w(U.current.top),o(),q.stopPropagation(),q.preventDefault()};c.useEffect(function(){var H=function(te){te.preventDefault()},q=O.current,K=k.current;return q.addEventListener("touchstart",H,{passive:!1}),K.addEventListener("touchstart",j,{passive:!1}),function(){q.removeEventListener("touchstart",H),K.removeEventListener("touchstart",j)}},[]);var G=c.useRef();G.current=$;var J=c.useRef();J.current=F,c.useEffect(function(){if(v){var H,q=function(te){var se=U.current,ue=se.dragging,me=se.pageY,de=se.startTop;Gt.cancel(H);var Te=O.current.getBoundingClientRect(),Ee=p/(u?Te.width:Te.height);if(ue){var ge=(XB(te,u)-me)*Ee,re=de;!I&&u?re-=ge:re+=ge;var ne=G.current,ae=J.current,le=ae?re/ae:0,pe=Math.ceil(le*ne);pe=Math.max(pe,0),pe=Math.min(pe,ne),H=Gt(function(){l(pe,u)})}},K=function(){S(!1),s()};return window.addEventListener("mousemove",q,{passive:!0}),window.addEventListener("touchmove",q,{passive:!0}),window.addEventListener("mouseup",K,{passive:!0}),window.addEventListener("touchend",K,{passive:!0}),function(){window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",K),window.removeEventListener("touchend",K),Gt.cancel(H)}}},[v]),c.useEffect(function(){return L(),function(){clearTimeout(D.current)}},[a]),c.useImperativeHandle(t,function(){return{delayHidden:L}});var Y="".concat(n,"-scrollbar"),X={position:"absolute",visibility:N?null:"hidden"},V={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(X.height=8,X.left=0,X.right=0,X.bottom=0,V.height="100%",V.width=d,I?V.left=B:V.right=B):(X.width=8,X.top=0,X.bottom=0,I?X.right=0:X.left=0,V.width="100%",V.height=d,V.top=B),c.createElement("div",{ref:O,className:ie(Y,W(W(W({},"".concat(Y,"-horizontal"),u),"".concat(Y,"-vertical"),!u),"".concat(Y,"-visible"),N)),style:ee(ee({},X),f),onMouseDown:z,onMouseMove:L},c.createElement("div",{ref:k,className:ie("".concat(Y,"-thumb"),W({},"".concat(Y,"-thumb-moving"),v)),style:ee(ee({},V),m),onMouseDown:j}))}),I_e=20;function ZB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,I_e),Math.floor(n)}var O_e=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],N_e=[],A_e={overflowY:"auto",overflowAnchor:"none"};function D_e(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,i=e.height,o=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,u=e.style,d=e.data,p=e.children,f=e.itemKey,m=e.virtual,g=e.direction,h=e.scrollWidth,v=e.component,S=v===void 0?"div":v,_=e.onScroll,E=e.onVirtualScroll,y=e.onVisibleChange,C=e.innerProps,T=e.extraRender,x=e.styles,R=Et(e,O_e),w=c.useCallback(function(tt){return typeof f=="function"?f(tt):tt==null?void 0:tt[f]},[f]),I=T_e(w),O=oe(I,4),k=O[0],P=O[1],M=O[2],N=O[3],A=!!(m!==!1&&i&&o),D=c.useMemo(function(){return Object.values(M.maps).reduce(function(tt,it){return tt+it},0)},[M.id,M.maps]),L=A&&d&&(Math.max(o*d.length,D)>i||!!h),$=g==="rtl",F=ie(r,W({},"".concat(r,"-rtl"),$),a),B=d||N_e,z=c.useRef(),U=c.useRef(),j=c.useRef(),G=c.useState(0),J=oe(G,2),Y=J[0],X=J[1],V=c.useState(0),H=oe(V,2),q=H[0],K=H[1],Z=c.useState(!1),te=oe(Z,2),se=te[0],ue=te[1],me=function(){ue(!0)},de=function(){ue(!1)},Te={getKey:w};function Ee(tt){X(function(it){var Ke;typeof tt=="function"?Ke=tt(it):Ke=tt;var qe=De(Ke);return z.current.scrollTop=qe,qe})}var ge=c.useRef({start:0,end:B.length}),re=c.useRef(),ne=S_e(B,w),ae=oe(ne,1),le=ae[0];re.current=le;var pe=c.useMemo(function(){if(!A)return{scrollHeight:void 0,start:0,end:B.length-1,offset:void 0};if(!L){var tt;return{scrollHeight:((tt=U.current)===null||tt===void 0?void 0:tt.offsetHeight)||0,start:0,end:B.length-1,offset:void 0}}for(var it=0,Ke,qe,_t,xt=B.length,kt=0;kt=Y&&Ke===void 0&&(Ke=kt,qe=it),Vt>Y+i&&_t===void 0&&(_t=kt),it=Vt}return Ke===void 0&&(Ke=0,qe=0,_t=Math.ceil(i/o)),_t===void 0&&(_t=B.length-1),_t=Math.min(_t+1,B.length-1),{scrollHeight:it,start:Ke,end:_t,offset:qe}},[L,A,Y,B,N,i]),Re=pe.scrollHeight,Se=pe.start,Pe=pe.end,fe=pe.offset;ge.current.start=Se,ge.current.end=Pe;var ve=c.useState({width:0,height:i}),Ae=oe(ve,2),ye=Ae[0],be=Ae[1],Ne=function(it){be({width:it.offsetWidth,height:it.offsetHeight})},Ie=c.useRef(),xe=c.useRef(),ke=c.useMemo(function(){return ZB(ye.width,h)},[ye.width,h]),rt=c.useMemo(function(){return ZB(ye.height,Re)},[ye.height,Re]),Me=Re-i,Ce=c.useRef(Me);Ce.current=Me;function De(tt){var it=tt;return Number.isNaN(Ce.current)||(it=Math.min(it,Ce.current)),it=Math.max(it,0),it}var Ue=Y<=0,Ye=Y>=Me,He=q<=0,ze=q>=h,Xe=MQ(Ue,Ye,He,ze),Be=function(){return{x:$?-q:q,y:Y}},Je=c.useRef(Be()),mt=Wt(function(tt){if(E){var it=ee(ee({},Be()),tt);(Je.current.x!==it.x||Je.current.y!==it.y)&&(E(it),Je.current=it)}});function pt(tt,it){var Ke=tt;it?(Ur.flushSync(function(){K(Ke)}),mt()):Ee(Ke)}function We(tt){var it=tt.currentTarget.scrollTop;it!==Y&&Ee(it),_==null||_(tt),mt()}var Ve=function(it){var Ke=it,qe=h?h-ye.width:0;return Ke=Math.max(Ke,0),Ke=Math.min(Ke,qe),Ke},Ze=Wt(function(tt,it){it?(Ur.flushSync(function(){K(function(Ke){var qe=Ke+($?-tt:tt);return Ve(qe)})}),mt()):Ee(function(Ke){var qe=Ke+tt;return qe})}),dt=E_e(A,Ue,Ye,He,ze,!!h,Ze),It=oe(dt,2),Nt=It[0],ht=It[1];x_e(A,z,function(tt,it,Ke){return Xe(tt,it,Ke)?!1:(Nt({preventDefault:function(){},deltaX:tt?it:0,deltaY:tt?0:it}),!0)}),Qt(function(){function tt(Ke){A&&Ke.preventDefault()}var it=z.current;return it.addEventListener("wheel",Nt,{passive:!1}),it.addEventListener("DOMMouseScroll",ht,{passive:!0}),it.addEventListener("MozMousePixelScroll",tt,{passive:!1}),function(){it.removeEventListener("wheel",Nt),it.removeEventListener("DOMMouseScroll",ht),it.removeEventListener("MozMousePixelScroll",tt)}},[A]),Qt(function(){if(h){var tt=Ve(q);K(tt),mt({x:tt})}},[ye.width,h]);var ct=function(){var it,Ke;(it=Ie.current)===null||it===void 0||it.delayHidden(),(Ke=xe.current)===null||Ke===void 0||Ke.delayHidden()},ot=w_e(z,B,M,o,w,function(){return P(!0)},Ee,ct);c.useImperativeHandle(t,function(){return{nativeElement:j.current,getScrollInfo:Be,scrollTo:function(it){function Ke(qe){return qe&>(qe)==="object"&&("left"in qe||"top"in qe)}Ke(it)?(it.left!==void 0&&K(Ve(it.left)),ot(it.top)):ot(it)}}}),Qt(function(){if(y){var tt=B.slice(Se,Pe+1);y(tt,B)}},[Se,Pe,B]);var et=y_e(B,w,M,o),vt=T==null?void 0:T({start:Se,end:Pe,virtual:L,offsetX:q,offsetY:fe,rtl:$,getSize:et}),nt=__e(B,Se,Pe,h,q,k,p,Te),bt=null;i&&(bt=ee(W({},l?"height":"maxHeight",i),A_e),A&&(bt.overflowY="hidden",h&&(bt.overflowX="hidden"),se&&(bt.pointerEvents="none")));var Ct={};return $&&(Ct.dir="rtl"),c.createElement("div",_e({ref:j,style:ee(ee({},u),{},{position:"relative"}),className:F},Ct,R),c.createElement(da,{onResize:Ne},c.createElement(S,{className:"".concat(r,"-holder"),style:bt,ref:z,onScroll:We,onMouseEnter:ct},c.createElement(DQ,{prefixCls:r,height:Re,offsetX:q,offsetY:fe,scrollWidth:h,onInnerResize:P,ref:U,innerProps:C,rtl:$,extra:vt},nt))),L&&Re>i&&c.createElement(QB,{ref:Ie,prefixCls:r,scrollOffset:Y,scrollRange:Re,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:rt,containerSize:ye.height,style:x==null?void 0:x.verticalScrollBar,thumbStyle:x==null?void 0:x.verticalScrollBarThumb}),L&&h>ye.width&&c.createElement(QB,{ref:xe,prefixCls:r,scrollOffset:q,scrollRange:h,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:ke,containerSize:ye.width,horizontal:!0,style:x==null?void 0:x.horizontalScrollBar,thumbStyle:x==null?void 0:x.horizontalScrollBarThumb}))}var Ub=c.forwardRef(D_e);Ub.displayName="List";function M_e(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var L_e=["disabled","title","children","style","className"];function JB(e){return typeof e=="string"||typeof e=="number"}var k_e=function(t,n){var r=yQ(),a=r.prefixCls,i=r.id,o=r.open,s=r.multiple,l=r.mode,u=r.searchValue,d=r.toggleOpen,p=r.notFoundContent,f=r.onPopupScroll,m=c.useContext(KL),g=m.maxCount,h=m.flattenOptions,v=m.onActiveValue,S=m.defaultActiveFirstOption,_=m.onSelect,E=m.menuItemSelectedIcon,y=m.rawValues,C=m.fieldNames,T=m.virtual,x=m.direction,R=m.listHeight,w=m.listItemHeight,I=m.optionRender,O="".concat(a,"-item"),k=wl(function(){return h},[o,h],function(H,q){return q[0]&&H[1]!==q[1]}),P=c.useRef(null),M=c.useMemo(function(){return s&&aD(g)&&(y==null?void 0:y.size)>=g},[s,g,y==null?void 0:y.size]),N=function(q){q.preventDefault()},A=function(q){var K;(K=P.current)===null||K===void 0||K.scrollTo(typeof q=="number"?{index:q}:q)},D=function(q){for(var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=k.length,te=0;te1&&arguments[1]!==void 0?arguments[1]:!1;B(q);var Z={source:K?"keyboard":"mouse"},te=k[q];if(!te){v(null,-1,Z);return}v(te.value,q,Z)};c.useEffect(function(){z(S!==!1?D(0):-1)},[k.length,u]);var U=c.useCallback(function(H){return y.has(H)&&l!=="combobox"},[l,$e(y).toString(),y.size]);c.useEffect(function(){var H=setTimeout(function(){if(!s&&o&&y.size===1){var K=Array.from(y)[0],Z=k.findIndex(function(te){var se=te.data;return se.value===K});Z!==-1&&(z(Z),A(Z))}});if(o){var q;(q=P.current)===null||q===void 0||q.scrollTo(void 0)}return function(){return clearTimeout(H)}},[o,u]);var j=function(q){q!==void 0&&_(q,{selected:!y.has(q)}),s||d(!1)};if(c.useImperativeHandle(n,function(){return{onKeyDown:function(q){var K=q.which,Z=q.ctrlKey;switch(K){case Fe.N:case Fe.P:case Fe.UP:case Fe.DOWN:{var te=0;if(K===Fe.UP?te=-1:K===Fe.DOWN?te=1:M_e()&&Z&&(K===Fe.N?te=1:K===Fe.P&&(te=-1)),te!==0){var se=D(F+te,te);A(se),z(se,!0)}break}case Fe.ENTER:{var ue,me=k[F];me&&!(me!=null&&(ue=me.data)!==null&&ue!==void 0&&ue.disabled)&&!M?j(me.value):j(void 0),o&&q.preventDefault();break}case Fe.ESC:d(!1),o&&q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(q){A(q)}}}),k.length===0)return c.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(O,"-empty"),onMouseDown:N},p);var G=Object.keys(C).map(function(H){return C[H]}),J=function(q){return q.label};function Y(H,q){var K=H.group;return{role:K?"presentation":"option",id:"".concat(i,"_list_").concat(q)}}var X=function(q){var K=k[q];if(!K)return null;var Z=K.data||{},te=Z.value,se=K.group,ue=Qn(Z,!0),me=J(K);return K?c.createElement("div",_e({"aria-label":typeof me=="string"&&!se?me:null},ue,{key:q},Y(K,q),{"aria-selected":U(te)}),te):null},V={role:"listbox",id:"".concat(i,"_list")};return c.createElement(c.Fragment,null,T&&c.createElement("div",_e({},V,{style:{height:0,width:0,overflow:"hidden"}}),X(F-1),X(F),X(F+1)),c.createElement(Ub,{itemKey:"key",ref:P,data:k,height:R,itemHeight:w,fullHeight:!1,onMouseDown:N,onScroll:f,virtual:T,direction:x,innerProps:T?null:V},function(H,q){var K=H.group,Z=H.groupOption,te=H.data,se=H.label,ue=H.value,me=te.key;if(K){var de,Te=(de=te.title)!==null&&de!==void 0?de:JB(se)?se.toString():void 0;return c.createElement("div",{className:ie(O,"".concat(O,"-group"),te.className),title:Te},se!==void 0?se:me)}var Ee=te.disabled,ge=te.title;te.children;var re=te.style,ne=te.className,ae=Et(te,L_e),le=An(ae,G),pe=U(ue),Re=Ee||!pe&&M,Se="".concat(O,"-option"),Pe=ie(O,Se,ne,W(W(W(W({},"".concat(Se,"-grouped"),Z),"".concat(Se,"-active"),F===q&&!Re),"".concat(Se,"-disabled"),Re),"".concat(Se,"-selected"),pe)),fe=J(H),ve=!E||typeof E=="function"||pe,Ae=typeof fe=="number"?fe:fe||ue,ye=JB(Ae)?Ae.toString():void 0;return ge!==void 0&&(ye=ge),c.createElement("div",_e({},Qn(le),T?{}:Y(H,q),{"aria-selected":pe,className:Pe,title:ye,onMouseMove:function(){F===q||Re||z(q)},onClick:function(){Re||j(ue)},style:re}),c.createElement("div",{className:"".concat(Se,"-content")},typeof I=="function"?I(H,{index:q}):Ae),c.isValidElement(E)||pe,ve&&c.createElement(Bb,{className:"".concat(O,"-option-state"),customizeIcon:E,customizeIconProps:{value:ue,disabled:Re,isSelected:pe}},pe?"✓":null))}))},P_e=c.forwardRef(k_e);const $_e=function(e,t){var n=c.useRef({values:new Map,options:new Map}),r=c.useMemo(function(){var i=n.current,o=i.values,s=i.options,l=e.map(function(p){if(p.label===void 0){var f;return ee(ee({},p),{},{label:(f=o.get(p.value))===null||f===void 0?void 0:f.label})}return p}),u=new Map,d=new Map;return l.forEach(function(p){u.set(p.value,p),d.set(p.value,t.get(p.value)||s.get(p.value))}),n.current.values=u,n.current.options=d,l},[e,t]),a=c.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,a]};function ly(e,t){return IQ(e).join("").toUpperCase().includes(t)}const F_e=function(e,t,n,r,a){return c.useMemo(function(){if(!n||r===!1)return e;var i=t.options,o=t.label,s=t.value,l=[],u=typeof r=="function",d=n.toUpperCase(),p=u?r:function(m,g){return a?ly(g[a],d):g[i]?ly(g[o!=="children"?o:"label"],d):ly(g[s],d)},f=u?function(m){return iD(m)}:function(m){return m};return e.forEach(function(m){if(m[i]){var g=p(n,f(m));if(g)l.push(m);else{var h=m[i].filter(function(v){return p(n,f(v))});h.length&&l.push(ee(ee({},m),{},W({},i,h)))}return}p(n,f(m))&&l.push(m)}),l},[e,r,a,n,t])};var e3=0,B_e=Jr();function U_e(){var e;return B_e?(e=e3,e3+=1):e="TEST_OR_SSR",e}function LQ(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_select_".concat(U_e()))},[]),e||r}var j_e=["children","value"],z_e=["children"];function H_e(e){var t=e,n=t.key,r=t.props,a=r.children,i=r.value,o=Et(r,j_e);return ee({key:n,value:i!==void 0?i:n,children:a},o)}function kQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return br(e).map(function(n,r){if(!c.isValidElement(n)||!n.type)return null;var a=n,i=a.type.isSelectOptGroup,o=a.key,s=a.props,l=s.children,u=Et(s,z_e);return t||!i?H_e(n):ee(ee({key:"__RC_SELECT_GRP__".concat(o===null?r:o,"__"),label:o},u),{},{options:kQ(l)})}).filter(function(n){return n})}var G_e=function(t,n,r,a,i){return c.useMemo(function(){var o=t,s=!t;s&&(o=kQ(n));var l=new Map,u=new Map,d=function(m,g,h){h&&typeof h=="string"&&m.set(g[h],g)},p=function f(m){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=0;h0?We(dt.options):dt.options}):dt})},ye=c.useMemo(function(){return _?Ae(ve):ve},[ve,_,H]),be=c.useMemo(function(){return p_e(ye,{fieldNames:Y,childrenAsData:G})},[ye,Y,G]),Ne=function(Ve){var Ze=ue(Ve);if(Ee(Ze),F&&(Ze.length!==ae.length||Ze.some(function(Nt,ht){var ct;return((ct=ae[ht])===null||ct===void 0?void 0:ct.value)!==(Nt==null?void 0:Nt.value)}))){var dt=$?Ze:Ze.map(function(Nt){return Nt.value}),It=Ze.map(function(Nt){return iD(le(Nt.value))});F(j?dt:dt[0],j?It:It[0])}},Ie=c.useState(null),xe=oe(Ie,2),ke=xe[0],rt=xe[1],Me=c.useState(0),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=R!==void 0?R:r!=="combobox",He=c.useCallback(function(We,Ve){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},dt=Ze.source,It=dt===void 0?"keyboard":dt;Ue(Ve),o&&r==="combobox"&&We!==null&&It==="keyboard"&&rt(String(We))},[o,r]),ze=function(Ve,Ze,dt){var It=function(){var tt,it=le(Ve);return[$?{label:it==null?void 0:it[Y.label],value:Ve,key:(tt=it==null?void 0:it.key)!==null&&tt!==void 0?tt:Ve}:Ve,iD(it)]};if(Ze&&m){var Nt=It(),ht=oe(Nt,2),ct=ht[0],ot=ht[1];m(ct,ot)}else if(!Ze&&g&&dt!=="clear"){var et=It(),vt=oe(et,2),nt=vt[0],bt=vt[1];g(nt,bt)}},Xe=t3(function(We,Ve){var Ze,dt=j?Ve.selected:!0;dt?Ze=j?[].concat($e(ae),[We]):[We]:Ze=ae.filter(function(It){return It.value!==We}),Ne(Ze),ze(We,dt),r==="combobox"?rt(""):(!oD||f)&&(q(""),rt(""))}),Be=function(Ve,Ze){Ne(Ve);var dt=Ze.type,It=Ze.values;(dt==="remove"||dt==="clear")&&It.forEach(function(Nt){ze(Nt.value,!1,dt)})},Je=function(Ve,Ze){if(q(Ve),rt(null),Ze.source==="submit"){var dt=(Ve||"").trim();if(dt){var It=Array.from(new Set([].concat($e(Re),[dt])));Ne(It),ze(dt,!0),q("")}return}Ze.source!=="blur"&&(r==="combobox"&&Ne(Ve),d==null||d(Ve))},mt=function(Ve){var Ze=Ve;r!=="tags"&&(Ze=Ve.map(function(It){var Nt=te.get(It);return Nt==null?void 0:Nt.value}).filter(function(It){return It!==void 0}));var dt=Array.from(new Set([].concat($e(Re),$e(Ze))));Ne(dt),dt.forEach(function(It){ze(It,!0)})},pt=c.useMemo(function(){var We=I!==!1&&v!==!1;return ee(ee({},K),{},{flattenOptions:be,onActiveValue:He,defaultActiveFirstOption:Ye,onSelect:Xe,menuItemSelectedIcon:w,rawValues:Re,fieldNames:Y,virtual:We,direction:O,listHeight:P,listItemHeight:N,childrenAsData:G,maxCount:B,optionRender:T})},[B,K,be,He,Ye,Xe,w,Re,Y,I,v,O,P,N,G,T]);return c.createElement(KL.Provider,{value:pt},c.createElement(AQ,_e({},z,{id:U,prefixCls:i,ref:t,omitDomProps:q_e,mode:r,displayValues:pe,onDisplayValuesChange:Be,direction:O,searchValue:H,onSearch:Je,autoClearSearchValue:f,onSearchSplit:mt,dropdownMatchSelectWidth:v,OptionList:P_e,emptyOptions:!be.length,activeValue:ke,activeDescendantId:"".concat(U,"_list_").concat(De)})))}),ZL=Y_e;ZL.Option=QL;ZL.OptGroup=XL;function Cs(e,t,n){return ie({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Nl=(e,t)=>t||e,K_e=()=>{const[,e]=ia(),n=new an(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return c.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"empty image"),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),c.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),c.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),c.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),c.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},X_e=()=>{const[,e]=ia(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:i,shadowColor:o,contentColor:s}=c.useMemo(()=>({borderColor:new an(t).onBackground(a).toHexShortString(),shadowColor:new an(n).onBackground(a).toHexShortString(),contentColor:new an(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"Simple Empty"),c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:o,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:i},c.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),c.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},Q_e=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:i,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:o,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Z_e=cn("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=Ht(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[Q_e(a)]});var J_e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{className:t,rootClassName:n,prefixCls:r,image:a=PQ,description:i,children:o,imageStyle:s,style:l}=e,u=J_e(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:p,empty:f}=c.useContext(lt),m=d("empty",r),[g,h,v]=Z_e(m),[S]=Go("Empty"),_=typeof i<"u"?i:S==null?void 0:S.description,E=typeof _=="string"?_:"empty";let y=null;return typeof a=="string"?y=c.createElement("img",{alt:E,src:a}):y=a,g(c.createElement("div",Object.assign({className:ie(h,v,m,f==null?void 0:f.className,{[`${m}-normal`]:a===$Q,[`${m}-rtl`]:p==="rtl"},t,n),style:Object.assign(Object.assign({},f==null?void 0:f.style),l)},u),c.createElement("div",{className:`${m}-image`,style:s},y),_&&c.createElement("div",{className:`${m}-description`},_),o&&c.createElement("div",{className:`${m}-footer`},o)))};ls.PRESENTED_IMAGE_DEFAULT=PQ;ls.PRESENTED_IMAGE_SIMPLE=$Q;const jb=e=>{const{componentName:t}=e,{getPrefixCls:n}=c.useContext(lt),r=n("empty");switch(t){case"Table":case"List":return ce.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ce.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return ce.createElement(ls,null)}},Uc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:i,[e]:o}=c.useContext(lt),s=c.useContext(tQ),l=o==null?void 0:o.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??l)!==null&&r!==void 0?r:i)!==null&&a!==void 0?a:"outlined";const d=Fde.includes(u);return[u,d]},ebe=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function FQ(e,t){return e||ebe(t)}const n3=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},tbe=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},on(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` +`].includes(Yt)})},[N]),Ve=c.useContext(QL)||{},Ze=Ve.maxCount,dt=Ve.rawValues,It=function(Bt,qt,Ut){if(!(de&&iD(Ze)&&(dt==null?void 0:dt.size)>=Ze)){var jt=!0,Et=Bt;w==null||w(null);var Ct=g_e(Bt,N,iD(Ze)?Ze-dt.size:void 0),cn=Ut?null:Ct;return v!=="combobox"&&cn&&(Et="",M==null||M(cn),pt(!1),jt=!1),P&&we!==Et&&P(Et,{source:qt?"typing":"effect"}),jt}},Nt=function(Bt){!Bt||!Bt.trim()||P(Bt,{source:"submit"})};c.useEffect(function(){!Be&&!de&&v!=="combobox"&&It("",!1,!1)},[Be]),c.useEffect(function(){ze&&S&&Xe(!1),S&&!fe.current&&be(!1)},[S]);var ht=TQ(),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useRef(!1),rt=function(Bt){var qt=ot(),Ut=Bt.key,jt=Ut==="Enter";if(jt&&(v!=="combobox"&&Bt.preventDefault(),Be||pt(!0)),et(!!we),Ut==="Backspace"&&!qt&&de&&!we&&d.length){for(var Et=$e(d),Ct=null,cn=Et.length-1;cn>=0;cn-=1){var En=Et[cn];if(!En.disabled){Et.splice(cn,1),Ct=En;break}}Ct&&p(Et,{type:"remove",values:[Ct]})}for(var nr=arguments.length,rr=new Array(nr>1?nr-1:0),fr=1;fr1?qt-1:0),jt=1;jt1?Ct-1:0),En=1;En"u"?"undefined":gt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const LQ=function(e,t,n,r){var a=c.useRef(!1),i=c.useRef(null);function o(){clearTimeout(i.current),a.current=!0,i.current=setTimeout(function(){a.current=!1},50)}var s=c.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=l?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&p?(clearTimeout(i.current),a.current=!1):(!p||a.current)&&o(),!a.current&&p}};function C_e(e,t,n,r,a,i,o){var s=c.useRef(0),l=c.useRef(null),u=c.useRef(null),d=c.useRef(!1),p=LQ(t,n,r,a);function f(b,E){Gt.cancel(l.current),s.current+=E,u.current=E,!p(!1,E)&&(XB||b.preventDefault(),l.current=Gt(function(){var y=d.current?10:1;o(s.current*y),s.current=0}))}function m(b,E){o(E,!0),XB||b.preventDefault()}var g=c.useRef(null),h=c.useRef(null);function v(b){if(e){Gt.cancel(h.current),h.current=Gt(function(){g.current=null},2);var E=b.deltaX,y=b.deltaY,C=b.shiftKey,T=E,x=y;(g.current==="sx"||!g.current&&C&&y&&!E)&&(T=y,x=0,g.current="sx");var R=Math.abs(T),w=Math.abs(x);g.current===null&&(g.current=i&&R>w?"x":"y"),g.current==="y"?f(b,x):m(b,T)}}function S(b){e&&(d.current=b.detail===u.current)}return[v,S]}function T_e(e,t,n,r){var a=c.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=oe(a,2),o=i[0],s=i[1],l=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,f=o.get(d),m=o.get(p);if(f===void 0||m===void 0)for(var g=e.length,h=s.length;h0&&arguments[0]!==void 0?arguments[0]:!1;d();var g=function(){s.current.forEach(function(v,S){if(v&&v.offsetParent){var b=Sf(v),E=b.offsetHeight;l.current.get(S)!==E&&l.current.set(S,b.offsetHeight)}}),o(function(v){return v+1})};m?g():u.current=Gt(g)}function f(m,g){var h=e(m);s.current.get(h),g?(s.current.set(h,g),p()):s.current.delete(h)}return c.useEffect(function(){return d},[]),[f,p,l.current,i]}var QB=14/15;function w_e(e,t,n){var r=c.useRef(!1),a=c.useRef(0),i=c.useRef(0),o=c.useRef(null),s=c.useRef(null),l,u=function(m){if(r.current){var g=Math.ceil(m.touches[0].pageX),h=Math.ceil(m.touches[0].pageY),v=a.current-g,S=i.current-h,b=Math.abs(v)>Math.abs(S);b?a.current=g:i.current=h,n(b,b?v:S)&&m.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){b?v*=QB:S*=QB;var E=Math.floor(b?v:S);(!n(b,E,!0)||Math.abs(E)<=.1)&&clearInterval(s.current)},16)}},d=function(){r.current=!1,l()},p=function(m){l(),m.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(m.touches[0].pageX),i.current=Math.ceil(m.touches[0].pageY),o.current=m.target,o.current.addEventListener("touchmove",u,{passive:!1}),o.current.addEventListener("touchend",d,{passive:!0}))};l=function(){o.current&&(o.current.removeEventListener("touchmove",u),o.current.removeEventListener("touchend",d))},Qt(function(){return e&&t.current.addEventListener("touchstart",p,{passive:!0}),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",p),l(),clearInterval(s.current)}},[e])}var I_e=10;function O_e(e,t,n,r,a,i,o,s){var l=c.useRef(),u=c.useState(null),d=oe(u,2),p=d[0],f=d[1];return Qt(function(){if(p&&p.times=0;M-=1){var N=a(t[M]),A=n.get(N);if(A===void 0){b=!0;break}if(P-=A,P<=0)break}switch(C){case"top":y=x-v;break;case"bottom":y=R-S+v;break;default:{var D=e.current.scrollTop,L=D+S;xL&&(E="bottom")}}y!==null&&o(y),y!==p.lastTop&&(b=!0)}b&&f(ee(ee({},p),{},{times:p.times+1,targetAlign:E,lastTop:y}))}},[p,e.current]),function(m){if(m==null){s();return}if(Gt.cancel(l.current),typeof m=="number")o(m);else if(m&>(m)==="object"){var g,h=m.align;"index"in m?g=m.index:g=t.findIndex(function(b){return a(b)===m.key});var v=m.offset,S=v===void 0?0:v;f({times:0,index:g,offset:S,originAlign:h})}}}function ZB(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var JB=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,i=e.scrollRange,o=e.onStartMove,s=e.onStopMove,l=e.onScroll,u=e.horizontal,d=e.spinSize,p=e.containerSize,f=e.style,m=e.thumbStyle,g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],b=c.useState(null),E=oe(b,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=!r,O=c.useRef(),k=c.useRef(),P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useRef(),L=function(){clearTimeout(D.current),A(!0),D.current=setTimeout(function(){A(!1)},3e3)},$=i-p||0,F=p-d||0,B=c.useMemo(function(){if(a===0||$===0)return 0;var H=a/$;return H*F},[a,$,F]),z=function(q){q.stopPropagation(),q.preventDefault()},U=c.useRef({top:B,dragging:v,pageY:y,startTop:R});U.current={top:B,dragging:v,pageY:y,startTop:R};var j=function(q){S(!0),C(ZB(q,u)),w(U.current.top),o(),q.stopPropagation(),q.preventDefault()};c.useEffect(function(){var H=function(te){te.preventDefault()},q=O.current,K=k.current;return q.addEventListener("touchstart",H,{passive:!1}),K.addEventListener("touchstart",j,{passive:!1}),function(){q.removeEventListener("touchstart",H),K.removeEventListener("touchstart",j)}},[]);var G=c.useRef();G.current=$;var J=c.useRef();J.current=F,c.useEffect(function(){if(v){var H,q=function(te){var se=U.current,ue=se.dragging,me=se.pageY,de=se.startTop;Gt.cancel(H);var Te=O.current.getBoundingClientRect(),Ee=p/(u?Te.width:Te.height);if(ue){var ge=(ZB(te,u)-me)*Ee,re=de;!I&&u?re-=ge:re+=ge;var ne=G.current,ae=J.current,le=ae?re/ae:0,pe=Math.ceil(le*ne);pe=Math.max(pe,0),pe=Math.min(pe,ne),H=Gt(function(){l(pe,u)})}},K=function(){S(!1),s()};return window.addEventListener("mousemove",q,{passive:!0}),window.addEventListener("touchmove",q,{passive:!0}),window.addEventListener("mouseup",K,{passive:!0}),window.addEventListener("touchend",K,{passive:!0}),function(){window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",K),window.removeEventListener("touchend",K),Gt.cancel(H)}}},[v]),c.useEffect(function(){return L(),function(){clearTimeout(D.current)}},[a]),c.useImperativeHandle(t,function(){return{delayHidden:L}});var Y="".concat(n,"-scrollbar"),Q={position:"absolute",visibility:N?null:"hidden"},V={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(Q.height=8,Q.left=0,Q.right=0,Q.bottom=0,V.height="100%",V.width=d,I?V.left=B:V.right=B):(Q.width=8,Q.top=0,Q.bottom=0,I?Q.right=0:Q.left=0,V.width="100%",V.height=d,V.top=B),c.createElement("div",{ref:O,className:ie(Y,W(W(W({},"".concat(Y,"-horizontal"),u),"".concat(Y,"-vertical"),!u),"".concat(Y,"-visible"),N)),style:ee(ee({},Q),f),onMouseDown:z,onMouseMove:L},c.createElement("div",{ref:k,className:ie("".concat(Y,"-thumb"),W({},"".concat(Y,"-thumb-moving"),v)),style:ee(ee({},V),m),onMouseDown:j}))}),N_e=20;function e3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,N_e),Math.floor(n)}var A_e=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],D_e=[],M_e={overflowY:"auto",overflowAnchor:"none"};function L_e(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,i=e.height,o=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,u=e.style,d=e.data,p=e.children,f=e.itemKey,m=e.virtual,g=e.direction,h=e.scrollWidth,v=e.component,S=v===void 0?"div":v,b=e.onScroll,E=e.onVirtualScroll,y=e.onVisibleChange,C=e.innerProps,T=e.extraRender,x=e.styles,R=yt(e,A_e),w=c.useCallback(function(tt){return typeof f=="function"?f(tt):tt==null?void 0:tt[f]},[f]),I=R_e(w),O=oe(I,4),k=O[0],P=O[1],M=O[2],N=O[3],A=!!(m!==!1&&i&&o),D=c.useMemo(function(){return Object.values(M.maps).reduce(function(tt,it){return tt+it},0)},[M.id,M.maps]),L=A&&d&&(Math.max(o*d.length,D)>i||!!h),$=g==="rtl",F=ie(r,W({},"".concat(r,"-rtl"),$),a),B=d||D_e,z=c.useRef(),U=c.useRef(),j=c.useRef(),G=c.useState(0),J=oe(G,2),Y=J[0],Q=J[1],V=c.useState(0),H=oe(V,2),q=H[0],K=H[1],Z=c.useState(!1),te=oe(Z,2),se=te[0],ue=te[1],me=function(){ue(!0)},de=function(){ue(!1)},Te={getKey:w};function Ee(tt){Q(function(it){var Ke;typeof tt=="function"?Ke=tt(it):Ke=tt;var qe=De(Ke);return z.current.scrollTop=qe,qe})}var ge=c.useRef({start:0,end:B.length}),re=c.useRef(),ne=y_e(B,w),ae=oe(ne,1),le=ae[0];re.current=le;var pe=c.useMemo(function(){if(!A)return{scrollHeight:void 0,start:0,end:B.length-1,offset:void 0};if(!L){var tt;return{scrollHeight:((tt=U.current)===null||tt===void 0?void 0:tt.offsetHeight)||0,start:0,end:B.length-1,offset:void 0}}for(var it=0,Ke,qe,_t,Rt=B.length,kt=0;kt=Y&&Ke===void 0&&(Ke=kt,qe=it),nn>Y+i&&_t===void 0&&(_t=kt),it=nn}return Ke===void 0&&(Ke=0,qe=0,_t=Math.ceil(i/o)),_t===void 0&&(_t=B.length-1),_t=Math.min(_t+1,B.length-1),{scrollHeight:it,start:Ke,end:_t,offset:qe}},[L,A,Y,B,N,i]),Re=pe.scrollHeight,Se=pe.start,Pe=pe.end,fe=pe.offset;ge.current.start=Se,ge.current.end=Pe;var _e=c.useState({width:0,height:i}),Ae=oe(_e,2),ye=Ae[0],be=Ae[1],Ne=function(it){be({width:it.offsetWidth,height:it.offsetHeight})},we=c.useRef(),xe=c.useRef(),ke=c.useMemo(function(){return e3(ye.width,h)},[ye.width,h]),at=c.useMemo(function(){return e3(ye.height,Re)},[ye.height,Re]),Me=Re-i,Ce=c.useRef(Me);Ce.current=Me;function De(tt){var it=tt;return Number.isNaN(Ce.current)||(it=Math.min(it,Ce.current)),it=Math.max(it,0),it}var Ue=Y<=0,Ye=Y>=Me,He=q<=0,ze=q>=h,Xe=LQ(Ue,Ye,He,ze),Be=function(){return{x:$?-q:q,y:Y}},Je=c.useRef(Be()),mt=Wt(function(tt){if(E){var it=ee(ee({},Be()),tt);(Je.current.x!==it.x||Je.current.y!==it.y)&&(E(it),Je.current=it)}});function pt(tt,it){var Ke=tt;it?(Ur.flushSync(function(){K(Ke)}),mt()):Ee(Ke)}function We(tt){var it=tt.currentTarget.scrollTop;it!==Y&&Ee(it),b==null||b(tt),mt()}var Ve=function(it){var Ke=it,qe=h?h-ye.width:0;return Ke=Math.max(Ke,0),Ke=Math.min(Ke,qe),Ke},Ze=Wt(function(tt,it){it?(Ur.flushSync(function(){K(function(Ke){var qe=Ke+($?-tt:tt);return Ve(qe)})}),mt()):Ee(function(Ke){var qe=Ke+tt;return qe})}),dt=C_e(A,Ue,Ye,He,ze,!!h,Ze),It=oe(dt,2),Nt=It[0],ht=It[1];w_e(A,z,function(tt,it,Ke){return Xe(tt,it,Ke)?!1:(Nt({preventDefault:function(){},deltaX:tt?it:0,deltaY:tt?0:it}),!0)}),Qt(function(){function tt(Ke){A&&Ke.preventDefault()}var it=z.current;return it.addEventListener("wheel",Nt,{passive:!1}),it.addEventListener("DOMMouseScroll",ht,{passive:!0}),it.addEventListener("MozMousePixelScroll",tt,{passive:!1}),function(){it.removeEventListener("wheel",Nt),it.removeEventListener("DOMMouseScroll",ht),it.removeEventListener("MozMousePixelScroll",tt)}},[A]),Qt(function(){if(h){var tt=Ve(q);K(tt),mt({x:tt})}},[ye.width,h]);var ct=function(){var it,Ke;(it=we.current)===null||it===void 0||it.delayHidden(),(Ke=xe.current)===null||Ke===void 0||Ke.delayHidden()},ot=O_e(z,B,M,o,w,function(){return P(!0)},Ee,ct);c.useImperativeHandle(t,function(){return{nativeElement:j.current,getScrollInfo:Be,scrollTo:function(it){function Ke(qe){return qe&>(qe)==="object"&&("left"in qe||"top"in qe)}Ke(it)?(it.left!==void 0&&K(Ve(it.left)),ot(it.top)):ot(it)}}}),Qt(function(){if(y){var tt=B.slice(Se,Pe+1);y(tt,B)}},[Se,Pe,B]);var et=T_e(B,w,M,o),vt=T==null?void 0:T({start:Se,end:Pe,virtual:L,offsetX:q,offsetY:fe,rtl:$,getSize:et}),rt=S_e(B,Se,Pe,h,q,k,p,Te),bt=null;i&&(bt=ee(W({},l?"height":"maxHeight",i),M_e),A&&(bt.overflowY="hidden",h&&(bt.overflowX="hidden"),se&&(bt.pointerEvents="none")));var Tt={};return $&&(Tt.dir="rtl"),c.createElement("div",ve({ref:j,style:ee(ee({},u),{},{position:"relative"}),className:F},Tt,R),c.createElement(da,{onResize:Ne},c.createElement(S,{className:"".concat(r,"-holder"),style:bt,ref:z,onScroll:We,onMouseEnter:ct},c.createElement(MQ,{prefixCls:r,height:Re,offsetX:q,offsetY:fe,scrollWidth:h,onInnerResize:P,ref:U,innerProps:C,rtl:$,extra:vt},rt))),L&&Re>i&&c.createElement(JB,{ref:we,prefixCls:r,scrollOffset:Y,scrollRange:Re,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:at,containerSize:ye.height,style:x==null?void 0:x.verticalScrollBar,thumbStyle:x==null?void 0:x.verticalScrollBarThumb}),L&&h>ye.width&&c.createElement(JB,{ref:xe,prefixCls:r,scrollOffset:q,scrollRange:h,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:ke,containerSize:ye.width,horizontal:!0,style:x==null?void 0:x.horizontalScrollBar,thumbStyle:x==null?void 0:x.horizontalScrollBarThumb}))}var Gb=c.forwardRef(L_e);Gb.displayName="List";function k_e(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var P_e=["disabled","title","children","style","className"];function t3(e){return typeof e=="string"||typeof e=="number"}var $_e=function(t,n){var r=CQ(),a=r.prefixCls,i=r.id,o=r.open,s=r.multiple,l=r.mode,u=r.searchValue,d=r.toggleOpen,p=r.notFoundContent,f=r.onPopupScroll,m=c.useContext(QL),g=m.maxCount,h=m.flattenOptions,v=m.onActiveValue,S=m.defaultActiveFirstOption,b=m.onSelect,E=m.menuItemSelectedIcon,y=m.rawValues,C=m.fieldNames,T=m.virtual,x=m.direction,R=m.listHeight,w=m.listItemHeight,I=m.optionRender,O="".concat(a,"-item"),k=Il(function(){return h},[o,h],function(H,q){return q[0]&&H[1]!==q[1]}),P=c.useRef(null),M=c.useMemo(function(){return s&&iD(g)&&(y==null?void 0:y.size)>=g},[s,g,y==null?void 0:y.size]),N=function(q){q.preventDefault()},A=function(q){var K;(K=P.current)===null||K===void 0||K.scrollTo(typeof q=="number"?{index:q}:q)},D=function(q){for(var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=k.length,te=0;te1&&arguments[1]!==void 0?arguments[1]:!1;B(q);var Z={source:K?"keyboard":"mouse"},te=k[q];if(!te){v(null,-1,Z);return}v(te.value,q,Z)};c.useEffect(function(){z(S!==!1?D(0):-1)},[k.length,u]);var U=c.useCallback(function(H){return y.has(H)&&l!=="combobox"},[l,$e(y).toString(),y.size]);c.useEffect(function(){var H=setTimeout(function(){if(!s&&o&&y.size===1){var K=Array.from(y)[0],Z=k.findIndex(function(te){var se=te.data;return se.value===K});Z!==-1&&(z(Z),A(Z))}});if(o){var q;(q=P.current)===null||q===void 0||q.scrollTo(void 0)}return function(){return clearTimeout(H)}},[o,u]);var j=function(q){q!==void 0&&b(q,{selected:!y.has(q)}),s||d(!1)};if(c.useImperativeHandle(n,function(){return{onKeyDown:function(q){var K=q.which,Z=q.ctrlKey;switch(K){case Fe.N:case Fe.P:case Fe.UP:case Fe.DOWN:{var te=0;if(K===Fe.UP?te=-1:K===Fe.DOWN?te=1:k_e()&&Z&&(K===Fe.N?te=1:K===Fe.P&&(te=-1)),te!==0){var se=D(F+te,te);A(se),z(se,!0)}break}case Fe.ENTER:{var ue,me=k[F];me&&!(me!=null&&(ue=me.data)!==null&&ue!==void 0&&ue.disabled)&&!M?j(me.value):j(void 0),o&&q.preventDefault();break}case Fe.ESC:d(!1),o&&q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(q){A(q)}}}),k.length===0)return c.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(O,"-empty"),onMouseDown:N},p);var G=Object.keys(C).map(function(H){return C[H]}),J=function(q){return q.label};function Y(H,q){var K=H.group;return{role:K?"presentation":"option",id:"".concat(i,"_list_").concat(q)}}var Q=function(q){var K=k[q];if(!K)return null;var Z=K.data||{},te=Z.value,se=K.group,ue=Jn(Z,!0),me=J(K);return K?c.createElement("div",ve({"aria-label":typeof me=="string"&&!se?me:null},ue,{key:q},Y(K,q),{"aria-selected":U(te)}),te):null},V={role:"listbox",id:"".concat(i,"_list")};return c.createElement(c.Fragment,null,T&&c.createElement("div",ve({},V,{style:{height:0,width:0,overflow:"hidden"}}),Q(F-1),Q(F),Q(F+1)),c.createElement(Gb,{itemKey:"key",ref:P,data:k,height:R,itemHeight:w,fullHeight:!1,onMouseDown:N,onScroll:f,virtual:T,direction:x,innerProps:T?null:V},function(H,q){var K=H.group,Z=H.groupOption,te=H.data,se=H.label,ue=H.value,me=te.key;if(K){var de,Te=(de=te.title)!==null&&de!==void 0?de:t3(se)?se.toString():void 0;return c.createElement("div",{className:ie(O,"".concat(O,"-group"),te.className),title:Te},se!==void 0?se:me)}var Ee=te.disabled,ge=te.title;te.children;var re=te.style,ne=te.className,ae=yt(te,P_e),le=An(ae,G),pe=U(ue),Re=Ee||!pe&&M,Se="".concat(O,"-option"),Pe=ie(O,Se,ne,W(W(W(W({},"".concat(Se,"-grouped"),Z),"".concat(Se,"-active"),F===q&&!Re),"".concat(Se,"-disabled"),Re),"".concat(Se,"-selected"),pe)),fe=J(H),_e=!E||typeof E=="function"||pe,Ae=typeof fe=="number"?fe:fe||ue,ye=t3(Ae)?Ae.toString():void 0;return ge!==void 0&&(ye=ge),c.createElement("div",ve({},Jn(le),T?{}:Y(H,q),{"aria-selected":pe,className:Pe,title:ye,onMouseMove:function(){F===q||Re||z(q)},onClick:function(){Re||j(ue)},style:re}),c.createElement("div",{className:"".concat(Se,"-content")},typeof I=="function"?I(H,{index:q}):Ae),c.isValidElement(E)||pe,_e&&c.createElement(Hb,{className:"".concat(O,"-option-state"),customizeIcon:E,customizeIconProps:{value:ue,disabled:Re,isSelected:pe}},pe?"✓":null))}))},F_e=c.forwardRef($_e);const B_e=function(e,t){var n=c.useRef({values:new Map,options:new Map}),r=c.useMemo(function(){var i=n.current,o=i.values,s=i.options,l=e.map(function(p){if(p.label===void 0){var f;return ee(ee({},p),{},{label:(f=o.get(p.value))===null||f===void 0?void 0:f.label})}return p}),u=new Map,d=new Map;return l.forEach(function(p){u.set(p.value,p),d.set(p.value,t.get(p.value)||s.get(p.value))}),n.current.values=u,n.current.options=d,l},[e,t]),a=c.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,a]};function dy(e,t){return OQ(e).join("").toUpperCase().includes(t)}const U_e=function(e,t,n,r,a){return c.useMemo(function(){if(!n||r===!1)return e;var i=t.options,o=t.label,s=t.value,l=[],u=typeof r=="function",d=n.toUpperCase(),p=u?r:function(m,g){return a?dy(g[a],d):g[i]?dy(g[o!=="children"?o:"label"],d):dy(g[s],d)},f=u?function(m){return oD(m)}:function(m){return m};return e.forEach(function(m){if(m[i]){var g=p(n,f(m));if(g)l.push(m);else{var h=m[i].filter(function(v){return p(n,f(v))});h.length&&l.push(ee(ee({},m),{},W({},i,h)))}return}p(n,f(m))&&l.push(m)}),l},[e,r,a,n,t])};var n3=0,j_e=Jr();function z_e(){var e;return j_e?(e=n3,n3+=1):e="TEST_OR_SSR",e}function kQ(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_select_".concat(z_e()))},[]),e||r}var H_e=["children","value"],G_e=["children"];function V_e(e){var t=e,n=t.key,r=t.props,a=r.children,i=r.value,o=yt(r,H_e);return ee({key:n,value:i!==void 0?i:n,children:a},o)}function PQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return _r(e).map(function(n,r){if(!c.isValidElement(n)||!n.type)return null;var a=n,i=a.type.isSelectOptGroup,o=a.key,s=a.props,l=s.children,u=yt(s,G_e);return t||!i?V_e(n):ee(ee({key:"__RC_SELECT_GRP__".concat(o===null?r:o,"__"),label:o},u),{},{options:PQ(l)})}).filter(function(n){return n})}var q_e=function(t,n,r,a,i){return c.useMemo(function(){var o=t,s=!t;s&&(o=PQ(n));var l=new Map,u=new Map,d=function(m,g,h){h&&typeof h=="string"&&m.set(g[h],g)},p=function f(m){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=0;h0?We(dt.options):dt.options}):dt})},ye=c.useMemo(function(){return b?Ae(_e):_e},[_e,b,H]),be=c.useMemo(function(){return m_e(ye,{fieldNames:Y,childrenAsData:G})},[ye,Y,G]),Ne=function(Ve){var Ze=ue(Ve);if(Ee(Ze),F&&(Ze.length!==ae.length||Ze.some(function(Nt,ht){var ct;return((ct=ae[ht])===null||ct===void 0?void 0:ct.value)!==(Nt==null?void 0:Nt.value)}))){var dt=$?Ze:Ze.map(function(Nt){return Nt.value}),It=Ze.map(function(Nt){return oD(le(Nt.value))});F(j?dt:dt[0],j?It:It[0])}},we=c.useState(null),xe=oe(we,2),ke=xe[0],at=xe[1],Me=c.useState(0),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=R!==void 0?R:r!=="combobox",He=c.useCallback(function(We,Ve){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},dt=Ze.source,It=dt===void 0?"keyboard":dt;Ue(Ve),o&&r==="combobox"&&We!==null&&It==="keyboard"&&at(String(We))},[o,r]),ze=function(Ve,Ze,dt){var It=function(){var tt,it=le(Ve);return[$?{label:it==null?void 0:it[Y.label],value:Ve,key:(tt=it==null?void 0:it.key)!==null&&tt!==void 0?tt:Ve}:Ve,oD(it)]};if(Ze&&m){var Nt=It(),ht=oe(Nt,2),ct=ht[0],ot=ht[1];m(ct,ot)}else if(!Ze&&g&&dt!=="clear"){var et=It(),vt=oe(et,2),rt=vt[0],bt=vt[1];g(rt,bt)}},Xe=r3(function(We,Ve){var Ze,dt=j?Ve.selected:!0;dt?Ze=j?[].concat($e(ae),[We]):[We]:Ze=ae.filter(function(It){return It.value!==We}),Ne(Ze),ze(We,dt),r==="combobox"?at(""):(!sD||f)&&(q(""),at(""))}),Be=function(Ve,Ze){Ne(Ve);var dt=Ze.type,It=Ze.values;(dt==="remove"||dt==="clear")&&It.forEach(function(Nt){ze(Nt.value,!1,dt)})},Je=function(Ve,Ze){if(q(Ve),at(null),Ze.source==="submit"){var dt=(Ve||"").trim();if(dt){var It=Array.from(new Set([].concat($e(Re),[dt])));Ne(It),ze(dt,!0),q("")}return}Ze.source!=="blur"&&(r==="combobox"&&Ne(Ve),d==null||d(Ve))},mt=function(Ve){var Ze=Ve;r!=="tags"&&(Ze=Ve.map(function(It){var Nt=te.get(It);return Nt==null?void 0:Nt.value}).filter(function(It){return It!==void 0}));var dt=Array.from(new Set([].concat($e(Re),$e(Ze))));Ne(dt),dt.forEach(function(It){ze(It,!0)})},pt=c.useMemo(function(){var We=I!==!1&&v!==!1;return ee(ee({},K),{},{flattenOptions:be,onActiveValue:He,defaultActiveFirstOption:Ye,onSelect:Xe,menuItemSelectedIcon:w,rawValues:Re,fieldNames:Y,virtual:We,direction:O,listHeight:P,listItemHeight:N,childrenAsData:G,maxCount:B,optionRender:T})},[B,K,be,He,Ye,Xe,w,Re,Y,I,v,O,P,N,G,T]);return c.createElement(QL.Provider,{value:pt},c.createElement(DQ,ve({},z,{id:U,prefixCls:i,ref:t,omitDomProps:Y_e,mode:r,displayValues:pe,onDisplayValuesChange:Be,direction:O,searchValue:H,onSearch:Je,autoClearSearchValue:f,onSearchSplit:mt,dropdownMatchSelectWidth:v,OptionList:F_e,emptyOptions:!be.length,activeValue:ke,activeDescendantId:"".concat(U,"_list_").concat(De)})))}),ek=X_e;ek.Option=JL;ek.OptGroup=ZL;function Ts(e,t,n){return ie({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Al=(e,t)=>t||e,Q_e=()=>{const[,e]=ia(),n=new on(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return c.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"empty image"),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),c.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),c.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),c.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),c.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Z_e=()=>{const[,e]=ia(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:i,shadowColor:o,contentColor:s}=c.useMemo(()=>({borderColor:new on(t).onBackground(a).toHexShortString(),shadowColor:new on(n).onBackground(a).toHexShortString(),contentColor:new on(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"Simple Empty"),c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:o,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:i},c.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),c.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},J_e=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:i,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:o,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},ebe=sn("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=Ht(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[J_e(a)]});var tbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{className:t,rootClassName:n,prefixCls:r,image:a=$Q,description:i,children:o,imageStyle:s,style:l}=e,u=tbe(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:p,empty:f}=c.useContext(lt),m=d("empty",r),[g,h,v]=ebe(m),[S]=qo("Empty"),b=typeof i<"u"?i:S==null?void 0:S.description,E=typeof b=="string"?b:"empty";let y=null;return typeof a=="string"?y=c.createElement("img",{alt:E,src:a}):y=a,g(c.createElement("div",Object.assign({className:ie(h,v,m,f==null?void 0:f.className,{[`${m}-normal`]:a===FQ,[`${m}-rtl`]:p==="rtl"},t,n),style:Object.assign(Object.assign({},f==null?void 0:f.style),l)},u),c.createElement("div",{className:`${m}-image`,style:s},y),b&&c.createElement("div",{className:`${m}-description`},b),o&&c.createElement("div",{className:`${m}-footer`},o)))};us.PRESENTED_IMAGE_DEFAULT=$Q;us.PRESENTED_IMAGE_SIMPLE=FQ;const Vb=e=>{const{componentName:t}=e,{getPrefixCls:n}=c.useContext(lt),r=n("empty");switch(t){case"Table":case"List":return ce.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ce.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return ce.createElement(us,null)}},Uc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:i,[e]:o}=c.useContext(lt),s=c.useContext(nQ),l=o==null?void 0:o.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??l)!==null&&r!==void 0?r:i)!==null&&a!==void 0?a:"outlined";const d=Ude.includes(u);return[u,d]},nbe=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function BQ(e,t){return e||nbe(t)}const a3=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},rbe=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},an(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` ${a}${s}bottomLeft, ${i}${s}bottomLeft - `]:{animationName:Lb},[` + `]:{animationName:Fb},[` ${a}${s}topLeft, ${i}${s}topLeft, ${a}${s}topRight, ${i}${s}topRight - `]:{animationName:Pb},[`${o}${s}bottomLeft`]:{animationName:kb},[` + `]:{animationName:Ub},[`${o}${s}bottomLeft`]:{animationName:Bb},[` ${o}${s}topLeft, ${o}${s}topRight - `]:{animationName:$b},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},n3(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},vi),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},n3(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down")]},BQ=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,i=e.max(e.calc(n).sub(r).equal(),0),o=e.max(e.calc(i).sub(a).equal(),0);return{basePadding:i,containerPadding:o,itemHeight:Q(t),itemLineHeight:Q(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},nbe=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},UQ=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:i,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Hd()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},rbe=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,o=nbe(e),s=t?`${n}-${t}`:"",l=BQ(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},UQ(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Q(r)} 0`,lineHeight:Q(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:Q(l.itemLineHeight)},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${a}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(o).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:Q(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function cy(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + `]:{animationName:jb},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},a3(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},_i),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},a3(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},Ho(e,"slide-up"),Ho(e,"slide-down"),Rd(e,"move-up"),Rd(e,"move-down")]},UQ=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,i=e.max(e.calc(n).sub(r).equal(),0),o=e.max(e.calc(i).sub(a).equal(),0);return{basePadding:i,containerPadding:o,itemHeight:X(t),itemLineHeight:X(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},abe=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},jQ=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:i,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},qd()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},ibe=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,o=abe(e),s=t?`${n}-${t}`:"",l=UQ(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},jQ(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${X(r)} 0`,lineHeight:X(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:X(l.itemLineHeight)},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${a}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(o).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:X(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function py(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` &${n}-show-arrow ${n}-selector, &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[rbe(e,t),a]}const abe=e=>{const{componentCls:t}=e,n=Ht(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Ht(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[cy(e),cy(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},cy(r,"lg")]};function uy(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),o=t?`${n}-${t}`:"";return{[`${n}-single${o}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[ibe(e,t),a]}const obe=e=>{const{componentCls:t}=e,n=Ht(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Ht(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[py(e),py(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},py(r,"lg")]};function fy(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),o=t?`${n}-${t}`:"";return{[`${n}-single${o}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},an(e,!0)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${n}-selection-item, ${n}-selection-placeholder - `]:{padding:0,lineHeight:Q(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + `]:{padding:0,lineHeight:X(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${n}-show-arrow ${n}-selection-item, &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${Q(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:Q(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Q(r)}`,"&:after":{display:"none"}}}}}}}function ibe(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[uy(e),uy(Ht(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${Q(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${X(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:X(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${X(r)}`,"&:after":{display:"none"}}}}}}}function sbe(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[fy(e),fy(Ht(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${X(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},uy(Ht(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const obe=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:i,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:u,colorText:d,fontWeightStrong:p,controlItemBgActive:f,controlItemBgHover:m,colorBgContainer:g,colorFillSecondary:h,colorBgContainerDisabled:v,colorTextDisabled:S}=e,_=s*2,E=r*2,y=Math.min(a-_,a-E),C=Math.min(i-_,i-E),T=Math.min(o-_,o-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:p,optionSelectedBg:f,optionActiveBg:m,optionPadding:`${(a-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:g,clearBg:g,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:y,multipleItemHeightSM:C,multipleItemHeightLG:T,multipleSelectorBgDisabled:v,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},jQ=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Q(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Q(a)} ${t.activeShadowColor}`,outline:0}}}},r3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},jQ(e,t))}),sbe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},jQ(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),r3(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),r3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),zQ=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Q(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},a3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},zQ(e,t))}),lbe=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},zQ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),a3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),a3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),cbe=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),ube=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},sbe(e)),lbe(e)),cbe(e))}),dbe=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},pbe=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},fbe=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},dbe(e)),pbe(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},vi),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},vi),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Hd()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},mbe=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},fbe(e),ibe(e),abe(e),tbe(e),{[`${t}-rtl`]:{direction:"rtl"}},Zm(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},HQ=cn("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ht(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mbe(r),ube(r)]},obe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var gbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},hbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:gbe}))},zb=c.forwardRef(hbe),vbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},_be=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vbe}))},Hb=c.forwardRef(_be),bbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Sbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:bbe}))},Gb=c.forwardRef(Sbe);function JL(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:i,multiple:o,hasFeedback:s,prefixCls:l,showSuffixIcon:u,feedbackIcon:d,showArrow:p,componentName:f}=e;const m=n??c.createElement(Bc,null),g=_=>t===null&&!s&&!p?null:c.createElement(c.Fragment,null,u!==!1&&_,s&&d);let h=null;if(t!==void 0)h=g(t);else if(i)h=g(c.createElement(Ss,{spin:!0}));else{const _=`${l}-suffix`;h=E=>{let{open:y,showSearch:C}=E;return g(y&&C?c.createElement(Gb,{className:_}):c.createElement(Hb,{className:_}))}}let v=null;r!==void 0?v=r:o?v=c.createElement(zb,null):v=null;let S=null;return a!==void 0?S=a:S=c.createElement(na,null),{clearIcon:m,suffixIcon:h,itemIcon:v,removeIcon:S}}function GQ(e,t){return t!==void 0?t:e!==null}var Ebe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:i,rootClassName:o,getPopupContainer:s,popupClassName:l,dropdownClassName:u,listHeight:d=256,placement:p,listItemHeight:f,size:m,disabled:g,notFoundContent:h,status:v,builtinPlacements:S,dropdownMatchSelectWidth:_,popupMatchSelectWidth:E,direction:y,style:C,allowClear:T,variant:x,dropdownStyle:R,transitionName:w,tagRender:I,maxCount:O}=e,k=Ebe(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:M,renderEmpty:N,direction:A,virtual:D,popupMatchSelectWidth:L,popupOverflow:$,select:F}=c.useContext(lt),[,B]=ia(),z=f??(B==null?void 0:B.controlHeight),U=M("select",r),j=M(),G=y??A,{compactSize:J,compactItemClassnames:Y}=ws(U,G),[X,V]=Uc("select",x,a),H=Zn(U),[q,K,Z]=HQ(U,H),te=c.useMemo(()=>{const{mode:xe}=e;if(xe!=="combobox")return xe===VQ?"combobox":xe},[e.mode]),se=te==="multiple"||te==="tags",ue=GQ(e.suffixIcon,e.showArrow),me=(n=E??_)!==null&&n!==void 0?n:L,{status:de,hasFeedback:Te,isFormItemInput:Ee,feedbackIcon:ge}=c.useContext(Gr),re=Nl(de,v);let ne;h!==void 0?ne=h:te==="combobox"?ne=null:ne=(N==null?void 0:N("Select"))||c.createElement(jb,{componentName:"Select"});const{suffixIcon:ae,itemIcon:le,removeIcon:pe,clearIcon:Re}=JL(Object.assign(Object.assign({},k),{multiple:se,hasFeedback:Te,feedbackIcon:ge,showSuffixIcon:ue,prefixCls:U,componentName:"Select"})),Se=T===!0?{clearIcon:Re}:T,Pe=An(k,["suffixIcon","itemIcon"]),fe=ie(l||u,{[`${U}-dropdown-${G}`]:G==="rtl"},o,Z,H,K),ve=xr(xe=>{var ke;return(ke=m??J)!==null&&ke!==void 0?ke:xe}),Ae=c.useContext(ea),ye=g??Ae,be=ie({[`${U}-lg`]:ve==="large",[`${U}-sm`]:ve==="small",[`${U}-rtl`]:G==="rtl",[`${U}-${X}`]:V,[`${U}-in-form-item`]:Ee},Cs(U,re,Te),Y,F==null?void 0:F.className,i,o,Z,H,K),Ne=c.useMemo(()=>p!==void 0?p:G==="rtl"?"bottomRight":"bottomLeft",[p,G]),[Ie]=bo("SelectLike",R==null?void 0:R.zIndex);return q(c.createElement(ZL,Object.assign({ref:t,virtual:D,showSearch:F==null?void 0:F.showSearch},Pe,{style:Object.assign(Object.assign({},F==null?void 0:F.style),C),dropdownMatchSelectWidth:me,transitionName:ya(j,"slide-up",w),builtinPlacements:FQ(S,$),listHeight:d,listItemHeight:z,mode:te,prefixCls:U,placement:Ne,direction:G,suffixIcon:ae,menuItemSelectedIcon:le,removeIcon:pe,allowClear:Se,notFoundContent:ne,className:be,getPopupContainer:s||P,dropdownClassName:fe,disabled:ye,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Ie}),maxCount:se?O:void 0,tagRender:se?I:void 0})))},$r=c.forwardRef(ybe),Cbe=ag($r);$r.SECRET_COMBOBOX_MODE_DO_NOT_USE=VQ;$r.Option=QL;$r.OptGroup=XL;$r._InternalPanelDoNotUseOrYouWillBeFired=Cbe;const Oc=["xxl","xl","lg","md","sm","xs"],Tbe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),xbe=e=>{const t=e,n=[].concat(Oc).reverse();return n.forEach((r,a)=>{const i=r.toUpperCase(),o=`screen${i}Min`,s=`screen${i}`;if(!(t[o]<=t[s]))throw new Error(`${o}<=${s} fails : !(${t[o]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(i){return a=i,n.forEach(o=>o(a)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(a),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const o=t[i],s=this.matchHandlers[o];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const o=t[i],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[i]:d}))},l=window.matchMedia(o);l.addListener(s),this.matchHandlers[o]={mql:l,listener:s},s(l)})},responsiveMap:t}},[e])}function ek(){const[,e]=c.useReducer(t=>t+1,0);return e}function Vb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=c.useRef({}),n=ek(),r=qQ();return Qt(()=>{const a=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const __=e=>e?typeof e=="function"?e():e:null;function tk(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,i=e.className,o=e.style;return c.createElement("div",{className:ie("".concat(n,"-content"),i),style:o},c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var lu={shiftX:64,adjustY:1},cu={adjustX:1,shiftY:!0},Ci=[0,0],Rbe={left:{points:["cr","cl"],overflow:cu,offset:[-4,0],targetOffset:Ci},right:{points:["cl","cr"],overflow:cu,offset:[4,0],targetOffset:Ci},top:{points:["bc","tc"],overflow:lu,offset:[0,-4],targetOffset:Ci},bottom:{points:["tc","bc"],overflow:lu,offset:[0,4],targetOffset:Ci},topLeft:{points:["bl","tl"],overflow:lu,offset:[0,-4],targetOffset:Ci},leftTop:{points:["tr","tl"],overflow:cu,offset:[-4,0],targetOffset:Ci},topRight:{points:["br","tr"],overflow:lu,offset:[0,-4],targetOffset:Ci},rightTop:{points:["tl","tr"],overflow:cu,offset:[4,0],targetOffset:Ci},bottomRight:{points:["tr","br"],overflow:lu,offset:[0,4],targetOffset:Ci},rightBottom:{points:["bl","br"],overflow:cu,offset:[4,0],targetOffset:Ci},bottomLeft:{points:["tl","bl"],overflow:lu,offset:[0,4],targetOffset:Ci},leftBottom:{points:["br","bl"],overflow:cu,offset:[-4,0],targetOffset:Ci}},wbe=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Ibe=function(t,n){var r=t.overlayClassName,a=t.trigger,i=a===void 0?["hover"]:a,o=t.mouseEnterDelay,s=o===void 0?0:o,l=t.mouseLeaveDelay,u=l===void 0?.1:l,d=t.overlayStyle,p=t.prefixCls,f=p===void 0?"rc-tooltip":p,m=t.children,g=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,S=t.animation,_=t.motion,E=t.placement,y=E===void 0?"right":E,C=t.align,T=C===void 0?{}:C,x=t.destroyTooltipOnHide,R=x===void 0?!1:x,w=t.defaultVisible,I=t.getTooltipContainer,O=t.overlayInnerStyle;t.arrowContent;var k=t.overlay,P=t.id,M=t.showArrow,N=M===void 0?!0:M,A=Et(t,wbe),D=c.useRef(null);c.useImperativeHandle(n,function(){return D.current});var L=ee({},A);"visible"in t&&(L.popupVisible=t.visible);var $=function(){return c.createElement(tk,{key:"content",prefixCls:f,id:P,overlayInnerStyle:O},k)};return c.createElement(og,_e({popupClassName:r,prefixCls:f,popup:$,action:i,builtinPlacements:Rbe,popupPlacement:y,ref:D,popupAlign:T,getPopupContainer:I,onPopupVisibleChange:g,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:S,popupMotion:_,defaultPopupVisible:w,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:N},L),m)};const Obe=c.forwardRef(Ibe);function qb(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,i=0,o=a,s=r*1/Math.sqrt(2),l=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),p=2*a-u,f=d,m=2*a-s,g=l,h=2*a-i,v=o,S=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),E=`polygon(${_}px 100%, 50% ${_}px, ${2*a-_}px 100%, ${_}px 100%)`,y=`path('M ${i} ${o} A ${r} ${r} 0 0 0 ${s} ${l} L ${u} ${d} A ${n} ${n} 0 0 1 ${p} ${f} L ${m} ${g} A ${r} ${r} 0 0 0 ${h} ${v} Z')`;return{arrowShadowWidth:S,arrowPath:y,arrowPolygon:E}}const WQ=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:o,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Q(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},YQ=8;function Wb(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?YQ:r}}function fh(e,t){return e?t:{}}function nk(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:i,arrowOffsetHorizontal:o}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},WQ(e,t,a)),{"&:before":{background:t}})]},fh(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Q(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),fh(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Q(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),fh(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),fh(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function Nbe(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const o=Object.assign(Object.assign({},i),a);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const i3={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Abe={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Dbe=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function KQ(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:i,visibleFirst:o}=e,s=t/2,l={};return Object.keys(i3).forEach(u=>{const d=r&&Abe[u]||i3[u],p=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(l[u]=p,Dbe.has(u)&&(p.autoArrow=!1),u){case"top":case"topLeft":case"topRight":p.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=s+a;break}const f=Wb({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":p.offset[0]=-f.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":p.offset[0]=f.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":p.offset[1]=-f.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":p.offset[1]=f.arrowOffsetHorizontal*2-s;break}p.overflow=Nbe(u,f,t,n),o&&(p.htmlRegion="visibleFirst")}),l}const Mbe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:o,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{position:"absolute",zIndex:o,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${Q(e.calc(u).div(2).equal())} ${Q(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,YQ)}},[`${t}-content`]:{position:"relative"}}),eX(e,(p,f)=>{let{darkColor:m}=f;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},nk(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Lbe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Wb({contentRadius:e.borderRadius,limitVerticalRadius:!0})),qb(Ht(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),XQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return cn("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:i,colorBgSpotlight:o}=r,s=Ht(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:a,tooltipBg:o});return[Mbe(s),Kd(r,"zoom-big-fast")]},Lbe,{resetStyle:!1,injectStyle:t})(e)},kbe=fm.map(e=>`${e}-inverse`),Pbe=["success","processing","error","default","warning"];function QQ(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat($e(kbe),$e(fm)).includes(e):fm.includes(e)}function $be(e){return Pbe.includes(e)}function ZQ(e,t){const n=QQ(t),r=ie({[`${e}-${t}`]:t&&n}),a={},i={};return t&&!n&&(a.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:i}}const Fbe=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:i,overlayInnerStyle:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("tooltip",t),[u,d,p]=XQ(l),f=ZQ(l,i),m=f.arrowStyle,g=Object.assign(Object.assign({},o),f.overlayStyle),h=ie(d,p,l,`${l}-pure`,`${l}-placement-${r}`,n,f.className);return u(c.createElement("div",{className:h,style:m},c.createElement("div",{className:`${l}-arrow`}),c.createElement(tk,Object.assign({},e,{className:d,prefixCls:l,overlayInnerStyle:g}),a)))};var Bbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:i,getTooltipContainer:o,overlayClassName:s,color:l,overlayInnerStyle:u,children:d,afterOpenChange:p,afterVisibleChange:f,destroyTooltipOnHide:m,arrow:g=!0,title:h,overlay:v,builtinPlacements:S,arrowPointAtCenter:_=!1,autoAdjustOverflow:E=!0}=e,y=!!g,[,C]=ia(),{getPopupContainer:T,getPrefixCls:x,direction:R}=c.useContext(lt),w=Il(),I=c.useRef(null),O=()=>{var ne;(ne=I.current)===null||ne===void 0||ne.forceAlign()};c.useImperativeHandle(t,()=>{var ne;return{forceAlign:O,forcePopupAlign:()=>{w.deprecated(!1,"forcePopupAlign","forceAlign"),O()},nativeElement:(ne=I.current)===null||ne===void 0?void 0:ne.nativeElement}});const[k,P]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),M=!h&&!v&&h!==0,N=ne=>{var ae,le;P(M?!1:ne),M||((ae=e.onOpenChange)===null||ae===void 0||ae.call(e,ne),(le=e.onVisibleChange)===null||le===void 0||le.call(e,ne))},A=c.useMemo(()=>{var ne,ae;let le=_;return typeof g=="object"&&(le=(ae=(ne=g.pointAtCenter)!==null&&ne!==void 0?ne:g.arrowPointAtCenter)!==null&&ae!==void 0?ae:_),S||KQ({arrowPointAtCenter:le,autoAdjustOverflow:E,arrowWidth:y?C.sizePopupArrow:0,borderRadius:C.borderRadius,offset:C.marginXXS,visibleFirst:!0})},[_,g,S,C]),D=c.useMemo(()=>h===0?h:v||h||"",[v,h]),L=c.createElement(Uo,{space:!0},typeof D=="function"?D():D),{getPopupContainer:$,placement:F="top",mouseEnterDelay:B=.1,mouseLeaveDelay:z=.1,overlayStyle:U,rootClassName:j}=e,G=Bbe(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=x("tooltip",a),Y=x(),X=e["data-popover-inject"];let V=k;!("open"in e)&&!("visible"in e)&&M&&(V=!1);const H=c.isValidElement(d)&&!bX(d)?d:c.createElement("span",null,d),q=H.props,K=!q.className||typeof q.className=="string"?ie(q.className,i||`${J}-open`):q.className,[Z,te,se]=XQ(J,!X),ue=ZQ(J,l),me=ue.arrowStyle,de=Object.assign(Object.assign({},u),ue.overlayStyle),Te=ie(s,{[`${J}-rtl`]:R==="rtl"},ue.className,j,te,se),[Ee,ge]=bo("Tooltip",G.zIndex),re=c.createElement(Obe,Object.assign({},G,{zIndex:Ee,showArrow:y,placement:F,mouseEnterDelay:B,mouseLeaveDelay:z,prefixCls:J,overlayClassName:Te,overlayStyle:Object.assign(Object.assign({},me),U),getTooltipContainer:$||o||T,ref:I,builtinPlacements:A,overlay:L,visible:V,onVisibleChange:N,afterVisibleChange:p??f,overlayInnerStyle:de,arrowContent:c.createElement("span",{className:`${J}-arrow-content`}),motion:{motionName:ya(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),V?Tr(H,{className:K}):H);return Z(c.createElement(Km.Provider,{value:ge},re))}),Jt=Ube;Jt._InternalPanelDoNotUseOrYouWillBeFired=Fbe;const jbe=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:i,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:p,popoverBg:f,titleBorderBottom:m,innerContentPadding:g,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},on(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,boxShadow:o,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:m,padding:h},[`${t}-inner-content`]:{color:n,padding:g}})},nk(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},zbe=e=>{const{componentCls:t}=e;return{[t]:fm.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Hbe=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:i,zIndexPopupBase:o,borderRadiusLG:s,marginXS:l,lineType:u,colorSplit:d,paddingSM:p}=e,f=n-r,m=f/2,g=f/2-t,h=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:o+30},qb(e)),Wb({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:l,titlePadding:i?`${m}px ${h}px ${g}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${p}px ${h}px`:0})},JQ=cn("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Ht(e,{popoverBg:t,popoverColor:n});return[jbe(r),zbe(r),Kd(r,"zoom-big")]},Hbe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Gbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${r}-title`},t),n&&c.createElement("div",{className:`${r}-inner-content`},n))},Vbe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:i="top",title:o,content:s,children:l}=e,u=__(o),d=__(s),p=ie(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return c.createElement("div",{className:p,style:a},c.createElement("div",{className:`${n}-arrow`}),c.createElement(tk,Object.assign({},e,{className:t,prefixCls:n}),l||c.createElement(eZ,{prefixCls:n,title:u,content:d})))},qbe=e=>{const{prefixCls:t,className:n}=e,r=Gbe(e,["prefixCls","className"]),{getPrefixCls:a}=c.useContext(lt),i=a("popover",t),[o,s,l]=JQ(i);return o(c.createElement(Vbe,Object.assign({},r,{prefixCls:i,hashId:s,className:ie(n,l)})))};var Wbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:i,content:o,overlayClassName:s,placement:l="top",trigger:u="hover",children:d,mouseEnterDelay:p=.1,mouseLeaveDelay:f=.1,onOpenChange:m,overlayStyle:g={}}=e,h=Wbe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=c.useContext(lt),S=v("popover",a),[_,E,y]=JQ(S),C=v(),T=ie(s,E,y),[x,R]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),w=(M,N)=>{R(M,!0),m==null||m(M,N)},I=M=>{M.keyCode===Fe.ESC&&w(!1,M)},O=M=>{w(M)},k=__(i),P=__(o);return _(c.createElement(Jt,Object.assign({placement:l,trigger:u,mouseEnterDelay:p,mouseLeaveDelay:f,overlayStyle:g},h,{prefixCls:S,overlayClassName:T,ref:t,open:x,onOpenChange:O,overlay:k||P?c.createElement(eZ,{prefixCls:S,title:k,content:P}):null,transitionName:ya(C,"zoom-big",h.transitionName),"data-popover-inject":!0}),Tr(d,{onKeyDown:M=>{var N,A;c.isValidElement(d)&&((A=d==null?void 0:(N=d.props).onKeyDown)===null||A===void 0||A.call(N,M)),I(M)}})))}),tZ=Ybe;tZ._InternalPanelDoNotUseOrYouWillBeFired=qbe;var Kbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Xbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Kbe}))},$i=c.forwardRef(Xbe),Qbe=Fe.ESC,Zbe=Fe.TAB;function Jbe(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,i=e.overlayRef,o=c.useRef(!1),s=function(){if(t){var p,f;(p=n.current)===null||p===void 0||(f=p.focus)===null||f===void 0||f.call(p),r==null||r(!1)}},l=function(){var p;return(p=i.current)!==null&&p!==void 0&&p.focus?(i.current.focus(),o.current=!0,!0):!1},u=function(p){switch(p.keyCode){case Qbe:s();break;case Zbe:{var f=!1;o.current||(f=l()),f?p.preventDefault():s();break}}};c.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Gt(l,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}},[t])}var eSe=c.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,i=c.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),o=aa(t,i==null?void 0:i.ref);return ce.createElement(ce.Fragment,null,r&&ce.createElement("div",{className:"".concat(a,"-arrow")}),ce.cloneElement(i,{ref:fo(i)?o:void 0}))}),uu={adjustX:1,adjustY:1},du=[0,0],tSe={topLeft:{points:["bl","tl"],overflow:uu,offset:[0,-4],targetOffset:du},top:{points:["bc","tc"],overflow:uu,offset:[0,-4],targetOffset:du},topRight:{points:["br","tr"],overflow:uu,offset:[0,-4],targetOffset:du},bottomLeft:{points:["tl","bl"],overflow:uu,offset:[0,4],targetOffset:du},bottom:{points:["tc","bc"],overflow:uu,offset:[0,4],targetOffset:du},bottomRight:{points:["tr","br"],overflow:uu,offset:[0,4],targetOffset:du}},nSe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function rSe(e,t){var n,r=e.arrow,a=r===void 0?!1:r,i=e.prefixCls,o=i===void 0?"rc-dropdown":i,s=e.transitionName,l=e.animation,u=e.align,d=e.placement,p=d===void 0?"bottomLeft":d,f=e.placements,m=f===void 0?tSe:f,g=e.getPopupContainer,h=e.showAction,v=e.hideAction,S=e.overlayClassName,_=e.overlayStyle,E=e.visible,y=e.trigger,C=y===void 0?["hover"]:y,T=e.autoFocus,x=e.overlay,R=e.children,w=e.onVisibleChange,I=Et(e,nSe),O=ce.useState(),k=oe(O,2),P=k[0],M=k[1],N="visible"in e?E:P,A=ce.useRef(null),D=ce.useRef(null),L=ce.useRef(null);ce.useImperativeHandle(t,function(){return A.current});var $=function(X){M(X),w==null||w(X)};Jbe({visible:N,triggerRef:L,onVisibleChange:$,autoFocus:T,overlayRef:D});var F=function(X){var V=e.onOverlayClick;M(!1),V&&V(X)},B=function(){return ce.createElement(eSe,{ref:D,overlay:x,prefixCls:o,arrow:a})},z=function(){return typeof x=="function"?B:B()},U=function(){var X=e.minOverlayWidthMatchTrigger,V=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?X:!V},j=function(){var X=e.openClassName;return X!==void 0?X:"".concat(o,"-open")},G=ce.cloneElement(R,{className:ie((n=R.props)===null||n===void 0?void 0:n.className,N&&j()),ref:fo(R)?aa(L,R.ref):void 0}),J=v;return!J&&C.indexOf("contextMenu")!==-1&&(J=["click"]),ce.createElement(og,_e({builtinPlacements:m},I,{prefixCls:o,ref:A,popupClassName:ie(S,W({},"".concat(o,"-show-arrow"),a)),popupStyle:_,action:C,showAction:h,hideAction:J,popupPlacement:p,popupAlign:u,popupTransitionName:s,popupAnimation:l,popupVisible:N,stretch:U()?"minWidth":"",popup:z(),onPopupVisibleChange:$,onPopupClick:F,getPopupContainer:g}),G)}const nZ=ce.forwardRef(rSe);var rZ=c.createContext(null);function aZ(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function iZ(e){var t=c.useContext(rZ);return aZ(t,e)}var aSe=["children","locked"],go=c.createContext(null);function iSe(e,t){var n=ee({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function vm(e){var t=e.children,n=e.locked,r=Et(e,aSe),a=c.useContext(go),i=wl(function(){return iSe(a,r)},[a,r],function(o,s){return!n&&(o[0]!==s[0]||!Ui(o[1],s[1],!0))});return c.createElement(go.Provider,{value:i},t)}var oSe=[],oZ=c.createContext(null);function Yb(){return c.useContext(oZ)}var sZ=c.createContext(oSe);function Xd(e){var t=c.useContext(sZ);return c.useMemo(function(){return e!==void 0?[].concat($e(t),[e]):t},[t,e])}var lZ=c.createContext(null),rk=c.createContext({});function o3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(qd(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),i=Number(a),o=null;return a&&!Number.isNaN(i)?o=i:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function sSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=$e(e.querySelectorAll("*")).filter(function(r){return o3(r,t)});return o3(e,t)&&n.unshift(e),n}var sD=Fe.LEFT,lD=Fe.RIGHT,cD=Fe.UP,vv=Fe.DOWN,_v=Fe.ENTER,cZ=Fe.ESC,kp=Fe.HOME,Pp=Fe.END,s3=[cD,vv,sD,lD];function lSe(e,t,n,r){var a,i,o,s,l="prev",u="next",d="children",p="parent";if(e==="inline"&&r===_v)return{inlineTrigger:!0};var f=(a={},W(a,cD,l),W(a,vv,u),a),m=(i={},W(i,sD,n?u:l),W(i,lD,n?l:u),W(i,vv,d),W(i,_v,d),i),g=(o={},W(o,cD,l),W(o,vv,u),W(o,_v,d),W(o,cZ,p),W(o,sD,n?d:p),W(o,lD,n?p:d),o),h={inline:f,horizontal:m,vertical:g,inlineSub:f,horizontalSub:g,verticalSub:g},v=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(v){case l:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case p:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function cSe(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function uSe(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function ak(e,t){var n=sSe(e,!0);return n.filter(function(r){return t.has(r)})}function l3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=ak(e,t),i=a.length,o=a.findIndex(function(s){return n===s});return r<0?o===-1?o=i-1:o-=1:r>0&&(o+=1),o=(o+i)%i,a[o]}var uD=function(t,n){var r=new Set,a=new Map,i=new Map;return t.forEach(function(o){var s=document.querySelector("[data-menu-id='".concat(aZ(n,o),"']"));s&&(r.add(s),i.set(s,o),a.set(o,s))}),{elements:r,key2element:a,element2key:i}};function dSe(e,t,n,r,a,i,o,s,l,u){var d=c.useRef(),p=c.useRef();p.current=t;var f=function(){Gt.cancel(d.current)};return c.useEffect(function(){return function(){f()}},[]),function(m){var g=m.which;if([].concat(s3,[_v,cZ,kp,Pp]).includes(g)){var h=i(),v=uD(h,r),S=v,_=S.elements,E=S.key2element,y=S.element2key,C=E.get(t),T=uSe(C,_),x=y.get(T),R=lSe(e,o(x,!0).length===1,n,g);if(!R&&g!==kp&&g!==Pp)return;(s3.includes(g)||[kp,Pp].includes(g))&&m.preventDefault();var w=function(D){if(D){var L=D,$=D.querySelector("a");$!=null&&$.getAttribute("href")&&(L=$);var F=y.get(D);s(F),f(),d.current=Gt(function(){p.current===F&&L.focus()})}};if([kp,Pp].includes(g)||R.sibling||!T){var I;!T||e==="inline"?I=a.current:I=cSe(T);var O,k=ak(I,_);g===kp?O=k[0]:g===Pp?O=k[k.length-1]:O=l3(I,_,T,R.offset),w(O)}else if(R.inlineTrigger)l(x);else if(R.offset>0)l(x,!0),f(),d.current=Gt(function(){v=uD(h,r);var A=T.getAttribute("aria-controls"),D=document.getElementById(A),L=l3(D,v.elements);w(L)},5);else if(R.offset<0){var P=o(x,!0),M=P[P.length-2],N=E.get(M);l(M,!1),w(N)}}u==null||u(m)}}function pSe(e){Promise.resolve().then(e)}var ik="__RC_UTIL_PATH_SPLIT__",c3=function(t){return t.join(ik)},fSe=function(t){return t.split(ik)},dD="rc-menu-more";function mSe(){var e=c.useState({}),t=oe(e,2),n=t[1],r=c.useRef(new Map),a=c.useRef(new Map),i=c.useState([]),o=oe(i,2),s=o[0],l=o[1],u=c.useRef(0),d=c.useRef(!1),p=function(){d.current||n({})},f=c.useCallback(function(E,y){var C=c3(y);a.current.set(C,E),r.current.set(E,C),u.current+=1;var T=u.current;pSe(function(){T===u.current&&p()})},[]),m=c.useCallback(function(E,y){var C=c3(y);a.current.delete(C),r.current.delete(E)},[]),g=c.useCallback(function(E){l(E)},[]),h=c.useCallback(function(E,y){var C=r.current.get(E)||"",T=fSe(C);return y&&s.includes(T[0])&&T.unshift(dD),T},[s]),v=c.useCallback(function(E,y){return E.filter(function(C){return C!==void 0}).some(function(C){var T=h(C,!0);return T.includes(y)})},[h]),S=function(){var y=$e(r.current.keys());return s.length&&y.push(dD),y},_=c.useCallback(function(E){var y="".concat(r.current.get(E)).concat(ik),C=new Set;return $e(a.current.keys()).forEach(function(T){T.startsWith(y)&&C.add(a.current.get(T))}),C},[]);return c.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:f,unregisterPath:m,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:h,getKeys:S,getSubPathKeys:_}}function Xp(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1&&(_.motionAppear=!1);var E=_.onVisibleChanged;return _.onVisibleChanged=function(y){return!f.current&&!y&&v(!0),E==null?void 0:E(y)},h?null:c.createElement(vm,{mode:i,locked:!f.current},c.createElement(ta,_e({visible:S},_,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(y){var C=y.className,T=y.style;return c.createElement(ok,{id:t,className:C,style:T},a)}))}var ASe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],DSe=["active"],MSe=c.forwardRef(function(e,t){var n,r=e.style,a=e.className,i=e.title,o=e.eventKey;e.warnKey;var s=e.disabled,l=e.internalPopupClose,u=e.children,d=e.itemIcon,p=e.expandIcon,f=e.popupClassName,m=e.popupOffset,g=e.popupStyle,h=e.onClick,v=e.onMouseEnter,S=e.onMouseLeave,_=e.onTitleClick,E=e.onTitleMouseEnter,y=e.onTitleMouseLeave,C=Et(e,ASe),T=iZ(o),x=c.useContext(go),R=x.prefixCls,w=x.mode,I=x.openKeys,O=x.disabled,k=x.overflowDisabled,P=x.activeKey,M=x.selectedKeys,N=x.itemIcon,A=x.expandIcon,D=x.onItemClick,L=x.onOpenChange,$=x.onActive,F=c.useContext(rk),B=F._internalRenderSubMenuItem,z=c.useContext(lZ),U=z.isSubPathKey,j=Xd(),G="".concat(R,"-submenu"),J=O||s,Y=c.useRef(),X=c.useRef(),V=d??N,H=p??A,q=I.includes(o),K=!k&&q,Z=U(M,o),te=uZ(o,J,E,y),se=te.active,ue=Et(te,DSe),me=c.useState(!1),de=oe(me,2),Te=de[0],Ee=de[1],ge=function(Ie){J||Ee(Ie)},re=function(Ie){ge(!0),v==null||v({key:o,domEvent:Ie})},ne=function(Ie){ge(!1),S==null||S({key:o,domEvent:Ie})},ae=c.useMemo(function(){return se||(w!=="inline"?Te||U([P],o):!1)},[w,se,P,Te,o,U]),le=dZ(j.length),pe=function(Ie){J||(_==null||_({key:o,domEvent:Ie}),w==="inline"&&L(o,!q))},Re=Xp(function(Ne){h==null||h(b_(Ne)),D(Ne)}),Se=function(Ie){w!=="inline"&&L(o,Ie)},Pe=function(){$(o)},fe=T&&"".concat(T,"-popup"),ve=c.createElement("div",_e({role:"menuitem",style:le,className:"".concat(G,"-title"),tabIndex:J?null:-1,ref:Y,title:typeof i=="string"?i:null,"data-menu-id":k&&T?null:T,"aria-expanded":K,"aria-haspopup":!0,"aria-controls":fe,"aria-disabled":J,onClick:pe,onFocus:Pe},ue),i,c.createElement(pZ,{icon:w!=="horizontal"?H:void 0,props:ee(ee({},e),{},{isOpen:K,isSubMenu:!0})},c.createElement("i",{className:"".concat(G,"-arrow")}))),Ae=c.useRef(w);if(w!=="inline"&&j.length>1?Ae.current="vertical":Ae.current=w,!k){var ye=Ae.current;ve=c.createElement(OSe,{mode:ye,prefixCls:G,visible:!l&&K&&w!=="inline",popupClassName:f,popupOffset:m,popupStyle:g,popup:c.createElement(vm,{mode:ye==="horizontal"?"vertical":ye},c.createElement(ok,{id:fe,ref:X},u)),disabled:J,onVisibleChange:Se},ve)}var be=c.createElement(co.Item,_e({ref:t,role:"none"},C,{component:"li",style:r,className:ie(G,"".concat(G,"-").concat(w),a,(n={},W(n,"".concat(G,"-open"),K),W(n,"".concat(G,"-active"),ae),W(n,"".concat(G,"-selected"),Z),W(n,"".concat(G,"-disabled"),J),n)),onMouseEnter:re,onMouseLeave:ne}),ve,!k&&c.createElement(NSe,{id:fe,open:K,keyPath:j},u));return B&&(be=B(be,e,{selected:Z,active:ae,open:K,disabled:J})),c.createElement(vm,{onItemClick:Re,mode:w==="horizontal"?"vertical":w,itemIcon:V,expandIcon:H},be)}),Kb=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Xd(n),i=sk(r,a),o=Yb();c.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]);var s;return o?s=i:s=c.createElement(MSe,_e({ref:t},e),i),c.createElement(sZ.Provider,{value:a},s)});function lk(e){var t=e.className,n=e.style,r=c.useContext(go),a=r.prefixCls,i=Yb();return i?null:c.createElement("li",{role:"separator",className:ie("".concat(a,"-item-divider"),t),style:n})}var LSe=["className","title","eventKey","children"],kSe=c.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,i=Et(e,LSe),o=c.useContext(go),s=o.prefixCls,l="".concat(s,"-item-group");return c.createElement("li",_e({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:ie(l,n)}),c.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),c.createElement("ul",{role:"group",className:"".concat(l,"-list")},a))}),ck=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Xd(n),i=sk(r,a),o=Yb();return o?i:c.createElement(kSe,_e({ref:t},An(e,["warnKey"])),i)}),PSe=["label","children","key","type"];function pD(e,t){var n=t.item,r=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(o,s){if(o&>(o)==="object"){var l=o,u=l.label,d=l.children,p=l.key,f=l.type,m=Et(l,PSe),g=p??"tmp-".concat(s);return d||f==="group"?f==="group"?c.createElement(r,_e({key:g},m,{title:u}),pD(d,t)):c.createElement(a,_e({key:g},m,{title:u}),pD(d,t)):f==="divider"?c.createElement(i,_e({key:g},m)):c.createElement(n,_e({key:g},m),u)}return null}).filter(function(o){return o})}function d3(e,t,n,r){var a=e,i=ee({divider:lk,item:sg,group:ck,submenu:Kb},r);return t&&(a=pD(t,i)),sk(a,n)}var $Se=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Ul=[],FSe=c.forwardRef(function(e,t){var n,r,a=e,i=a.prefixCls,o=i===void 0?"rc-menu":i,s=a.rootClassName,l=a.style,u=a.className,d=a.tabIndex,p=d===void 0?0:d,f=a.items,m=a.children,g=a.direction,h=a.id,v=a.mode,S=v===void 0?"vertical":v,_=a.inlineCollapsed,E=a.disabled,y=a.disabledOverflow,C=a.subMenuOpenDelay,T=C===void 0?.1:C,x=a.subMenuCloseDelay,R=x===void 0?.1:x,w=a.forceSubMenuRender,I=a.defaultOpenKeys,O=a.openKeys,k=a.activeKey,P=a.defaultActiveFirst,M=a.selectable,N=M===void 0?!0:M,A=a.multiple,D=A===void 0?!1:A,L=a.defaultSelectedKeys,$=a.selectedKeys,F=a.onSelect,B=a.onDeselect,z=a.inlineIndent,U=z===void 0?24:z,j=a.motion,G=a.defaultMotions,J=a.triggerSubMenuAction,Y=J===void 0?"hover":J,X=a.builtinPlacements,V=a.itemIcon,H=a.expandIcon,q=a.overflowedIndicator,K=q===void 0?"...":q,Z=a.overflowedIndicatorPopupClassName,te=a.getPopupContainer,se=a.onClick,ue=a.onOpenChange,me=a.onKeyDown;a.openAnimation,a.openTransitionName;var de=a._internalRenderMenuItem,Te=a._internalRenderSubMenuItem,Ee=a._internalComponents,ge=Et(a,$Se),re=c.useMemo(function(){return[d3(m,f,Ul,Ee),d3(m,f,Ul,{})]},[m,f,Ee]),ne=oe(re,2),ae=ne[0],le=ne[1],pe=c.useState(!1),Re=oe(pe,2),Se=Re[0],Pe=Re[1],fe=c.useRef(),ve=hSe(h),Ae=g==="rtl",ye=ln(I,{value:O,postState:function(Ut){return Ut||Ul}}),be=oe(ye,2),Ne=be[0],Ie=be[1],xe=function(Ut){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function St(){Ie(Ut),ue==null||ue(Ut)}jt?Ur.flushSync(St):St()},ke=c.useState(Ne),rt=oe(ke,2),Me=rt[0],Ce=rt[1],De=c.useRef(!1),Ue=c.useMemo(function(){return(S==="inline"||S==="vertical")&&_?["vertical",_]:[S,!1]},[S,_]),Ye=oe(Ue,2),He=Ye[0],ze=Ye[1],Xe=He==="inline",Be=c.useState(He),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=c.useState(ze),Ve=oe(We,2),Ze=Ve[0],dt=Ve[1];c.useEffect(function(){pt(He),dt(ze),De.current&&(Xe?Ie(Me):xe(Ul))},[He,ze]);var It=c.useState(0),Nt=oe(It,2),ht=Nt[0],ct=Nt[1],ot=ht>=ae.length-1||mt!=="horizontal"||y;c.useEffect(function(){Xe&&Ce(Ne)},[Ne]),c.useEffect(function(){return De.current=!0,function(){De.current=!1}},[]);var et=mSe(),vt=et.registerPath,nt=et.unregisterPath,bt=et.refreshOverflowKeys,Ct=et.isSubPathKey,tt=et.getKeyPath,it=et.getKeys,Ke=et.getSubPathKeys,qe=c.useMemo(function(){return{registerPath:vt,unregisterPath:nt}},[vt,nt]),_t=c.useMemo(function(){return{isSubPathKey:Ct}},[Ct]);c.useEffect(function(){bt(ot?Ul:ae.slice(ht+1).map(function(qt){return qt.key}))},[ht,ot]);var xt=ln(k||P&&((n=ae[0])===null||n===void 0?void 0:n.key),{value:k}),kt=oe(xt,2),tn=kt[0],nn=kt[1],rn=Xp(function(qt){nn(qt)}),Vt=Xp(function(){nn(void 0)});c.useImperativeHandle(t,function(){return{list:fe.current,focus:function(Ut){var jt,St=it(),Tt=uD(St,ve),sn=Tt.elements,yn=Tt.key2element,nr=Tt.element2key,cr=ak(fe.current,sn),vr=tn??(cr[0]?nr.get(cr[0]):(jt=ae.find(function(ut){return!ut.props.disabled}))===null||jt===void 0?void 0:jt.key),zt=yn.get(vr);if(vr&&zt){var Ft;zt==null||(Ft=zt.focus)===null||Ft===void 0||Ft.call(zt,Ut)}}}});var yt=ln(L||[],{value:$,postState:function(Ut){return Array.isArray(Ut)?Ut:Ut==null?Ul:[Ut]}}),Ot=oe(yt,2),Mt=Ot[0],En=Ot[1],Hn=function(Ut){if(N){var jt=Ut.key,St=Mt.includes(jt),Tt;D?St?Tt=Mt.filter(function(yn){return yn!==jt}):Tt=[].concat($e(Mt),[jt]):Tt=[jt],En(Tt);var sn=ee(ee({},Ut),{},{selectedKeys:Tt});St?B==null||B(sn):F==null||F(sn)}!D&&Ne.length&&mt!=="inline"&&xe(Ul)},lr=Xp(function(qt){se==null||se(b_(qt)),Hn(qt)}),tr=Xp(function(qt,Ut){var jt=Ne.filter(function(Tt){return Tt!==qt});if(Ut)jt.push(qt);else if(mt!=="inline"){var St=Ke(qt);jt=jt.filter(function(Tt){return!St.has(Tt)})}Ui(Ne,jt,!0)||xe(jt,!0)}),Rr=function(Ut,jt){var St=jt??!Ne.includes(Ut);tr(Ut,St)},wr=dSe(mt,tn,Ae,ve,fe,it,tt,nn,Rr,me);c.useEffect(function(){Pe(!0)},[]);var Gn=c.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:Te}},[de,Te]),Yt=mt!=="horizontal"||y?ae:ae.map(function(qt,Ut){return c.createElement(vm,{key:qt.key,overflowDisabled:Ut>ht},qt)}),Bt=c.createElement(co,_e({id:h,ref:fe,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:sg,className:ie(o,"".concat(o,"-root"),"".concat(o,"-").concat(mt),u,(r={},W(r,"".concat(o,"-inline-collapsed"),Ze),W(r,"".concat(o,"-rtl"),Ae),r),s),dir:g,style:l,role:"menu",tabIndex:p,data:Yt,renderRawItem:function(Ut){return Ut},renderRawRest:function(Ut){var jt=Ut.length,St=jt?ae.slice(-jt):null;return c.createElement(Kb,{eventKey:dD,title:K,disabled:ot,internalPopupClose:jt===0,popupClassName:Z},St)},maxCount:mt!=="horizontal"||y?co.INVALIDATE:co.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ut){ct(Ut)},onKeyDown:wr},ge));return c.createElement(rk.Provider,{value:Gn},c.createElement(rZ.Provider,{value:ve},c.createElement(vm,{prefixCls:o,rootClassName:s,mode:mt,openKeys:Ne,rtl:Ae,disabled:E,motion:Se?j:null,defaultMotions:Se?G:null,activeKey:tn,onActive:rn,onInactive:Vt,selectedKeys:Mt,inlineIndent:U,subMenuOpenDelay:T,subMenuCloseDelay:R,forceSubMenuRender:w,builtinPlacements:X,triggerSubMenuAction:Y,getPopupContainer:te,itemIcon:V,expandIcon:H,onItemClick:lr,onOpenChange:tr},c.createElement(lZ.Provider,{value:_t},Bt),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(oZ.Provider,{value:qe},le)))))}),Qd=FSe;Qd.Item=sg;Qd.SubMenu=Kb;Qd.ItemGroup=ck;Qd.Divider=lk;var BSe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},USe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:BSe}))},jSe=c.forwardRef(USe),zSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},HSe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:zSe}))},Nc=c.forwardRef(HSe);const GSe=e=>!isNaN(parseFloat(e))&&isFinite(e),mZ=c.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var VSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Qb=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:i,defaultCollapsed:o=!1,theme:s="dark",style:l={},collapsible:u=!1,reverseArrow:d=!1,width:p=200,collapsedWidth:f=80,zeroWidthTriggerStyle:m,breakpoint:g,onCollapse:h,onBreakpoint:v}=e,S=VSe(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:_}=c.useContext(mZ),[E,y]=c.useState("collapsed"in e?e.collapsed:o),[C,T]=c.useState(!1);c.useEffect(()=>{"collapsed"in e&&y(e.collapsed)},[e.collapsed]);const x=(P,M)=>{"collapsed"in e||y(P),h==null||h(P,M)},R=c.useRef();R.current=P=>{T(P.matches),v==null||v(P.matches),E!==P.matches&&x(P.matches,"responsive")},c.useEffect(()=>{function P(N){return R.current(N)}let M;if(typeof window<"u"){const{matchMedia:N}=window;if(N&&g&&g in p3){M=N(`screen and (max-width: ${p3[g]})`);try{M.addEventListener("change",P)}catch{M.addListener(P)}P(M)}}return()=>{try{M==null||M.removeEventListener("change",P)}catch{M==null||M.removeListener(P)}}},[g]),c.useEffect(()=>{const P=qSe("ant-sider-");return _.addSider(P),()=>_.removeSider(P)},[]);const w=()=>{x(!E,"clickTrigger")},{getPrefixCls:I}=c.useContext(lt),O=()=>{const P=I("layout-sider",n),M=An(S,["collapsed"]),N=E?f:p,A=GSe(N)?`${N}px`:String(N),D=parseFloat(String(f||0))===0?c.createElement("span",{onClick:w,className:ie(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:m},a||c.createElement(jSe,null)):null,F={expanded:d?c.createElement($i,null):c.createElement(Nc,null),collapsed:d?c.createElement(Nc,null):c.createElement($i,null)}[E?"collapsed":"expanded"],B=a!==null?D||c.createElement("div",{className:`${P}-trigger`,onClick:w,style:{width:A}},a||F):null,z=Object.assign(Object.assign({},l),{flex:`0 0 ${A}`,maxWidth:A,minWidth:A,width:A}),U=ie(P,`${P}-${s}`,{[`${P}-collapsed`]:!!E,[`${P}-has-trigger`]:u&&a!==null&&!D,[`${P}-below`]:!!C,[`${P}-zero-width`]:parseFloat(A)===0},r);return c.createElement("aside",Object.assign({className:U},M,{style:z,ref:t}),c.createElement("div",{className:`${P}-children`},i),u||C&&D?B:null)},k=c.useMemo(()=>({siderCollapsed:E}),[E]);return c.createElement(Xb.Provider,{value:k},O())});var WSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},YSe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:WSe}))},uk=c.forwardRef(YSe);const S_=c.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var KSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=KSe(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=c.useContext(lt),o=i("menu",t),s=ie({[`${o}-item-divider-dashed`]:!!r},n);return c.createElement(lk,Object.assign({className:s},a))},hZ=e=>{var t;const{className:n,children:r,icon:a,title:i,danger:o}=e,{prefixCls:s,firstLevel:l,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:p}=c.useContext(S_),f=_=>{const E=c.createElement("span",{className:`${s}-title-content`},r);return(!a||c.isValidElement(r)&&r.type==="span")&&r&&_&&l&&typeof r=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):E},{siderCollapsed:m}=c.useContext(Xb);let g=i;typeof i>"u"?g=l?r:"":i===!1&&(g="");const h={title:g};!m&&!p&&(h.title=null,h.open=!1);const v=br(r).length;let S=c.createElement(sg,Object.assign({},An(e,["title","icon","danger"]),{className:ie({[`${s}-item-danger`]:o,[`${s}-item-only-child`]:(a?v+1:v)===1},n),title:typeof i=="string"?i:void 0}),Tr(a,{className:ie(c.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),f(p));return d||(S=c.createElement(Jt,Object.assign({},h,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),S)),S};var XSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=XSe(e,["children"]),a=c.useContext(E_),i=c.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=Nce(n),s=Rs(t,o?n.ref:null);return c.createElement(E_.Provider,{value:i},c.createElement(Uo,{space:!0},o?c.cloneElement(n,{ref:s}):n))}),QSe=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:i,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Q(i)} ${o} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},fy(Ht(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const lbe=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:i,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:u,colorText:d,fontWeightStrong:p,controlItemBgActive:f,controlItemBgHover:m,colorBgContainer:g,colorFillSecondary:h,colorBgContainerDisabled:v,colorTextDisabled:S}=e,b=s*2,E=r*2,y=Math.min(a-b,a-E),C=Math.min(i-b,i-E),T=Math.min(o-b,o-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:p,optionSelectedBg:f,optionActiveBg:m,optionPadding:`${(a-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:g,clearBg:g,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:y,multipleItemHeightSM:C,multipleItemHeightLG:T,multipleSelectorBgDisabled:v,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},zQ=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${X(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${X(a)} ${t.activeShadowColor}`,outline:0}}}},i3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},zQ(e,t))}),cbe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},zQ(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),i3(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),i3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),HQ=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${X(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},o3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},HQ(e,t))}),ube=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},HQ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),o3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),o3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),dbe=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),pbe=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},cbe(e)),ube(e)),dbe(e))}),fbe=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},mbe=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},gbe=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},an(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},fbe(e)),mbe(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},_i),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},_i),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},qd()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},hbe=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},gbe(e),sbe(e),obe(e),rbe(e),{[`${t}-rtl`]:{direction:"rtl"}},eg(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},GQ=sn("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ht(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hbe(r),pbe(r)]},lbe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var vbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},_be=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:vbe}))},qb=c.forwardRef(_be),bbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Sbe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:bbe}))},Wb=c.forwardRef(Sbe),Ebe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ybe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Ebe}))},cg=c.forwardRef(ybe);function tk(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:i,multiple:o,hasFeedback:s,prefixCls:l,showSuffixIcon:u,feedbackIcon:d,showArrow:p,componentName:f}=e;const m=n??c.createElement(Bc,null),g=b=>t===null&&!s&&!p?null:c.createElement(c.Fragment,null,u!==!1&&b,s&&d);let h=null;if(t!==void 0)h=g(t);else if(i)h=g(c.createElement(jo,{spin:!0}));else{const b=`${l}-suffix`;h=E=>{let{open:y,showSearch:C}=E;return g(y&&C?c.createElement(cg,{className:b}):c.createElement(Wb,{className:b}))}}let v=null;r!==void 0?v=r:o?v=c.createElement(qb,null):v=null;let S=null;return a!==void 0?S=a:S=c.createElement(na,null),{clearIcon:m,suffixIcon:h,itemIcon:v,removeIcon:S}}function VQ(e,t){return t!==void 0?t:e!==null}var Cbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:i,rootClassName:o,getPopupContainer:s,popupClassName:l,dropdownClassName:u,listHeight:d=256,placement:p,listItemHeight:f,size:m,disabled:g,notFoundContent:h,status:v,builtinPlacements:S,dropdownMatchSelectWidth:b,popupMatchSelectWidth:E,direction:y,style:C,allowClear:T,variant:x,dropdownStyle:R,transitionName:w,tagRender:I,maxCount:O}=e,k=Cbe(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:M,renderEmpty:N,direction:A,virtual:D,popupMatchSelectWidth:L,popupOverflow:$,select:F}=c.useContext(lt),[,B]=ia(),z=f??(B==null?void 0:B.controlHeight),U=M("select",r),j=M(),G=y??A,{compactSize:J,compactItemClassnames:Y}=Is(U,G),[Q,V]=Uc("select",x,a),H=Hn(U),[q,K,Z]=GQ(U,H),te=c.useMemo(()=>{const{mode:xe}=e;if(xe!=="combobox")return xe===qQ?"combobox":xe},[e.mode]),se=te==="multiple"||te==="tags",ue=VQ(e.suffixIcon,e.showArrow),me=(n=E??b)!==null&&n!==void 0?n:L,{status:de,hasFeedback:Te,isFormItemInput:Ee,feedbackIcon:ge}=c.useContext(Gr),re=Al(de,v);let ne;h!==void 0?ne=h:te==="combobox"?ne=null:ne=(N==null?void 0:N("Select"))||c.createElement(Vb,{componentName:"Select"});const{suffixIcon:ae,itemIcon:le,removeIcon:pe,clearIcon:Re}=tk(Object.assign(Object.assign({},k),{multiple:se,hasFeedback:Te,feedbackIcon:ge,showSuffixIcon:ue,prefixCls:U,componentName:"Select"})),Se=T===!0?{clearIcon:Re}:T,Pe=An(k,["suffixIcon","itemIcon"]),fe=ie(l||u,{[`${U}-dropdown-${G}`]:G==="rtl"},o,Z,H,K),_e=xr(xe=>{var ke;return(ke=m??J)!==null&&ke!==void 0?ke:xe}),Ae=c.useContext(ea),ye=g??Ae,be=ie({[`${U}-lg`]:_e==="large",[`${U}-sm`]:_e==="small",[`${U}-rtl`]:G==="rtl",[`${U}-${Q}`]:V,[`${U}-in-form-item`]:Ee},Ts(U,re,Te),Y,F==null?void 0:F.className,i,o,Z,H,K),Ne=c.useMemo(()=>p!==void 0?p:G==="rtl"?"bottomRight":"bottomLeft",[p,G]),[we]=So("SelectLike",R==null?void 0:R.zIndex);return q(c.createElement(ek,Object.assign({ref:t,virtual:D,showSearch:F==null?void 0:F.showSearch},Pe,{style:Object.assign(Object.assign({},F==null?void 0:F.style),C),dropdownMatchSelectWidth:me,transitionName:ya(j,"slide-up",w),builtinPlacements:BQ(S,$),listHeight:d,listItemHeight:z,mode:te,prefixCls:U,placement:Ne,direction:G,suffixIcon:ae,menuItemSelectedIcon:le,removeIcon:pe,allowClear:Se,notFoundContent:ne,className:be,getPopupContainer:s||P,dropdownClassName:fe,disabled:ye,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:we}),maxCount:se?O:void 0,tagRender:se?I:void 0})))},kr=c.forwardRef(Tbe),xbe=og(kr);kr.SECRET_COMBOBOX_MODE_DO_NOT_USE=qQ;kr.Option=JL;kr.OptGroup=ZL;kr._InternalPanelDoNotUseOrYouWillBeFired=xbe;const Oc=["xxl","xl","lg","md","sm","xs"],Rbe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),wbe=e=>{const t=e,n=[].concat(Oc).reverse();return n.forEach((r,a)=>{const i=r.toUpperCase(),o=`screen${i}Min`,s=`screen${i}`;if(!(t[o]<=t[s]))throw new Error(`${o}<=${s} fails : !(${t[o]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(i){return a=i,n.forEach(o=>o(a)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(a),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const o=t[i],s=this.matchHandlers[o];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const o=t[i],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[i]:d}))},l=window.matchMedia(o);l.addListener(s),this.matchHandlers[o]={mql:l,listener:s},s(l)})},responsiveMap:t}},[e])}function nk(){const[,e]=c.useReducer(t=>t+1,0);return e}function Yb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=c.useRef({}),n=nk(),r=WQ();return Qt(()=>{const a=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const y_=e=>e?typeof e=="function"?e():e:null;function rk(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,i=e.className,o=e.style;return c.createElement("div",{className:ie("".concat(n,"-content"),i),style:o},c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var uu={shiftX:64,adjustY:1},du={adjustX:1,shiftY:!0},Ti=[0,0],Ibe={left:{points:["cr","cl"],overflow:du,offset:[-4,0],targetOffset:Ti},right:{points:["cl","cr"],overflow:du,offset:[4,0],targetOffset:Ti},top:{points:["bc","tc"],overflow:uu,offset:[0,-4],targetOffset:Ti},bottom:{points:["tc","bc"],overflow:uu,offset:[0,4],targetOffset:Ti},topLeft:{points:["bl","tl"],overflow:uu,offset:[0,-4],targetOffset:Ti},leftTop:{points:["tr","tl"],overflow:du,offset:[-4,0],targetOffset:Ti},topRight:{points:["br","tr"],overflow:uu,offset:[0,-4],targetOffset:Ti},rightTop:{points:["tl","tr"],overflow:du,offset:[4,0],targetOffset:Ti},bottomRight:{points:["tr","br"],overflow:uu,offset:[0,4],targetOffset:Ti},rightBottom:{points:["bl","br"],overflow:du,offset:[4,0],targetOffset:Ti},bottomLeft:{points:["tl","bl"],overflow:uu,offset:[0,4],targetOffset:Ti},leftBottom:{points:["br","bl"],overflow:du,offset:[-4,0],targetOffset:Ti}},Obe=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Nbe=function(t,n){var r=t.overlayClassName,a=t.trigger,i=a===void 0?["hover"]:a,o=t.mouseEnterDelay,s=o===void 0?0:o,l=t.mouseLeaveDelay,u=l===void 0?.1:l,d=t.overlayStyle,p=t.prefixCls,f=p===void 0?"rc-tooltip":p,m=t.children,g=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,S=t.animation,b=t.motion,E=t.placement,y=E===void 0?"right":E,C=t.align,T=C===void 0?{}:C,x=t.destroyTooltipOnHide,R=x===void 0?!1:x,w=t.defaultVisible,I=t.getTooltipContainer,O=t.overlayInnerStyle;t.arrowContent;var k=t.overlay,P=t.id,M=t.showArrow,N=M===void 0?!0:M,A=yt(t,Obe),D=c.useRef(null);c.useImperativeHandle(n,function(){return D.current});var L=ee({},A);"visible"in t&&(L.popupVisible=t.visible);var $=function(){return c.createElement(rk,{key:"content",prefixCls:f,id:P,overlayInnerStyle:O},k)};return c.createElement(lg,ve({popupClassName:r,prefixCls:f,popup:$,action:i,builtinPlacements:Ibe,popupPlacement:y,ref:D,popupAlign:T,getPopupContainer:I,onPopupVisibleChange:g,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:S,popupMotion:b,defaultPopupVisible:w,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:N},L),m)};const Abe=c.forwardRef(Nbe);function Kb(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,i=0,o=a,s=r*1/Math.sqrt(2),l=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),p=2*a-u,f=d,m=2*a-s,g=l,h=2*a-i,v=o,S=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1),E=`polygon(${b}px 100%, 50% ${b}px, ${2*a-b}px 100%, ${b}px 100%)`,y=`path('M ${i} ${o} A ${r} ${r} 0 0 0 ${s} ${l} L ${u} ${d} A ${n} ${n} 0 0 1 ${p} ${f} L ${m} ${g} A ${r} ${r} 0 0 0 ${h} ${v} Z')`;return{arrowShadowWidth:S,arrowPath:y,arrowPolygon:E}}const YQ=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:o,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${X(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},KQ=8;function Xb(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?KQ:r}}function hh(e,t){return e?t:{}}function ak(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:i,arrowOffsetHorizontal:o}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},YQ(e,t,a)),{"&:before":{background:t}})]},hh(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${X(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),hh(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${X(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),hh(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),hh(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function Dbe(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const o=Object.assign(Object.assign({},i),a);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const s3={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Mbe={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Lbe=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function XQ(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:i,visibleFirst:o}=e,s=t/2,l={};return Object.keys(s3).forEach(u=>{const d=r&&Mbe[u]||s3[u],p=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(l[u]=p,Lbe.has(u)&&(p.autoArrow=!1),u){case"top":case"topLeft":case"topRight":p.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=s+a;break}const f=Xb({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":p.offset[0]=-f.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":p.offset[0]=f.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":p.offset[1]=-f.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":p.offset[1]=f.arrowOffsetHorizontal*2-s;break}p.overflow=Dbe(u,f,t,n),o&&(p.htmlRegion="visibleFirst")}),l}const kbe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:o,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{position:"absolute",zIndex:o,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${X(e.calc(u).div(2).equal())} ${X(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,KQ)}},[`${t}-content`]:{position:"relative"}}),tX(e,(p,f)=>{let{darkColor:m}=f;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},ak(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Pbe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Xb({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Kb(Ht(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),QQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return sn("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:i,colorBgSpotlight:o}=r,s=Ht(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:a,tooltipBg:o});return[kbe(s),Zd(r,"zoom-big-fast")]},Pbe,{resetStyle:!1,injectStyle:t})(e)},$be=gm.map(e=>`${e}-inverse`),Fbe=["success","processing","error","default","warning"];function ZQ(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat($e($be),$e(gm)).includes(e):gm.includes(e)}function Bbe(e){return Fbe.includes(e)}function JQ(e,t){const n=ZQ(t),r=ie({[`${e}-${t}`]:t&&n}),a={},i={};return t&&!n&&(a.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:i}}const Ube=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:i,overlayInnerStyle:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("tooltip",t),[u,d,p]=QQ(l),f=JQ(l,i),m=f.arrowStyle,g=Object.assign(Object.assign({},o),f.overlayStyle),h=ie(d,p,l,`${l}-pure`,`${l}-placement-${r}`,n,f.className);return u(c.createElement("div",{className:h,style:m},c.createElement("div",{className:`${l}-arrow`}),c.createElement(rk,Object.assign({},e,{className:d,prefixCls:l,overlayInnerStyle:g}),a)))};var jbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:i,getTooltipContainer:o,overlayClassName:s,color:l,overlayInnerStyle:u,children:d,afterOpenChange:p,afterVisibleChange:f,destroyTooltipOnHide:m,arrow:g=!0,title:h,overlay:v,builtinPlacements:S,arrowPointAtCenter:b=!1,autoAdjustOverflow:E=!0}=e,y=!!g,[,C]=ia(),{getPopupContainer:T,getPrefixCls:x,direction:R}=c.useContext(lt),w=Ol(),I=c.useRef(null),O=()=>{var ne;(ne=I.current)===null||ne===void 0||ne.forceAlign()};c.useImperativeHandle(t,()=>{var ne;return{forceAlign:O,forcePopupAlign:()=>{w.deprecated(!1,"forcePopupAlign","forceAlign"),O()},nativeElement:(ne=I.current)===null||ne===void 0?void 0:ne.nativeElement}});const[k,P]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),M=!h&&!v&&h!==0,N=ne=>{var ae,le;P(M?!1:ne),M||((ae=e.onOpenChange)===null||ae===void 0||ae.call(e,ne),(le=e.onVisibleChange)===null||le===void 0||le.call(e,ne))},A=c.useMemo(()=>{var ne,ae;let le=b;return typeof g=="object"&&(le=(ae=(ne=g.pointAtCenter)!==null&&ne!==void 0?ne:g.arrowPointAtCenter)!==null&&ae!==void 0?ae:b),S||XQ({arrowPointAtCenter:le,autoAdjustOverflow:E,arrowWidth:y?C.sizePopupArrow:0,borderRadius:C.borderRadius,offset:C.marginXXS,visibleFirst:!0})},[b,g,S,C]),D=c.useMemo(()=>h===0?h:v||h||"",[v,h]),L=c.createElement(zo,{space:!0},typeof D=="function"?D():D),{getPopupContainer:$,placement:F="top",mouseEnterDelay:B=.1,mouseLeaveDelay:z=.1,overlayStyle:U,rootClassName:j}=e,G=jbe(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=x("tooltip",a),Y=x(),Q=e["data-popover-inject"];let V=k;!("open"in e)&&!("visible"in e)&&M&&(V=!1);const H=c.isValidElement(d)&&!SX(d)?d:c.createElement("span",null,d),q=H.props,K=!q.className||typeof q.className=="string"?ie(q.className,i||`${J}-open`):q.className,[Z,te,se]=QQ(J,!Q),ue=JQ(J,l),me=ue.arrowStyle,de=Object.assign(Object.assign({},u),ue.overlayStyle),Te=ie(s,{[`${J}-rtl`]:R==="rtl"},ue.className,j,te,se),[Ee,ge]=So("Tooltip",G.zIndex),re=c.createElement(Abe,Object.assign({},G,{zIndex:Ee,showArrow:y,placement:F,mouseEnterDelay:B,mouseLeaveDelay:z,prefixCls:J,overlayClassName:Te,overlayStyle:Object.assign(Object.assign({},me),U),getTooltipContainer:$||o||T,ref:I,builtinPlacements:A,overlay:L,visible:V,onVisibleChange:N,afterVisibleChange:p??f,overlayInnerStyle:de,arrowContent:c.createElement("span",{className:`${J}-arrow-content`}),motion:{motionName:ya(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),V?Tr(H,{className:K}):H);return Z(c.createElement(Qm.Provider,{value:ge},re))}),Jt=zbe;Jt._InternalPanelDoNotUseOrYouWillBeFired=Ube;const Hbe=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:i,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:p,popoverBg:f,titleBorderBottom:m,innerContentPadding:g,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},an(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,boxShadow:o,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:m,padding:h},[`${t}-inner-content`]:{color:n,padding:g}})},ak(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Gbe=e=>{const{componentCls:t}=e;return{[t]:gm.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Vbe=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:i,zIndexPopupBase:o,borderRadiusLG:s,marginXS:l,lineType:u,colorSplit:d,paddingSM:p}=e,f=n-r,m=f/2,g=f/2-t,h=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:o+30},Kb(e)),Xb({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:l,titlePadding:i?`${m}px ${h}px ${g}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${p}px ${h}px`:0})},eZ=sn("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Ht(e,{popoverBg:t,popoverColor:n});return[Hbe(r),Gbe(r),Zd(r,"zoom-big")]},Vbe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var qbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${r}-title`},t),n&&c.createElement("div",{className:`${r}-inner-content`},n))},Wbe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:i="top",title:o,content:s,children:l}=e,u=y_(o),d=y_(s),p=ie(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return c.createElement("div",{className:p,style:a},c.createElement("div",{className:`${n}-arrow`}),c.createElement(rk,Object.assign({},e,{className:t,prefixCls:n}),l||c.createElement(tZ,{prefixCls:n,title:u,content:d})))},Ybe=e=>{const{prefixCls:t,className:n}=e,r=qbe(e,["prefixCls","className"]),{getPrefixCls:a}=c.useContext(lt),i=a("popover",t),[o,s,l]=eZ(i);return o(c.createElement(Wbe,Object.assign({},r,{prefixCls:i,hashId:s,className:ie(n,l)})))};var Kbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:i,content:o,overlayClassName:s,placement:l="top",trigger:u="hover",children:d,mouseEnterDelay:p=.1,mouseLeaveDelay:f=.1,onOpenChange:m,overlayStyle:g={}}=e,h=Kbe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=c.useContext(lt),S=v("popover",a),[b,E,y]=eZ(S),C=v(),T=ie(s,E,y),[x,R]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),w=(M,N)=>{R(M,!0),m==null||m(M,N)},I=M=>{M.keyCode===Fe.ESC&&w(!1,M)},O=M=>{w(M)},k=y_(i),P=y_(o);return b(c.createElement(Jt,Object.assign({placement:l,trigger:u,mouseEnterDelay:p,mouseLeaveDelay:f,overlayStyle:g},h,{prefixCls:S,overlayClassName:T,ref:t,open:x,onOpenChange:O,overlay:k||P?c.createElement(tZ,{prefixCls:S,title:k,content:P}):null,transitionName:ya(C,"zoom-big",h.transitionName),"data-popover-inject":!0}),Tr(d,{onKeyDown:M=>{var N,A;c.isValidElement(d)&&((A=d==null?void 0:(N=d.props).onKeyDown)===null||A===void 0||A.call(N,M)),I(M)}})))}),nZ=Xbe;nZ._InternalPanelDoNotUseOrYouWillBeFired=Ybe;var Qbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Zbe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Qbe}))},Fi=c.forwardRef(Zbe),Jbe=Fe.ESC,eSe=Fe.TAB;function tSe(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,i=e.overlayRef,o=c.useRef(!1),s=function(){if(t){var p,f;(p=n.current)===null||p===void 0||(f=p.focus)===null||f===void 0||f.call(p),r==null||r(!1)}},l=function(){var p;return(p=i.current)!==null&&p!==void 0&&p.focus?(i.current.focus(),o.current=!0,!0):!1},u=function(p){switch(p.keyCode){case Jbe:s();break;case eSe:{var f=!1;o.current||(f=l()),f?p.preventDefault():s();break}}};c.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Gt(l,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}},[t])}var nSe=c.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,i=c.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),o=aa(t,i==null?void 0:i.ref);return ce.createElement(ce.Fragment,null,r&&ce.createElement("div",{className:"".concat(a,"-arrow")}),ce.cloneElement(i,{ref:mo(i)?o:void 0}))}),pu={adjustX:1,adjustY:1},fu=[0,0],rSe={topLeft:{points:["bl","tl"],overflow:pu,offset:[0,-4],targetOffset:fu},top:{points:["bc","tc"],overflow:pu,offset:[0,-4],targetOffset:fu},topRight:{points:["br","tr"],overflow:pu,offset:[0,-4],targetOffset:fu},bottomLeft:{points:["tl","bl"],overflow:pu,offset:[0,4],targetOffset:fu},bottom:{points:["tc","bc"],overflow:pu,offset:[0,4],targetOffset:fu},bottomRight:{points:["tr","br"],overflow:pu,offset:[0,4],targetOffset:fu}},aSe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function iSe(e,t){var n,r=e.arrow,a=r===void 0?!1:r,i=e.prefixCls,o=i===void 0?"rc-dropdown":i,s=e.transitionName,l=e.animation,u=e.align,d=e.placement,p=d===void 0?"bottomLeft":d,f=e.placements,m=f===void 0?rSe:f,g=e.getPopupContainer,h=e.showAction,v=e.hideAction,S=e.overlayClassName,b=e.overlayStyle,E=e.visible,y=e.trigger,C=y===void 0?["hover"]:y,T=e.autoFocus,x=e.overlay,R=e.children,w=e.onVisibleChange,I=yt(e,aSe),O=ce.useState(),k=oe(O,2),P=k[0],M=k[1],N="visible"in e?E:P,A=ce.useRef(null),D=ce.useRef(null),L=ce.useRef(null);ce.useImperativeHandle(t,function(){return A.current});var $=function(Q){M(Q),w==null||w(Q)};tSe({visible:N,triggerRef:L,onVisibleChange:$,autoFocus:T,overlayRef:D});var F=function(Q){var V=e.onOverlayClick;M(!1),V&&V(Q)},B=function(){return ce.createElement(nSe,{ref:D,overlay:x,prefixCls:o,arrow:a})},z=function(){return typeof x=="function"?B:B()},U=function(){var Q=e.minOverlayWidthMatchTrigger,V=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Q:!V},j=function(){var Q=e.openClassName;return Q!==void 0?Q:"".concat(o,"-open")},G=ce.cloneElement(R,{className:ie((n=R.props)===null||n===void 0?void 0:n.className,N&&j()),ref:mo(R)?aa(L,R.ref):void 0}),J=v;return!J&&C.indexOf("contextMenu")!==-1&&(J=["click"]),ce.createElement(lg,ve({builtinPlacements:m},I,{prefixCls:o,ref:A,popupClassName:ie(S,W({},"".concat(o,"-show-arrow"),a)),popupStyle:b,action:C,showAction:h,hideAction:J,popupPlacement:p,popupAlign:u,popupTransitionName:s,popupAnimation:l,popupVisible:N,stretch:U()?"minWidth":"",popup:z(),onPopupVisibleChange:$,onPopupClick:F,getPopupContainer:g}),G)}const rZ=ce.forwardRef(iSe);var aZ=c.createContext(null);function iZ(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function oZ(e){var t=c.useContext(aZ);return iZ(t,e)}var oSe=["children","locked"],ho=c.createContext(null);function sSe(e,t){var n=ee({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function bm(e){var t=e.children,n=e.locked,r=yt(e,oSe),a=c.useContext(ho),i=Il(function(){return sSe(a,r)},[a,r],function(o,s){return!n&&(o[0]!==s[0]||!ji(o[1],s[1],!0))});return c.createElement(ho.Provider,{value:i},t)}var lSe=[],sZ=c.createContext(null);function Qb(){return c.useContext(sZ)}var lZ=c.createContext(lSe);function Jd(e){var t=c.useContext(lZ);return c.useMemo(function(){return e!==void 0?[].concat($e(t),[e]):t},[t,e])}var cZ=c.createContext(null),ik=c.createContext({});function l3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Kd(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),i=Number(a),o=null;return a&&!Number.isNaN(i)?o=i:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function cSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=$e(e.querySelectorAll("*")).filter(function(r){return l3(r,t)});return l3(e,t)&&n.unshift(e),n}var lD=Fe.LEFT,cD=Fe.RIGHT,uD=Fe.UP,Sv=Fe.DOWN,Ev=Fe.ENTER,uZ=Fe.ESC,$p=Fe.HOME,Fp=Fe.END,c3=[uD,Sv,lD,cD];function uSe(e,t,n,r){var a,i,o,s,l="prev",u="next",d="children",p="parent";if(e==="inline"&&r===Ev)return{inlineTrigger:!0};var f=(a={},W(a,uD,l),W(a,Sv,u),a),m=(i={},W(i,lD,n?u:l),W(i,cD,n?l:u),W(i,Sv,d),W(i,Ev,d),i),g=(o={},W(o,uD,l),W(o,Sv,u),W(o,Ev,d),W(o,uZ,p),W(o,lD,n?d:p),W(o,cD,n?p:d),o),h={inline:f,horizontal:m,vertical:g,inlineSub:f,horizontalSub:g,verticalSub:g},v=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(v){case l:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case p:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function dSe(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function pSe(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function ok(e,t){var n=cSe(e,!0);return n.filter(function(r){return t.has(r)})}function u3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=ok(e,t),i=a.length,o=a.findIndex(function(s){return n===s});return r<0?o===-1?o=i-1:o-=1:r>0&&(o+=1),o=(o+i)%i,a[o]}var dD=function(t,n){var r=new Set,a=new Map,i=new Map;return t.forEach(function(o){var s=document.querySelector("[data-menu-id='".concat(iZ(n,o),"']"));s&&(r.add(s),i.set(s,o),a.set(o,s))}),{elements:r,key2element:a,element2key:i}};function fSe(e,t,n,r,a,i,o,s,l,u){var d=c.useRef(),p=c.useRef();p.current=t;var f=function(){Gt.cancel(d.current)};return c.useEffect(function(){return function(){f()}},[]),function(m){var g=m.which;if([].concat(c3,[Ev,uZ,$p,Fp]).includes(g)){var h=i(),v=dD(h,r),S=v,b=S.elements,E=S.key2element,y=S.element2key,C=E.get(t),T=pSe(C,b),x=y.get(T),R=uSe(e,o(x,!0).length===1,n,g);if(!R&&g!==$p&&g!==Fp)return;(c3.includes(g)||[$p,Fp].includes(g))&&m.preventDefault();var w=function(D){if(D){var L=D,$=D.querySelector("a");$!=null&&$.getAttribute("href")&&(L=$);var F=y.get(D);s(F),f(),d.current=Gt(function(){p.current===F&&L.focus()})}};if([$p,Fp].includes(g)||R.sibling||!T){var I;!T||e==="inline"?I=a.current:I=dSe(T);var O,k=ok(I,b);g===$p?O=k[0]:g===Fp?O=k[k.length-1]:O=u3(I,b,T,R.offset),w(O)}else if(R.inlineTrigger)l(x);else if(R.offset>0)l(x,!0),f(),d.current=Gt(function(){v=dD(h,r);var A=T.getAttribute("aria-controls"),D=document.getElementById(A),L=u3(D,v.elements);w(L)},5);else if(R.offset<0){var P=o(x,!0),M=P[P.length-2],N=E.get(M);l(M,!1),w(N)}}u==null||u(m)}}function mSe(e){Promise.resolve().then(e)}var sk="__RC_UTIL_PATH_SPLIT__",d3=function(t){return t.join(sk)},gSe=function(t){return t.split(sk)},pD="rc-menu-more";function hSe(){var e=c.useState({}),t=oe(e,2),n=t[1],r=c.useRef(new Map),a=c.useRef(new Map),i=c.useState([]),o=oe(i,2),s=o[0],l=o[1],u=c.useRef(0),d=c.useRef(!1),p=function(){d.current||n({})},f=c.useCallback(function(E,y){var C=d3(y);a.current.set(C,E),r.current.set(E,C),u.current+=1;var T=u.current;mSe(function(){T===u.current&&p()})},[]),m=c.useCallback(function(E,y){var C=d3(y);a.current.delete(C),r.current.delete(E)},[]),g=c.useCallback(function(E){l(E)},[]),h=c.useCallback(function(E,y){var C=r.current.get(E)||"",T=gSe(C);return y&&s.includes(T[0])&&T.unshift(pD),T},[s]),v=c.useCallback(function(E,y){return E.filter(function(C){return C!==void 0}).some(function(C){var T=h(C,!0);return T.includes(y)})},[h]),S=function(){var y=$e(r.current.keys());return s.length&&y.push(pD),y},b=c.useCallback(function(E){var y="".concat(r.current.get(E)).concat(sk),C=new Set;return $e(a.current.keys()).forEach(function(T){T.startsWith(y)&&C.add(a.current.get(T))}),C},[]);return c.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:f,unregisterPath:m,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:h,getKeys:S,getSubPathKeys:b}}function Zp(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1&&(b.motionAppear=!1);var E=b.onVisibleChanged;return b.onVisibleChanged=function(y){return!f.current&&!y&&v(!0),E==null?void 0:E(y)},h?null:c.createElement(bm,{mode:i,locked:!f.current},c.createElement(ta,ve({visible:S},b,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(y){var C=y.className,T=y.style;return c.createElement(lk,{id:t,className:C,style:T},a)}))}var MSe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],LSe=["active"],kSe=c.forwardRef(function(e,t){var n,r=e.style,a=e.className,i=e.title,o=e.eventKey;e.warnKey;var s=e.disabled,l=e.internalPopupClose,u=e.children,d=e.itemIcon,p=e.expandIcon,f=e.popupClassName,m=e.popupOffset,g=e.popupStyle,h=e.onClick,v=e.onMouseEnter,S=e.onMouseLeave,b=e.onTitleClick,E=e.onTitleMouseEnter,y=e.onTitleMouseLeave,C=yt(e,MSe),T=oZ(o),x=c.useContext(ho),R=x.prefixCls,w=x.mode,I=x.openKeys,O=x.disabled,k=x.overflowDisabled,P=x.activeKey,M=x.selectedKeys,N=x.itemIcon,A=x.expandIcon,D=x.onItemClick,L=x.onOpenChange,$=x.onActive,F=c.useContext(ik),B=F._internalRenderSubMenuItem,z=c.useContext(cZ),U=z.isSubPathKey,j=Jd(),G="".concat(R,"-submenu"),J=O||s,Y=c.useRef(),Q=c.useRef(),V=d??N,H=p??A,q=I.includes(o),K=!k&&q,Z=U(M,o),te=dZ(o,J,E,y),se=te.active,ue=yt(te,LSe),me=c.useState(!1),de=oe(me,2),Te=de[0],Ee=de[1],ge=function(we){J||Ee(we)},re=function(we){ge(!0),v==null||v({key:o,domEvent:we})},ne=function(we){ge(!1),S==null||S({key:o,domEvent:we})},ae=c.useMemo(function(){return se||(w!=="inline"?Te||U([P],o):!1)},[w,se,P,Te,o,U]),le=pZ(j.length),pe=function(we){J||(b==null||b({key:o,domEvent:we}),w==="inline"&&L(o,!q))},Re=Zp(function(Ne){h==null||h(C_(Ne)),D(Ne)}),Se=function(we){w!=="inline"&&L(o,we)},Pe=function(){$(o)},fe=T&&"".concat(T,"-popup"),_e=c.createElement("div",ve({role:"menuitem",style:le,className:"".concat(G,"-title"),tabIndex:J?null:-1,ref:Y,title:typeof i=="string"?i:null,"data-menu-id":k&&T?null:T,"aria-expanded":K,"aria-haspopup":!0,"aria-controls":fe,"aria-disabled":J,onClick:pe,onFocus:Pe},ue),i,c.createElement(fZ,{icon:w!=="horizontal"?H:void 0,props:ee(ee({},e),{},{isOpen:K,isSubMenu:!0})},c.createElement("i",{className:"".concat(G,"-arrow")}))),Ae=c.useRef(w);if(w!=="inline"&&j.length>1?Ae.current="vertical":Ae.current=w,!k){var ye=Ae.current;_e=c.createElement(ASe,{mode:ye,prefixCls:G,visible:!l&&K&&w!=="inline",popupClassName:f,popupOffset:m,popupStyle:g,popup:c.createElement(bm,{mode:ye==="horizontal"?"vertical":ye},c.createElement(lk,{id:fe,ref:Q},u)),disabled:J,onVisibleChange:Se},_e)}var be=c.createElement(uo.Item,ve({ref:t,role:"none"},C,{component:"li",style:r,className:ie(G,"".concat(G,"-").concat(w),a,(n={},W(n,"".concat(G,"-open"),K),W(n,"".concat(G,"-active"),ae),W(n,"".concat(G,"-selected"),Z),W(n,"".concat(G,"-disabled"),J),n)),onMouseEnter:re,onMouseLeave:ne}),_e,!k&&c.createElement(DSe,{id:fe,open:K,keyPath:j},u));return B&&(be=B(be,e,{selected:Z,active:ae,open:K,disabled:J})),c.createElement(bm,{onItemClick:Re,mode:w==="horizontal"?"vertical":w,itemIcon:V,expandIcon:H},be)}),Zb=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Jd(n),i=ck(r,a),o=Qb();c.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]);var s;return o?s=i:s=c.createElement(kSe,ve({ref:t},e),i),c.createElement(lZ.Provider,{value:a},s)});function uk(e){var t=e.className,n=e.style,r=c.useContext(ho),a=r.prefixCls,i=Qb();return i?null:c.createElement("li",{role:"separator",className:ie("".concat(a,"-item-divider"),t),style:n})}var PSe=["className","title","eventKey","children"],$Se=c.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,i=yt(e,PSe),o=c.useContext(ho),s=o.prefixCls,l="".concat(s,"-item-group");return c.createElement("li",ve({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:ie(l,n)}),c.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),c.createElement("ul",{role:"group",className:"".concat(l,"-list")},a))}),dk=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Jd(n),i=ck(r,a),o=Qb();return o?i:c.createElement($Se,ve({ref:t},An(e,["warnKey"])),i)}),FSe=["label","children","key","type"];function fD(e,t){var n=t.item,r=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(o,s){if(o&>(o)==="object"){var l=o,u=l.label,d=l.children,p=l.key,f=l.type,m=yt(l,FSe),g=p??"tmp-".concat(s);return d||f==="group"?f==="group"?c.createElement(r,ve({key:g},m,{title:u}),fD(d,t)):c.createElement(a,ve({key:g},m,{title:u}),fD(d,t)):f==="divider"?c.createElement(i,ve({key:g},m)):c.createElement(n,ve({key:g},m),u)}return null}).filter(function(o){return o})}function f3(e,t,n,r){var a=e,i=ee({divider:uk,item:ug,group:dk,submenu:Zb},r);return t&&(a=fD(t,i)),ck(a,n)}var BSe=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Ul=[],USe=c.forwardRef(function(e,t){var n,r,a=e,i=a.prefixCls,o=i===void 0?"rc-menu":i,s=a.rootClassName,l=a.style,u=a.className,d=a.tabIndex,p=d===void 0?0:d,f=a.items,m=a.children,g=a.direction,h=a.id,v=a.mode,S=v===void 0?"vertical":v,b=a.inlineCollapsed,E=a.disabled,y=a.disabledOverflow,C=a.subMenuOpenDelay,T=C===void 0?.1:C,x=a.subMenuCloseDelay,R=x===void 0?.1:x,w=a.forceSubMenuRender,I=a.defaultOpenKeys,O=a.openKeys,k=a.activeKey,P=a.defaultActiveFirst,M=a.selectable,N=M===void 0?!0:M,A=a.multiple,D=A===void 0?!1:A,L=a.defaultSelectedKeys,$=a.selectedKeys,F=a.onSelect,B=a.onDeselect,z=a.inlineIndent,U=z===void 0?24:z,j=a.motion,G=a.defaultMotions,J=a.triggerSubMenuAction,Y=J===void 0?"hover":J,Q=a.builtinPlacements,V=a.itemIcon,H=a.expandIcon,q=a.overflowedIndicator,K=q===void 0?"...":q,Z=a.overflowedIndicatorPopupClassName,te=a.getPopupContainer,se=a.onClick,ue=a.onOpenChange,me=a.onKeyDown;a.openAnimation,a.openTransitionName;var de=a._internalRenderMenuItem,Te=a._internalRenderSubMenuItem,Ee=a._internalComponents,ge=yt(a,BSe),re=c.useMemo(function(){return[f3(m,f,Ul,Ee),f3(m,f,Ul,{})]},[m,f,Ee]),ne=oe(re,2),ae=ne[0],le=ne[1],pe=c.useState(!1),Re=oe(pe,2),Se=Re[0],Pe=Re[1],fe=c.useRef(),_e=_Se(h),Ae=g==="rtl",ye=ln(I,{value:O,postState:function(Ut){return Ut||Ul}}),be=oe(ye,2),Ne=be[0],we=be[1],xe=function(Ut){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Et(){we(Ut),ue==null||ue(Ut)}jt?Ur.flushSync(Et):Et()},ke=c.useState(Ne),at=oe(ke,2),Me=at[0],Ce=at[1],De=c.useRef(!1),Ue=c.useMemo(function(){return(S==="inline"||S==="vertical")&&b?["vertical",b]:[S,!1]},[S,b]),Ye=oe(Ue,2),He=Ye[0],ze=Ye[1],Xe=He==="inline",Be=c.useState(He),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=c.useState(ze),Ve=oe(We,2),Ze=Ve[0],dt=Ve[1];c.useEffect(function(){pt(He),dt(ze),De.current&&(Xe?we(Me):xe(Ul))},[He,ze]);var It=c.useState(0),Nt=oe(It,2),ht=Nt[0],ct=Nt[1],ot=ht>=ae.length-1||mt!=="horizontal"||y;c.useEffect(function(){Xe&&Ce(Ne)},[Ne]),c.useEffect(function(){return De.current=!0,function(){De.current=!1}},[]);var et=hSe(),vt=et.registerPath,rt=et.unregisterPath,bt=et.refreshOverflowKeys,Tt=et.isSubPathKey,tt=et.getKeyPath,it=et.getKeys,Ke=et.getSubPathKeys,qe=c.useMemo(function(){return{registerPath:vt,unregisterPath:rt}},[vt,rt]),_t=c.useMemo(function(){return{isSubPathKey:Tt}},[Tt]);c.useEffect(function(){bt(ot?Ul:ae.slice(ht+1).map(function(qt){return qt.key}))},[ht,ot]);var Rt=ln(k||P&&((n=ae[0])===null||n===void 0?void 0:n.key),{value:k}),kt=oe(Rt,2),tn=kt[0],rn=kt[1],Vt=Zp(function(qt){rn(qt)}),nn=Zp(function(){rn(void 0)});c.useImperativeHandle(t,function(){return{list:fe.current,focus:function(Ut){var jt,Et=it(),Ct=dD(Et,_e),cn=Ct.elements,En=Ct.key2element,nr=Ct.element2key,rr=ok(fe.current,cn),fr=tn??(rr[0]?nr.get(rr[0]):(jt=ae.find(function(ut){return!ut.props.disabled}))===null||jt===void 0?void 0:jt.key),zt=En.get(fr);if(fr&&zt){var Ft;zt==null||(Ft=zt.focus)===null||Ft===void 0||Ft.call(zt,Ut)}}}});var xt=ln(L||[],{value:$,postState:function(Ut){return Array.isArray(Ut)?Ut:Ut==null?Ul:[Ut]}}),Ot=oe(xt,2),Dt=Ot[0],Rn=Ot[1],Gn=function(Ut){if(N){var jt=Ut.key,Et=Dt.includes(jt),Ct;D?Et?Ct=Dt.filter(function(En){return En!==jt}):Ct=[].concat($e(Dt),[jt]):Ct=[jt],Rn(Ct);var cn=ee(ee({},Ut),{},{selectedKeys:Ct});Et?B==null||B(cn):F==null||F(cn)}!D&&Ne.length&&mt!=="inline"&&xe(Ul)},ur=Zp(function(qt){se==null||se(C_(qt)),Gn(qt)}),Vn=Zp(function(qt,Ut){var jt=Ne.filter(function(Ct){return Ct!==qt});if(Ut)jt.push(qt);else if(mt!=="inline"){var Et=Ke(qt);jt=jt.filter(function(Ct){return!Et.has(Ct)})}ji(Ne,jt,!0)||xe(jt,!0)}),Pr=function(Ut,jt){var Et=jt??!Ne.includes(Ut);Vn(Ut,Et)},Rr=fSe(mt,tn,Ae,_e,fe,it,tt,rn,Pr,me);c.useEffect(function(){Pe(!0)},[]);var qn=c.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:Te}},[de,Te]),Yt=mt!=="horizontal"||y?ae:ae.map(function(qt,Ut){return c.createElement(bm,{key:qt.key,overflowDisabled:Ut>ht},qt)}),Bt=c.createElement(uo,ve({id:h,ref:fe,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:ug,className:ie(o,"".concat(o,"-root"),"".concat(o,"-").concat(mt),u,(r={},W(r,"".concat(o,"-inline-collapsed"),Ze),W(r,"".concat(o,"-rtl"),Ae),r),s),dir:g,style:l,role:"menu",tabIndex:p,data:Yt,renderRawItem:function(Ut){return Ut},renderRawRest:function(Ut){var jt=Ut.length,Et=jt?ae.slice(-jt):null;return c.createElement(Zb,{eventKey:pD,title:K,disabled:ot,internalPopupClose:jt===0,popupClassName:Z},Et)},maxCount:mt!=="horizontal"||y?uo.INVALIDATE:uo.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ut){ct(Ut)},onKeyDown:Rr},ge));return c.createElement(ik.Provider,{value:qn},c.createElement(aZ.Provider,{value:_e},c.createElement(bm,{prefixCls:o,rootClassName:s,mode:mt,openKeys:Ne,rtl:Ae,disabled:E,motion:Se?j:null,defaultMotions:Se?G:null,activeKey:tn,onActive:Vt,onInactive:nn,selectedKeys:Dt,inlineIndent:U,subMenuOpenDelay:T,subMenuCloseDelay:R,forceSubMenuRender:w,builtinPlacements:Q,triggerSubMenuAction:Y,getPopupContainer:te,itemIcon:V,expandIcon:H,onItemClick:ur,onOpenChange:Vn},c.createElement(cZ.Provider,{value:_t},Bt),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(sZ.Provider,{value:qe},le)))))}),ep=USe;ep.Item=ug;ep.SubMenu=Zb;ep.ItemGroup=dk;ep.Divider=uk;var jSe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},zSe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:jSe}))},HSe=c.forwardRef(zSe),GSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},VSe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:GSe}))},Nc=c.forwardRef(VSe);const qSe=e=>!isNaN(parseFloat(e))&&isFinite(e),gZ=c.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var WSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),eS=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:i,defaultCollapsed:o=!1,theme:s="dark",style:l={},collapsible:u=!1,reverseArrow:d=!1,width:p=200,collapsedWidth:f=80,zeroWidthTriggerStyle:m,breakpoint:g,onCollapse:h,onBreakpoint:v}=e,S=WSe(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=c.useContext(gZ),[E,y]=c.useState("collapsed"in e?e.collapsed:o),[C,T]=c.useState(!1);c.useEffect(()=>{"collapsed"in e&&y(e.collapsed)},[e.collapsed]);const x=(P,M)=>{"collapsed"in e||y(P),h==null||h(P,M)},R=c.useRef();R.current=P=>{T(P.matches),v==null||v(P.matches),E!==P.matches&&x(P.matches,"responsive")},c.useEffect(()=>{function P(N){return R.current(N)}let M;if(typeof window<"u"){const{matchMedia:N}=window;if(N&&g&&g in m3){M=N(`screen and (max-width: ${m3[g]})`);try{M.addEventListener("change",P)}catch{M.addListener(P)}P(M)}}return()=>{try{M==null||M.removeEventListener("change",P)}catch{M==null||M.removeListener(P)}}},[g]),c.useEffect(()=>{const P=YSe("ant-sider-");return b.addSider(P),()=>b.removeSider(P)},[]);const w=()=>{x(!E,"clickTrigger")},{getPrefixCls:I}=c.useContext(lt),O=()=>{const P=I("layout-sider",n),M=An(S,["collapsed"]),N=E?f:p,A=qSe(N)?`${N}px`:String(N),D=parseFloat(String(f||0))===0?c.createElement("span",{onClick:w,className:ie(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:m},a||c.createElement(HSe,null)):null,F={expanded:d?c.createElement(Fi,null):c.createElement(Nc,null),collapsed:d?c.createElement(Nc,null):c.createElement(Fi,null)}[E?"collapsed":"expanded"],B=a!==null?D||c.createElement("div",{className:`${P}-trigger`,onClick:w,style:{width:A}},a||F):null,z=Object.assign(Object.assign({},l),{flex:`0 0 ${A}`,maxWidth:A,minWidth:A,width:A}),U=ie(P,`${P}-${s}`,{[`${P}-collapsed`]:!!E,[`${P}-has-trigger`]:u&&a!==null&&!D,[`${P}-below`]:!!C,[`${P}-zero-width`]:parseFloat(A)===0},r);return c.createElement("aside",Object.assign({className:U},M,{style:z,ref:t}),c.createElement("div",{className:`${P}-children`},i),u||C&&D?B:null)},k=c.useMemo(()=>({siderCollapsed:E}),[E]);return c.createElement(Jb.Provider,{value:k},O())});var KSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},XSe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:KSe}))},pk=c.forwardRef(XSe);const T_=c.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var QSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=QSe(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=c.useContext(lt),o=i("menu",t),s=ie({[`${o}-item-divider-dashed`]:!!r},n);return c.createElement(uk,Object.assign({className:s},a))},vZ=e=>{var t;const{className:n,children:r,icon:a,title:i,danger:o}=e,{prefixCls:s,firstLevel:l,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:p}=c.useContext(T_),f=b=>{const E=c.createElement("span",{className:`${s}-title-content`},r);return(!a||c.isValidElement(r)&&r.type==="span")&&r&&b&&l&&typeof r=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):E},{siderCollapsed:m}=c.useContext(Jb);let g=i;typeof i>"u"?g=l?r:"":i===!1&&(g="");const h={title:g};!m&&!p&&(h.title=null,h.open=!1);const v=_r(r).length;let S=c.createElement(ug,Object.assign({},An(e,["title","icon","danger"]),{className:ie({[`${s}-item-danger`]:o,[`${s}-item-only-child`]:(a?v+1:v)===1},n),title:typeof i=="string"?i:void 0}),Tr(a,{className:ie(c.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),f(p));return d||(S=c.createElement(Jt,Object.assign({},h,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),S)),S};var ZSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=ZSe(e,["children"]),a=c.useContext(x_),i=c.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=Dce(n),s=ws(t,o?n.ref:null);return c.createElement(x_.Provider,{value:i},c.createElement(zo,{space:!0},o?c.cloneElement(n,{ref:s}):n))}),JSe=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:i,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${X(i)} ${o} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},ZSe=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${Q(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Q(n)})`}}}}},f3=e=>Object.assign({},bs(e)),m3=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:i,itemBg:o,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:p,motionDurationSlow:f,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:S,lineType:_,colorSplit:E,itemDisabledColor:y,dangerItemColor:C,dangerItemHoverColor:T,dangerItemSelectedColor:x,dangerItemActiveBg:R,dangerItemSelectedBg:w,popupBg:I,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:P,horizontalItemSelectedColor:M,horizontalItemSelectedBg:N,horizontalItemBorderRadius:A,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:o,[`&${n}-root:focus-visible`]:Object.assign({},f3(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},f3(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:T}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:w}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:I},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:I},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:A,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${Q(u)} solid transparent`,transition:`border-color ${f} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:u,borderBottomColor:M}},"&-selected":{color:M,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:u,borderBottomColor:M}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Q(p)} ${_} ${E}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Q(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${m}`,`opacity ${v} ${m}`].join(",")}}}}}},g3=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:i,marginXS:o,itemMarginBlock:s,itemWidth:l,itemPaddingInline:u}=e,d=e.calc(i).add(a).add(o).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Q(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:Q(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:d}}},JSe=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:i,controlHeightLG:o,motionEaseOut:s,paddingXL:l,itemMarginInline:u,fontSizeLG:d,motionDurationFast:p,motionDurationSlow:f,paddingXS:m,boxShadowSecondary:g,collapsedWidth:h,collapsedIconSize:v}=e,S={height:r,lineHeight:Q(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},g3(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},g3(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${Q(e.calc(o).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${p} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:S,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:S}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},eEe=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${X(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${X(n)})`}}}}},g3=e=>Object.assign({},Es(e)),h3=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:i,itemBg:o,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:p,motionDurationSlow:f,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:S,lineType:b,colorSplit:E,itemDisabledColor:y,dangerItemColor:C,dangerItemHoverColor:T,dangerItemSelectedColor:x,dangerItemActiveBg:R,dangerItemSelectedBg:w,popupBg:I,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:P,horizontalItemSelectedColor:M,horizontalItemSelectedBg:N,horizontalItemBorderRadius:A,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:o,[`&${n}-root:focus-visible`]:Object.assign({},g3(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},g3(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:T}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:w}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:I},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:I},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:A,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${X(u)} solid transparent`,transition:`border-color ${f} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:u,borderBottomColor:M}},"&-selected":{color:M,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:u,borderBottomColor:M}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${X(p)} ${b} ${E}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${X(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${m}`,`opacity ${v} ${m}`].join(",")}}}}}},v3=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:i,marginXS:o,itemMarginBlock:s,itemWidth:l,itemPaddingInline:u}=e,d=e.calc(i).add(a).add(o).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:X(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:X(n)},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:d}}},tEe=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:i,controlHeightLG:o,motionEaseOut:s,paddingXL:l,itemMarginInline:u,fontSizeLG:d,motionDurationFast:p,motionDurationSlow:f,paddingXS:m,boxShadowSecondary:g,collapsedWidth:h,collapsedIconSize:v}=e,S={height:r,lineHeight:X(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},v3(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},v3(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${X(e.calc(o).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${p} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:S,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:S}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Q(e.calc(d).div(2).equal())} - ${Q(u)})`,textOverflow:"clip",[` + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${X(e.calc(d).div(2).equal())} - ${X(u)})`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:Q(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},vi),{paddingInline:m})}}]},h3=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:i,iconCls:o,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Hd()),[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},v3=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:i,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${Q(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${Q(o)})`}}}}},eEe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:o,paddingXS:s,padding:l,colorSplit:u,lineWidth:d,zIndexPopup:p,borderRadiusLG:f,subMenuItemBorderRadius:m,menuArrowSize:g,menuArrowOffset:h,lineType:v,groupTitleLineHeight:S,groupTitleFontSize:_}=e;return[{"":{[n]:Object.assign(Object.assign({},mo()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),mo()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${Q(s)} ${Q(l)}`,fontSize:_,lineHeight:S,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`,`padding ${i} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${o}`,`padding ${a} ${o}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),h3(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${Q(e.calc(r).mul(2).equal())} ${Q(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},h3(e)),v3(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${o}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),v3(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Q(h)})`},"&::after":{transform:`rotate(45deg) translateX(${Q(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${Q(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${Q(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${Q(h)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},tEe=e=>{var t,n,r;const{colorPrimary:a,colorError:i,colorTextDisabled:o,colorErrorBg:s,colorText:l,colorTextDescription:u,colorBgContainer:d,colorFillAlter:p,colorFillContent:f,lineWidth:m,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:v,controlHeightLG:S,lineHeight:_,colorBgElevated:E,marginXXS:y,padding:C,fontSize:T,controlHeightSM:x,fontSizeLG:R,colorTextLightSolid:w,colorErrorHover:I}=e,O=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,k=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:m,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,M=new an(w).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:f,itemActiveBg:h,colorSubItemBg:p,subMenuItemBg:p,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:m,activeBarBorderWidth:k,colorItemTextDisabled:o,itemDisabledColor:o,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:S,groupTitleLineHeight:_,collapsedWidth:S*2,popupBg:E,itemMarginBlock:y,itemPaddingInline:C,horizontalLineHeight:`${S*1.15}px`,iconSize:T,iconMarginInlineEnd:x-T,collapsedIconSize:R,groupTitleFontSize:T,darkItemDisabledColor:new an(w).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:w,darkItemSelectedBg:a,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:w,darkDangerItemHoverColor:I,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:i,itemWidth:O?`calc(100% + ${k}px)`:`calc(100% - ${P*2}px)`}},nEe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return cn("Menu",a=>{const{colorBgElevated:i,controlHeightLG:o,fontSize:s,darkItemColor:l,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:p,darkItemSelectedColor:f,darkItemSelectedBg:m,darkDangerItemSelectedBg:g,darkItemHoverBg:h,darkGroupTitleColor:v,darkItemHoverColor:S,darkItemDisabledColor:_,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:y,darkDangerItemActiveBg:C,popupBg:T,darkPopupBg:x}=a,R=a.calc(s).div(7).mul(5).equal(),w=Ht(a,{menuArrowSize:R,menuHorizontalHeight:a.calc(o).mul(1.15).equal(),menuArrowOffset:a.calc(R).mul(.25).equal(),menuSubMenuBg:i,calc:a.calc,popupBg:T}),I=Ht(w,{itemColor:l,itemHoverColor:S,groupTitleColor:v,itemSelectedColor:f,itemBg:d,popupBg:x,subMenuItemBg:p,itemActiveBg:"transparent",itemSelectedBg:m,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:_,dangerItemColor:u,dangerItemHoverColor:E,dangerItemSelectedColor:y,dangerItemActiveBg:C,dangerItemSelectedBg:g,menuSubMenuBg:p,horizontalItemSelectedColor:f,horizontalItemSelectedBg:m});return[eEe(w),QSe(w),JSe(w),m3(w,"light"),m3(I,"dark"),ZSe(w),ng(w),jo(w,"slide-up"),jo(w,"slide-down"),Kd(w,"zoom-big")]},tEe,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},_Z=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:i}=e,o=c.useContext(S_),{prefixCls:s,inlineCollapsed:l,theme:u}=o,d=Xd();let p;if(!r)p=l&&!d.length&&a&&typeof a=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):c.createElement("span",{className:`${s}-title-content`},a);else{const g=c.isValidElement(a)&&a.type==="span";p=c.createElement(c.Fragment,null,Tr(r,{className:ie(c.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),g?a:c.createElement("span",{className:`${s}-title-content`},a))}const f=c.useMemo(()=>Object.assign(Object.assign({},o),{firstLevel:!1}),[o]),[m]=bo("Menu");return c.createElement(S_.Provider,{value:f},c.createElement(Kb,Object.assign({},An(e,["icon"]),{title:p,popupClassName:ie(s,n,`${s}-${i||u}`),popupStyle:{zIndex:m}})))};var rEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=c.useContext(E_),a=r||{},{getPrefixCls:i,getPopupContainer:o,direction:s,menu:l}=c.useContext(lt),u=i(),{prefixCls:d,className:p,style:f,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:v,siderCollapsed:S,rootClassName:_,mode:E,selectable:y,onClick:C,overflowedIndicatorPopupClassName:T}=e,x=rEe(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=An(x,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:E});const w=Wt(function(){var z;C==null||C.apply(void 0,arguments),(z=a.onClick)===null||z===void 0||z.call(a)}),I=a.mode||E,O=y??a.selectable,k=c.useMemo(()=>S!==void 0?S:v,[v,S]),P={horizontal:{motionName:`${u}-slide-up`},inline:Ed(u),other:{motionName:`${u}-zoom-big`}},M=i("menu",d||a.prefixCls),N=Zn(M),[A,D,L]=nEe(M,N,!r),$=ie(`${M}-${m}`,l==null?void 0:l.className,p),F=c.useMemo(()=>{var z,U;if(typeof g=="function"||dy(g))return g||null;if(typeof a.expandIcon=="function"||dy(a.expandIcon))return a.expandIcon||null;if(typeof(l==null?void 0:l.expandIcon)=="function"||dy(l==null?void 0:l.expandIcon))return(l==null?void 0:l.expandIcon)||null;const j=(z=g??(a==null?void 0:a.expandIcon))!==null&&z!==void 0?z:l==null?void 0:l.expandIcon;return Tr(j,{className:ie(`${M}-submenu-expand-icon`,c.isValidElement(j)?(U=j.props)===null||U===void 0?void 0:U.className:void 0)})},[g,a==null?void 0:a.expandIcon,l==null?void 0:l.expandIcon,M]),B=c.useMemo(()=>({prefixCls:M,inlineCollapsed:k||!1,direction:s,firstLevel:!0,theme:m,mode:I,disableMenuItemTitleTooltip:h}),[M,k,s,h,m]);return A(c.createElement(E_.Provider,{value:null},c.createElement(S_.Provider,{value:B},c.createElement(Qd,Object.assign({getPopupContainer:o,overflowedIndicator:c.createElement(uk,null),overflowedIndicatorPopupClassName:ie(M,`${M}-${m}`,T),mode:I,selectable:O,onClick:w},R,{inlineCollapsed:k,style:Object.assign(Object.assign({},l==null?void 0:l.style),f),className:$,prefixCls:M,direction:s,defaultMotions:P,expandIcon:F,ref:t,rootClassName:ie(_,D,a.rootClassName,L,N),_internalComponents:aEe})))))}),zo=c.forwardRef((e,t)=>{const n=c.useRef(null),r=c.useContext(Xb);return c.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var i;(i=n.current)===null||i===void 0||i.focus(a)}})),c.createElement(iEe,Object.assign({ref:n},e,r))});zo.Item=hZ;zo.SubMenu=_Z;zo.Divider=gZ;zo.ItemGroup=ck;const oEe=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},sEe=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:i,antCls:o,iconCls:s,motionDurationMid:l,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:p,colorTextDisabled:f,fontSizeIcon:m,controlPaddingHorizontal:g,colorBgElevated:h}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:m}},[`${t}-wrap`]:{position:"relative",[`${o}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:X(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},_i),{paddingInline:m})}}]},_3=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:i,iconCls:o,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},qd()),[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},b3=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:i,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${X(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${X(o)})`}}}}},nEe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:o,paddingXS:s,padding:l,colorSplit:u,lineWidth:d,zIndexPopup:p,borderRadiusLG:f,subMenuItemBorderRadius:m,menuArrowSize:g,menuArrowOffset:h,lineType:v,groupTitleLineHeight:S,groupTitleFontSize:b}=e;return[{"":{[n]:Object.assign(Object.assign({},go()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),go()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${X(s)} ${X(l)}`,fontSize:b,lineHeight:S,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`,`padding ${i} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${o}`,`padding ${a} ${o}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),_3(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${X(e.calc(r).mul(2).equal())} ${X(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},_3(e)),b3(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${o}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),b3(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${X(h)})`},"&::after":{transform:`rotate(45deg) translateX(${X(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${X(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${X(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${X(h)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},rEe=e=>{var t,n,r;const{colorPrimary:a,colorError:i,colorTextDisabled:o,colorErrorBg:s,colorText:l,colorTextDescription:u,colorBgContainer:d,colorFillAlter:p,colorFillContent:f,lineWidth:m,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:v,controlHeightLG:S,lineHeight:b,colorBgElevated:E,marginXXS:y,padding:C,fontSize:T,controlHeightSM:x,fontSizeLG:R,colorTextLightSolid:w,colorErrorHover:I}=e,O=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,k=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:m,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,M=new on(w).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:f,itemActiveBg:h,colorSubItemBg:p,subMenuItemBg:p,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:m,activeBarBorderWidth:k,colorItemTextDisabled:o,itemDisabledColor:o,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:S,groupTitleLineHeight:b,collapsedWidth:S*2,popupBg:E,itemMarginBlock:y,itemPaddingInline:C,horizontalLineHeight:`${S*1.15}px`,iconSize:T,iconMarginInlineEnd:x-T,collapsedIconSize:R,groupTitleFontSize:T,darkItemDisabledColor:new on(w).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:w,darkItemSelectedBg:a,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:w,darkDangerItemHoverColor:I,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:i,itemWidth:O?`calc(100% + ${k}px)`:`calc(100% - ${P*2}px)`}},aEe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return sn("Menu",a=>{const{colorBgElevated:i,controlHeightLG:o,fontSize:s,darkItemColor:l,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:p,darkItemSelectedColor:f,darkItemSelectedBg:m,darkDangerItemSelectedBg:g,darkItemHoverBg:h,darkGroupTitleColor:v,darkItemHoverColor:S,darkItemDisabledColor:b,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:y,darkDangerItemActiveBg:C,popupBg:T,darkPopupBg:x}=a,R=a.calc(s).div(7).mul(5).equal(),w=Ht(a,{menuArrowSize:R,menuHorizontalHeight:a.calc(o).mul(1.15).equal(),menuArrowOffset:a.calc(R).mul(.25).equal(),menuSubMenuBg:i,calc:a.calc,popupBg:T}),I=Ht(w,{itemColor:l,itemHoverColor:S,groupTitleColor:v,itemSelectedColor:f,itemBg:d,popupBg:x,subMenuItemBg:p,itemActiveBg:"transparent",itemSelectedBg:m,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:b,dangerItemColor:u,dangerItemHoverColor:E,dangerItemSelectedColor:y,dangerItemActiveBg:C,dangerItemSelectedBg:g,menuSubMenuBg:p,horizontalItemSelectedColor:f,horizontalItemSelectedBg:m});return[nEe(w),JSe(w),tEe(w),h3(w,"light"),h3(I,"dark"),eEe(w),ag(w),Ho(w,"slide-up"),Ho(w,"slide-down"),Zd(w,"zoom-big")]},rEe,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},bZ=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:i}=e,o=c.useContext(T_),{prefixCls:s,inlineCollapsed:l,theme:u}=o,d=Jd();let p;if(!r)p=l&&!d.length&&a&&typeof a=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):c.createElement("span",{className:`${s}-title-content`},a);else{const g=c.isValidElement(a)&&a.type==="span";p=c.createElement(c.Fragment,null,Tr(r,{className:ie(c.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),g?a:c.createElement("span",{className:`${s}-title-content`},a))}const f=c.useMemo(()=>Object.assign(Object.assign({},o),{firstLevel:!1}),[o]),[m]=So("Menu");return c.createElement(T_.Provider,{value:f},c.createElement(Zb,Object.assign({},An(e,["icon"]),{title:p,popupClassName:ie(s,n,`${s}-${i||u}`),popupStyle:{zIndex:m}})))};var iEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=c.useContext(x_),a=r||{},{getPrefixCls:i,getPopupContainer:o,direction:s,menu:l}=c.useContext(lt),u=i(),{prefixCls:d,className:p,style:f,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:v,siderCollapsed:S,rootClassName:b,mode:E,selectable:y,onClick:C,overflowedIndicatorPopupClassName:T}=e,x=iEe(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=An(x,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:E});const w=Wt(function(){var z;C==null||C.apply(void 0,arguments),(z=a.onClick)===null||z===void 0||z.call(a)}),I=a.mode||E,O=y??a.selectable,k=c.useMemo(()=>S!==void 0?S:v,[v,S]),P={horizontal:{motionName:`${u}-slide-up`},inline:Td(u),other:{motionName:`${u}-zoom-big`}},M=i("menu",d||a.prefixCls),N=Hn(M),[A,D,L]=aEe(M,N,!r),$=ie(`${M}-${m}`,l==null?void 0:l.className,p),F=c.useMemo(()=>{var z,U;if(typeof g=="function"||my(g))return g||null;if(typeof a.expandIcon=="function"||my(a.expandIcon))return a.expandIcon||null;if(typeof(l==null?void 0:l.expandIcon)=="function"||my(l==null?void 0:l.expandIcon))return(l==null?void 0:l.expandIcon)||null;const j=(z=g??(a==null?void 0:a.expandIcon))!==null&&z!==void 0?z:l==null?void 0:l.expandIcon;return Tr(j,{className:ie(`${M}-submenu-expand-icon`,c.isValidElement(j)?(U=j.props)===null||U===void 0?void 0:U.className:void 0)})},[g,a==null?void 0:a.expandIcon,l==null?void 0:l.expandIcon,M]),B=c.useMemo(()=>({prefixCls:M,inlineCollapsed:k||!1,direction:s,firstLevel:!0,theme:m,mode:I,disableMenuItemTitleTooltip:h}),[M,k,s,h,m]);return A(c.createElement(x_.Provider,{value:null},c.createElement(T_.Provider,{value:B},c.createElement(ep,Object.assign({getPopupContainer:o,overflowedIndicator:c.createElement(pk,null),overflowedIndicatorPopupClassName:ie(M,`${M}-${m}`,T),mode:I,selectable:O,onClick:w},R,{inlineCollapsed:k,style:Object.assign(Object.assign({},l==null?void 0:l.style),f),className:$,prefixCls:M,direction:s,defaultMotions:P,expandIcon:F,ref:t,rootClassName:ie(b,D,a.rootClassName,L,N),_internalComponents:oEe})))))}),Go=c.forwardRef((e,t)=>{const n=c.useRef(null),r=c.useContext(Jb);return c.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var i;(i=n.current)===null||i===void 0||i.focus(a)}})),c.createElement(sEe,Object.assign({ref:n},e,r))});Go.Item=vZ;Go.SubMenu=bZ;Go.Divider=hZ;Go.ItemGroup=dk;const lEe=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},cEe=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:i,antCls:o,iconCls:s,motionDurationMid:l,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:p,colorTextDisabled:f,fontSizeIcon:m,controlPaddingHorizontal:g,colorBgElevated:h}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:m}},[`${t}-wrap`]:{position:"relative",[`${o}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomLeft, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottom, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottom, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomRight, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Lb},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, + &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Fb},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topLeft, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-top, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-top, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topRight, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Pb},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, + &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Ub},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottom, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:kb},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, + &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Bb},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-top, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:$b}}},nk(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},on(e)),{[n]:Object.assign(Object.assign({padding:p,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Bo(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${Q(u)} ${Q(g)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${Q(u)} ${Q(g)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Bo(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Q(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${Q(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down"),Kd(e,"zoom-big")]]},lEe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},Wb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),qb(e)),cEe=cn("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,i=Ht(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[sEe(i),oEe(i)]},lEe,{resetStyle:!1}),lg=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:i,trigger:o,disabled:s,dropdownRender:l,getPopupContainer:u,overlayClassName:d,rootClassName:p,overlayStyle:f,open:m,onOpenChange:g,visible:h,onVisibleChange:v,mouseEnterDelay:S=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:E=!0,placement:y="",overlay:C,transitionName:T}=e,{getPopupContainer:x,getPrefixCls:R,direction:w,dropdown:I}=c.useContext(lt);Il();const O=c.useMemo(()=>{const Z=R();return T!==void 0?T:y.includes("top")?`${Z}-slide-down`:`${Z}-slide-up`},[R,y,T]),k=c.useMemo(()=>y?y.includes("Center")?y.slice(0,y.indexOf("Center")):y:w==="rtl"?"bottomRight":"bottomLeft",[y,w]),P=R("dropdown",a),M=Zn(P),[N,A,D]=cEe(P,M),[,L]=ia(),$=c.Children.only(i),F=Tr($,{className:ie(`${P}-trigger`,{[`${P}-rtl`]:w==="rtl"},$.props.className),disabled:(t=$.props.disabled)!==null&&t!==void 0?t:s}),B=s?[]:o,z=!!(B!=null&&B.includes("contextMenu")),[U,j]=ln(!1,{value:m??h}),G=Wt(Z=>{g==null||g(Z,{source:"trigger"}),v==null||v(Z),j(Z)}),J=ie(d,p,A,D,M,I==null?void 0:I.className,{[`${P}-rtl`]:w==="rtl"}),Y=KQ({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:E,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),X=c.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(g==null||g(!1,{source:"menu"}),j(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),V=()=>{let Z;return n!=null&&n.items?Z=c.createElement(zo,Object.assign({},n)):typeof C=="function"?Z=C():Z=C,l&&(Z=l(Z)),Z=c.Children.only(typeof Z=="string"?c.createElement("span",null,Z):Z),c.createElement(vZ,{prefixCls:`${P}-menu`,rootClassName:ie(D,M),expandIcon:c.createElement("span",{className:`${P}-menu-submenu-arrow`},c.createElement($i,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:te=>{}},Z)},[H,q]=bo("Dropdown",f==null?void 0:f.zIndex);let K=c.createElement(nZ,Object.assign({alignPoint:z},An(e,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:_,visible:U,builtinPlacements:Y,arrow:!!r,overlayClassName:J,prefixCls:P,getPopupContainer:u||x,transitionName:O,trigger:B,overlay:V,placement:k,onVisibleChange:G,overlayStyle:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.style),f),{zIndex:H})}),F);return H&&(K=c.createElement(Km.Provider,{value:q},K)),N(K)};function uEe(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const dEe=ag(lg,"dropdown",e=>e,uEe),pEe=e=>c.createElement(dEe,Object.assign({},e),c.createElement("span",null));lg._InternalPanelDoNotUseOrYouWillBeFired=pEe;const Zb=e=>{let{children:t}=e;const{getPrefixCls:n}=c.useContext(lt),r=n("breadcrumb");return c.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Zb.__ANT_BREADCRUMB_SEPARATOR=!0;var fEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function bZ(e,t,n,r){if(n==null)return null;const{className:a,onClick:i}=t,o=fEe(t,["className","onClick"]),s=Object.assign(Object.assign({},Qn(o,{data:!0,aria:!0})),{onClick:i});return r!==void 0?c.createElement("a",Object.assign({},s,{className:ie(`${e}-link`,a),href:r}),n):c.createElement("span",Object.assign({},s,{className:ie(`${e}-link`,a)}),n)}function gEe(e,t){return(r,a,i,o,s)=>{if(t)return t(r,a,i,o);const l=mEe(r,a);return bZ(e,r,l,s)}}var fD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:i,dropdownProps:o,href:s}=e,u=(d=>{if(a||i){const p=Object.assign({},o);if(a){const f=a||{},{items:m}=f,g=fD(f,["items"]);p.menu=Object.assign(Object.assign({},g),{items:m==null?void 0:m.map((h,v)=>{var{key:S,title:_,label:E,path:y}=h,C=fD(h,["key","title","label","path"]);let T=E??_;return y&&(T=c.createElement("a",{href:`${s}${y}`},T)),Object.assign(Object.assign({},C),{key:S??v,label:T})})})}else i&&(p.overlay=i);return c.createElement(lg,Object.assign({placement:"bottom"},p),c.createElement("span",{className:`${t}-overlay-link`},d,c.createElement(Hb,null)))}return d})(r);return u!=null?c.createElement(c.Fragment,null,c.createElement("li",null,u),n&&c.createElement(Zb,null,n)):null},EZ=e=>{const{prefixCls:t,children:n,href:r}=e,a=fD(e,["prefixCls","children","href"]),{getPrefixCls:i}=c.useContext(lt),o=i("breadcrumb",t);return c.createElement(SZ,Object.assign({},a,{prefixCls:o}),bZ(o,a,n,r))};EZ.__ANT_BREADCRUMB_ITEM=!0;const hEe=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},on(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${Q(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Bo(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:jb}}},ak(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},an(e)),{[n]:Object.assign(Object.assign({padding:p,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Uo(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${X(u)} ${X(g)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${X(u)} ${X(g)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Uo(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${X(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${X(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Ho(e,"slide-up"),Ho(e,"slide-down"),Rd(e,"move-up"),Rd(e,"move-down"),Zd(e,"zoom-big")]]},uEe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},Xb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Kb(e)),dEe=sn("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,i=Ht(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[cEe(i),lEe(i)]},uEe,{resetStyle:!1}),dg=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:i,trigger:o,disabled:s,dropdownRender:l,getPopupContainer:u,overlayClassName:d,rootClassName:p,overlayStyle:f,open:m,onOpenChange:g,visible:h,onVisibleChange:v,mouseEnterDelay:S=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:E=!0,placement:y="",overlay:C,transitionName:T}=e,{getPopupContainer:x,getPrefixCls:R,direction:w,dropdown:I}=c.useContext(lt);Ol();const O=c.useMemo(()=>{const Z=R();return T!==void 0?T:y.includes("top")?`${Z}-slide-down`:`${Z}-slide-up`},[R,y,T]),k=c.useMemo(()=>y?y.includes("Center")?y.slice(0,y.indexOf("Center")):y:w==="rtl"?"bottomRight":"bottomLeft",[y,w]),P=R("dropdown",a),M=Hn(P),[N,A,D]=dEe(P,M),[,L]=ia(),$=c.Children.only(i),F=Tr($,{className:ie(`${P}-trigger`,{[`${P}-rtl`]:w==="rtl"},$.props.className),disabled:(t=$.props.disabled)!==null&&t!==void 0?t:s}),B=s?[]:o,z=!!(B!=null&&B.includes("contextMenu")),[U,j]=ln(!1,{value:m??h}),G=Wt(Z=>{g==null||g(Z,{source:"trigger"}),v==null||v(Z),j(Z)}),J=ie(d,p,A,D,M,I==null?void 0:I.className,{[`${P}-rtl`]:w==="rtl"}),Y=XQ({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:E,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),Q=c.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(g==null||g(!1,{source:"menu"}),j(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),V=()=>{let Z;return n!=null&&n.items?Z=c.createElement(Go,Object.assign({},n)):typeof C=="function"?Z=C():Z=C,l&&(Z=l(Z)),Z=c.Children.only(typeof Z=="string"?c.createElement("span",null,Z):Z),c.createElement(_Z,{prefixCls:`${P}-menu`,rootClassName:ie(D,M),expandIcon:c.createElement("span",{className:`${P}-menu-submenu-arrow`},c.createElement(Fi,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Q,validator:te=>{}},Z)},[H,q]=So("Dropdown",f==null?void 0:f.zIndex);let K=c.createElement(rZ,Object.assign({alignPoint:z},An(e,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:b,visible:U,builtinPlacements:Y,arrow:!!r,overlayClassName:J,prefixCls:P,getPopupContainer:u||x,transitionName:O,trigger:B,overlay:V,placement:k,onVisibleChange:G,overlayStyle:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.style),f),{zIndex:H})}),F);return H&&(K=c.createElement(Qm.Provider,{value:q},K)),N(K)};function pEe(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const fEe=og(dg,"dropdown",e=>e,pEe),mEe=e=>c.createElement(fEe,Object.assign({},e),c.createElement("span",null));dg._InternalPanelDoNotUseOrYouWillBeFired=mEe;const tS=e=>{let{children:t}=e;const{getPrefixCls:n}=c.useContext(lt),r=n("breadcrumb");return c.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};tS.__ANT_BREADCRUMB_SEPARATOR=!0;var gEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function SZ(e,t,n,r){if(n==null)return null;const{className:a,onClick:i}=t,o=gEe(t,["className","onClick"]),s=Object.assign(Object.assign({},Jn(o,{data:!0,aria:!0})),{onClick:i});return r!==void 0?c.createElement("a",Object.assign({},s,{className:ie(`${e}-link`,a),href:r}),n):c.createElement("span",Object.assign({},s,{className:ie(`${e}-link`,a)}),n)}function vEe(e,t){return(r,a,i,o,s)=>{if(t)return t(r,a,i,o);const l=hEe(r,a);return SZ(e,r,l,s)}}var mD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:i,dropdownProps:o,href:s}=e,u=(d=>{if(a||i){const p=Object.assign({},o);if(a){const f=a||{},{items:m}=f,g=mD(f,["items"]);p.menu=Object.assign(Object.assign({},g),{items:m==null?void 0:m.map((h,v)=>{var{key:S,title:b,label:E,path:y}=h,C=mD(h,["key","title","label","path"]);let T=E??b;return y&&(T=c.createElement("a",{href:`${s}${y}`},T)),Object.assign(Object.assign({},C),{key:S??v,label:T})})})}else i&&(p.overlay=i);return c.createElement(dg,Object.assign({placement:"bottom"},p),c.createElement("span",{className:`${t}-overlay-link`},d,c.createElement(Wb,null)))}return d})(r);return u!=null?c.createElement(c.Fragment,null,c.createElement("li",null,u),n&&c.createElement(tS,null,n)):null},yZ=e=>{const{prefixCls:t,children:n,href:r}=e,a=mD(e,["prefixCls","children","href"]),{getPrefixCls:i}=c.useContext(lt),o=i("breadcrumb",t);return c.createElement(EZ,Object.assign({},a,{prefixCls:o}),SZ(o,a,n,r))};yZ.__ANT_BREADCRUMB_ITEM=!0;const _Ee=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},an(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${X(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Uo(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${Q(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},vEe=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),_Ee=cn("Breadcrumb",e=>{const t=Ht(e,{});return hEe(t)},vEe);var _3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:o}=i,s=_3(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:o})})}),a}function SEe(e,t){return c.useMemo(()=>e||(t?t.map(bEe):null),[e,t])}var EEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},Zd=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:i,routes:o,items:s,children:l,itemRender:u,params:d={}}=e,p=EEe(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:f,direction:m,breadcrumb:g}=c.useContext(lt);let h;const v=f("breadcrumb",t),[S,_,E]=_Ee(v),y=SEe(s,o),C=gEe(v,u);if(y&&y.length>0){const R=[],w=s||o;h=y.map((I,O)=>{const{path:k,key:P,type:M,menu:N,overlay:A,onClick:D,className:L,separator:$,dropdownProps:F}=I,B=yEe(d,k);B!==void 0&&R.push(B);const z=P??O;if(M==="separator")return c.createElement(Zb,{key:z},$);const U={},j=O===y.length-1;N?U.menu=N:A&&(U.overlay=A);let{href:G}=I;return R.length&&B!==void 0&&(G=`#/${R.join("/")}`),c.createElement(SZ,Object.assign({key:z},U,Qn(I,{data:!0,aria:!0}),{className:L,dropdownProps:F,href:G,separator:j?"":n,onClick:D,prefixCls:v}),C(I,d,w,R,G))})}else if(l){const R=br(l).length;h=br(l).map((w,I)=>{if(!w)return w;const O=I===R-1;return Tr(w,{separator:O?"":n,key:I})})}const T=ie(v,g==null?void 0:g.className,{[`${v}-rtl`]:m==="rtl"},a,i,_,E),x=Object.assign(Object.assign({},g==null?void 0:g.style),r);return S(c.createElement("nav",Object.assign({className:T,style:x},p),c.createElement("ol",null,h)))};Zd.Item=EZ;Zd.Separator=Zb;var yZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",d="week",p="month",f="quarter",m="year",g="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var N=["th","st","nd","rd"],A=M%100;return"["+M+(N[(A-20)%10]||N[A]||N[0])+"]"}},E=function(M,N,A){var D=String(M);return!D||D.length>=N?M:""+Array(N+1-D.length).join(A)+M},y={s:E,z:function(M){var N=-M.utcOffset(),A=Math.abs(N),D=Math.floor(A/60),L=A%60;return(N<=0?"+":"-")+E(D,2,"0")+":"+E(L,2,"0")},m:function M(N,A){if(N.date()1)return M(F[0])}else{var B=N.name;T[B]=N,L=B}return!D&&L&&(C=L),L||!D&&C},I=function(M,N){if(R(M))return M.clone();var A=typeof N=="object"?N:{};return A.date=M,A.args=arguments,new k(A)},O=y;O.l=w,O.i=R,O.w=function(M,N){return I(M,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var k=function(){function M(A){this.$L=w(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[x]=!0}var N=M.prototype;return N.parse=function(A){this.$d=function(D){var L=D.date,$=D.utc;if(L===null)return new Date(NaN);if(O.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var F=L.match(v);if(F){var B=F[2]-1||0,z=(F[7]||"0").substring(0,3);return $?new Date(Date.UTC(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)):new Date(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)}}return new Date(L)}(A),this.init()},N.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},N.$utils=function(){return O},N.isValid=function(){return this.$d.toString()!==h},N.isSame=function(A,D){var L=I(A);return this.startOf(D)<=L&&L<=this.endOf(D)},N.isAfter=function(A,D){return I(A)25){var d=o(this).startOf(r).add(1,r).date(u),p=o(this).endOf(n);if(d.isBefore(p))return 1}var f=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),m=this.diff(f,n,!0);return m<0?o(this).startOf("week").week():Math.ceil(m)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(xZ);var IEe=xZ.exports;const OEe=xa(IEe);var RZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(RZ);var NEe=RZ.exports;const AEe=xa(NEe);var wZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var s=this,l=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),p==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return p}});return i.bind(this)(d)}}})})(wZ);var DEe=wZ.exports;const MEe=xa(DEe);var IZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(S){this[v]=+S}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var _=S.match(/([+-]|\d\d)/g),E=60*_[1]+(+_[2]||0);return E===0?0:_[0]==="+"?-E:E}(v)}],f=function(v){var S=l[v];return S&&(S.indexOf?S:S.s.concat(S.f))},m=function(v,S){var _,E=l.meridiem;if(E){for(var y=1;y<=24;y+=1)if(v.indexOf(E(y,0,S))>-1){_=y>12;break}}else _=v===(S?"pm":"PM");return _},g={A:[s,function(v){this.afternoon=m(v,!1)}],a:[s,function(v){this.afternoon=m(v,!0)}],Q:[a,function(v){this.month=3*(v-1)+1}],S:[a,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[i,d("day")],Do:[s,function(v){var S=l.ordinal,_=v.match(/\d+/);if(this.day=_[0],S)for(var E=1;E<=31;E+=1)S(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[o,d("week")],ww:[i,d("week")],M:[o,d("month")],MM:[i,d("month")],MMM:[s,function(v){var S=f("months"),_=(f("monthsShort")||S.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[s,function(v){var S=f("months").indexOf(v)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:p,ZZ:p};function h(v){var S,_;S=v,_=l&&l.formats;for(var E=(v=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,O,k){var P=k&&k.toUpperCase();return O||_[k]||n[k]||_[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,N,A){return N||A.slice(1)})})).match(r),y=E.length,C=0;C-1)return new Date((L==="X"?1e3:1)*D);var B=h(L)(D),z=B.year,U=B.month,j=B.day,G=B.hours,J=B.minutes,Y=B.seconds,X=B.milliseconds,V=B.zone,H=B.week,q=new Date,K=j||(z||U?1:q.getDate()),Z=z||q.getFullYear(),te=0;z&&!U||(te=U>0?U-1:q.getMonth());var se,ue=G||0,me=J||0,de=Y||0,Te=X||0;return V?new Date(Date.UTC(Z,te,K,ue,me,de,Te+60*V.offset*1e3)):$?new Date(Date.UTC(Z,te,K,ue,me,de,Te)):(se=new Date(Z,te,K,ue,me,de,Te),H&&(se=F(se).week(H).toDate()),se)}catch{return new Date("")}}(T,w,x,_),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),k&&T!=this.format(w)&&(this.$d=new Date("")),l={}}else if(w instanceof Array)for(var M=w.length,N=1;N<=M;N+=1){R[1]=w[N-1];var A=_.apply(this,R);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}N===M&&(this.$d=new Date(""))}else y.call(this,C)}}})})(IZ);var LEe=IZ.exports;const kEe=xa(LEe);Fa.extend(kEe);Fa.extend(MEe);Fa.extend(xEe);Fa.extend(wEe);Fa.extend(OEe);Fa.extend(AEe);Fa.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(i){var o=(i||"").replace("Wo","wo");return r.bind(this)(o)}});var PEe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},jl=function(t){var n=PEe[t];return n||t.split("_")[0]},b3=function(){eK(!1,"Not match any format. Please help to fire a issue about this.")},$Ee={getNow:function(){return Fa()},getFixedDate:function(t){return Fa(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Fa().locale(jl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(jl(t)).weekday(0)},getWeek:function(t,n){return n.locale(jl(t)).week()},getShortWeekDays:function(t){return Fa().locale(jl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Fa().locale(jl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(jl(t)).format(r)},parse:function(t,n,r){for(var a=jl(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=c.useState([!1,!1]),a=oe(r,2),i=a[0],o=a[1],s=function(d,p){o(function(f){return Cf(f,p,d)})},l=c.useMemo(function(){return i.map(function(u,d){if(u)return!0;var p=e[d];return p?!!(!n[d]&&!p||p&&t(p,{activeIndex:d})):!1})},[e,i,t,n]);return[l,s]}function kZ(e,t,n,r,a){var i="",o=[];return e&&o.push(a?"hh":"HH"),t&&o.push("mm"),n&&o.push("ss"),i=o.join(":"),r&&(i+=".SSS"),a&&(i+=" A"),i}function BEe(e,t,n,r,a,i){var o=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,p=e.fieldWeekFormat,f=e.fieldQuarterFormat,m=e.yearFormat,g=e.cellYearFormat,h=e.cellQuarterFormat,v=e.dayFormat,S=e.cellDateFormat,_=kZ(t,n,r,a,i);return ee(ee({},e),{},{fieldDateTimeFormat:o||"YYYY-MM-DD ".concat(_),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||_,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:p||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:m||"YYYY",cellYearFormat:g||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:S||v||"D"})}function PZ(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,i=t.showMillisecond,o=t.use12Hours;return ce.useMemo(function(){return BEe(e,n,r,a,i,o)},[e,n,r,a,i,o])}function $p(e,t,n){return n??t.some(function(r){return e.includes(r)})}var UEe=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function jEe(e){var t=eS(e,UEe),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=gt(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function zEe(e){return e&&typeof e=="string"}function $Z(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function FZ(e,t,n,r,a){var i=t,o=n,s=r;if(!e&&!i&&!o&&!s&&!a)i=!0,o=!0,s=!0;else if(e){var l,u,d,p=[i,o,s].some(function(g){return g===!1}),f=[i,o,s].some(function(g){return g===!0}),m=p?!0:!f;i=(l=i)!==null&&l!==void 0?l:m,o=(u=o)!==null&&u!==void 0?u:m,s=(d=s)!==null&&d!==void 0?d:m}return[i,o,s,a]}function BZ(e){var t=e.showTime,n=jEe(e),r=oe(n,2),a=r[0],i=r[1],o=t&>(t)==="object"?t:{},s=ee(ee({defaultOpenValue:o.defaultOpenValue||o.defaultValue},a),o),l=s.showMillisecond,u=s.showHour,d=s.showMinute,p=s.showSecond,f=$Z(u,d,p,l),m=FZ(f,u,d,p,l),g=oe(m,3);return u=g[0],d=g[1],p=g[2],[s,ee(ee({},s),{},{showHour:u,showMinute:d,showSecond:p,showMillisecond:l}),s.format,i]}function UZ(e,t,n,r,a){var i=e==="time";if(e==="datetime"||i){for(var o=r,s=AZ(e,a,null),l=s,u=[t,n],d=0;d1&&(o=t.addDate(o,-7)),o}function zr(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function y_(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(o,s){n?r=e[o](r,e[a[s]](n)):r=e[o](r,0)}),r}function qEe(e,t,n,r,a){var i=Wt(function(o,s){return!!(n&&n(o,s)||r&&e.isAfter(r,o)&&!ba(e,t,r,o,s.type)||a&&e.isAfter(o,a)&&!ba(e,t,a,o,s.type))});return i}function WEe(e,t,n){return c.useMemo(function(){var r=AZ(e,t,n),a=jc(r),i=a[0],o=gt(i)==="object"&&i.type==="mask"?i.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),o]},[e,t,n])}function YEe(e,t,n){return typeof e[0]=="function"||n?!0:t}function KEe(e,t,n,r){var a=Wt(function(i,o){var s=ee({type:t},o);if(delete s.activeIndex,!e.isValidate(i)||n&&n(i,s))return!0;if((t==="date"||t==="time")&&r){var l,u=o&&o.activeIndex===1?"end":"start",d=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,i,u,{from:s.from}))||{},p=d.disabledHours,f=d.disabledMinutes,m=d.disabledSeconds,g=d.disabledMilliseconds,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,_=p||h,E=f||v,y=m||S,C=e.getHour(i),T=e.getMinute(i),x=e.getSecond(i),R=e.getMillisecond(i);if(_&&_().includes(C)||E&&E(C).includes(T)||y&&y(C,T).includes(x)||g&&g(C,T,x).includes(R))return!0}return!1});return a}function gh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=c.useMemo(function(){var r=e&&jc(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function HZ(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,i=a===void 0?"date":a,o=e.prefixCls,s=o===void 0?"rc-picker":o,l=e.styles,u=l===void 0?{}:l,d=e.classNames,p=d===void 0?{}:d,f=e.order,m=f===void 0?!0:f,g=e.components,h=g===void 0?{}:g,v=e.inputRender,S=e.allowClear,_=e.clearIcon,E=e.needConfirm,y=e.multiple,C=e.format,T=e.inputReadOnly,x=e.disabledDate,R=e.minDate,w=e.maxDate,I=e.showTime,O=e.value,k=e.defaultValue,P=e.pickerValue,M=e.defaultPickerValue,N=gh(O),A=gh(k),D=gh(P),L=gh(M),$=i==="date"&&I?"datetime":i,F=$==="time"||$==="datetime",B=F||y,z=E??F,U=BZ(e),j=oe(U,4),G=j[0],J=j[1],Y=j[2],X=j[3],V=PZ(r,J),H=c.useMemo(function(){return UZ($,Y,X,G,V)},[$,Y,X,G,V]),q=c.useMemo(function(){return ee(ee({},e),{},{prefixCls:s,locale:V,picker:i,styles:u,classNames:p,order:m,components:ee({input:v},h),clearIcon:HEe(s,S,_),showTime:H,value:N,defaultValue:A,pickerValue:D,defaultPickerValue:L},t==null?void 0:t())},[e]),K=WEe($,V,C),Z=oe(K,2),te=Z[0],se=Z[1],ue=YEe(te,T,y),me=qEe(n,r,x,R,w),de=KEe(n,i,me,H),Te=c.useMemo(function(){return ee(ee({},q),{},{needConfirm:z,inputReadOnly:ue,disabledDate:me})},[q,z,ue,me]);return[Te,$,B,te,se,de]}function XEe(e,t,n){var r=ln(t,{value:e}),a=oe(r,2),i=a[0],o=a[1],s=ce.useRef(e),l=ce.useRef(),u=function(){Gt.cancel(l.current)},d=Wt(function(){o(s.current),n&&i!==s.current&&n(s.current)}),p=Wt(function(f,m){u(),s.current=f,f||m?d():l.current=Gt(d)});return ce.useEffect(function(){return u},[]),[i,p]}function GZ(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(d){return d})?!1:e,i=XEe(a,t||!1,r),o=oe(i,2),s=o[0],l=o[1];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!p.inherit||s)&&l(d,p.force)}return[s,u]}function VZ(e){var t=c.useRef();return c.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var i;(i=t.current)===null||i===void 0||i.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function qZ(e,t){return c.useMemo(function(){return e||(t?(bn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=oe(n,2),a=r[0],i=r[1];return{label:a,value:i}})):[])},[e,t])}function gk(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=c.useRef(t);r.current=t,pc(function(){if(e)r.current(e);else{var a=Gt(function(){r.current(e)},n);return function(){Gt.cancel(a)}}},[e])}function WZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=c.useState(0),a=oe(r,2),i=a[0],o=a[1],s=c.useState(!1),l=oe(s,2),u=l[0],d=l[1],p=c.useRef([]),f=c.useRef(null),m=function(S){d(S)},g=function(S){return S&&(f.current=S),f.current},h=function(S){var _=p.current,E=new Set(_.filter(function(C){return S[C]||t[C]})),y=_[_.length-1]===0?1:0;return E.size>=2||e[y]?null:y};return gk(u||n,function(){u||(p.current=[])}),c.useEffect(function(){u&&p.current.push(i)},[u,i]),[u,m,g,i,o,h,p.current]}function QEe(e,t,n,r,a,i){var o=n[n.length-1],s=function(u,d){var p=oe(e,2),f=p[0],m=p[1],g=ee(ee({},d),{},{from:DZ(e,n)});return o===1&&t[0]&&f&&!ba(r,a,f,u,g.type)&&r.isAfter(f,u)||o===0&&t[1]&&m&&!ba(r,a,m,u,g.type)&&r.isAfter(u,m)?!0:i==null?void 0:i(u,g)};return s}function Zp(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var fy=[];function YZ(e,t,n,r,a,i,o,s){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:fy,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:fy,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:fy,p=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,m=arguments.length>13?arguments[13]:void 0,g=o==="time",h=i||0,v=function(D){var L=e.getNow();return g&&(L=y_(e,L)),l[D]||n[D]||L},S=oe(u,2),_=S[0],E=S[1],y=ln(function(){return v(0)},{value:_}),C=oe(y,2),T=C[0],x=C[1],R=ln(function(){return v(1)},{value:E}),w=oe(R,2),I=w[0],O=w[1],k=c.useMemo(function(){var A=[T,I][h];return g?A:y_(e,A,d[h])},[g,T,I,h,e,d]),P=function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",$=[x,O][h];$(D);var F=[T,I];F[h]=D,p&&(!ba(e,t,T,F[0],o)||!ba(e,t,I,F[1],o))&&p(F,{source:L,range:h===1?"end":"start",mode:r})},M=function(D,L){if(s){var $={date:"month",week:"month",month:"year",quarter:"year"},F=$[o];if(F&&!ba(e,t,D,L,F))return Zp(e,o,L,-1);if(o==="year"&&D){var B=Math.floor(e.getYear(D)/10),z=Math.floor(e.getYear(L)/10);if(B!==z)return Zp(e,o,L,-1)}}return L},N=c.useRef(null);return Qt(function(){if(a&&!l[h]){var A=g?null:e.getNow();if(N.current!==null&&N.current!==h?A=[T,I][h^1]:n[h]?A=h===0?n[0]:M(n[0],n[1]):n[h^1]&&(A=n[h^1]),A){f&&e.isAfter(f,A)&&(A=f);var D=s?Zp(e,o,A,1):A;m&&e.isAfter(D,m)&&(A=s?Zp(e,o,m,-1):m),P(A,"reset")}}},[a,h,n[h]]),c.useEffect(function(){a?N.current=h:N.current=null},[a,h]),Qt(function(){a&&l&&l[h]&&P(l[h],"reset")},[a,h]),[k,P]}function KZ(e,t){var n=c.useRef(e),r=c.useState({}),a=oe(r,2),i=a[1],o=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,i({})};return[o,s,o(!0)]}var ZEe=[];function XZ(e,t,n){var r=function(o){return o.map(function(s){return zr(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(o,s){for(var l=Math.max(o.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,l=e;l<=t;l+=s){var u=a.includes(l);(!u||!r)&&o.push({label:dk(l,i),value:l,disabled:u})}return o}function hk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,i=r.hourStep,o=i===void 0?1:i,s=r.minuteStep,l=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,p=r.millisecondStep,f=p===void 0?100:p,m=r.hideDisabledOptions,g=r.disabledTime,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,_=c.useMemo(function(){return n||e.getNow()},[n,e]),E=c.useCallback(function(L){var $=(g==null?void 0:g(L))||{};return[$.disabledHours||h||hh,$.disabledMinutes||v||hh,$.disabledSeconds||S||hh,$.disabledMilliseconds||hh]},[g,h,v,S]),y=c.useMemo(function(){return E(_)},[_,E]),C=oe(y,4),T=C[0],x=C[1],R=C[2],w=C[3],I=c.useCallback(function(L,$,F,B){var z=vh(0,23,o,m,L()),U=a?z.map(function(Y){return ee(ee({},Y),{},{label:dk(Y.value%12||12,2)})}):z,j=function(X){return vh(0,59,l,m,$(X))},G=function(X,V){return vh(0,59,d,m,F(X,V))},J=function(X,V,H){return vh(0,999,f,m,B(X,V,H),3)};return[U,j,G,J]},[m,o,a,f,l,d]),O=c.useMemo(function(){return I(T,x,R,w)},[I,T,x,R,w]),k=oe(O,4),P=k[0],M=k[1],N=k[2],A=k[3],D=function($,F){var B=function(){return P},z=M,U=N,j=A;if(F){var G=E(F),J=oe(G,4),Y=J[0],X=J[1],V=J[2],H=J[3],q=I(Y,X,V,H),K=oe(q,4),Z=K[0],te=K[1],se=K[2],ue=K[3];B=function(){return Z},z=te,U=se,j=ue}var me=eye($,B,z,U,j,e);return me};return[D,P,M,N,A]}function tye(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,i=e.showTime,o=e.onSubmit,s=e.onNow,l=e.invalid,u=e.needConfirm,d=e.generateConfig,p=e.disabledDate,f=c.useContext(So),m=f.prefixCls,g=f.locale,h=f.button,v=h===void 0?"button":h,S=d.getNow(),_=hk(d,i,S),E=oe(_,1),y=E[0],C=r==null?void 0:r(t),T=p(S,{type:t}),x=function(){if(!T){var M=y(S);s(M)}},R="".concat(m,"-now"),w="".concat(R,"-btn"),I=a&&c.createElement("li",{className:R},c.createElement("a",{className:ie(w,T&&"".concat(w,"-disabled")),"aria-disabled":T,onClick:x},n==="date"?g.today:g.now)),O=u&&c.createElement("li",{className:"".concat(m,"-ok")},c.createElement(v,{disabled:l,onClick:o},g.ok)),k=(I||O)&&c.createElement("ul",{className:"".concat(m,"-ranges")},I,O);return!C&&!k?null:c.createElement("div",{className:"".concat(m,"-footer")},C&&c.createElement("div",{className:"".concat(m,"-footer-extra")},C),k)}function tJ(e,t,n){function r(a,i){var o=a.findIndex(function(l){return ba(e,t,l,i,n)});if(o===-1)return[].concat($e(a),[i]);var s=$e(a);return s.splice(o,1),s}return r}var zc=c.createContext(null);function nS(){return c.useContext(zc)}function Jd(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,i=e.disabledDate,o=e.minDate,s=e.maxDate,l=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,p=e.onHover,f=e.values,m=e.pickerValue,g=e.onSelect,h=e.prevIcon,v=e.nextIcon,S=e.superPrevIcon,_=e.superNextIcon,E=r.getNow(),y={now:E,values:f,pickerValue:m,prefixCls:n,disabledDate:i,minDate:o,maxDate:s,cellRender:l,hoverValue:u,hoverRangeValue:d,onHover:p,locale:a,generateConfig:r,onSelect:g,panelType:t,prevIcon:h,nextIcon:v,superPrevIcon:S,superNextIcon:_};return[y,E]}var cl=c.createContext({});function cg(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,i=e.prefixColumn,o=e.rowClassName,s=e.titleFormat,l=e.getCellText,u=e.getCellClassName,d=e.headerCells,p=e.cellSelection,f=p===void 0?!0:p,m=e.disabledDate,g=nS(),h=g.prefixCls,v=g.panelType,S=g.now,_=g.disabledDate,E=g.cellRender,y=g.onHover,C=g.hoverValue,T=g.hoverRangeValue,x=g.generateConfig,R=g.values,w=g.locale,I=g.onSelect,O=m||_,k="".concat(h,"-cell"),P=c.useContext(cl),M=P.onCellDblClick,N=function(U){return R.some(function(j){return j&&ba(x,w,U,j,v)})},A=[],D=0;D1&&arguments[1]!==void 0?arguments[1]:!1;re(Ne),v==null||v(Ne),Ie&&ne(Ne)},le=function(Ne,Ie){V(Ne),Ie&&ae(Ie),ne(Ie,Ne)},pe=function(Ne){if(de(Ne),ae(Ne),X!==y){var Ie=["decade","year"],xe=[].concat(Ie,["month"]),ke={quarter:[].concat(Ie,["quarter"]),week:[].concat($e(xe),["week"]),date:[].concat($e(xe),["date"])},rt=ke[y]||xe,Me=rt.indexOf(X),Ce=rt[Me+1];Ce&&le(Ce,Ne)}},Re=c.useMemo(function(){var be,Ne;if(Array.isArray(x)){var Ie=oe(x,2);be=Ie[0],Ne=Ie[1]}else be=x;return!be&&!Ne?null:(be=be||Ne,Ne=Ne||be,a.isAfter(be,Ne)?[Ne,be]:[be,Ne])},[x,a]),Se=pk(R,w,I),Pe=k[H]||pye[H]||rS,fe=c.useContext(cl),ve=c.useMemo(function(){return ee(ee({},fe),{},{hideHeader:P})},[fe,P]),Ae="".concat(M,"-panel"),ye=eS(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return c.createElement(cl.Provider,{value:ve},c.createElement("div",{ref:N,tabIndex:l,className:ie(Ae,W({},"".concat(Ae,"-rtl"),i==="rtl"))},c.createElement(Pe,_e({},ye,{showTime:j,prefixCls:M,locale:z,generateConfig:a,onModeChange:le,pickerValue:ge,onPickerValueChange:function(Ne){ae(Ne,!0)},value:ue[0],onSelect:pe,values:ue,cellRender:Se,hoverRangeValue:Re,hoverValue:T}))))}var my=c.memo(c.forwardRef(fye));function mye(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,i=e.needConfirm,o=e.onSubmit,s=e.range,l=e.hoverValue,u=c.useContext(So),d=u.prefixCls,p=u.generateConfig,f=c.useCallback(function(_,E){return Zp(p,t,_,E)},[p,t]),m=c.useMemo(function(){return f(r,1)},[r,f]),g=function(E){a(f(E,-1))},h={onCellDblClick:function(){i&&o()}},v=t==="time",S=ee(ee({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return s?S.hoverRangeValue=l:S.hoverValue=l,n?c.createElement("div",{className:"".concat(d,"-panels")},c.createElement(cl.Provider,{value:ee(ee({},h),{},{hideNext:!0})},c.createElement(my,S)),c.createElement(cl.Provider,{value:ee(ee({},h),{},{hidePrev:!0})},c.createElement(my,_e({},S,{pickerValue:m,onPickerValueChange:g})))):c.createElement(cl.Provider,{value:ee({},h)},c.createElement(my,S))}function E3(e){return typeof e=="function"?e():e}function gye(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?c.createElement("div",{className:"".concat(t,"-presets")},c.createElement("ul",null,n.map(function(i,o){var s=i.label,l=i.value;return c.createElement("li",{key:o,onClick:function(){r(E3(l))},onMouseEnter:function(){a(E3(l))},onMouseLeave:function(){a(null)}},s)}))):null}function rJ(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,i=e.range,o=e.multiple,s=e.activeOffset,l=s===void 0?0:s,u=e.placement,d=e.presets,p=e.onPresetHover,f=e.onPresetSubmit,m=e.onFocus,g=e.onBlur,h=e.onPanelMouseDown,v=e.direction,S=e.value,_=e.onSelect,E=e.isInvalid,y=e.defaultOpenValue,C=e.onOk,T=e.onSubmit,x=c.useContext(So),R=x.prefixCls,w="".concat(R,"-panel"),I=v==="rtl",O=c.useRef(null),k=c.useRef(null),P=c.useState(0),M=oe(P,2),N=M[0],A=M[1],D=c.useState(0),L=oe(D,2),$=L[0],F=L[1],B=function(me){me.offsetWidth&&A(me.offsetWidth)};c.useEffect(function(){if(i){var ue,me=((ue=O.current)===null||ue===void 0?void 0:ue.offsetWidth)||0,de=N-me;l<=de?F(0):F(l+me-N)}},[N,l,i]);function z(ue){return ue.filter(function(me){return me})}var U=c.useMemo(function(){return z(jc(S))},[S]),j=r==="time"&&!U.length,G=c.useMemo(function(){return j?z([y]):U},[j,U,y]),J=j?y:U,Y=c.useMemo(function(){return G.length?G.some(function(ue){return E(ue)}):!0},[G,E]),X=function(){j&&_(y),C(),T()},V=c.createElement("div",{className:"".concat(R,"-panel-layout")},c.createElement(gye,{prefixCls:R,presets:d,onClick:f,onHover:p}),c.createElement("div",null,c.createElement(mye,_e({},e,{value:J})),c.createElement(tye,_e({},e,{showNow:o?!1:a,invalid:Y,onSubmit:X}))));t&&(V=t(V));var H="".concat(w,"-container"),q="marginLeft",K="marginRight",Z=c.createElement("div",{onMouseDown:h,tabIndex:-1,className:ie(H,"".concat(R,"-").concat(n,"-panel-container")),style:W(W({},I?K:q,$),I?q:K,"auto"),onFocus:m,onBlur:g},V);if(i){var te=Jb(u,I),se=OZ(te,I);Z=c.createElement("div",{onMouseDown:h,ref:k,className:ie("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(r,"-range-wrapper"))},c.createElement("div",{ref:O,className:"".concat(R,"-range-arrow"),style:W({},se,l)}),c.createElement(da,{onResize:B},Z))}return Z}function aJ(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,i=e.locale,o=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,u=e["aria-required"],d=e.onSubmit,p=e.onFocus,f=e.onBlur,m=e.onInputChange,g=e.onInvalid,h=e.open,v=e.onOpenChange,S=e.onKeyDown,_=e.onChange,E=e.activeHelp,y=e.name,C=e.autoComplete,T=e.id,x=e.value,R=e.invalid,w=e.placeholder,I=e.disabled,O=e.activeIndex,k=e.allHelp,P=e.picker,M=function(z,U){var j=a.locale.parse(i.locale,z,[U]);return j&&a.isValidate(j)?j:null},N=n[0],A=c.useCallback(function(B){return zr(B,{locale:i,format:N,generateConfig:a})},[i,a,N]),D=c.useMemo(function(){return x.map(A)},[x,A]),L=c.useMemo(function(){var B=P==="time"?8:10,z=typeof N=="function"?N(a.getNow()).length:N.length;return Math.max(B,z)+2},[N,P,a]),$=function(z){for(var U=0;U=s&&n<=l)return i;var u=Math.min(Math.abs(n-s),Math.abs(n-l));u0?Xe:Be));var We=pt+Ye,Ve=Be-Xe+1;return String(Xe+(Ve+We-Xe)%Ve)};switch(Ne){case"Backspace":case"Delete":Ie="",xe=rt;break;case"ArrowLeft":Ie="",Me(-1);break;case"ArrowRight":Ie="",Me(1);break;case"ArrowUp":Ie="",xe=Ce(1);break;case"ArrowDown":Ie="",xe=Ce(-1);break;default:isNaN(Number(Ne))||(Ie=B+Ne,xe=Ie);break}if(Ie!==null&&(z(Ie),Ie.length>=ke&&(Me(1),z(""))),xe!==null){var De=q.slice(0,me)+dk(xe,ke)+q.slice(de);Ee(De.slice(0,o.length))}H({})},ve=c.useRef();Qt(function(){if(!(!P||!o||ne.current)){if(!te.match(q)){Ee(o);return}return Z.current.setSelectionRange(me,de),ve.current=Gt(function(){Z.current.setSelectionRange(me,de)}),function(){Gt.cancel(ve.current)}}},[te,o,P,q,G,me,de,V,Ee]);var Ae=o?{onFocus:pe,onBlur:Se,onKeyDown:fe,onMouseDown:ae,onMouseUp:le,onPaste:re}:{};return c.createElement("div",{ref:K,className:ie(I,W(W({},"".concat(I,"-active"),n&&a),"".concat(I,"-placeholder"),u))},c.createElement(w,_e({ref:Z,"aria-invalid":h,autoComplete:"off"},S,{onKeyDown:Pe,onBlur:Re},Ae,{value:q,onChange:ge})),c.createElement(aS,{type:"suffix",icon:i}),v)}),yye=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],Cye=["index"];function Tye(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,i=e.separator,o=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,p=e.style,f=e.onClick,m=e.onClear,g=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,v=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var _=e.onActiveOffset,E=e.placement,y=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,T=Et(e,yye),x=S==="rtl",R=c.useContext(So),w=R.prefixCls,I=c.useMemo(function(){if(typeof n=="string")return[n];var q=n||{};return[q.start,q.end]},[n]),O=c.useRef(),k=c.useRef(),P=c.useRef(),M=function(K){var Z;return(Z=[k,P][K])===null||Z===void 0?void 0:Z.current};c.useImperativeHandle(t,function(){return{nativeElement:O.current,focus:function(K){if(gt(K)==="object"){var Z,te=K||{},se=te.index,ue=se===void 0?0:se,me=Et(te,Cye);(Z=M(ue))===null||Z===void 0||Z.focus(me)}else{var de;(de=M(K??0))===null||de===void 0||de.focus()}},blur:function(){var K,Z;(K=M(0))===null||K===void 0||K.blur(),(Z=M(1))===null||Z===void 0||Z.blur()}}});var N=iJ(T),A=c.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),D=aJ(ee(ee({},e),{},{id:I,placeholder:A})),L=oe(D,1),$=L[0],F=Jb(E,x),B=OZ(F,x),z=F==null?void 0:F.toLowerCase().endsWith("right"),U=c.useState({position:"absolute",width:0}),j=oe(U,2),G=j[0],J=j[1],Y=Wt(function(){var q=M(s);if(q){var K=q.nativeElement,Z=K.offsetWidth,te=K.offsetLeft,se=K.offsetParent,ue=(se==null?void 0:se.offsetWidth)||0,me=z?ue-Z-te:te;J(function(de){return ee(ee({},de),{},W({width:Z},B,me))}),_(me)}});c.useEffect(function(){Y()},[s]);var X=r&&(g[0]&&!h[0]||g[1]&&!h[1]),V=C&&!h[0],H=C&&!V&&!h[1];return c.createElement(da,{onResize:Y},c.createElement("div",_e({},N,{className:ie(w,"".concat(w,"-range"),W(W(W(W({},"".concat(w,"-focused"),l),"".concat(w,"-disabled"),h.every(function(q){return q})),"".concat(w,"-invalid"),v.some(function(q){return q})),"".concat(w,"-rtl"),x),d),style:p,ref:O,onClick:f,onMouseDown:function(K){var Z=K.target;Z!==k.current.inputElement&&Z!==P.current.inputElement&&K.preventDefault(),y==null||y(K)}}),c.createElement(hD,_e({ref:k},$(0),{autoFocus:V,"date-range":"start"})),c.createElement("div",{className:"".concat(w,"-range-separator")},o),c.createElement(hD,_e({ref:P},$(1),{autoFocus:H,"date-range":"end"})),c.createElement("div",{className:"".concat(w,"-active-bar"),style:G}),c.createElement(aS,{type:"suffix",icon:a}),X&&c.createElement(gD,{icon:r,onClear:m})))}var xye=c.forwardRef(Tye);function C3(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function bh(e){return e===1?"end":"start"}function Rye(e,t){var n=HZ(e,function(){var zt=e.disabled,Ft=e.allowEmpty,ut=C3(zt,!1),Pt=C3(Ft,!1);return{disabled:ut,allowEmpty:Pt}}),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a.prefixCls,p=a.styles,f=a.classNames,m=a.placement,g=a.defaultValue,h=a.value,v=a.needConfirm,S=a.onKeyDown,_=a.disabled,E=a.allowEmpty,y=a.disabledDate,C=a.minDate,T=a.maxDate,x=a.defaultOpen,R=a.open,w=a.onOpenChange,I=a.locale,O=a.generateConfig,k=a.picker,P=a.showNow,M=a.showToday,N=a.showTime,A=a.mode,D=a.onPanelChange,L=a.onCalendarChange,$=a.onOk,F=a.defaultPickerValue,B=a.pickerValue,z=a.onPickerValueChange,U=a.inputReadOnly,j=a.suffixIcon,G=a.onFocus,J=a.onBlur,Y=a.presets,X=a.ranges,V=a.components,H=a.cellRender,q=a.dateRender,K=a.monthCellRender,Z=a.onClick,te=VZ(t),se=GZ(R,x,_,w),ue=oe(se,2),me=ue[0],de=ue[1],Te=function(Ft,ut){(_.some(function(Pt){return!Pt})||!Ft)&&de(Ft,ut)},Ee=ZZ(O,I,s,!0,!1,g,h,L,$),ge=oe(Ee,5),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ge[4],Re=ae(),Se=WZ(_,E,me),Pe=oe(Se,7),fe=Pe[0],ve=Pe[1],Ae=Pe[2],ye=Pe[3],be=Pe[4],Ne=Pe[5],Ie=Pe[6],xe=function(Ft,ut){ve(!0),G==null||G(Ft,{range:bh(ut??ye)})},ke=function(Ft,ut){ve(!1),J==null||J(Ft,{range:bh(ut??ye)})},rt=c.useMemo(function(){if(!N)return null;var zt=N.disabledTime,Ft=zt?function(ut){var Pt=bh(ye),mn=DZ(Re,Ie,ye);return zt(ut,Pt,{from:mn})}:void 0;return ee(ee({},N),{},{disabledTime:Ft})},[N,ye,Re,Ie]),Me=ln([k,k],{value:A}),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=De[ye]||k,He=Ye==="date"&&rt?"datetime":Ye,ze=He===k&&He!=="time",Xe=eJ(k,Ye,P,M,!0),Be=JZ(a,re,ne,ae,le,_,s,fe,me,u),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=QEe(Re,_,Ie,O,I,y),Ve=LZ(Re,u,E),Ze=oe(Ve,2),dt=Ze[0],It=Ze[1],Nt=YZ(O,I,Re,De,me,ye,i,ze,F,B,rt==null?void 0:rt.defaultOpenValue,z,C,T),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(zt,Ft,ut){var Pt=Cf(De,ye,Ft);if((Pt[0]!==De[0]||Pt[1]!==De[1])&&Ue(Pt),D&&ut!==!1){var mn=$e(Re);zt&&(mn[ye]=zt),D(mn,Pt)}}),vt=function(Ft,ut){return Cf(Re,ut,Ft)},nt=function(Ft,ut){var Pt=Re;Ft&&(Pt=vt(Ft,ye));var mn=Ne(Pt);le(Pt),mt(ye,mn===null),mn===null?Te(!1,{force:!0}):ut||te.current.focus({index:mn})},bt=function(Ft){var ut,Pt=Ft.target.getRootNode();if(!te.current.nativeElement.contains((ut=Pt.activeElement)!==null&&ut!==void 0?ut:document.activeElement)){var mn=_.findIndex(function(pr){return!pr});mn>=0&&te.current.focus({index:mn})}Te(!0),Z==null||Z(Ft)},Ct=function(){pt(null),Te(!1,{force:!0})},tt=c.useState(null),it=oe(tt,2),Ke=it[0],qe=it[1],_t=c.useState(null),xt=oe(_t,2),kt=xt[0],tn=xt[1],nn=c.useMemo(function(){return kt||Re},[Re,kt]);c.useEffect(function(){me||tn(null)},[me]);var rn=c.useState(0),Vt=oe(rn,2),yt=Vt[0],Ot=Vt[1],Mt=qZ(Y,X),En=function(Ft){tn(Ft),qe("preset")},Hn=function(Ft){var ut=pt(Ft);ut&&Te(!1,{force:!0})},lr=function(Ft){nt(Ft)},tr=function(Ft){tn(Ft?vt(Ft,ye):null),qe("cell")},Rr=function(Ft){Te(!0),xe(Ft)},wr=function(){Ae("panel")},Gn=function(Ft){var ut=Cf(Re,ye,Ft);le(ut),!v&&!o&&i===He&&nt(Ft)},Yt=function(){Te(!1)},Bt=pk(H,q,K,bh(ye)),qt=Re[ye]||null,Ut=Wt(function(zt){return u(zt,{activeIndex:ye})}),jt=c.useMemo(function(){var zt=Qn(a,!1),Ft=An(a,[].concat($e(Object.keys(zt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Ft},[a]),St=c.createElement(rJ,_e({},jt,{showNow:Xe,showTime:rt,range:!0,multiplePanel:ze,activeOffset:yt,placement:m,disabledDate:We,onFocus:Rr,onBlur:ke,onPanelMouseDown:wr,picker:k,mode:Ye,internalMode:He,onPanelChange:et,format:l,value:qt,isInvalid:Ut,onChange:null,onSelect:Gn,pickerValue:ct,defaultOpenValue:jc(N==null?void 0:N.defaultOpenValue)[ye],onPickerValueChange:ot,hoverValue:nn,onHover:tr,needConfirm:v,onSubmit:nt,onOk:pe,presets:Mt,onPresetHover:En,onPresetSubmit:Hn,onNow:lr,cellRender:Bt})),Tt=function(Ft,ut){var Pt=vt(Ft,ut);le(Pt)},sn=function(){Ae("input")},yn=function(Ft,ut){Ae("input"),Te(!0,{inherit:!0}),ye!==ut&&me&&!v&&o&&nt(null,!0),be(ut),xe(Ft,ut)},nr=function(Ft,ut){if(Te(!1),!v&&Ae()==="input"){var Pt=Ne(Re);mt(ye,Pt===null)}ke(Ft,ut)},cr=function(Ft,ut){Ft.key==="Tab"&&nt(null,!0),S==null||S(Ft,ut)},vr=c.useMemo(function(){return{prefixCls:d,locale:I,generateConfig:O,button:V.button,input:V.input}},[d,I,O,V.button,V.input]);return Qt(function(){me&&ye!==void 0&&et(null,k,!1)},[me,ye,k]),Qt(function(){var zt=Ae();!me&&zt==="input"&&(Te(!1),nt(null,!0)),!me&&o&&!v&&zt==="panel"&&(Te(!0),nt())},[me]),c.createElement(So.Provider,{value:vr},c.createElement(NZ,_e({},MZ(a),{popupElement:St,popupStyle:p.popup,popupClassName:f.popup,visible:me,onClose:Yt,range:!0}),c.createElement(xye,_e({},a,{ref:te,suffixIcon:j,activeIndex:fe||me?ye:null,activeHelp:!!kt,allHelp:!!kt&&Ke==="preset",focused:fe,onFocus:yn,onBlur:nr,onKeyDown:cr,onSubmit:nt,value:nn,maskFormat:l,onChange:Tt,onInputChange:sn,format:s,inputReadOnly:U,disabled:_,open:me,onOpenChange:Te,onClick:bt,onClear:Ct,invalid:dt,onInvalid:It,onActiveOffset:Ot}))))}var wye=c.forwardRef(Rye);function Iye(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,i=a===void 0?"×":a,o=e.formatDate,s=e.disabled,l=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),p="".concat(t,"-selection"),f="".concat(p,"-overflow");function m(v,S){return c.createElement("span",{className:ie("".concat(p,"-item")),title:typeof v=="string"?v:null},c.createElement("span",{className:"".concat(p,"-item-content")},v),!s&&S&&c.createElement("span",{onMouseDown:function(E){E.preventDefault()},onClick:S,className:"".concat(p,"-item-remove")},i))}function g(v){var S=o(v),_=function(y){y&&y.stopPropagation(),r(v)};return m(S,_)}function h(v){var S="+ ".concat(v.length," ...");return m(S)}return c.createElement("div",{className:d},c.createElement(co,{prefixCls:f,data:n,renderItem:g,renderRest:h,itemKey:function(S){return o(S)},maxCount:l}),!n.length&&c.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var Oye=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Nye(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var o=e.locale,s=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,p=e.onClick,f=e.onClear,m=e.internalPicker,g=e.value,h=e.onChange,v=e.onSubmit;e.onInputChange;var S=e.multiple,_=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var E=e.disabled,y=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var T=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,R=e.removeIcon,w=Et(e,Oye),I=C==="rtl",O=c.useContext(So),k=O.prefixCls,P=c.useRef(),M=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(G){var J;(J=M.current)===null||J===void 0||J.focus(G)},blur:function(){var G;(G=M.current)===null||G===void 0||G.blur()}}});var N=iJ(w),A=function(G){h([G])},D=function(G){var J=g.filter(function(Y){return Y&&!ba(s,o,Y,G,m)});h(J),n||v()},L=aJ(ee(ee({},e),{},{onChange:A}),function(j){var G=j.valueTexts;return{value:G[0]||"",active:i}}),$=oe(L,2),F=$[0],B=$[1],z=!!(r&&g.length&&!E),U=S?c.createElement(c.Fragment,null,c.createElement(Iye,{prefixCls:k,value:g,onRemove:D,formatDate:B,maxTagCount:_,disabled:E,removeIcon:R,placeholder:l}),c.createElement("input",{className:"".concat(k,"-multiple-input"),value:g.map(B).join(","),ref:M,readOnly:!0,autoFocus:x}),c.createElement(aS,{type:"suffix",icon:a}),z&&c.createElement(gD,{icon:r,onClear:f})):c.createElement(hD,_e({ref:M},F(),{autoFocus:x,suffixIcon:a,clearIcon:z&&c.createElement(gD,{icon:r,onClear:f}),showActiveCls:!1}));return c.createElement("div",_e({},N,{className:ie(k,W(W(W(W(W({},"".concat(k,"-multiple"),S),"".concat(k,"-focused"),i),"".concat(k,"-disabled"),E),"".concat(k,"-invalid"),y),"".concat(k,"-rtl"),I),u),style:d,ref:P,onClick:p,onMouseDown:function(G){var J,Y=G.target;Y!==((J=M.current)===null||J===void 0?void 0:J.inputElement)&&G.preventDefault(),T==null||T(G)}}),U)}var Aye=c.forwardRef(Nye);function Dye(e,t){var n=HZ(e),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a,p=d.prefixCls,f=d.styles,m=d.classNames,g=d.order,h=d.defaultValue,v=d.value,S=d.needConfirm,_=d.onChange,E=d.onKeyDown,y=d.disabled,C=d.disabledDate,T=d.minDate,x=d.maxDate,R=d.defaultOpen,w=d.open,I=d.onOpenChange,O=d.locale,k=d.generateConfig,P=d.picker,M=d.showNow,N=d.showToday,A=d.showTime,D=d.mode,L=d.onPanelChange,$=d.onCalendarChange,F=d.onOk,B=d.multiple,z=d.defaultPickerValue,U=d.pickerValue,j=d.onPickerValueChange,G=d.inputReadOnly,J=d.suffixIcon,Y=d.removeIcon,X=d.onFocus,V=d.onBlur,H=d.presets,q=d.components,K=d.cellRender,Z=d.dateRender,te=d.monthCellRender,se=d.onClick,ue=VZ(t);function me(St){return St===null?null:B?St:St[0]}var de=tJ(k,O,i),Te=GZ(w,R,[y],I),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne=function(Tt,sn,yn){if($){var nr=ee({},yn);delete nr.range,$(me(Tt),me(sn),nr)}},ae=function(Tt){F==null||F(me(Tt))},le=ZZ(k,O,s,!1,g,h,v,ne,ae),pe=oe(le,5),Re=pe[0],Se=pe[1],Pe=pe[2],fe=pe[3],ve=pe[4],Ae=Pe(),ye=WZ([y]),be=oe(ye,4),Ne=be[0],Ie=be[1],xe=be[2],ke=be[3],rt=function(Tt){Ie(!0),X==null||X(Tt,{})},Me=function(Tt){Ie(!1),V==null||V(Tt,{})},Ce=ln(P,{value:D}),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=Ue==="date"&&A?"datetime":Ue,ze=eJ(P,Ue,M,N),Xe=_&&function(St,Tt){_(me(St),me(Tt))},Be=JZ(ee(ee({},a),{},{onChange:Xe}),Re,Se,Pe,fe,[],s,Ne,ge,u),Je=oe(Be,2),mt=Je[1],pt=LZ(Ae,u),We=oe(pt,2),Ve=We[0],Ze=We[1],dt=c.useMemo(function(){return Ve.some(function(St){return St})},[Ve]),It=function(Tt,sn){if(j){var yn=ee(ee({},sn),{},{mode:sn.mode[0]});delete yn.range,j(Tt[0],yn)}},Nt=YZ(k,O,Ae,[Ue],ge,ke,i,!1,z,U,jc(A==null?void 0:A.defaultOpenValue),It,T,x),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(St,Tt,sn){if(Ye(Tt),L&&sn!==!1){var yn=St||Ae[Ae.length-1];L(yn,Tt)}}),vt=function(){mt(Pe()),re(!1,{force:!0})},nt=function(Tt){!y&&!ue.current.nativeElement.contains(document.activeElement)&&ue.current.focus(),re(!0),se==null||se(Tt)},bt=function(){mt(null),re(!1,{force:!0})},Ct=c.useState(null),tt=oe(Ct,2),it=tt[0],Ke=tt[1],qe=c.useState(null),_t=oe(qe,2),xt=_t[0],kt=_t[1],tn=c.useMemo(function(){var St=[xt].concat($e(Ae)).filter(function(Tt){return Tt});return B?St:St.slice(0,1)},[Ae,xt,B]),nn=c.useMemo(function(){return!B&&xt?[xt]:Ae.filter(function(St){return St})},[Ae,xt,B]);c.useEffect(function(){ge||kt(null)},[ge]);var rn=qZ(H),Vt=function(Tt){kt(Tt),Ke("preset")},yt=function(Tt){var sn=B?de(Pe(),Tt):[Tt],yn=mt(sn);yn&&!B&&re(!1,{force:!0})},Ot=function(Tt){yt(Tt)},Mt=function(Tt){kt(Tt),Ke("cell")},En=function(Tt){re(!0),rt(Tt)},Hn=function(Tt){xe("panel");var sn=B?de(Pe(),Tt):[Tt];fe(sn),!S&&!o&&i===He&&vt()},lr=function(){re(!1)},tr=pk(K,Z,te),Rr=c.useMemo(function(){var St=Qn(a,!1),Tt=An(a,[].concat($e(Object.keys(St)),["onChange","onCalendarChange","style","className","onPanelChange"]));return ee(ee({},Tt),{},{multiple:a.multiple})},[a]),wr=c.createElement(rJ,_e({},Rr,{showNow:ze,showTime:A,disabledDate:C,onFocus:En,onBlur:Me,picker:P,mode:Ue,internalMode:He,onPanelChange:et,format:l,value:Ae,isInvalid:u,onChange:null,onSelect:Hn,pickerValue:ct,defaultOpenValue:A==null?void 0:A.defaultOpenValue,onPickerValueChange:ot,hoverValue:tn,onHover:Mt,needConfirm:S,onSubmit:vt,onOk:ve,presets:rn,onPresetHover:Vt,onPresetSubmit:yt,onNow:Ot,cellRender:tr})),Gn=function(Tt){fe(Tt)},Yt=function(){xe("input")},Bt=function(Tt){xe("input"),re(!0,{inherit:!0}),rt(Tt)},qt=function(Tt){re(!1),Me(Tt)},Ut=function(Tt,sn){Tt.key==="Tab"&&vt(),E==null||E(Tt,sn)},jt=c.useMemo(function(){return{prefixCls:p,locale:O,generateConfig:k,button:q.button,input:q.input}},[p,O,k,q.button,q.input]);return Qt(function(){ge&&ke!==void 0&&et(null,P,!1)},[ge,ke,P]),Qt(function(){var St=xe();!ge&&St==="input"&&(re(!1),vt()),!ge&&o&&!S&&St==="panel"&&(re(!0),vt())},[ge]),c.createElement(So.Provider,{value:jt},c.createElement(NZ,_e({},MZ(a),{popupElement:wr,popupStyle:f.popup,popupClassName:m.popup,visible:ge,onClose:lr}),c.createElement(Aye,_e({},a,{ref:ue,suffixIcon:J,removeIcon:Y,activeHelp:!!xt,allHelp:!!xt&&it==="preset",focused:Ne,onFocus:Bt,onBlur:qt,onKeyDown:Ut,onSubmit:vt,value:nn,maskFormat:l,onChange:Gn,onInputChange:Yt,internalPicker:i,format:s,inputReadOnly:G,disabled:y,open:ge,onOpenChange:re,onClick:nt,onClear:bt,invalid:dt,onInvalid:function(Tt){Ze(Tt,0)}}))))}var Mye=c.forwardRef(Dye);const oJ=c.createContext(null),Lye=oJ.Provider,sJ=c.createContext(null),kye=sJ.Provider;var Pye=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],lJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,i=e.style,o=e.checked,s=e.disabled,l=e.defaultChecked,u=l===void 0?!1:l,d=e.type,p=d===void 0?"checkbox":d,f=e.title,m=e.onChange,g=Et(e,Pye),h=c.useRef(null),v=c.useRef(null),S=ln(u,{value:o}),_=oe(S,2),E=_[0],y=_[1];c.useImperativeHandle(t,function(){return{focus:function(R){var w;(w=h.current)===null||w===void 0||w.focus(R)},blur:function(){var R;(R=h.current)===null||R===void 0||R.blur()},input:h.current,nativeElement:v.current}});var C=ie(r,a,W(W({},"".concat(r,"-checked"),E),"".concat(r,"-disabled"),s)),T=function(R){s||("checked"in e||y(R.target.checked),m==null||m({target:ee(ee({},e),{},{type:p,checked:R.target.checked}),stopPropagation:function(){R.stopPropagation()},preventDefault:function(){R.preventDefault()},nativeEvent:R.nativeEvent}))};return c.createElement("span",{className:C,title:f,style:i,ref:v},c.createElement("input",_e({},g,{className:"".concat(r,"-input"),ref:h,onChange:T,disabled:s,checked:!!E,type:p})),c.createElement("span",{className:"".concat(r,"-inner")}))});const $ye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},on(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Fye=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:i,motionDurationMid:o,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:p,colorTextDisabled:f,paddingXS:m,dotColorDisabled:g,lineType:h,radioColor:v,radioBgColor:S,calc:_}=e,E=`${t}-inner`,C=_(a).sub(_(4).mul(2)),T=_(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},on(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Q(d)} ${h} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${E}`]:{borderColor:r},[`${t}-input:focus-visible + ${E}`]:Object.assign({},bs(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:T,height:T,marginBlockStart:_(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:_(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:T,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:T,height:T,backgroundColor:l,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${o}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[E]:{borderColor:r,backgroundColor:S,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[E]:{backgroundColor:p,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[E]:{"&::after":{transform:`scale(${_(C).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},Bye=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:i,colorBorder:o,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:u,fontSize:d,buttonBg:p,fontSizeLG:f,controlHeightLG:m,controlHeightSM:g,paddingXS:h,borderRadius:v,borderRadiusSM:S,borderRadiusLG:_,buttonCheckedBg:E,buttonSolidCheckedColor:y,colorTextDisabled:C,colorBgContainerDisabled:T,buttonCheckedBgDisabled:x,buttonCheckedColorDisabled:R,colorPrimary:w,colorPrimaryHover:I,colorPrimaryActive:O,buttonSolidCheckedBg:k,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:M,calc:N}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:Q(N(n).sub(N(a).mul(2)).equal()),background:p,border:`${Q(a)} ${i} ${o}`,borderBlockStartWidth:N(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:N(a).mul(-1).equal(),insetInlineStart:N(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:o,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${Q(a)} ${i} ${o}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:Q(N(m).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:g,paddingInline:N(h).sub(a).equal(),paddingBlock:0,lineHeight:Q(N(g).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover":{position:"relative",color:w},"&:has(:focus-visible)":Object.assign({},bs(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:E,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:I,borderColor:I,"&::before":{backgroundColor:I}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:k,borderColor:k,"&:hover":{color:y,background:P,borderColor:P},"&:active":{color:y,background:M,borderColor:M}},"&-disabled":{color:C,backgroundColor:T,borderColor:o,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:T,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:x,borderColor:o,boxShadow:"none"}}}},Uye=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:i,colorText:o,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:p,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:g}=e,h=4,v=i,S=t?v-h*2:v-(h+a)*2;return{radioSize:v,dotSize:S,dotColorDisabled:l,buttonSolidCheckedColor:d,buttonSolidCheckedBg:p,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:l,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?p:g,radioBgColor:t?s:p}},cJ=cn("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Q(n)} ${t}`,i=Ht(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[$ye(i),Fye(i),Bye(i)]},Uye,{unitless:{radioSize:!0,dotSize:!0}});var jye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=c.useContext(oJ),i=c.useContext(sJ),{getPrefixCls:o,direction:s,radio:l}=c.useContext(lt),u=c.useRef(null),d=aa(t,u),{isFormItemInput:p}=c.useContext(Gr),f=M=>{var N,A;(N=e.onChange)===null||N===void 0||N.call(e,M),(A=a==null?void 0:a.onChange)===null||A===void 0||A.call(a,M)},{prefixCls:m,className:g,rootClassName:h,children:v,style:S,title:_}=e,E=jye(e,["prefixCls","className","rootClassName","children","style","title"]),y=o("radio",m),C=((a==null?void 0:a.optionType)||i)==="button",T=C?`${y}-button`:y,x=Zn(y),[R,w,I]=cJ(y,x),O=Object.assign({},E),k=c.useContext(ea);a&&(O.name=a.name,O.onChange=f,O.checked=e.value===a.value,O.disabled=(n=O.disabled)!==null&&n!==void 0?n:a.disabled),O.disabled=(r=O.disabled)!==null&&r!==void 0?r:k;const P=ie(`${T}-wrapper`,{[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:O.disabled,[`${T}-wrapper-rtl`]:s==="rtl",[`${T}-wrapper-in-form-item`]:p},l==null?void 0:l.className,g,h,w,I,x);return R(c.createElement(Qm,{component:"Radio",disabled:O.disabled},c.createElement("label",{className:P,style:Object.assign(Object.assign({},l==null?void 0:l.style),S),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:_},c.createElement(lJ,Object.assign({},O,{className:ie(O.className,{[Ob]:!C}),type:"radio",prefixCls:T,ref:d})),v!==void 0?c.createElement("span",null,v):null)))},C_=c.forwardRef(zye),Hye=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=c.useContext(lt),{prefixCls:a,className:i,rootClassName:o,options:s,buttonStyle:l="outline",disabled:u,children:d,size:p,style:f,id:m,optionType:g,name:h,defaultValue:v,value:S,onChange:_,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T}=e,[x,R]=ln(v,{value:S}),w=c.useCallback(F=>{const B=x,z=F.target.value;"value"in e||R(z),z!==B&&(_==null||_(F))},[x,R,_]),I=n("radio",a),O=`${I}-group`,k=Zn(I),[P,M,N]=cJ(I,k);let A=d;s&&s.length>0&&(A=s.map(F=>typeof F=="string"||typeof F=="number"?c.createElement(C_,{key:F.toString(),prefixCls:I,disabled:u,value:F,checked:x===F},F):c.createElement(C_,{key:`radio-group-value-options-${F.value}`,prefixCls:I,disabled:F.disabled||u,value:F.value,checked:x===F.value,title:F.title,style:F.style,id:F.id,required:F.required},F.label)));const D=xr(p),L=ie(O,`${O}-${l}`,{[`${O}-${D}`]:D,[`${O}-rtl`]:r==="rtl"},i,o,M,N,k),$=c.useMemo(()=>({onChange:w,value:x,disabled:u,name:h,optionType:g}),[w,x,u,h,g]);return P(c.createElement("div",Object.assign({},Qn(e,{aria:!0,data:!0}),{className:L,style:f,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T,id:m,ref:t}),c.createElement(Lye,{value:$},A)))}),Gye=c.memo(Hye);var Vye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=c.useContext(lt),{prefixCls:r}=e,a=Vye(e,["prefixCls"]),i=n("radio",r);return c.createElement(kye,{value:"button"},c.createElement(C_,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))},Wye=c.forwardRef(qye),di=C_;di.Button=Wye;di.Group=Gye;di.__ANT_RADIO=!0;function ug(e){return Ht(e,{inputAffixPadding:e.paddingXXS})}const dg=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:i,controlHeightLG:o,fontSizeLG:s,lineHeightLG:l,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:f,colorPrimaryHover:m,colorPrimary:g,controlOutlineWidth:h,controlOutline:v,colorErrorOutline:S,colorWarningOutline:_,colorBgContainer:E}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((o-s*l)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:p-a,addonBg:f,activeBorderColor:g,hoverBorderColor:m,activeShadow:`0 0 0 ${h}px ${v}`,errorActiveShadow:`0 0 0 ${h}px ${S}`,warningActiveShadow:`0 0 0 ${h}px ${_}`,hoverBg:E,activeBg:E,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},Yye=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),iS=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Yye(Ht(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),vk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),T3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},vk(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),_k=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},iS(e))}),T3(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),T3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),x3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),uJ=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},x3(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),x3(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},iS(e))}})}),bk=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},dJ=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),R3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},dJ(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Sk=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},dJ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},iS(e))}),R3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),R3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),w3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),pJ=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},w3(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),w3(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ek=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),fJ=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${Q(t)} ${Q(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},yk=e=>({padding:`${Q(e.paddingBlockSM)} ${Q(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),pg=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Q(e.paddingBlock)} ${Q(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ek(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},fJ(e)),"&-sm":Object.assign({},yk(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),mJ=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},fJ(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},yk(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Q(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Q(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Q(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${Q(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${Q(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},mo()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${X(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},bEe=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),SEe=sn("Breadcrumb",e=>{const t=Ht(e,{});return _Ee(t)},bEe);var S3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:o}=i,s=S3(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:o})})}),a}function yEe(e,t){return c.useMemo(()=>e||(t?t.map(EEe):null),[e,t])}var CEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},tp=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:i,routes:o,items:s,children:l,itemRender:u,params:d={}}=e,p=CEe(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:f,direction:m,breadcrumb:g}=c.useContext(lt);let h;const v=f("breadcrumb",t),[S,b,E]=SEe(v),y=yEe(s,o),C=vEe(v,u);if(y&&y.length>0){const R=[],w=s||o;h=y.map((I,O)=>{const{path:k,key:P,type:M,menu:N,overlay:A,onClick:D,className:L,separator:$,dropdownProps:F}=I,B=TEe(d,k);B!==void 0&&R.push(B);const z=P??O;if(M==="separator")return c.createElement(tS,{key:z},$);const U={},j=O===y.length-1;N?U.menu=N:A&&(U.overlay=A);let{href:G}=I;return R.length&&B!==void 0&&(G=`#/${R.join("/")}`),c.createElement(EZ,Object.assign({key:z},U,Jn(I,{data:!0,aria:!0}),{className:L,dropdownProps:F,href:G,separator:j?"":n,onClick:D,prefixCls:v}),C(I,d,w,R,G))})}else if(l){const R=_r(l).length;h=_r(l).map((w,I)=>{if(!w)return w;const O=I===R-1;return Tr(w,{separator:O?"":n,key:I})})}const T=ie(v,g==null?void 0:g.className,{[`${v}-rtl`]:m==="rtl"},a,i,b,E),x=Object.assign(Object.assign({},g==null?void 0:g.style),r);return S(c.createElement("nav",Object.assign({className:T,style:x},p),c.createElement("ol",null,h)))};tp.Item=yZ;tp.Separator=tS;var CZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",d="week",p="month",f="quarter",m="year",g="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var N=["th","st","nd","rd"],A=M%100;return"["+M+(N[(A-20)%10]||N[A]||N[0])+"]"}},E=function(M,N,A){var D=String(M);return!D||D.length>=N?M:""+Array(N+1-D.length).join(A)+M},y={s:E,z:function(M){var N=-M.utcOffset(),A=Math.abs(N),D=Math.floor(A/60),L=A%60;return(N<=0?"+":"-")+E(D,2,"0")+":"+E(L,2,"0")},m:function M(N,A){if(N.date()1)return M(F[0])}else{var B=N.name;T[B]=N,L=B}return!D&&L&&(C=L),L||!D&&C},I=function(M,N){if(R(M))return M.clone();var A=typeof N=="object"?N:{};return A.date=M,A.args=arguments,new k(A)},O=y;O.l=w,O.i=R,O.w=function(M,N){return I(M,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var k=function(){function M(A){this.$L=w(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[x]=!0}var N=M.prototype;return N.parse=function(A){this.$d=function(D){var L=D.date,$=D.utc;if(L===null)return new Date(NaN);if(O.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var F=L.match(v);if(F){var B=F[2]-1||0,z=(F[7]||"0").substring(0,3);return $?new Date(Date.UTC(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)):new Date(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)}}return new Date(L)}(A),this.init()},N.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},N.$utils=function(){return O},N.isValid=function(){return this.$d.toString()!==h},N.isSame=function(A,D){var L=I(A);return this.startOf(D)<=L&&L<=this.endOf(D)},N.isAfter=function(A,D){return I(A)25){var d=o(this).startOf(r).add(1,r).date(u),p=o(this).endOf(n);if(d.isBefore(p))return 1}var f=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),m=this.diff(f,n,!0);return m<0?o(this).startOf("week").week():Math.ceil(m)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(RZ);var NEe=RZ.exports;const AEe=xa(NEe);var wZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(wZ);var DEe=wZ.exports;const MEe=xa(DEe);var IZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var s=this,l=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),p==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return p}});return i.bind(this)(d)}}})})(IZ);var LEe=IZ.exports;const kEe=xa(LEe);var OZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(S){this[v]=+S}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var b=S.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(v)}],f=function(v){var S=l[v];return S&&(S.indexOf?S:S.s.concat(S.f))},m=function(v,S){var b,E=l.meridiem;if(E){for(var y=1;y<=24;y+=1)if(v.indexOf(E(y,0,S))>-1){b=y>12;break}}else b=v===(S?"pm":"PM");return b},g={A:[s,function(v){this.afternoon=m(v,!1)}],a:[s,function(v){this.afternoon=m(v,!0)}],Q:[a,function(v){this.month=3*(v-1)+1}],S:[a,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[i,d("day")],Do:[s,function(v){var S=l.ordinal,b=v.match(/\d+/);if(this.day=b[0],S)for(var E=1;E<=31;E+=1)S(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[o,d("week")],ww:[i,d("week")],M:[o,d("month")],MM:[i,d("month")],MMM:[s,function(v){var S=f("months"),b=(f("monthsShort")||S.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[s,function(v){var S=f("months").indexOf(v)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:p,ZZ:p};function h(v){var S,b;S=v,b=l&&l.formats;for(var E=(v=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,O,k){var P=k&&k.toUpperCase();return O||b[k]||n[k]||b[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,N,A){return N||A.slice(1)})})).match(r),y=E.length,C=0;C-1)return new Date((L==="X"?1e3:1)*D);var B=h(L)(D),z=B.year,U=B.month,j=B.day,G=B.hours,J=B.minutes,Y=B.seconds,Q=B.milliseconds,V=B.zone,H=B.week,q=new Date,K=j||(z||U?1:q.getDate()),Z=z||q.getFullYear(),te=0;z&&!U||(te=U>0?U-1:q.getMonth());var se,ue=G||0,me=J||0,de=Y||0,Te=Q||0;return V?new Date(Date.UTC(Z,te,K,ue,me,de,Te+60*V.offset*1e3)):$?new Date(Date.UTC(Z,te,K,ue,me,de,Te)):(se=new Date(Z,te,K,ue,me,de,Te),H&&(se=F(se).week(H).toDate()),se)}catch{return new Date("")}}(T,w,x,b),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),k&&T!=this.format(w)&&(this.$d=new Date("")),l={}}else if(w instanceof Array)for(var M=w.length,N=1;N<=M;N+=1){R[1]=w[N-1];var A=b.apply(this,R);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}N===M&&(this.$d=new Date(""))}else y.call(this,C)}}})})(OZ);var PEe=OZ.exports;const $Ee=xa(PEe);Ba.extend($Ee);Ba.extend(kEe);Ba.extend(wEe);Ba.extend(OEe);Ba.extend(AEe);Ba.extend(MEe);Ba.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(i){var o=(i||"").replace("Wo","wo");return r.bind(this)(o)}});var FEe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},jl=function(t){var n=FEe[t];return n||t.split("_")[0]},E3=function(){tK(!1,"Not match any format. Please help to fire a issue about this.")},BEe={getNow:function(){return Ba()},getFixedDate:function(t){return Ba(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Ba().locale(jl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(jl(t)).weekday(0)},getWeek:function(t,n){return n.locale(jl(t)).week()},getShortWeekDays:function(t){return Ba().locale(jl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Ba().locale(jl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(jl(t)).format(r)},parse:function(t,n,r){for(var a=jl(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=c.useState([!1,!1]),a=oe(r,2),i=a[0],o=a[1],s=function(d,p){o(function(f){return xf(f,p,d)})},l=c.useMemo(function(){return i.map(function(u,d){if(u)return!0;var p=e[d];return p?!!(!n[d]&&!p||p&&t(p,{activeIndex:d})):!1})},[e,i,t,n]);return[l,s]}function PZ(e,t,n,r,a){var i="",o=[];return e&&o.push(a?"hh":"HH"),t&&o.push("mm"),n&&o.push("ss"),i=o.join(":"),r&&(i+=".SSS"),a&&(i+=" A"),i}function jEe(e,t,n,r,a,i){var o=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,p=e.fieldWeekFormat,f=e.fieldQuarterFormat,m=e.yearFormat,g=e.cellYearFormat,h=e.cellQuarterFormat,v=e.dayFormat,S=e.cellDateFormat,b=PZ(t,n,r,a,i);return ee(ee({},e),{},{fieldDateTimeFormat:o||"YYYY-MM-DD ".concat(b),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||b,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:p||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:m||"YYYY",cellYearFormat:g||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:S||v||"D"})}function $Z(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,i=t.showMillisecond,o=t.use12Hours;return ce.useMemo(function(){return jEe(e,n,r,a,i,o)},[e,n,r,a,i,o])}function Bp(e,t,n){return n??t.some(function(r){return e.includes(r)})}var zEe=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function HEe(e){var t=rS(e,zEe),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=gt(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function GEe(e){return e&&typeof e=="string"}function FZ(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function BZ(e,t,n,r,a){var i=t,o=n,s=r;if(!e&&!i&&!o&&!s&&!a)i=!0,o=!0,s=!0;else if(e){var l,u,d,p=[i,o,s].some(function(g){return g===!1}),f=[i,o,s].some(function(g){return g===!0}),m=p?!0:!f;i=(l=i)!==null&&l!==void 0?l:m,o=(u=o)!==null&&u!==void 0?u:m,s=(d=s)!==null&&d!==void 0?d:m}return[i,o,s,a]}function UZ(e){var t=e.showTime,n=HEe(e),r=oe(n,2),a=r[0],i=r[1],o=t&>(t)==="object"?t:{},s=ee(ee({defaultOpenValue:o.defaultOpenValue||o.defaultValue},a),o),l=s.showMillisecond,u=s.showHour,d=s.showMinute,p=s.showSecond,f=FZ(u,d,p,l),m=BZ(f,u,d,p,l),g=oe(m,3);return u=g[0],d=g[1],p=g[2],[s,ee(ee({},s),{},{showHour:u,showMinute:d,showSecond:p,showMillisecond:l}),s.format,i]}function jZ(e,t,n,r,a){var i=e==="time";if(e==="datetime"||i){for(var o=r,s=DZ(e,a,null),l=s,u=[t,n],d=0;d1&&(o=t.addDate(o,-7)),o}function zr(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function R_(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(o,s){n?r=e[o](r,e[a[s]](n)):r=e[o](r,0)}),r}function YEe(e,t,n,r,a){var i=Wt(function(o,s){return!!(n&&n(o,s)||r&&e.isAfter(r,o)&&!ba(e,t,r,o,s.type)||a&&e.isAfter(o,a)&&!ba(e,t,a,o,s.type))});return i}function KEe(e,t,n){return c.useMemo(function(){var r=DZ(e,t,n),a=jc(r),i=a[0],o=gt(i)==="object"&&i.type==="mask"?i.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),o]},[e,t,n])}function XEe(e,t,n){return typeof e[0]=="function"||n?!0:t}function QEe(e,t,n,r){var a=Wt(function(i,o){var s=ee({type:t},o);if(delete s.activeIndex,!e.isValidate(i)||n&&n(i,s))return!0;if((t==="date"||t==="time")&&r){var l,u=o&&o.activeIndex===1?"end":"start",d=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,i,u,{from:s.from}))||{},p=d.disabledHours,f=d.disabledMinutes,m=d.disabledSeconds,g=d.disabledMilliseconds,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,b=p||h,E=f||v,y=m||S,C=e.getHour(i),T=e.getMinute(i),x=e.getSecond(i),R=e.getMillisecond(i);if(b&&b().includes(C)||E&&E(C).includes(T)||y&&y(C,T).includes(x)||g&&g(C,T,x).includes(R))return!0}return!1});return a}function _h(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=c.useMemo(function(){var r=e&&jc(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function GZ(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,i=a===void 0?"date":a,o=e.prefixCls,s=o===void 0?"rc-picker":o,l=e.styles,u=l===void 0?{}:l,d=e.classNames,p=d===void 0?{}:d,f=e.order,m=f===void 0?!0:f,g=e.components,h=g===void 0?{}:g,v=e.inputRender,S=e.allowClear,b=e.clearIcon,E=e.needConfirm,y=e.multiple,C=e.format,T=e.inputReadOnly,x=e.disabledDate,R=e.minDate,w=e.maxDate,I=e.showTime,O=e.value,k=e.defaultValue,P=e.pickerValue,M=e.defaultPickerValue,N=_h(O),A=_h(k),D=_h(P),L=_h(M),$=i==="date"&&I?"datetime":i,F=$==="time"||$==="datetime",B=F||y,z=E??F,U=UZ(e),j=oe(U,4),G=j[0],J=j[1],Y=j[2],Q=j[3],V=$Z(r,J),H=c.useMemo(function(){return jZ($,Y,Q,G,V)},[$,Y,Q,G,V]),q=c.useMemo(function(){return ee(ee({},e),{},{prefixCls:s,locale:V,picker:i,styles:u,classNames:p,order:m,components:ee({input:v},h),clearIcon:VEe(s,S,b),showTime:H,value:N,defaultValue:A,pickerValue:D,defaultPickerValue:L},t==null?void 0:t())},[e]),K=KEe($,V,C),Z=oe(K,2),te=Z[0],se=Z[1],ue=XEe(te,T,y),me=YEe(n,r,x,R,w),de=QEe(n,i,me,H),Te=c.useMemo(function(){return ee(ee({},q),{},{needConfirm:z,inputReadOnly:ue,disabledDate:me})},[q,z,ue,me]);return[Te,$,B,te,se,de]}function ZEe(e,t,n){var r=ln(t,{value:e}),a=oe(r,2),i=a[0],o=a[1],s=ce.useRef(e),l=ce.useRef(),u=function(){Gt.cancel(l.current)},d=Wt(function(){o(s.current),n&&i!==s.current&&n(s.current)}),p=Wt(function(f,m){u(),s.current=f,f||m?d():l.current=Gt(d)});return ce.useEffect(function(){return u},[]),[i,p]}function VZ(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(d){return d})?!1:e,i=ZEe(a,t||!1,r),o=oe(i,2),s=o[0],l=o[1];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!p.inherit||s)&&l(d,p.force)}return[s,u]}function qZ(e){var t=c.useRef();return c.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var i;(i=t.current)===null||i===void 0||i.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function WZ(e,t){return c.useMemo(function(){return e||(t?(bn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=oe(n,2),a=r[0],i=r[1];return{label:a,value:i}})):[])},[e,t])}function vk(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=c.useRef(t);r.current=t,pc(function(){if(e)r.current(e);else{var a=Gt(function(){r.current(e)},n);return function(){Gt.cancel(a)}}},[e])}function YZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=c.useState(0),a=oe(r,2),i=a[0],o=a[1],s=c.useState(!1),l=oe(s,2),u=l[0],d=l[1],p=c.useRef([]),f=c.useRef(null),m=function(S){d(S)},g=function(S){return S&&(f.current=S),f.current},h=function(S){var b=p.current,E=new Set(b.filter(function(C){return S[C]||t[C]})),y=b[b.length-1]===0?1:0;return E.size>=2||e[y]?null:y};return vk(u||n,function(){u||(p.current=[])}),c.useEffect(function(){u&&p.current.push(i)},[u,i]),[u,m,g,i,o,h,p.current]}function JEe(e,t,n,r,a,i){var o=n[n.length-1],s=function(u,d){var p=oe(e,2),f=p[0],m=p[1],g=ee(ee({},d),{},{from:MZ(e,n)});return o===1&&t[0]&&f&&!ba(r,a,f,u,g.type)&&r.isAfter(f,u)||o===0&&t[1]&&m&&!ba(r,a,m,u,g.type)&&r.isAfter(u,m)?!0:i==null?void 0:i(u,g)};return s}function ef(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var hy=[];function KZ(e,t,n,r,a,i,o,s){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:hy,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:hy,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:hy,p=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,m=arguments.length>13?arguments[13]:void 0,g=o==="time",h=i||0,v=function(D){var L=e.getNow();return g&&(L=R_(e,L)),l[D]||n[D]||L},S=oe(u,2),b=S[0],E=S[1],y=ln(function(){return v(0)},{value:b}),C=oe(y,2),T=C[0],x=C[1],R=ln(function(){return v(1)},{value:E}),w=oe(R,2),I=w[0],O=w[1],k=c.useMemo(function(){var A=[T,I][h];return g?A:R_(e,A,d[h])},[g,T,I,h,e,d]),P=function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",$=[x,O][h];$(D);var F=[T,I];F[h]=D,p&&(!ba(e,t,T,F[0],o)||!ba(e,t,I,F[1],o))&&p(F,{source:L,range:h===1?"end":"start",mode:r})},M=function(D,L){if(s){var $={date:"month",week:"month",month:"year",quarter:"year"},F=$[o];if(F&&!ba(e,t,D,L,F))return ef(e,o,L,-1);if(o==="year"&&D){var B=Math.floor(e.getYear(D)/10),z=Math.floor(e.getYear(L)/10);if(B!==z)return ef(e,o,L,-1)}}return L},N=c.useRef(null);return Qt(function(){if(a&&!l[h]){var A=g?null:e.getNow();if(N.current!==null&&N.current!==h?A=[T,I][h^1]:n[h]?A=h===0?n[0]:M(n[0],n[1]):n[h^1]&&(A=n[h^1]),A){f&&e.isAfter(f,A)&&(A=f);var D=s?ef(e,o,A,1):A;m&&e.isAfter(D,m)&&(A=s?ef(e,o,m,-1):m),P(A,"reset")}}},[a,h,n[h]]),c.useEffect(function(){a?N.current=h:N.current=null},[a,h]),Qt(function(){a&&l&&l[h]&&P(l[h],"reset")},[a,h]),[k,P]}function XZ(e,t){var n=c.useRef(e),r=c.useState({}),a=oe(r,2),i=a[1],o=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,i({})};return[o,s,o(!0)]}var eye=[];function QZ(e,t,n){var r=function(o){return o.map(function(s){return zr(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(o,s){for(var l=Math.max(o.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,l=e;l<=t;l+=s){var u=a.includes(l);(!u||!r)&&o.push({label:fk(l,i),value:l,disabled:u})}return o}function _k(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,i=r.hourStep,o=i===void 0?1:i,s=r.minuteStep,l=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,p=r.millisecondStep,f=p===void 0?100:p,m=r.hideDisabledOptions,g=r.disabledTime,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,b=c.useMemo(function(){return n||e.getNow()},[n,e]),E=c.useCallback(function(L){var $=(g==null?void 0:g(L))||{};return[$.disabledHours||h||bh,$.disabledMinutes||v||bh,$.disabledSeconds||S||bh,$.disabledMilliseconds||bh]},[g,h,v,S]),y=c.useMemo(function(){return E(b)},[b,E]),C=oe(y,4),T=C[0],x=C[1],R=C[2],w=C[3],I=c.useCallback(function(L,$,F,B){var z=Sh(0,23,o,m,L()),U=a?z.map(function(Y){return ee(ee({},Y),{},{label:fk(Y.value%12||12,2)})}):z,j=function(Q){return Sh(0,59,l,m,$(Q))},G=function(Q,V){return Sh(0,59,d,m,F(Q,V))},J=function(Q,V,H){return Sh(0,999,f,m,B(Q,V,H),3)};return[U,j,G,J]},[m,o,a,f,l,d]),O=c.useMemo(function(){return I(T,x,R,w)},[I,T,x,R,w]),k=oe(O,4),P=k[0],M=k[1],N=k[2],A=k[3],D=function($,F){var B=function(){return P},z=M,U=N,j=A;if(F){var G=E(F),J=oe(G,4),Y=J[0],Q=J[1],V=J[2],H=J[3],q=I(Y,Q,V,H),K=oe(q,4),Z=K[0],te=K[1],se=K[2],ue=K[3];B=function(){return Z},z=te,U=se,j=ue}var me=nye($,B,z,U,j,e);return me};return[D,P,M,N,A]}function rye(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,i=e.showTime,o=e.onSubmit,s=e.onNow,l=e.invalid,u=e.needConfirm,d=e.generateConfig,p=e.disabledDate,f=c.useContext(Eo),m=f.prefixCls,g=f.locale,h=f.button,v=h===void 0?"button":h,S=d.getNow(),b=_k(d,i,S),E=oe(b,1),y=E[0],C=r==null?void 0:r(t),T=p(S,{type:t}),x=function(){if(!T){var M=y(S);s(M)}},R="".concat(m,"-now"),w="".concat(R,"-btn"),I=a&&c.createElement("li",{className:R},c.createElement("a",{className:ie(w,T&&"".concat(w,"-disabled")),"aria-disabled":T,onClick:x},n==="date"?g.today:g.now)),O=u&&c.createElement("li",{className:"".concat(m,"-ok")},c.createElement(v,{disabled:l,onClick:o},g.ok)),k=(I||O)&&c.createElement("ul",{className:"".concat(m,"-ranges")},I,O);return!C&&!k?null:c.createElement("div",{className:"".concat(m,"-footer")},C&&c.createElement("div",{className:"".concat(m,"-footer-extra")},C),k)}function nJ(e,t,n){function r(a,i){var o=a.findIndex(function(l){return ba(e,t,l,i,n)});if(o===-1)return[].concat($e(a),[i]);var s=$e(a);return s.splice(o,1),s}return r}var zc=c.createContext(null);function iS(){return c.useContext(zc)}function np(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,i=e.disabledDate,o=e.minDate,s=e.maxDate,l=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,p=e.onHover,f=e.values,m=e.pickerValue,g=e.onSelect,h=e.prevIcon,v=e.nextIcon,S=e.superPrevIcon,b=e.superNextIcon,E=r.getNow(),y={now:E,values:f,pickerValue:m,prefixCls:n,disabledDate:i,minDate:o,maxDate:s,cellRender:l,hoverValue:u,hoverRangeValue:d,onHover:p,locale:a,generateConfig:r,onSelect:g,panelType:t,prevIcon:h,nextIcon:v,superPrevIcon:S,superNextIcon:b};return[y,E]}var ul=c.createContext({});function pg(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,i=e.prefixColumn,o=e.rowClassName,s=e.titleFormat,l=e.getCellText,u=e.getCellClassName,d=e.headerCells,p=e.cellSelection,f=p===void 0?!0:p,m=e.disabledDate,g=iS(),h=g.prefixCls,v=g.panelType,S=g.now,b=g.disabledDate,E=g.cellRender,y=g.onHover,C=g.hoverValue,T=g.hoverRangeValue,x=g.generateConfig,R=g.values,w=g.locale,I=g.onSelect,O=m||b,k="".concat(h,"-cell"),P=c.useContext(ul),M=P.onCellDblClick,N=function(U){return R.some(function(j){return j&&ba(x,w,U,j,v)})},A=[],D=0;D1&&arguments[1]!==void 0?arguments[1]:!1;re(Ne),v==null||v(Ne),we&&ne(Ne)},le=function(Ne,we){V(Ne),we&&ae(we),ne(we,Ne)},pe=function(Ne){if(de(Ne),ae(Ne),Q!==y){var we=["decade","year"],xe=[].concat(we,["month"]),ke={quarter:[].concat(we,["quarter"]),week:[].concat($e(xe),["week"]),date:[].concat($e(xe),["date"])},at=ke[y]||xe,Me=at.indexOf(Q),Ce=at[Me+1];Ce&&le(Ce,Ne)}},Re=c.useMemo(function(){var be,Ne;if(Array.isArray(x)){var we=oe(x,2);be=we[0],Ne=we[1]}else be=x;return!be&&!Ne?null:(be=be||Ne,Ne=Ne||be,a.isAfter(be,Ne)?[Ne,be]:[be,Ne])},[x,a]),Se=mk(R,w,I),Pe=k[H]||mye[H]||oS,fe=c.useContext(ul),_e=c.useMemo(function(){return ee(ee({},fe),{},{hideHeader:P})},[fe,P]),Ae="".concat(M,"-panel"),ye=rS(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return c.createElement(ul.Provider,{value:_e},c.createElement("div",{ref:N,tabIndex:l,className:ie(Ae,W({},"".concat(Ae,"-rtl"),i==="rtl"))},c.createElement(Pe,ve({},ye,{showTime:j,prefixCls:M,locale:z,generateConfig:a,onModeChange:le,pickerValue:ge,onPickerValueChange:function(Ne){ae(Ne,!0)},value:ue[0],onSelect:pe,values:ue,cellRender:Se,hoverRangeValue:Re,hoverValue:T}))))}var vy=c.memo(c.forwardRef(gye));function hye(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,i=e.needConfirm,o=e.onSubmit,s=e.range,l=e.hoverValue,u=c.useContext(Eo),d=u.prefixCls,p=u.generateConfig,f=c.useCallback(function(b,E){return ef(p,t,b,E)},[p,t]),m=c.useMemo(function(){return f(r,1)},[r,f]),g=function(E){a(f(E,-1))},h={onCellDblClick:function(){i&&o()}},v=t==="time",S=ee(ee({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return s?S.hoverRangeValue=l:S.hoverValue=l,n?c.createElement("div",{className:"".concat(d,"-panels")},c.createElement(ul.Provider,{value:ee(ee({},h),{},{hideNext:!0})},c.createElement(vy,S)),c.createElement(ul.Provider,{value:ee(ee({},h),{},{hidePrev:!0})},c.createElement(vy,ve({},S,{pickerValue:m,onPickerValueChange:g})))):c.createElement(ul.Provider,{value:ee({},h)},c.createElement(vy,S))}function C3(e){return typeof e=="function"?e():e}function vye(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?c.createElement("div",{className:"".concat(t,"-presets")},c.createElement("ul",null,n.map(function(i,o){var s=i.label,l=i.value;return c.createElement("li",{key:o,onClick:function(){r(C3(l))},onMouseEnter:function(){a(C3(l))},onMouseLeave:function(){a(null)}},s)}))):null}function aJ(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,i=e.range,o=e.multiple,s=e.activeOffset,l=s===void 0?0:s,u=e.placement,d=e.presets,p=e.onPresetHover,f=e.onPresetSubmit,m=e.onFocus,g=e.onBlur,h=e.onPanelMouseDown,v=e.direction,S=e.value,b=e.onSelect,E=e.isInvalid,y=e.defaultOpenValue,C=e.onOk,T=e.onSubmit,x=c.useContext(Eo),R=x.prefixCls,w="".concat(R,"-panel"),I=v==="rtl",O=c.useRef(null),k=c.useRef(null),P=c.useState(0),M=oe(P,2),N=M[0],A=M[1],D=c.useState(0),L=oe(D,2),$=L[0],F=L[1],B=function(me){me.offsetWidth&&A(me.offsetWidth)};c.useEffect(function(){if(i){var ue,me=((ue=O.current)===null||ue===void 0?void 0:ue.offsetWidth)||0,de=N-me;l<=de?F(0):F(l+me-N)}},[N,l,i]);function z(ue){return ue.filter(function(me){return me})}var U=c.useMemo(function(){return z(jc(S))},[S]),j=r==="time"&&!U.length,G=c.useMemo(function(){return j?z([y]):U},[j,U,y]),J=j?y:U,Y=c.useMemo(function(){return G.length?G.some(function(ue){return E(ue)}):!0},[G,E]),Q=function(){j&&b(y),C(),T()},V=c.createElement("div",{className:"".concat(R,"-panel-layout")},c.createElement(vye,{prefixCls:R,presets:d,onClick:f,onHover:p}),c.createElement("div",null,c.createElement(hye,ve({},e,{value:J})),c.createElement(rye,ve({},e,{showNow:o?!1:a,invalid:Y,onSubmit:Q}))));t&&(V=t(V));var H="".concat(w,"-container"),q="marginLeft",K="marginRight",Z=c.createElement("div",{onMouseDown:h,tabIndex:-1,className:ie(H,"".concat(R,"-").concat(n,"-panel-container")),style:W(W({},I?K:q,$),I?q:K,"auto"),onFocus:m,onBlur:g},V);if(i){var te=nS(u,I),se=NZ(te,I);Z=c.createElement("div",{onMouseDown:h,ref:k,className:ie("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(r,"-range-wrapper"))},c.createElement("div",{ref:O,className:"".concat(R,"-range-arrow"),style:W({},se,l)}),c.createElement(da,{onResize:B},Z))}return Z}function iJ(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,i=e.locale,o=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,u=e["aria-required"],d=e.onSubmit,p=e.onFocus,f=e.onBlur,m=e.onInputChange,g=e.onInvalid,h=e.open,v=e.onOpenChange,S=e.onKeyDown,b=e.onChange,E=e.activeHelp,y=e.name,C=e.autoComplete,T=e.id,x=e.value,R=e.invalid,w=e.placeholder,I=e.disabled,O=e.activeIndex,k=e.allHelp,P=e.picker,M=function(z,U){var j=a.locale.parse(i.locale,z,[U]);return j&&a.isValidate(j)?j:null},N=n[0],A=c.useCallback(function(B){return zr(B,{locale:i,format:N,generateConfig:a})},[i,a,N]),D=c.useMemo(function(){return x.map(A)},[x,A]),L=c.useMemo(function(){var B=P==="time"?8:10,z=typeof N=="function"?N(a.getNow()).length:N.length;return Math.max(B,z)+2},[N,P,a]),$=function(z){for(var U=0;U=s&&n<=l)return i;var u=Math.min(Math.abs(n-s),Math.abs(n-l));u0?Xe:Be));var We=pt+Ye,Ve=Be-Xe+1;return String(Xe+(Ve+We-Xe)%Ve)};switch(Ne){case"Backspace":case"Delete":we="",xe=at;break;case"ArrowLeft":we="",Me(-1);break;case"ArrowRight":we="",Me(1);break;case"ArrowUp":we="",xe=Ce(1);break;case"ArrowDown":we="",xe=Ce(-1);break;default:isNaN(Number(Ne))||(we=B+Ne,xe=we);break}if(we!==null&&(z(we),we.length>=ke&&(Me(1),z(""))),xe!==null){var De=q.slice(0,me)+fk(xe,ke)+q.slice(de);Ee(De.slice(0,o.length))}H({})},_e=c.useRef();Qt(function(){if(!(!P||!o||ne.current)){if(!te.match(q)){Ee(o);return}return Z.current.setSelectionRange(me,de),_e.current=Gt(function(){Z.current.setSelectionRange(me,de)}),function(){Gt.cancel(_e.current)}}},[te,o,P,q,G,me,de,V,Ee]);var Ae=o?{onFocus:pe,onBlur:Se,onKeyDown:fe,onMouseDown:ae,onMouseUp:le,onPaste:re}:{};return c.createElement("div",{ref:K,className:ie(I,W(W({},"".concat(I,"-active"),n&&a),"".concat(I,"-placeholder"),u))},c.createElement(w,ve({ref:Z,"aria-invalid":h,autoComplete:"off"},S,{onKeyDown:Pe,onBlur:Re},Ae,{value:q,onChange:ge})),c.createElement(sS,{type:"suffix",icon:i}),v)}),Tye=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],xye=["index"];function Rye(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,i=e.separator,o=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,p=e.style,f=e.onClick,m=e.onClear,g=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,v=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var b=e.onActiveOffset,E=e.placement,y=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,T=yt(e,Tye),x=S==="rtl",R=c.useContext(Eo),w=R.prefixCls,I=c.useMemo(function(){if(typeof n=="string")return[n];var q=n||{};return[q.start,q.end]},[n]),O=c.useRef(),k=c.useRef(),P=c.useRef(),M=function(K){var Z;return(Z=[k,P][K])===null||Z===void 0?void 0:Z.current};c.useImperativeHandle(t,function(){return{nativeElement:O.current,focus:function(K){if(gt(K)==="object"){var Z,te=K||{},se=te.index,ue=se===void 0?0:se,me=yt(te,xye);(Z=M(ue))===null||Z===void 0||Z.focus(me)}else{var de;(de=M(K??0))===null||de===void 0||de.focus()}},blur:function(){var K,Z;(K=M(0))===null||K===void 0||K.blur(),(Z=M(1))===null||Z===void 0||Z.blur()}}});var N=oJ(T),A=c.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),D=iJ(ee(ee({},e),{},{id:I,placeholder:A})),L=oe(D,1),$=L[0],F=nS(E,x),B=NZ(F,x),z=F==null?void 0:F.toLowerCase().endsWith("right"),U=c.useState({position:"absolute",width:0}),j=oe(U,2),G=j[0],J=j[1],Y=Wt(function(){var q=M(s);if(q){var K=q.nativeElement,Z=K.offsetWidth,te=K.offsetLeft,se=K.offsetParent,ue=(se==null?void 0:se.offsetWidth)||0,me=z?ue-Z-te:te;J(function(de){return ee(ee({},de),{},W({width:Z},B,me))}),b(me)}});c.useEffect(function(){Y()},[s]);var Q=r&&(g[0]&&!h[0]||g[1]&&!h[1]),V=C&&!h[0],H=C&&!V&&!h[1];return c.createElement(da,{onResize:Y},c.createElement("div",ve({},N,{className:ie(w,"".concat(w,"-range"),W(W(W(W({},"".concat(w,"-focused"),l),"".concat(w,"-disabled"),h.every(function(q){return q})),"".concat(w,"-invalid"),v.some(function(q){return q})),"".concat(w,"-rtl"),x),d),style:p,ref:O,onClick:f,onMouseDown:function(K){var Z=K.target;Z!==k.current.inputElement&&Z!==P.current.inputElement&&K.preventDefault(),y==null||y(K)}}),c.createElement(vD,ve({ref:k},$(0),{autoFocus:V,"date-range":"start"})),c.createElement("div",{className:"".concat(w,"-range-separator")},o),c.createElement(vD,ve({ref:P},$(1),{autoFocus:H,"date-range":"end"})),c.createElement("div",{className:"".concat(w,"-active-bar"),style:G}),c.createElement(sS,{type:"suffix",icon:a}),Q&&c.createElement(hD,{icon:r,onClear:m})))}var wye=c.forwardRef(Rye);function x3(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function yh(e){return e===1?"end":"start"}function Iye(e,t){var n=GZ(e,function(){var zt=e.disabled,Ft=e.allowEmpty,ut=x3(zt,!1),Pt=x3(Ft,!1);return{disabled:ut,allowEmpty:Pt}}),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a.prefixCls,p=a.styles,f=a.classNames,m=a.placement,g=a.defaultValue,h=a.value,v=a.needConfirm,S=a.onKeyDown,b=a.disabled,E=a.allowEmpty,y=a.disabledDate,C=a.minDate,T=a.maxDate,x=a.defaultOpen,R=a.open,w=a.onOpenChange,I=a.locale,O=a.generateConfig,k=a.picker,P=a.showNow,M=a.showToday,N=a.showTime,A=a.mode,D=a.onPanelChange,L=a.onCalendarChange,$=a.onOk,F=a.defaultPickerValue,B=a.pickerValue,z=a.onPickerValueChange,U=a.inputReadOnly,j=a.suffixIcon,G=a.onFocus,J=a.onBlur,Y=a.presets,Q=a.ranges,V=a.components,H=a.cellRender,q=a.dateRender,K=a.monthCellRender,Z=a.onClick,te=qZ(t),se=VZ(R,x,b,w),ue=oe(se,2),me=ue[0],de=ue[1],Te=function(Ft,ut){(b.some(function(Pt){return!Pt})||!Ft)&&de(Ft,ut)},Ee=JZ(O,I,s,!0,!1,g,h,L,$),ge=oe(Ee,5),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ge[4],Re=ae(),Se=YZ(b,E,me),Pe=oe(Se,7),fe=Pe[0],_e=Pe[1],Ae=Pe[2],ye=Pe[3],be=Pe[4],Ne=Pe[5],we=Pe[6],xe=function(Ft,ut){_e(!0),G==null||G(Ft,{range:yh(ut??ye)})},ke=function(Ft,ut){_e(!1),J==null||J(Ft,{range:yh(ut??ye)})},at=c.useMemo(function(){if(!N)return null;var zt=N.disabledTime,Ft=zt?function(ut){var Pt=yh(ye),fn=MZ(Re,we,ye);return zt(ut,Pt,{from:fn})}:void 0;return ee(ee({},N),{},{disabledTime:Ft})},[N,ye,Re,we]),Me=ln([k,k],{value:A}),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=De[ye]||k,He=Ye==="date"&&at?"datetime":Ye,ze=He===k&&He!=="time",Xe=tJ(k,Ye,P,M,!0),Be=eJ(a,re,ne,ae,le,b,s,fe,me,u),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=JEe(Re,b,we,O,I,y),Ve=kZ(Re,u,E),Ze=oe(Ve,2),dt=Ze[0],It=Ze[1],Nt=KZ(O,I,Re,De,me,ye,i,ze,F,B,at==null?void 0:at.defaultOpenValue,z,C,T),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(zt,Ft,ut){var Pt=xf(De,ye,Ft);if((Pt[0]!==De[0]||Pt[1]!==De[1])&&Ue(Pt),D&&ut!==!1){var fn=$e(Re);zt&&(fn[ye]=zt),D(fn,Pt)}}),vt=function(Ft,ut){return xf(Re,ut,Ft)},rt=function(Ft,ut){var Pt=Re;Ft&&(Pt=vt(Ft,ye));var fn=Ne(Pt);le(Pt),mt(ye,fn===null),fn===null?Te(!1,{force:!0}):ut||te.current.focus({index:fn})},bt=function(Ft){var ut,Pt=Ft.target.getRootNode();if(!te.current.nativeElement.contains((ut=Pt.activeElement)!==null&&ut!==void 0?ut:document.activeElement)){var fn=b.findIndex(function(ar){return!ar});fn>=0&&te.current.focus({index:fn})}Te(!0),Z==null||Z(Ft)},Tt=function(){pt(null),Te(!1,{force:!0})},tt=c.useState(null),it=oe(tt,2),Ke=it[0],qe=it[1],_t=c.useState(null),Rt=oe(_t,2),kt=Rt[0],tn=Rt[1],rn=c.useMemo(function(){return kt||Re},[Re,kt]);c.useEffect(function(){me||tn(null)},[me]);var Vt=c.useState(0),nn=oe(Vt,2),xt=nn[0],Ot=nn[1],Dt=WZ(Y,Q),Rn=function(Ft){tn(Ft),qe("preset")},Gn=function(Ft){var ut=pt(Ft);ut&&Te(!1,{force:!0})},ur=function(Ft){rt(Ft)},Vn=function(Ft){tn(Ft?vt(Ft,ye):null),qe("cell")},Pr=function(Ft){Te(!0),xe(Ft)},Rr=function(){Ae("panel")},qn=function(Ft){var ut=xf(Re,ye,Ft);le(ut),!v&&!o&&i===He&&rt(Ft)},Yt=function(){Te(!1)},Bt=mk(H,q,K,yh(ye)),qt=Re[ye]||null,Ut=Wt(function(zt){return u(zt,{activeIndex:ye})}),jt=c.useMemo(function(){var zt=Jn(a,!1),Ft=An(a,[].concat($e(Object.keys(zt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Ft},[a]),Et=c.createElement(aJ,ve({},jt,{showNow:Xe,showTime:at,range:!0,multiplePanel:ze,activeOffset:xt,placement:m,disabledDate:We,onFocus:Pr,onBlur:ke,onPanelMouseDown:Rr,picker:k,mode:Ye,internalMode:He,onPanelChange:et,format:l,value:qt,isInvalid:Ut,onChange:null,onSelect:qn,pickerValue:ct,defaultOpenValue:jc(N==null?void 0:N.defaultOpenValue)[ye],onPickerValueChange:ot,hoverValue:rn,onHover:Vn,needConfirm:v,onSubmit:rt,onOk:pe,presets:Dt,onPresetHover:Rn,onPresetSubmit:Gn,onNow:ur,cellRender:Bt})),Ct=function(Ft,ut){var Pt=vt(Ft,ut);le(Pt)},cn=function(){Ae("input")},En=function(Ft,ut){Ae("input"),Te(!0,{inherit:!0}),ye!==ut&&me&&!v&&o&&rt(null,!0),be(ut),xe(Ft,ut)},nr=function(Ft,ut){if(Te(!1),!v&&Ae()==="input"){var Pt=Ne(Re);mt(ye,Pt===null)}ke(Ft,ut)},rr=function(Ft,ut){Ft.key==="Tab"&&rt(null,!0),S==null||S(Ft,ut)},fr=c.useMemo(function(){return{prefixCls:d,locale:I,generateConfig:O,button:V.button,input:V.input}},[d,I,O,V.button,V.input]);return Qt(function(){me&&ye!==void 0&&et(null,k,!1)},[me,ye,k]),Qt(function(){var zt=Ae();!me&&zt==="input"&&(Te(!1),rt(null,!0)),!me&&o&&!v&&zt==="panel"&&(Te(!0),rt())},[me]),c.createElement(Eo.Provider,{value:fr},c.createElement(AZ,ve({},LZ(a),{popupElement:Et,popupStyle:p.popup,popupClassName:f.popup,visible:me,onClose:Yt,range:!0}),c.createElement(wye,ve({},a,{ref:te,suffixIcon:j,activeIndex:fe||me?ye:null,activeHelp:!!kt,allHelp:!!kt&&Ke==="preset",focused:fe,onFocus:En,onBlur:nr,onKeyDown:rr,onSubmit:rt,value:rn,maskFormat:l,onChange:Ct,onInputChange:cn,format:s,inputReadOnly:U,disabled:b,open:me,onOpenChange:Te,onClick:bt,onClear:Tt,invalid:dt,onInvalid:It,onActiveOffset:Ot}))))}var Oye=c.forwardRef(Iye);function Nye(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,i=a===void 0?"×":a,o=e.formatDate,s=e.disabled,l=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),p="".concat(t,"-selection"),f="".concat(p,"-overflow");function m(v,S){return c.createElement("span",{className:ie("".concat(p,"-item")),title:typeof v=="string"?v:null},c.createElement("span",{className:"".concat(p,"-item-content")},v),!s&&S&&c.createElement("span",{onMouseDown:function(E){E.preventDefault()},onClick:S,className:"".concat(p,"-item-remove")},i))}function g(v){var S=o(v),b=function(y){y&&y.stopPropagation(),r(v)};return m(S,b)}function h(v){var S="+ ".concat(v.length," ...");return m(S)}return c.createElement("div",{className:d},c.createElement(uo,{prefixCls:f,data:n,renderItem:g,renderRest:h,itemKey:function(S){return o(S)},maxCount:l}),!n.length&&c.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var Aye=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Dye(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var o=e.locale,s=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,p=e.onClick,f=e.onClear,m=e.internalPicker,g=e.value,h=e.onChange,v=e.onSubmit;e.onInputChange;var S=e.multiple,b=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var E=e.disabled,y=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var T=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,R=e.removeIcon,w=yt(e,Aye),I=C==="rtl",O=c.useContext(Eo),k=O.prefixCls,P=c.useRef(),M=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(G){var J;(J=M.current)===null||J===void 0||J.focus(G)},blur:function(){var G;(G=M.current)===null||G===void 0||G.blur()}}});var N=oJ(w),A=function(G){h([G])},D=function(G){var J=g.filter(function(Y){return Y&&!ba(s,o,Y,G,m)});h(J),n||v()},L=iJ(ee(ee({},e),{},{onChange:A}),function(j){var G=j.valueTexts;return{value:G[0]||"",active:i}}),$=oe(L,2),F=$[0],B=$[1],z=!!(r&&g.length&&!E),U=S?c.createElement(c.Fragment,null,c.createElement(Nye,{prefixCls:k,value:g,onRemove:D,formatDate:B,maxTagCount:b,disabled:E,removeIcon:R,placeholder:l}),c.createElement("input",{className:"".concat(k,"-multiple-input"),value:g.map(B).join(","),ref:M,readOnly:!0,autoFocus:x}),c.createElement(sS,{type:"suffix",icon:a}),z&&c.createElement(hD,{icon:r,onClear:f})):c.createElement(vD,ve({ref:M},F(),{autoFocus:x,suffixIcon:a,clearIcon:z&&c.createElement(hD,{icon:r,onClear:f}),showActiveCls:!1}));return c.createElement("div",ve({},N,{className:ie(k,W(W(W(W(W({},"".concat(k,"-multiple"),S),"".concat(k,"-focused"),i),"".concat(k,"-disabled"),E),"".concat(k,"-invalid"),y),"".concat(k,"-rtl"),I),u),style:d,ref:P,onClick:p,onMouseDown:function(G){var J,Y=G.target;Y!==((J=M.current)===null||J===void 0?void 0:J.inputElement)&&G.preventDefault(),T==null||T(G)}}),U)}var Mye=c.forwardRef(Dye);function Lye(e,t){var n=GZ(e),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a,p=d.prefixCls,f=d.styles,m=d.classNames,g=d.order,h=d.defaultValue,v=d.value,S=d.needConfirm,b=d.onChange,E=d.onKeyDown,y=d.disabled,C=d.disabledDate,T=d.minDate,x=d.maxDate,R=d.defaultOpen,w=d.open,I=d.onOpenChange,O=d.locale,k=d.generateConfig,P=d.picker,M=d.showNow,N=d.showToday,A=d.showTime,D=d.mode,L=d.onPanelChange,$=d.onCalendarChange,F=d.onOk,B=d.multiple,z=d.defaultPickerValue,U=d.pickerValue,j=d.onPickerValueChange,G=d.inputReadOnly,J=d.suffixIcon,Y=d.removeIcon,Q=d.onFocus,V=d.onBlur,H=d.presets,q=d.components,K=d.cellRender,Z=d.dateRender,te=d.monthCellRender,se=d.onClick,ue=qZ(t);function me(Et){return Et===null?null:B?Et:Et[0]}var de=nJ(k,O,i),Te=VZ(w,R,[y],I),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne=function(Ct,cn,En){if($){var nr=ee({},En);delete nr.range,$(me(Ct),me(cn),nr)}},ae=function(Ct){F==null||F(me(Ct))},le=JZ(k,O,s,!1,g,h,v,ne,ae),pe=oe(le,5),Re=pe[0],Se=pe[1],Pe=pe[2],fe=pe[3],_e=pe[4],Ae=Pe(),ye=YZ([y]),be=oe(ye,4),Ne=be[0],we=be[1],xe=be[2],ke=be[3],at=function(Ct){we(!0),Q==null||Q(Ct,{})},Me=function(Ct){we(!1),V==null||V(Ct,{})},Ce=ln(P,{value:D}),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=Ue==="date"&&A?"datetime":Ue,ze=tJ(P,Ue,M,N),Xe=b&&function(Et,Ct){b(me(Et),me(Ct))},Be=eJ(ee(ee({},a),{},{onChange:Xe}),Re,Se,Pe,fe,[],s,Ne,ge,u),Je=oe(Be,2),mt=Je[1],pt=kZ(Ae,u),We=oe(pt,2),Ve=We[0],Ze=We[1],dt=c.useMemo(function(){return Ve.some(function(Et){return Et})},[Ve]),It=function(Ct,cn){if(j){var En=ee(ee({},cn),{},{mode:cn.mode[0]});delete En.range,j(Ct[0],En)}},Nt=KZ(k,O,Ae,[Ue],ge,ke,i,!1,z,U,jc(A==null?void 0:A.defaultOpenValue),It,T,x),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(Et,Ct,cn){if(Ye(Ct),L&&cn!==!1){var En=Et||Ae[Ae.length-1];L(En,Ct)}}),vt=function(){mt(Pe()),re(!1,{force:!0})},rt=function(Ct){!y&&!ue.current.nativeElement.contains(document.activeElement)&&ue.current.focus(),re(!0),se==null||se(Ct)},bt=function(){mt(null),re(!1,{force:!0})},Tt=c.useState(null),tt=oe(Tt,2),it=tt[0],Ke=tt[1],qe=c.useState(null),_t=oe(qe,2),Rt=_t[0],kt=_t[1],tn=c.useMemo(function(){var Et=[Rt].concat($e(Ae)).filter(function(Ct){return Ct});return B?Et:Et.slice(0,1)},[Ae,Rt,B]),rn=c.useMemo(function(){return!B&&Rt?[Rt]:Ae.filter(function(Et){return Et})},[Ae,Rt,B]);c.useEffect(function(){ge||kt(null)},[ge]);var Vt=WZ(H),nn=function(Ct){kt(Ct),Ke("preset")},xt=function(Ct){var cn=B?de(Pe(),Ct):[Ct],En=mt(cn);En&&!B&&re(!1,{force:!0})},Ot=function(Ct){xt(Ct)},Dt=function(Ct){kt(Ct),Ke("cell")},Rn=function(Ct){re(!0),at(Ct)},Gn=function(Ct){xe("panel");var cn=B?de(Pe(),Ct):[Ct];fe(cn),!S&&!o&&i===He&&vt()},ur=function(){re(!1)},Vn=mk(K,Z,te),Pr=c.useMemo(function(){var Et=Jn(a,!1),Ct=An(a,[].concat($e(Object.keys(Et)),["onChange","onCalendarChange","style","className","onPanelChange"]));return ee(ee({},Ct),{},{multiple:a.multiple})},[a]),Rr=c.createElement(aJ,ve({},Pr,{showNow:ze,showTime:A,disabledDate:C,onFocus:Rn,onBlur:Me,picker:P,mode:Ue,internalMode:He,onPanelChange:et,format:l,value:Ae,isInvalid:u,onChange:null,onSelect:Gn,pickerValue:ct,defaultOpenValue:A==null?void 0:A.defaultOpenValue,onPickerValueChange:ot,hoverValue:tn,onHover:Dt,needConfirm:S,onSubmit:vt,onOk:_e,presets:Vt,onPresetHover:nn,onPresetSubmit:xt,onNow:Ot,cellRender:Vn})),qn=function(Ct){fe(Ct)},Yt=function(){xe("input")},Bt=function(Ct){xe("input"),re(!0,{inherit:!0}),at(Ct)},qt=function(Ct){re(!1),Me(Ct)},Ut=function(Ct,cn){Ct.key==="Tab"&&vt(),E==null||E(Ct,cn)},jt=c.useMemo(function(){return{prefixCls:p,locale:O,generateConfig:k,button:q.button,input:q.input}},[p,O,k,q.button,q.input]);return Qt(function(){ge&&ke!==void 0&&et(null,P,!1)},[ge,ke,P]),Qt(function(){var Et=xe();!ge&&Et==="input"&&(re(!1),vt()),!ge&&o&&!S&&Et==="panel"&&(re(!0),vt())},[ge]),c.createElement(Eo.Provider,{value:jt},c.createElement(AZ,ve({},LZ(a),{popupElement:Rr,popupStyle:f.popup,popupClassName:m.popup,visible:ge,onClose:ur}),c.createElement(Mye,ve({},a,{ref:ue,suffixIcon:J,removeIcon:Y,activeHelp:!!Rt,allHelp:!!Rt&&it==="preset",focused:Ne,onFocus:Bt,onBlur:qt,onKeyDown:Ut,onSubmit:vt,value:rn,maskFormat:l,onChange:qn,onInputChange:Yt,internalPicker:i,format:s,inputReadOnly:G,disabled:y,open:ge,onOpenChange:re,onClick:rt,onClear:bt,invalid:dt,onInvalid:function(Ct){Ze(Ct,0)}}))))}var kye=c.forwardRef(Lye);const sJ=c.createContext(null),Pye=sJ.Provider,lJ=c.createContext(null),$ye=lJ.Provider;var Fye=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],cJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,i=e.style,o=e.checked,s=e.disabled,l=e.defaultChecked,u=l===void 0?!1:l,d=e.type,p=d===void 0?"checkbox":d,f=e.title,m=e.onChange,g=yt(e,Fye),h=c.useRef(null),v=c.useRef(null),S=ln(u,{value:o}),b=oe(S,2),E=b[0],y=b[1];c.useImperativeHandle(t,function(){return{focus:function(R){var w;(w=h.current)===null||w===void 0||w.focus(R)},blur:function(){var R;(R=h.current)===null||R===void 0||R.blur()},input:h.current,nativeElement:v.current}});var C=ie(r,a,W(W({},"".concat(r,"-checked"),E),"".concat(r,"-disabled"),s)),T=function(R){s||("checked"in e||y(R.target.checked),m==null||m({target:ee(ee({},e),{},{type:p,checked:R.target.checked}),stopPropagation:function(){R.stopPropagation()},preventDefault:function(){R.preventDefault()},nativeEvent:R.nativeEvent}))};return c.createElement("span",{className:C,title:f,style:i,ref:v},c.createElement("input",ve({},g,{className:"".concat(r,"-input"),ref:h,onChange:T,disabled:s,checked:!!E,type:p})),c.createElement("span",{className:"".concat(r,"-inner")}))});const Bye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},an(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Uye=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:i,motionDurationMid:o,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:p,colorTextDisabled:f,paddingXS:m,dotColorDisabled:g,lineType:h,radioColor:v,radioBgColor:S,calc:b}=e,E=`${t}-inner`,C=b(a).sub(b(4).mul(2)),T=b(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},an(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${X(d)} ${h} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},an(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${E}`]:{borderColor:r},[`${t}-input:focus-visible + ${E}`]:Object.assign({},Es(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:T,height:T,marginBlockStart:b(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:T,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:T,height:T,backgroundColor:l,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${o}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[E]:{borderColor:r,backgroundColor:S,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[E]:{backgroundColor:p,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[E]:{"&::after":{transform:`scale(${b(C).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},jye=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:i,colorBorder:o,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:u,fontSize:d,buttonBg:p,fontSizeLG:f,controlHeightLG:m,controlHeightSM:g,paddingXS:h,borderRadius:v,borderRadiusSM:S,borderRadiusLG:b,buttonCheckedBg:E,buttonSolidCheckedColor:y,colorTextDisabled:C,colorBgContainerDisabled:T,buttonCheckedBgDisabled:x,buttonCheckedColorDisabled:R,colorPrimary:w,colorPrimaryHover:I,colorPrimaryActive:O,buttonSolidCheckedBg:k,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:M,calc:N}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:X(N(n).sub(N(a).mul(2)).equal()),background:p,border:`${X(a)} ${i} ${o}`,borderBlockStartWidth:N(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:N(a).mul(-1).equal(),insetInlineStart:N(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:o,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${X(a)} ${i} ${o}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:X(N(m).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:g,paddingInline:N(h).sub(a).equal(),paddingBlock:0,lineHeight:X(N(g).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover":{position:"relative",color:w},"&:has(:focus-visible)":Object.assign({},Es(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:E,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:I,borderColor:I,"&::before":{backgroundColor:I}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:k,borderColor:k,"&:hover":{color:y,background:P,borderColor:P},"&:active":{color:y,background:M,borderColor:M}},"&-disabled":{color:C,backgroundColor:T,borderColor:o,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:T,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:x,borderColor:o,boxShadow:"none"}}}},zye=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:i,colorText:o,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:p,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:g}=e,h=4,v=i,S=t?v-h*2:v-(h+a)*2;return{radioSize:v,dotSize:S,dotColorDisabled:l,buttonSolidCheckedColor:d,buttonSolidCheckedBg:p,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:l,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?p:g,radioBgColor:t?s:p}},uJ=sn("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${X(n)} ${t}`,i=Ht(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Bye(i),Uye(i),jye(i)]},zye,{unitless:{radioSize:!0,dotSize:!0}});var Hye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=c.useContext(sJ),i=c.useContext(lJ),{getPrefixCls:o,direction:s,radio:l}=c.useContext(lt),u=c.useRef(null),d=aa(t,u),{isFormItemInput:p}=c.useContext(Gr),f=M=>{var N,A;(N=e.onChange)===null||N===void 0||N.call(e,M),(A=a==null?void 0:a.onChange)===null||A===void 0||A.call(a,M)},{prefixCls:m,className:g,rootClassName:h,children:v,style:S,title:b}=e,E=Hye(e,["prefixCls","className","rootClassName","children","style","title"]),y=o("radio",m),C=((a==null?void 0:a.optionType)||i)==="button",T=C?`${y}-button`:y,x=Hn(y),[R,w,I]=uJ(y,x),O=Object.assign({},E),k=c.useContext(ea);a&&(O.name=a.name,O.onChange=f,O.checked=e.value===a.value,O.disabled=(n=O.disabled)!==null&&n!==void 0?n:a.disabled),O.disabled=(r=O.disabled)!==null&&r!==void 0?r:k;const P=ie(`${T}-wrapper`,{[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:O.disabled,[`${T}-wrapper-rtl`]:s==="rtl",[`${T}-wrapper-in-form-item`]:p},l==null?void 0:l.className,g,h,w,I,x);return R(c.createElement(Jm,{component:"Radio",disabled:O.disabled},c.createElement("label",{className:P,style:Object.assign(Object.assign({},l==null?void 0:l.style),S),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b},c.createElement(cJ,Object.assign({},O,{className:ie(O.className,{[Mb]:!C}),type:"radio",prefixCls:T,ref:d})),v!==void 0?c.createElement("span",null,v):null)))},w_=c.forwardRef(Gye),Vye=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=c.useContext(lt),{prefixCls:a,className:i,rootClassName:o,options:s,buttonStyle:l="outline",disabled:u,children:d,size:p,style:f,id:m,optionType:g,name:h,defaultValue:v,value:S,onChange:b,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T}=e,[x,R]=ln(v,{value:S}),w=c.useCallback(F=>{const B=x,z=F.target.value;"value"in e||R(z),z!==B&&(b==null||b(F))},[x,R,b]),I=n("radio",a),O=`${I}-group`,k=Hn(I),[P,M,N]=uJ(I,k);let A=d;s&&s.length>0&&(A=s.map(F=>typeof F=="string"||typeof F=="number"?c.createElement(w_,{key:F.toString(),prefixCls:I,disabled:u,value:F,checked:x===F},F):c.createElement(w_,{key:`radio-group-value-options-${F.value}`,prefixCls:I,disabled:F.disabled||u,value:F.value,checked:x===F.value,title:F.title,style:F.style,id:F.id,required:F.required},F.label)));const D=xr(p),L=ie(O,`${O}-${l}`,{[`${O}-${D}`]:D,[`${O}-rtl`]:r==="rtl"},i,o,M,N,k),$=c.useMemo(()=>({onChange:w,value:x,disabled:u,name:h,optionType:g}),[w,x,u,h,g]);return P(c.createElement("div",Object.assign({},Jn(e,{aria:!0,data:!0}),{className:L,style:f,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T,id:m,ref:t}),c.createElement(Pye,{value:$},A)))}),qye=c.memo(Vye);var Wye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=c.useContext(lt),{prefixCls:r}=e,a=Wye(e,["prefixCls"]),i=n("radio",r);return c.createElement($ye,{value:"button"},c.createElement(w_,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))},Kye=c.forwardRef(Yye),di=w_;di.Button=Kye;di.Group=qye;di.__ANT_RADIO=!0;function fg(e){return Ht(e,{inputAffixPadding:e.paddingXXS})}const mg=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:i,controlHeightLG:o,fontSizeLG:s,lineHeightLG:l,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:f,colorPrimaryHover:m,colorPrimary:g,controlOutlineWidth:h,controlOutline:v,colorErrorOutline:S,colorWarningOutline:b,colorBgContainer:E}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((o-s*l)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:p-a,addonBg:f,activeBorderColor:g,hoverBorderColor:m,activeShadow:`0 0 0 ${h}px ${v}`,errorActiveShadow:`0 0 0 ${h}px ${S}`,warningActiveShadow:`0 0 0 ${h}px ${b}`,hoverBg:E,activeBg:E,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},Xye=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),lS=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Xye(Ht(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),bk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),R3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},bk(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),Sk=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},bk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},lS(e))}),R3(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),R3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),w3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),dJ=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},w3(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),w3(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},lS(e))}})}),Ek=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},pJ=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),I3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},pJ(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),yk=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pJ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},lS(e))}),I3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),I3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),O3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),fJ=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},O3(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),O3(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ck=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),mJ=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${X(t)} ${X(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Tk=e=>({padding:`${X(e.paddingBlockSM)} ${X(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),gg=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${X(e.paddingBlock)} ${X(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ck(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},mJ(e)),"&-sm":Object.assign({},Tk(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),gJ=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},mJ(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Tk(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${X(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${X(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${X(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${X(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${X(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},go()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -281,67 +281,67 @@ html body { & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${n}-select:last-child > ${n}-select-selector, & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Kye=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,o=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),pg(e)),_k(e)),Sk(e)),bk(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Xye=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Q(e.inputAffixPadding)}`}}}},Qye=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:o,iconCls:s}=e,l=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},pg(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Xye(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:o}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},Zye=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),mJ(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},uJ(e)),pJ(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Jye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Qye=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,o=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),gg(e)),Sk(e)),yk(e)),Ek(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Zye=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${X(e.inputAffixPadding)}`}}}},Jye=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:o,iconCls:s}=e,l=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},gg(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Zye(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:o}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},eCe=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},an(e)),gJ(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},dJ(e)),fJ(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},tCe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, > ${t}, - ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},eCe=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},nCe=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${t}, &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},tCe=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Ck=cn("Input",e=>{const t=Ht(e,ug(e));return[Kye(t),eCe(t),Qye(t),Zye(t),Jye(t),tCe(t),Zm(t)]},dg,{resetFont:!1}),hy=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",i=BQ(e);return[{[`${n}-multiple${a}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:Q(i.itemLineHeight)}}}]},nCe=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Ht(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=Ht(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[hy(a,"small"),hy(e),hy(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},UQ(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},rCe=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:i,cellHoverBg:o,lineWidth:s,lineType:l,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:p,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:g}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:Q(r),borderRadius:a,transition:`background ${i}`},[`&:hover:not(${t}-in-view), - &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Q(s)} ${l} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, + `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},rCe=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},xk=sn("Input",e=>{const t=Ht(e,fg(e));return[Qye(t),nCe(t),Jye(t),eCe(t),tCe(t),rCe(t),eg(t)]},mg,{resetFont:!1}),by=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",i=UQ(e);return[{[`${n}-multiple${a}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:X(i.itemLineHeight)}}}]},aCe=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Ht(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=Ht(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[by(a,"small"),by(e),by(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},jQ(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},iCe=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:i,cellHoverBg:o,lineWidth:s,lineType:l,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:p,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:g}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:X(r),borderRadius:a,transition:`background ${i}`},[`&:hover:not(${t}-in-view), + &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${X(s)} ${l} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:d}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:p,background:u},[`&${t}-disabled ${n}`]:{background:g}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},aCe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:i,cellWidth:o,paddingSM:s,paddingXS:l,paddingXXS:u,colorBgContainer:d,lineWidth:p,lineType:f,borderRadiusLG:m,colorPrimary:g,colorTextHeading:h,colorSplit:v,pickerControlIconBorderWidth:S,colorIcon:_,textHeight:E,motionDurationMid:y,colorIconHover:C,fontWeightStrong:T,cellHeight:x,pickerCellPaddingVertical:R,colorTextDisabled:w,colorText:I,fontSize:O,motionDurationSlow:k,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:M,borderRadiusSM:N,colorTextLightSolid:A,cellHoverBg:D,timeColumnHeight:L,timeColumnWidth:$,timeCellHeight:F,controlItemBgActive:B,marginXXS:z,pickerDatePanelPaddingHorizontal:U,pickerControlIconMargin:j}=e,G=e.calc(o).mul(7).add(e.calc(U).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:m,outline:"none","&-focused":{borderColor:g},"&-rtl":{[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:p,background:u},[`&${t}-disabled ${n}`]:{background:g}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},oCe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:i,cellWidth:o,paddingSM:s,paddingXS:l,paddingXXS:u,colorBgContainer:d,lineWidth:p,lineType:f,borderRadiusLG:m,colorPrimary:g,colorTextHeading:h,colorSplit:v,pickerControlIconBorderWidth:S,colorIcon:b,textHeight:E,motionDurationMid:y,colorIconHover:C,fontWeightStrong:T,cellHeight:x,pickerCellPaddingVertical:R,colorTextDisabled:w,colorText:I,fontSize:O,motionDurationSlow:k,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:M,borderRadiusSM:N,colorTextLightSolid:A,cellHoverBg:D,timeColumnHeight:L,timeColumnWidth:$,timeCellHeight:F,controlItemBgActive:B,marginXXS:z,pickerDatePanelPaddingHorizontal:U,pickerControlIconMargin:j}=e,G=e.calc(o).mul(7).add(e.calc(U).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:m,outline:"none","&-focused":{borderColor:g},"&-rtl":{[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${Q(l)}`,color:h,borderBottom:`${Q(p)} ${f} ${v}`,"> *":{flex:"none"},button:{padding:0,color:_,lineHeight:Q(E),background:"transparent",border:0,cursor:"pointer",transition:`color ${y}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:C},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:T,lineHeight:Q(E),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:g}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${Q(S)} 0`,borderInlineWidth:`${Q(S)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:j,insetInlineStart:j,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${Q(S)} 0`,borderInlineWidth:`${Q(S)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:e.calc(x).add(e.calc(R).mul(2)).equal(),color:I,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Q(R)} 0`,color:w,cursor:"pointer","&-in-view":{color:I}},rCe(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${Q(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:M}},"&-decade-panel":{[r]:{padding:`0 ${Q(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${Q(l)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${Q(l)} ${Q(U)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${X(l)}`,color:h,borderBottom:`${X(p)} ${f} ${v}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:X(E),background:"transparent",border:0,cursor:"pointer",transition:`color ${y}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:C},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:T,lineHeight:X(E),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:g}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${X(S)} 0`,borderInlineWidth:`${X(S)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:j,insetInlineStart:j,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${X(S)} 0`,borderInlineWidth:`${X(S)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:e.calc(x).add(e.calc(R).mul(2)).equal(),color:I,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${X(R)} 0`,color:w,cursor:"pointer","&-in-view":{color:I}},iCe(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${X(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:M}},"&-decade-panel":{[r]:{padding:`0 ${X(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${X(l)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${X(l)} ${X(U)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${y}`},"&:first-child:before":{borderStartStartRadius:N,borderEndStartRadius:N},"&:last-child:before":{borderStartEndRadius:N,borderEndEndRadius:N}},"&:hover td":{"&:before":{background:D}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:g},[`&${t}-cell-week`]:{color:new an(A).setAlpha(.5).toHexString()},[r]:{color:A}}},"&-range-hover td:before":{background:B}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Q(l)} ${Q(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${Q(p)} ${f} ${v}`},[`${t}-date-panel, + ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${y}`},"&:first-child:before":{borderStartStartRadius:N,borderEndStartRadius:N},"&:last-child:before":{borderStartEndRadius:N,borderEndEndRadius:N}},"&:hover td":{"&:before":{background:D}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:g},[`&${t}-cell-week`]:{color:new on(A).setAlpha(.5).toHexString()},[r]:{color:A}}},"&-range-hover td:before":{background:B}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${X(l)} ${X(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${X(p)} ${f} ${v}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${k}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:$,margin:`${Q(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${y}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(F).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${Q(p)} ${f} ${v}`},"&-active":{background:new an(B).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:z,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc($).sub(e.calc(z).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc($).sub(F).div(2).equal(),color:I,lineHeight:Q(F),borderRadius:N,cursor:"pointer",transition:`background ${y}`,"&:hover":{background:D}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:w,background:"transparent",cursor:"not-allowed"}}}}}}}}},iCe=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:i,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Q(r)} ${u} ${d}`,"&-extra":{padding:`0 ${Q(a)}`,lineHeight:Q(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Q(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Q(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Q(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:o,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},oCe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},sCe=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:i,lineWidth:o}=e,s=i*2,l=o*2,u=Math.min(n-s,n-l),d=Math.min(r-s,r-l),p=Math.min(a-s,a-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new an(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new an(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:p,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},lCe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},dg(e)),sCe(e)),qb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),cCe=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},_k(e)),Sk(e)),bk(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},vy=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(a).div(2).equal(),0),o=e.max(e.calc(t).sub(a).sub(i).equal(),0);return{padding:`${Q(i)} ${Q(r)} ${Q(o)}`}},uCe=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},dCe=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:i,lineType:o,colorBorder:s,borderRadius:l,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:p,controlHeightLG:f,fontSizeLG:m,controlHeightSM:g,paddingInlineSM:h,paddingXS:v,marginXS:S,colorTextDescription:_,lineWidthBold:E,colorPrimary:y,motionDurationSlow:C,zIndexPopup:T,paddingXXS:x,sizePopupArrow:R,colorBgElevated:w,borderRadiusLG:I,boxShadowSecondary:O,borderRadiusSM:k,colorSplit:P,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:A,boxShadowPopoverArrow:D,fontHeight:L,fontHeightLG:$,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},on(e)),vy(e,r,L,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Ek(p)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:p}}},"&-large":Object.assign(Object.assign({},vy(e,f,$,a)),{[`${t}-input > input`]:{fontSize:m,lineHeight:F}}),"&-small":Object.assign({},vy(e,g,L,h)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:_}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:d,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:_},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:E,background:y,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${Q(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:h}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},on(e)),aCe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:T,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:$,margin:`${X(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${y}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(F).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${X(p)} ${f} ${v}`},"&-active":{background:new on(B).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:z,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc($).sub(e.calc(z).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc($).sub(F).div(2).equal(),color:I,lineHeight:X(F),borderRadius:N,cursor:"pointer",transition:`background ${y}`,"&:hover":{background:D}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:w,background:"transparent",cursor:"not-allowed"}}}}}}}}},sCe=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:i,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${X(r)} ${u} ${d}`,"&-extra":{padding:`0 ${X(a)}`,lineHeight:X(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${X(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:X(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:X(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:o,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},lCe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},cCe=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:i,lineWidth:o}=e,s=i*2,l=o*2,u=Math.min(n-s,n-l),d=Math.min(r-s,r-l),p=Math.min(a-s,a-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new on(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new on(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:p,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},uCe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},mg(e)),cCe(e)),Kb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),dCe=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},Sk(e)),yk(e)),Ek(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Sy=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(a).div(2).equal(),0),o=e.max(e.calc(t).sub(a).sub(i).equal(),0);return{padding:`${X(i)} ${X(r)} ${X(o)}`}},pCe=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},fCe=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:i,lineType:o,colorBorder:s,borderRadius:l,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:p,controlHeightLG:f,fontSizeLG:m,controlHeightSM:g,paddingInlineSM:h,paddingXS:v,marginXS:S,colorTextDescription:b,lineWidthBold:E,colorPrimary:y,motionDurationSlow:C,zIndexPopup:T,paddingXXS:x,sizePopupArrow:R,colorBgElevated:w,borderRadiusLG:I,boxShadowSecondary:O,borderRadiusSM:k,colorSplit:P,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:A,boxShadowPopoverArrow:D,fontHeight:L,fontHeightLG:$,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},an(e)),Sy(e,r,L,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Ck(p)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:p}}},"&-large":Object.assign(Object.assign({},Sy(e,f,$,a)),{[`${t}-input > input`]:{fontSize:m,lineHeight:F}}),"&-small":Object.assign({},Sy(e,g,L,h)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:d,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:E,background:y,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${X(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:h}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},an(e)),oCe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:T,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Pb},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Ub},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Lb},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:$b},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:kb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:x},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},WQ(e,w,D)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:w,borderRadius:I,boxShadow:O,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:N,maxWidth:A,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:v,borderInlineEnd:`${Q(i)} ${o} ${P}`,li:Object.assign(Object.assign({},vi),{borderRadius:k,paddingInline:v,paddingBlock:e.calc(g).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:S},"&:hover":{background:M}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${Q(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down")]},gJ=cn("DatePicker",e=>{const t=Ht(ug(e),oCe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[iCe(t),dCe(t),cCe(t),uCe(t),nCe(t),Zm(e,{focusElCls:`${e.componentCls}-focused`})]},lCe);var pCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},fCe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pCe}))},hJ=c.forwardRef(fCe);const oS=c.createContext(null);var mCe=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,i=t.indicator,o=i===void 0?{}:i,s=o.size,l=o.align,u=l===void 0?"center":l,d=c.useState(),p=oe(d,2),f=p[0],m=p[1],g=c.useRef(),h=ce.useCallback(function(S){return typeof s=="function"?s(S):typeof s=="number"?s:S},[s]);function v(){Gt.cancel(g.current)}return c.useEffect(function(){var S={};if(n)if(r){S.width=h(n.width);var _=a?"right":"left";u==="start"&&(S[_]=n[_]),u==="center"&&(S[_]=n[_]+n.width/2,S.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(S[_]=n[_]+n.width,S.transform="translateX(-100%)")}else S.height=h(n.height),u==="start"&&(S.top=n.top),u==="center"&&(S.top=n.top+n.height/2,S.transform="translateY(-50%)"),u==="end"&&(S.top=n.top+n.height,S.transform="translateY(-100%)");return v(),g.current=Gt(function(){m(S)}),v},[n,r,a,u,h]),{style:f}},I3={width:0,height:0,left:0,top:0};function gCe(e,t,n){return c.useMemo(function(){for(var r,a=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||I3,o=i.left+i.width,s=0;sM?(k=I,T.current="x"):(k=O,T.current="y"),t(-k,-k)&&w.preventDefault()}var R=c.useRef(null);R.current={onTouchStart:E,onTouchMove:y,onTouchEnd:C,onWheel:x},c.useEffect(function(){function w(P){R.current.onTouchStart(P)}function I(P){R.current.onTouchMove(P)}function O(P){R.current.onTouchEnd(P)}function k(P){R.current.onWheel(P)}return document.addEventListener("touchmove",I,{passive:!1}),document.addEventListener("touchend",O,{passive:!0}),e.current.addEventListener("touchstart",w,{passive:!0}),e.current.addEventListener("wheel",k,{passive:!1}),function(){document.removeEventListener("touchmove",I),document.removeEventListener("touchend",O)}},[])}function vJ(e){var t=c.useState(0),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(0),o=c.useRef();return o.current=e,pc(function(){var s;(s=o.current)===null||s===void 0||s.call(o)},[r]),function(){i.current===r&&(i.current+=1,a(i.current))}}function _Ce(e){var t=c.useRef([]),n=c.useState({}),r=oe(n,2),a=r[1],i=c.useRef(typeof e=="function"?e():e),o=vJ(function(){var l=i.current;t.current.forEach(function(u){l=u(l)}),t.current=[],i.current=l,a({})});function s(l){t.current.push(l),o()}return[i.current,s]}var D3={width:0,height:0,left:0,top:0,right:0};function bCe(e,t,n,r,a,i,o){var s=o.tabs,l=o.tabPosition,u=o.rtl,d,p,f;return["top","bottom"].includes(l)?(d="width",p=u?"right":"left",f=Math.abs(n)):(d="height",p="top",f=-n),c.useMemo(function(){if(!s.length)return[0,0];for(var m=s.length,g=m,h=0;hf+t){g=h-1;break}}for(var S=0,_=m-1;_>=0;_-=1){var E=e.get(s[_].key)||D3;if(E[p]=g?[0,0]:[S,g]},[e,t,r,a,i,f,l,s.map(function(m){return m.key}).join("_"),u])}function M3(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var SCe="TABS_DQ";function _J(e){return String(e).replace(/"/g,SCe)}function bJ(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var SJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,i=e.style;return!r||r.showAdd===!1?null:c.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),L3=c.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var i,o={};return gt(a)==="object"&&!c.isValidElement(a)?o=a:o.right=a,n==="right"&&(i=o.right),n==="left"&&(i=o.left),i?c.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),ECe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,i=e.locale,o=e.mobile,s=e.more,l=s===void 0?{}:s,u=e.style,d=e.className,p=e.editable,f=e.tabBarGutter,m=e.rtl,g=e.removeAriaLabel,h=e.onTabClick,v=e.getPopupContainer,S=e.popupClassName,_=c.useState(!1),E=oe(_,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=l.icon,O=I===void 0?"More":I,k="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),M=R!==null?"".concat(k,"-").concat(R):null,N=i==null?void 0:i.dropdownAriaLabel;function A(U,j){U.preventDefault(),U.stopPropagation(),p.onEdit("remove",{key:j,event:U})}var D=c.createElement(Qd,{onClick:function(j){var G=j.key,J=j.domEvent;h(G,J),C(!1)},prefixCls:"".concat(P,"-menu"),id:k,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":N!==void 0?N:"expanded dropdown"},a.map(function(U){var j=U.closable,G=U.disabled,J=U.closeIcon,Y=U.key,X=U.label,V=bJ(j,J,p,G);return c.createElement(sg,{key:Y,id:"".concat(k,"-").concat(Y),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Y),disabled:G},c.createElement("span",null,X),V&&c.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(q){q.stopPropagation(),A(q,Y)}},J||p.removeIcon||"×"))}));function L(U){for(var j=a.filter(function(V){return!V.disabled}),G=j.findIndex(function(V){return V.key===R})||0,J=j.length,Y=0;Yot?"left":"right"})}),P=oe(k,2),M=P[0],N=P[1],A=O3(0,function(ct,ot){!O&&h&&h({direction:ct>ot?"top":"bottom"})}),D=oe(A,2),L=D[0],$=D[1],F=c.useState([0,0]),B=oe(F,2),z=B[0],U=B[1],j=c.useState([0,0]),G=oe(j,2),J=G[0],Y=G[1],X=c.useState([0,0]),V=oe(X,2),H=V[0],q=V[1],K=c.useState([0,0]),Z=oe(K,2),te=Z[0],se=Z[1],ue=_Ce(new Map),me=oe(ue,2),de=me[0],Te=me[1],Ee=gCe(E,de,J[0]),ge=Sh(z,O),re=Sh(J,O),ne=Sh(H,O),ae=Sh(te,O),le=gePe?Pe:ct}var ve=c.useRef(null),Ae=c.useState(),ye=oe(Ae,2),be=ye[0],Ne=ye[1];function Ie(){Ne(Date.now())}function xe(){ve.current&&clearTimeout(ve.current)}vCe(x,function(ct,ot){function et(vt,nt){vt(function(bt){var Ct=fe(bt+nt);return Ct})}return le?(O?et(N,ct):et($,ot),xe(),Ie(),!0):!1}),c.useEffect(function(){return xe(),be&&(ve.current=setTimeout(function(){Ne(0)},100)),xe},[be]);var ke=bCe(Ee,pe,O?M:L,re,ne,ae,ee(ee({},e),{},{tabs:E})),rt=oe(ke,2),Me=rt[0],Ce=rt[1],De=Wt(function(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o,ot=Ee.get(ct)||{width:0,height:0,left:0,right:0,top:0};if(O){var et=M;s?ot.rightM+pe&&(et=ot.right+ot.width-pe):ot.left<-M?et=-ot.left:ot.left+ot.width>-M+pe&&(et=-(ot.left+ot.width-pe)),$(0),N(fe(et))}else{var vt=L;ot.top<-L?vt=-ot.top:ot.top+ot.height>-L+pe&&(vt=-(ot.top+ot.height-pe)),N(0),$(fe(vt))}}),Ue={};p==="top"||p==="bottom"?Ue[s?"marginRight":"marginLeft"]=f:Ue.marginTop=f;var Ye=E.map(function(ct,ot){var et=ct.key;return c.createElement(CCe,{id:a,prefixCls:_,key:et,tab:ct,style:ot===0?void 0:Ue,closable:ct.closable,editable:u,active:et===o,renderWrapper:m,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(nt){g(et,nt)},onFocus:function(){De(et),Ie(),x.current&&(s||(x.current.scrollLeft=0),x.current.scrollTop=0)}})}),He=function(){return Te(function(){var ot,et=new Map,vt=(ot=R.current)===null||ot===void 0?void 0:ot.getBoundingClientRect();return E.forEach(function(nt){var bt,Ct=nt.key,tt=(bt=R.current)===null||bt===void 0?void 0:bt.querySelector('[data-node-key="'.concat(_J(Ct),'"]'));if(tt){var it=TCe(tt,vt),Ke=oe(it,4),qe=Ke[0],_t=Ke[1],xt=Ke[2],kt=Ke[3];et.set(Ct,{width:qe,height:_t,left:xt,top:kt})}}),et})};c.useEffect(function(){He()},[E.map(function(ct){return ct.key}).join("_")]);var ze=vJ(function(){var ct=pu(y),ot=pu(C),et=pu(T);U([ct[0]-ot[0]-et[0],ct[1]-ot[1]-et[1]]);var vt=pu(I);q(vt);var nt=pu(w);se(nt);var bt=pu(R);Y([bt[0]-vt[0],bt[1]-vt[1]]),He()}),Xe=E.slice(0,Me),Be=E.slice(Ce+1),Je=[].concat($e(Xe),$e(Be)),mt=Ee.get(o),pt=mCe({activeTabOffset:mt,horizontal:O,indicator:v,rtl:s}),We=pt.style;c.useEffect(function(){De()},[o,Se,Pe,M3(mt),M3(Ee),O]),c.useEffect(function(){ze()},[s]);var Ve=!!Je.length,Ze="".concat(_,"-nav-wrap"),dt,It,Nt,ht;return O?s?(It=M>0,dt=M!==Pe):(dt=M<0,It=M!==Se):(Nt=L<0,ht=L!==Se),c.createElement(da,{onResize:ze},c.createElement("div",{ref:Rs(t,y),role:"tablist",className:ie("".concat(_,"-nav"),n),style:r,onKeyDown:function(){Ie()}},c.createElement(L3,{ref:C,position:"left",extra:l,prefixCls:_}),c.createElement(da,{onResize:ze},c.createElement("div",{className:ie(Ze,W(W(W(W({},"".concat(Ze,"-ping-left"),dt),"".concat(Ze,"-ping-right"),It),"".concat(Ze,"-ping-top"),Nt),"".concat(Ze,"-ping-bottom"),ht)),ref:x},c.createElement(da,{onResize:ze},c.createElement("div",{ref:R,className:"".concat(_,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(L,"px)"),transition:be?"none":void 0}},Ye,c.createElement(SJ,{ref:I,prefixCls:_,locale:d,editable:u,style:ee(ee({},Ye.length===0?void 0:Ue),{},{visibility:Ve?"hidden":null})}),c.createElement("div",{className:ie("".concat(_,"-ink-bar"),W({},"".concat(_,"-ink-bar-animated"),i.inkBar)),style:We}))))),c.createElement(yCe,_e({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:w,prefixCls:_,tabs:Je,className:!Ve&&Re,tabMoving:!!be})),c.createElement(L3,{ref:T,position:"right",extra:l,prefixCls:_})))}),EJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.id,o=e.active,s=e.tabKey,l=e.children;return c.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:o?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!o,style:a,className:ie(n,o&&"".concat(n,"-active"),r),ref:t},l)}),xCe=["renderTabBar"],RCe=["label","key"],wCe=function(t){var n=t.renderTabBar,r=Et(t,xCe),a=c.useContext(oS),i=a.tabs;if(n){var o=ee(ee({},r),{},{panes:i.map(function(s){var l=s.label,u=s.key,d=Et(s,RCe);return c.createElement(EJ,_e({tab:l,key:u,tabKey:u},d))})});return n(o,k3)}return c.createElement(k3,r)},ICe=["key","forceRender","style","className","destroyInactiveTabPane"],OCe=function(t){var n=t.id,r=t.activeKey,a=t.animated,i=t.tabPosition,o=t.destroyInactiveTabPane,s=c.useContext(oS),l=s.prefixCls,u=s.tabs,d=a.tabPane,p="".concat(l,"-tabpane");return c.createElement("div",{className:ie("".concat(l,"-content-holder"))},c.createElement("div",{className:ie("".concat(l,"-content"),"".concat(l,"-content-").concat(i),W({},"".concat(l,"-content-animated"),d))},u.map(function(f){var m=f.key,g=f.forceRender,h=f.style,v=f.className,S=f.destroyInactiveTabPane,_=Et(f,ICe),E=m===r;return c.createElement(ta,_e({key:m,visible:E,forceRender:g,removeOnLeave:!!(o||S),leavedClassName:"".concat(p,"-hidden")},a.tabPaneMotion),function(y,C){var T=y.style,x=y.className;return c.createElement(EJ,_e({},_,{prefixCls:p,id:n,tabKey:m,animated:d,active:E,style:ee(ee({},h),T),className:ie(v,x),ref:C}))})})))};function NCe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=ee({inkBar:!0},gt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var ACe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],P3=0,DCe=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,i=e.className,o=e.items,s=e.direction,l=e.activeKey,u=e.defaultActiveKey,d=e.editable,p=e.animated,f=e.tabPosition,m=f===void 0?"top":f,g=e.tabBarGutter,h=e.tabBarStyle,v=e.tabBarExtraContent,S=e.locale,_=e.more,E=e.destroyInactiveTabPane,y=e.renderTabBar,C=e.onChange,T=e.onTabClick,x=e.onTabScroll,R=e.getPopupContainer,w=e.popupClassName,I=e.indicator,O=Et(e,ACe),k=c.useMemo(function(){return(o||[]).filter(function(te){return te&>(te)==="object"&&"key"in te})},[o]),P=s==="rtl",M=NCe(p),N=c.useState(!1),A=oe(N,2),D=A[0],L=A[1];c.useEffect(function(){L(Fb())},[]);var $=ln(function(){var te;return(te=k[0])===null||te===void 0?void 0:te.key},{value:l,defaultValue:u}),F=oe($,2),B=F[0],z=F[1],U=c.useState(function(){return k.findIndex(function(te){return te.key===B})}),j=oe(U,2),G=j[0],J=j[1];c.useEffect(function(){var te=k.findIndex(function(ue){return ue.key===B});if(te===-1){var se;te=Math.max(0,Math.min(G,k.length-1)),z((se=k[te])===null||se===void 0?void 0:se.key)}J(te)},[k.map(function(te){return te.key}).join("_"),B,G]);var Y=ln(null,{value:n}),X=oe(Y,2),V=X[0],H=X[1];c.useEffect(function(){n||(H("rc-tabs-".concat(P3)),P3+=1)},[]);function q(te,se){T==null||T(te,se);var ue=te!==B;z(te),ue&&(C==null||C(te))}var K={id:V,activeKey:B,animated:M,tabPosition:m,rtl:P,mobile:D},Z=ee(ee({},K),{},{editable:d,locale:S,more:_,tabBarGutter:g,onTabClick:q,onTabScroll:x,extra:v,style:h,panes:null,getPopupContainer:R,popupClassName:w,indicator:I});return c.createElement(oS.Provider,{value:{tabs:k,prefixCls:a}},c.createElement("div",_e({ref:t,id:n,className:ie(a,"".concat(a,"-").concat(m),W(W(W({},"".concat(a,"-mobile"),D),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),i)},O),c.createElement(wCe,_e({},Z,{renderTabBar:y})),c.createElement(OCe,_e({destroyInactiveTabPane:E},K,{animated:M}))))});const MCe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function LCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},MCe),{motionName:ya(e,"switch")})),n}var kCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function $Ce(e,t){if(e)return e;const n=br(t).map(r=>{if(c.isValidElement(r)){const{key:a,props:i}=r,o=i||{},{tab:s}=o,l=kCe(o,["tab"]);return Object.assign(Object.assign({key:String(a)},l),{label:s})}return null});return PCe(n)}const FCe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[jo(e,"slide-up"),jo(e,"slide-down")]]},BCe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:i,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Q(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:Q(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Q(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Q(e.borderRadiusLG)} 0 0 ${Q(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},UCe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},on(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${Q(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},vi),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${Q(e.paddingXXS)} ${Q(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},jCe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:i,verticalItemMargin:o,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Fb},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:jb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Bb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:x},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},YQ(e,w,D)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:w,borderRadius:I,boxShadow:O,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:N,maxWidth:A,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:v,borderInlineEnd:`${X(i)} ${o} ${P}`,li:Object.assign(Object.assign({},_i),{borderRadius:k,paddingInline:v,paddingBlock:e.calc(g).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:S},"&:hover":{background:M}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${X(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ho(e,"slide-up"),Ho(e,"slide-down"),Rd(e,"move-up"),Rd(e,"move-down")]},hJ=sn("DatePicker",e=>{const t=Ht(fg(e),lCe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[sCe(t),fCe(t),dCe(t),pCe(t),aCe(t),eg(e,{focusElCls:`${e.componentCls}-focused`})]},uCe);var mCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},gCe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:mCe}))},vJ=c.forwardRef(gCe);const cS=c.createContext(null);var hCe=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,i=t.indicator,o=i===void 0?{}:i,s=o.size,l=o.align,u=l===void 0?"center":l,d=c.useState(),p=oe(d,2),f=p[0],m=p[1],g=c.useRef(),h=ce.useCallback(function(S){return typeof s=="function"?s(S):typeof s=="number"?s:S},[s]);function v(){Gt.cancel(g.current)}return c.useEffect(function(){var S={};if(n)if(r){S.width=h(n.width);var b=a?"right":"left";u==="start"&&(S[b]=n[b]),u==="center"&&(S[b]=n[b]+n.width/2,S.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(S[b]=n[b]+n.width,S.transform="translateX(-100%)")}else S.height=h(n.height),u==="start"&&(S.top=n.top),u==="center"&&(S.top=n.top+n.height/2,S.transform="translateY(-50%)"),u==="end"&&(S.top=n.top+n.height,S.transform="translateY(-100%)");return v(),g.current=Gt(function(){m(S)}),v},[n,r,a,u,h]),{style:f}},N3={width:0,height:0,left:0,top:0};function vCe(e,t,n){return c.useMemo(function(){for(var r,a=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||N3,o=i.left+i.width,s=0;sM?(k=I,T.current="x"):(k=O,T.current="y"),t(-k,-k)&&w.preventDefault()}var R=c.useRef(null);R.current={onTouchStart:E,onTouchMove:y,onTouchEnd:C,onWheel:x},c.useEffect(function(){function w(P){R.current.onTouchStart(P)}function I(P){R.current.onTouchMove(P)}function O(P){R.current.onTouchEnd(P)}function k(P){R.current.onWheel(P)}return document.addEventListener("touchmove",I,{passive:!1}),document.addEventListener("touchend",O,{passive:!0}),e.current.addEventListener("touchstart",w,{passive:!0}),e.current.addEventListener("wheel",k,{passive:!1}),function(){document.removeEventListener("touchmove",I),document.removeEventListener("touchend",O)}},[])}function _J(e){var t=c.useState(0),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(0),o=c.useRef();return o.current=e,pc(function(){var s;(s=o.current)===null||s===void 0||s.call(o)},[r]),function(){i.current===r&&(i.current+=1,a(i.current))}}function SCe(e){var t=c.useRef([]),n=c.useState({}),r=oe(n,2),a=r[1],i=c.useRef(typeof e=="function"?e():e),o=_J(function(){var l=i.current;t.current.forEach(function(u){l=u(l)}),t.current=[],i.current=l,a({})});function s(l){t.current.push(l),o()}return[i.current,s]}var L3={width:0,height:0,left:0,top:0,right:0};function ECe(e,t,n,r,a,i,o){var s=o.tabs,l=o.tabPosition,u=o.rtl,d,p,f;return["top","bottom"].includes(l)?(d="width",p=u?"right":"left",f=Math.abs(n)):(d="height",p="top",f=-n),c.useMemo(function(){if(!s.length)return[0,0];for(var m=s.length,g=m,h=0;hf+t){g=h-1;break}}for(var S=0,b=m-1;b>=0;b-=1){var E=e.get(s[b].key)||L3;if(E[p]=g?[0,0]:[S,g]},[e,t,r,a,i,f,l,s.map(function(m){return m.key}).join("_"),u])}function k3(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var yCe="TABS_DQ";function bJ(e){return String(e).replace(/"/g,yCe)}function SJ(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var EJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,i=e.style;return!r||r.showAdd===!1?null:c.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),P3=c.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var i,o={};return gt(a)==="object"&&!c.isValidElement(a)?o=a:o.right=a,n==="right"&&(i=o.right),n==="left"&&(i=o.left),i?c.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),CCe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,i=e.locale,o=e.mobile,s=e.more,l=s===void 0?{}:s,u=e.style,d=e.className,p=e.editable,f=e.tabBarGutter,m=e.rtl,g=e.removeAriaLabel,h=e.onTabClick,v=e.getPopupContainer,S=e.popupClassName,b=c.useState(!1),E=oe(b,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=l.icon,O=I===void 0?"More":I,k="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),M=R!==null?"".concat(k,"-").concat(R):null,N=i==null?void 0:i.dropdownAriaLabel;function A(U,j){U.preventDefault(),U.stopPropagation(),p.onEdit("remove",{key:j,event:U})}var D=c.createElement(ep,{onClick:function(j){var G=j.key,J=j.domEvent;h(G,J),C(!1)},prefixCls:"".concat(P,"-menu"),id:k,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":N!==void 0?N:"expanded dropdown"},a.map(function(U){var j=U.closable,G=U.disabled,J=U.closeIcon,Y=U.key,Q=U.label,V=SJ(j,J,p,G);return c.createElement(ug,{key:Y,id:"".concat(k,"-").concat(Y),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Y),disabled:G},c.createElement("span",null,Q),V&&c.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(q){q.stopPropagation(),A(q,Y)}},J||p.removeIcon||"×"))}));function L(U){for(var j=a.filter(function(V){return!V.disabled}),G=j.findIndex(function(V){return V.key===R})||0,J=j.length,Y=0;Yot?"left":"right"})}),P=oe(k,2),M=P[0],N=P[1],A=A3(0,function(ct,ot){!O&&h&&h({direction:ct>ot?"top":"bottom"})}),D=oe(A,2),L=D[0],$=D[1],F=c.useState([0,0]),B=oe(F,2),z=B[0],U=B[1],j=c.useState([0,0]),G=oe(j,2),J=G[0],Y=G[1],Q=c.useState([0,0]),V=oe(Q,2),H=V[0],q=V[1],K=c.useState([0,0]),Z=oe(K,2),te=Z[0],se=Z[1],ue=SCe(new Map),me=oe(ue,2),de=me[0],Te=me[1],Ee=vCe(E,de,J[0]),ge=Ch(z,O),re=Ch(J,O),ne=Ch(H,O),ae=Ch(te,O),le=gePe?Pe:ct}var _e=c.useRef(null),Ae=c.useState(),ye=oe(Ae,2),be=ye[0],Ne=ye[1];function we(){Ne(Date.now())}function xe(){_e.current&&clearTimeout(_e.current)}bCe(x,function(ct,ot){function et(vt,rt){vt(function(bt){var Tt=fe(bt+rt);return Tt})}return le?(O?et(N,ct):et($,ot),xe(),we(),!0):!1}),c.useEffect(function(){return xe(),be&&(_e.current=setTimeout(function(){Ne(0)},100)),xe},[be]);var ke=ECe(Ee,pe,O?M:L,re,ne,ae,ee(ee({},e),{},{tabs:E})),at=oe(ke,2),Me=at[0],Ce=at[1],De=Wt(function(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o,ot=Ee.get(ct)||{width:0,height:0,left:0,right:0,top:0};if(O){var et=M;s?ot.rightM+pe&&(et=ot.right+ot.width-pe):ot.left<-M?et=-ot.left:ot.left+ot.width>-M+pe&&(et=-(ot.left+ot.width-pe)),$(0),N(fe(et))}else{var vt=L;ot.top<-L?vt=-ot.top:ot.top+ot.height>-L+pe&&(vt=-(ot.top+ot.height-pe)),N(0),$(fe(vt))}}),Ue={};p==="top"||p==="bottom"?Ue[s?"marginRight":"marginLeft"]=f:Ue.marginTop=f;var Ye=E.map(function(ct,ot){var et=ct.key;return c.createElement(xCe,{id:a,prefixCls:b,key:et,tab:ct,style:ot===0?void 0:Ue,closable:ct.closable,editable:u,active:et===o,renderWrapper:m,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(rt){g(et,rt)},onFocus:function(){De(et),we(),x.current&&(s||(x.current.scrollLeft=0),x.current.scrollTop=0)}})}),He=function(){return Te(function(){var ot,et=new Map,vt=(ot=R.current)===null||ot===void 0?void 0:ot.getBoundingClientRect();return E.forEach(function(rt){var bt,Tt=rt.key,tt=(bt=R.current)===null||bt===void 0?void 0:bt.querySelector('[data-node-key="'.concat(bJ(Tt),'"]'));if(tt){var it=RCe(tt,vt),Ke=oe(it,4),qe=Ke[0],_t=Ke[1],Rt=Ke[2],kt=Ke[3];et.set(Tt,{width:qe,height:_t,left:Rt,top:kt})}}),et})};c.useEffect(function(){He()},[E.map(function(ct){return ct.key}).join("_")]);var ze=_J(function(){var ct=mu(y),ot=mu(C),et=mu(T);U([ct[0]-ot[0]-et[0],ct[1]-ot[1]-et[1]]);var vt=mu(I);q(vt);var rt=mu(w);se(rt);var bt=mu(R);Y([bt[0]-vt[0],bt[1]-vt[1]]),He()}),Xe=E.slice(0,Me),Be=E.slice(Ce+1),Je=[].concat($e(Xe),$e(Be)),mt=Ee.get(o),pt=hCe({activeTabOffset:mt,horizontal:O,indicator:v,rtl:s}),We=pt.style;c.useEffect(function(){De()},[o,Se,Pe,k3(mt),k3(Ee),O]),c.useEffect(function(){ze()},[s]);var Ve=!!Je.length,Ze="".concat(b,"-nav-wrap"),dt,It,Nt,ht;return O?s?(It=M>0,dt=M!==Pe):(dt=M<0,It=M!==Se):(Nt=L<0,ht=L!==Se),c.createElement(da,{onResize:ze},c.createElement("div",{ref:ws(t,y),role:"tablist",className:ie("".concat(b,"-nav"),n),style:r,onKeyDown:function(){we()}},c.createElement(P3,{ref:C,position:"left",extra:l,prefixCls:b}),c.createElement(da,{onResize:ze},c.createElement("div",{className:ie(Ze,W(W(W(W({},"".concat(Ze,"-ping-left"),dt),"".concat(Ze,"-ping-right"),It),"".concat(Ze,"-ping-top"),Nt),"".concat(Ze,"-ping-bottom"),ht)),ref:x},c.createElement(da,{onResize:ze},c.createElement("div",{ref:R,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(L,"px)"),transition:be?"none":void 0}},Ye,c.createElement(EJ,{ref:I,prefixCls:b,locale:d,editable:u,style:ee(ee({},Ye.length===0?void 0:Ue),{},{visibility:Ve?"hidden":null})}),c.createElement("div",{className:ie("".concat(b,"-ink-bar"),W({},"".concat(b,"-ink-bar-animated"),i.inkBar)),style:We}))))),c.createElement(TCe,ve({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:w,prefixCls:b,tabs:Je,className:!Ve&&Re,tabMoving:!!be})),c.createElement(P3,{ref:T,position:"right",extra:l,prefixCls:b})))}),yJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.id,o=e.active,s=e.tabKey,l=e.children;return c.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:o?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!o,style:a,className:ie(n,o&&"".concat(n,"-active"),r),ref:t},l)}),wCe=["renderTabBar"],ICe=["label","key"],OCe=function(t){var n=t.renderTabBar,r=yt(t,wCe),a=c.useContext(cS),i=a.tabs;if(n){var o=ee(ee({},r),{},{panes:i.map(function(s){var l=s.label,u=s.key,d=yt(s,ICe);return c.createElement(yJ,ve({tab:l,key:u,tabKey:u},d))})});return n(o,$3)}return c.createElement($3,r)},NCe=["key","forceRender","style","className","destroyInactiveTabPane"],ACe=function(t){var n=t.id,r=t.activeKey,a=t.animated,i=t.tabPosition,o=t.destroyInactiveTabPane,s=c.useContext(cS),l=s.prefixCls,u=s.tabs,d=a.tabPane,p="".concat(l,"-tabpane");return c.createElement("div",{className:ie("".concat(l,"-content-holder"))},c.createElement("div",{className:ie("".concat(l,"-content"),"".concat(l,"-content-").concat(i),W({},"".concat(l,"-content-animated"),d))},u.map(function(f){var m=f.key,g=f.forceRender,h=f.style,v=f.className,S=f.destroyInactiveTabPane,b=yt(f,NCe),E=m===r;return c.createElement(ta,ve({key:m,visible:E,forceRender:g,removeOnLeave:!!(o||S),leavedClassName:"".concat(p,"-hidden")},a.tabPaneMotion),function(y,C){var T=y.style,x=y.className;return c.createElement(yJ,ve({},b,{prefixCls:p,id:n,tabKey:m,animated:d,active:E,style:ee(ee({},h),T),className:ie(v,x),ref:C}))})})))};function DCe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=ee({inkBar:!0},gt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var MCe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],F3=0,LCe=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,i=e.className,o=e.items,s=e.direction,l=e.activeKey,u=e.defaultActiveKey,d=e.editable,p=e.animated,f=e.tabPosition,m=f===void 0?"top":f,g=e.tabBarGutter,h=e.tabBarStyle,v=e.tabBarExtraContent,S=e.locale,b=e.more,E=e.destroyInactiveTabPane,y=e.renderTabBar,C=e.onChange,T=e.onTabClick,x=e.onTabScroll,R=e.getPopupContainer,w=e.popupClassName,I=e.indicator,O=yt(e,MCe),k=c.useMemo(function(){return(o||[]).filter(function(te){return te&>(te)==="object"&&"key"in te})},[o]),P=s==="rtl",M=DCe(p),N=c.useState(!1),A=oe(N,2),D=A[0],L=A[1];c.useEffect(function(){L(zb())},[]);var $=ln(function(){var te;return(te=k[0])===null||te===void 0?void 0:te.key},{value:l,defaultValue:u}),F=oe($,2),B=F[0],z=F[1],U=c.useState(function(){return k.findIndex(function(te){return te.key===B})}),j=oe(U,2),G=j[0],J=j[1];c.useEffect(function(){var te=k.findIndex(function(ue){return ue.key===B});if(te===-1){var se;te=Math.max(0,Math.min(G,k.length-1)),z((se=k[te])===null||se===void 0?void 0:se.key)}J(te)},[k.map(function(te){return te.key}).join("_"),B,G]);var Y=ln(null,{value:n}),Q=oe(Y,2),V=Q[0],H=Q[1];c.useEffect(function(){n||(H("rc-tabs-".concat(F3)),F3+=1)},[]);function q(te,se){T==null||T(te,se);var ue=te!==B;z(te),ue&&(C==null||C(te))}var K={id:V,activeKey:B,animated:M,tabPosition:m,rtl:P,mobile:D},Z=ee(ee({},K),{},{editable:d,locale:S,more:b,tabBarGutter:g,onTabClick:q,onTabScroll:x,extra:v,style:h,panes:null,getPopupContainer:R,popupClassName:w,indicator:I});return c.createElement(cS.Provider,{value:{tabs:k,prefixCls:a}},c.createElement("div",ve({ref:t,id:n,className:ie(a,"".concat(a,"-").concat(m),W(W(W({},"".concat(a,"-mobile"),D),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),i)},O),c.createElement(OCe,ve({},Z,{renderTabBar:y})),c.createElement(ACe,ve({destroyInactiveTabPane:E},K,{animated:M}))))});const kCe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function PCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},kCe),{motionName:ya(e,"switch")})),n}var $Ce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function BCe(e,t){if(e)return e;const n=_r(t).map(r=>{if(c.isValidElement(r)){const{key:a,props:i}=r,o=i||{},{tab:s}=o,l=$Ce(o,["tab"]);return Object.assign(Object.assign({key:String(a)},l),{label:s})}return null});return FCe(n)}const UCe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Ho(e,"slide-up"),Ho(e,"slide-down")]]},jCe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:i,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${X(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:X(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:X(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${X(e.borderRadiusLG)} 0 0 ${X(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},zCe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},an(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${X(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},_i),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${X(e.paddingXXS)} ${X(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},HCe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:i,verticalItemMargin:o,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${X(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:Q(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},zCe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Q(e.borderRadius)} ${Q(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Q(e.borderRadius)} ${Q(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Q(e.borderRadius)} ${Q(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Q(e.borderRadius)} 0 0 ${Q(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},HCe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:i,horizontalItemPadding:o,itemSelectedColor:s,itemColor:l}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Bo(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},GCe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:Q(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:Q(e.marginXS)},marginLeft:{_skip_check_:!0,value:Q(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},VCe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:i,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${Q(e.paddingXS)}`,background:"transparent",border:`${Q(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:o}},Bo(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),HCe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},qCe=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},WCe=cn("Tabs",e=>{const t=Ht(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Q(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Q(e.horizontalItemGutter)}`});return[zCe(t),GCe(t),jCe(t),UCe(t),BCe(t),VCe(t),FCe(t)]},qCe),YCe=()=>null;var KCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,i,o,s,l,u,d,p;const{type:f,className:m,rootClassName:g,size:h,onEdit:v,hideAdd:S,centered:_,addIcon:E,removeIcon:y,moreIcon:C,more:T,popupClassName:x,children:R,items:w,animated:I,style:O,indicatorSize:k,indicator:P}=e,M=KCe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:N}=M,{direction:A,tabs:D,getPrefixCls:L,getPopupContainer:$}=c.useContext(lt),F=L("tabs",N),B=Zn(F),[z,U,j]=WCe(F,B);let G;f==="editable-card"&&(G={onEdit:(K,Z)=>{let{key:te,event:se}=Z;v==null||v(K==="add"?se:te,K)},removeIcon:(t=y??(D==null?void 0:D.removeIcon))!==null&&t!==void 0?t:c.createElement(na,null),addIcon:(E??(D==null?void 0:D.addIcon))||c.createElement(hJ,null),showAdd:S!==!0});const J=L(),Y=xr(h),X=$Ce(w,R),V=LCe(F,I),H=Object.assign(Object.assign({},D==null?void 0:D.style),O),q={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=D==null?void 0:D.indicator)===null||r===void 0?void 0:r.align,size:(s=(i=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:k)!==null&&i!==void 0?i:(o=D==null?void 0:D.indicator)===null||o===void 0?void 0:o.size)!==null&&s!==void 0?s:D==null?void 0:D.indicatorSize};return z(c.createElement(DCe,Object.assign({direction:A,getPopupContainer:$},M,{items:X,className:ie({[`${F}-${Y}`]:Y,[`${F}-card`]:["card","editable-card"].includes(f),[`${F}-editable-card`]:f==="editable-card",[`${F}-centered`]:_},D==null?void 0:D.className,m,g,U,j,B),popupClassName:ie(x,U,j,B),style:H,editable:G,more:Object.assign({icon:(p=(d=(u=(l=D==null?void 0:D.more)===null||l===void 0?void 0:l.icon)!==null&&u!==void 0?u:D==null?void 0:D.moreIcon)!==null&&d!==void 0?d:C)!==null&&p!==void 0?p:c.createElement(uk,null),transitionName:`${J}-slide-up`},T),prefixCls:F,animated:V,indicator:q})))};Tk.TabPane=YCe;var XCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=XCe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=c.useContext(lt),o=i("card",t),s=ie(`${o}-grid`,n,{[`${o}-grid-hoverable`]:r});return c.createElement("div",Object.assign({},a,{className:s}))},QCe=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${Q(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`},mo()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},vi),{[` + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:X(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},GCe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${X(e.borderRadius)} ${X(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${X(e.borderRadius)} ${X(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${X(e.borderRadius)} ${X(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${X(e.borderRadius)} 0 0 ${X(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},VCe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:i,horizontalItemPadding:o,itemSelectedColor:s,itemColor:l}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Uo(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},qCe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:X(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:X(e.marginXS)},marginLeft:{_skip_check_:!0,value:X(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},WCe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:i,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${X(e.paddingXS)}`,background:"transparent",border:`${X(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:o}},Uo(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),VCe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},YCe=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},KCe=sn("Tabs",e=>{const t=Ht(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${X(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${X(e.horizontalItemGutter)}`});return[GCe(t),qCe(t),HCe(t),zCe(t),jCe(t),WCe(t),UCe(t)]},YCe),XCe=()=>null;var QCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,i,o,s,l,u,d,p;const{type:f,className:m,rootClassName:g,size:h,onEdit:v,hideAdd:S,centered:b,addIcon:E,removeIcon:y,moreIcon:C,more:T,popupClassName:x,children:R,items:w,animated:I,style:O,indicatorSize:k,indicator:P}=e,M=QCe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:N}=M,{direction:A,tabs:D,getPrefixCls:L,getPopupContainer:$}=c.useContext(lt),F=L("tabs",N),B=Hn(F),[z,U,j]=KCe(F,B);let G;f==="editable-card"&&(G={onEdit:(K,Z)=>{let{key:te,event:se}=Z;v==null||v(K==="add"?se:te,K)},removeIcon:(t=y??(D==null?void 0:D.removeIcon))!==null&&t!==void 0?t:c.createElement(na,null),addIcon:(E??(D==null?void 0:D.addIcon))||c.createElement(vJ,null),showAdd:S!==!0});const J=L(),Y=xr(h),Q=BCe(w,R),V=PCe(F,I),H=Object.assign(Object.assign({},D==null?void 0:D.style),O),q={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=D==null?void 0:D.indicator)===null||r===void 0?void 0:r.align,size:(s=(i=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:k)!==null&&i!==void 0?i:(o=D==null?void 0:D.indicator)===null||o===void 0?void 0:o.size)!==null&&s!==void 0?s:D==null?void 0:D.indicatorSize};return z(c.createElement(LCe,Object.assign({direction:A,getPopupContainer:$},M,{items:Q,className:ie({[`${F}-${Y}`]:Y,[`${F}-card`]:["card","editable-card"].includes(f),[`${F}-editable-card`]:f==="editable-card",[`${F}-centered`]:b},D==null?void 0:D.className,m,g,U,j,B),popupClassName:ie(x,U,j,B),style:H,editable:G,more:Object.assign({icon:(p=(d=(u=(l=D==null?void 0:D.more)===null||l===void 0?void 0:l.icon)!==null&&u!==void 0?u:D==null?void 0:D.moreIcon)!==null&&d!==void 0?d:C)!==null&&p!==void 0?p:c.createElement(pk,null),transitionName:`${J}-slide-up`},T),prefixCls:F,animated:V,indicator:q})))};Rk.TabPane=XCe;var ZCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=ZCe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=c.useContext(lt),o=i("card",t),s=ie(`${o}-grid`,n,{[`${o}-grid-hoverable`]:r});return c.createElement("div",Object.assign({},a,{className:s}))},JCe=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${X(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`},go()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},_i),{[` > ${n}-typography, > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},ZCe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${Q(a)} 0 0 0 ${n}, - 0 ${Q(a)} 0 0 ${n}, - ${Q(a)} ${Q(a)} 0 0 ${n}, - ${Q(a)} 0 0 0 ${n} inset, - 0 ${Q(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},JCe=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},mo()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:Q(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:Q(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${i}`}}})},e0e=e=>Object.assign(Object.assign({margin:`${Q(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},mo()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},vi),"&-description":{color:e.colorTextDescription}}),t0e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${Q(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${Q(e.padding)} ${Q(n)}`}}},n0e=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},r0e=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:QCe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},mo()),[`${t}-grid`]:ZCe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:JCe(e),[`${t}-meta`]:e0e(e)}),[`${t}-bordered`]:{border:`${Q(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:t0e(e),[`${t}-loading`]:n0e(e),[`${t}-rtl`]:{direction:"rtl"}}},a0e=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${Q(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},i0e=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),o0e=cn("Card",e=>{const t=Ht(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[r0e(t),a0e(t)]},i0e);var $3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return c.createElement("ul",{className:t,style:r},n.map((a,i)=>{const o=`action-${i}`;return c.createElement("li",{style:{width:`${100/n.length}%`},key:o},c.createElement("span",null,a))}))},l0e=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,extra:o,headStyle:s={},bodyStyle:l={},title:u,loading:d,bordered:p=!0,size:f,type:m,cover:g,actions:h,tabList:v,children:S,activeTabKey:_,defaultActiveTabKey:E,tabBarExtraContent:y,hoverable:C,tabProps:T={},classNames:x,styles:R}=e,w=$3(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:I,direction:O,card:k}=c.useContext(lt),P=de=>{var Te;(Te=e.onTabChange)===null||Te===void 0||Te.call(e,de)},M=de=>{var Te;return ie((Te=k==null?void 0:k.classNames)===null||Te===void 0?void 0:Te[de],x==null?void 0:x[de])},N=de=>{var Te;return Object.assign(Object.assign({},(Te=k==null?void 0:k.styles)===null||Te===void 0?void 0:Te[de]),R==null?void 0:R[de])},A=c.useMemo(()=>{let de=!1;return c.Children.forEach(S,Te=>{(Te==null?void 0:Te.type)===yJ&&(de=!0)}),de},[S]),D=I("card",n),[L,$,F]=o0e(D),B=c.createElement(Ol,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),z=_!==void 0,U=Object.assign(Object.assign({},T),{[z?"activeKey":"defaultActiveKey"]:z?_:E,tabBarExtraContent:y});let j;const G=xr(f),J=!G||G==="default"?"large":G,Y=v?c.createElement(Tk,Object.assign({size:J},U,{className:`${D}-head-tabs`,onChange:P,items:v.map(de=>{var{tab:Te}=de,Ee=$3(de,["tab"]);return Object.assign({label:Te},Ee)})})):null;if(u||o||Y){const de=ie(`${D}-head`,M("header")),Te=ie(`${D}-head-title`,M("title")),Ee=ie(`${D}-extra`,M("extra")),ge=Object.assign(Object.assign({},s),N("header"));j=c.createElement("div",{className:de,style:ge},c.createElement("div",{className:`${D}-head-wrapper`},u&&c.createElement("div",{className:Te,style:N("title")},u),o&&c.createElement("div",{className:Ee,style:N("extra")},o)),Y)}const X=ie(`${D}-cover`,M("cover")),V=g?c.createElement("div",{className:X,style:N("cover")},g):null,H=ie(`${D}-body`,M("body")),q=Object.assign(Object.assign({},l),N("body")),K=c.createElement("div",{className:H,style:q},d?B:S),Z=ie(`${D}-actions`,M("actions")),te=h!=null&&h.length?c.createElement(s0e,{actionClasses:Z,actionStyle:N("actions"),actions:h}):null,se=An(w,["onTabChange"]),ue=ie(D,k==null?void 0:k.className,{[`${D}-loading`]:d,[`${D}-bordered`]:p,[`${D}-hoverable`]:C,[`${D}-contain-grid`]:A,[`${D}-contain-tabs`]:v==null?void 0:v.length,[`${D}-${G}`]:G,[`${D}-type-${m}`]:!!m,[`${D}-rtl`]:O==="rtl"},r,a,$,F),me=Object.assign(Object.assign({},k==null?void 0:k.style),i);return L(c.createElement("div",Object.assign({ref:t},se,{className:ue,style:me}),j,V,K,te))});var c0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=c0e(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=c.useContext(lt),l=s("card",t),u=ie(`${l}-meta`,n),d=r?c.createElement("div",{className:`${l}-meta-avatar`},r):null,p=a?c.createElement("div",{className:`${l}-meta-title`},a):null,f=i?c.createElement("div",{className:`${l}-meta-description`},i):null,m=p||f?c.createElement("div",{className:`${l}-meta-detail`},p,f):null;return c.createElement("div",Object.assign({},o,{className:u}),d,m)},tp=l0e;tp.Grid=yJ;tp.Meta=u0e;function d0e(e,t,n){var r=n||{},a=r.noTrailing,i=a===void 0?!1:a,o=r.noLeading,s=o===void 0?!1:o,l=r.debounceMode,u=l===void 0?void 0:l,d,p=!1,f=0;function m(){d&&clearTimeout(d)}function g(v){var S=v||{},_=S.upcomingOnly,E=_===void 0?!1:_;m(),p=!E}function h(){for(var v=arguments.length,S=new Array(v),_=0;_e?s?(f=Date.now(),i||(d=setTimeout(u?T:C,e))):C():i!==!0&&(d=setTimeout(u?T:C,u===void 0?e-y:e))}return h.cancel=g,h}function p0e(e,t,n){var r={},a=r.atBegin,i=a===void 0?!1:a;return d0e(e,t,{debounceMode:i!==!1})}function Ua(e,t){return e[t]}var f0e=["children"];function CJ(e,t){return"".concat(e,"-").concat(t)}function m0e(e){return e&&e.type&&e.type.isTreeNode}function fg(e,t){return e??t}function Td(e){var t=e||{},n=t.title,r=t._title,a=t.key,i=t.children,o=n||"title";return{title:o,_title:r||[o],key:a||"key",children:i||"children"}}function TJ(e){function t(n){var r=br(n);return r.map(function(a){if(!m0e(a))return bn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var i=a.key,o=a.props,s=o.children,l=Et(o,f0e),u=ee({key:i},l),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function _y(e,t,n){var r=Td(n),a=r._title,i=r.key,o=r.children,s=new Set(t===!0?[]:t),l=[];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(f,m){for(var g=CJ(p?p.pos:"0",m),h=fg(f[i],g),v,S=0;S1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,i=t.externalGetKey,o=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,u=i||l,d={},p={},f={posEntities:d,keyEntities:p};return n&&(f=n(f)||f),g0e(e,function(m){var g=m.node,h=m.index,v=m.pos,S=m.key,_=m.parentPos,E=m.level,y=m.nodes,C={node:g,nodes:y,index:h,key:S,pos:v,level:E},T=fg(S,v);d[v]=C,p[T]=C,C.parent=d[_],C.parent&&(C.parent.children=C.parent.children||[],C.parent.children.push(C)),r&&r(C,f)},{externalGetKey:u,childrenPropName:o,fieldNames:s}),a&&a(f),f}function Tf(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,i=t.loadingKeys,o=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,p=Ua(d,e),f={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:o.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(p?p.pos:""),dragOver:l===e&&u===0,dragOverGapTop:l===e&&u===-1,dragOverGapBottom:l===e&&u===1};return f}function Ar(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,i=e.loaded,o=e.loading,s=e.halfChecked,l=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,p=e.pos,f=e.active,m=e.eventKey,g=ee(ee({},t),{},{expanded:n,selected:r,checked:a,loaded:i,loading:o,halfChecked:s,dragOver:l,dragOverGapTop:u,dragOverGapBottom:d,pos:p,active:f,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return bn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}function xJ(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function h0e(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function v0e(e,t,n,r){for(var a=new Set(e),i=new Set,o=0;o<=n;o+=1){var s=t.get(o)||new Set;s.forEach(function(p){var f=p.key,m=p.node,g=p.children,h=g===void 0?[]:g;a.has(f)&&!r(m)&&h.filter(function(v){return!r(v.node)}).forEach(function(v){a.add(v.key)})})}for(var l=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(p){var f=p.parent,m=p.node;if(!(r(m)||!p.parent||l.has(p.parent.key))){if(r(p.parent.node)){l.add(f.key);return}var g=!0,h=!1;(f.children||[]).filter(function(v){return!r(v.node)}).forEach(function(v){var S=v.key,_=a.has(S);g&&!_&&(g=!1),!h&&(_||i.has(S))&&(h=!0)}),g&&a.add(f.key),h&&i.add(f.key),l.add(f.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(xJ(i,a))}}function _0e(e,t,n,r,a){for(var i=new Set(e),o=new Set(t),s=0;s<=r;s+=1){var l=n.get(s)||new Set;l.forEach(function(f){var m=f.key,g=f.node,h=f.children,v=h===void 0?[]:h;!i.has(m)&&!o.has(m)&&!a(g)&&v.filter(function(S){return!a(S.node)}).forEach(function(S){i.delete(S.key)})})}o=new Set;for(var u=new Set,d=r;d>=0;d-=1){var p=n.get(d)||new Set;p.forEach(function(f){var m=f.parent,g=f.node;if(!(a(g)||!f.parent||u.has(f.parent.key))){if(a(f.parent.node)){u.add(m.key);return}var h=!0,v=!1;(m.children||[]).filter(function(S){return!a(S.node)}).forEach(function(S){var _=S.key,E=i.has(_);h&&!E&&(h=!1),!v&&(E||o.has(_))&&(v=!0)}),h||i.delete(m.key),v&&o.add(m.key),u.add(m.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(xJ(o,i))}}function ms(e,t,n,r){var a=[],i;r?i=r:i=h0e;var o=new Set(e.filter(function(d){var p=!!Ua(n,d);return p||a.push(d),p})),s=new Map,l=0;Object.keys(n).forEach(function(d){var p=n[d],f=p.level,m=s.get(f);m||(m=new Set,s.set(f,m)),m.add(p),l=Math.max(l,f)}),bn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=v0e(o,s,l,i):u=_0e(o,t.halfCheckedKeys,s,l,i),u}const b0e=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},on(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},on(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},on(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},bs(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${Q(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},e0e=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${X(a)} 0 0 0 ${n}, + 0 ${X(a)} 0 0 ${n}, + ${X(a)} ${X(a)} 0 0 ${n}, + ${X(a)} 0 0 0 ${n} inset, + 0 ${X(a)} 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},t0e=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${X(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},go()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:X(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:X(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${X(e.lineWidth)} ${e.lineType} ${i}`}}})},n0e=e=>Object.assign(Object.assign({margin:`${X(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},go()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},_i),"&-description":{color:e.colorTextDescription}}),r0e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${X(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${X(e.padding)} ${X(n)}`}}},a0e=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},i0e=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},an(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:JCe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)}`},go()),[`${t}-grid`]:e0e(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:t0e(e),[`${t}-meta`]:n0e(e)}),[`${t}-bordered`]:{border:`${X(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${X(e.borderRadiusLG)} ${X(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:r0e(e),[`${t}-loading`]:a0e(e),[`${t}-rtl`]:{direction:"rtl"}}},o0e=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${X(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},s0e=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),l0e=sn("Card",e=>{const t=Ht(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[i0e(t),o0e(t)]},s0e);var B3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return c.createElement("ul",{className:t,style:r},n.map((a,i)=>{const o=`action-${i}`;return c.createElement("li",{style:{width:`${100/n.length}%`},key:o},c.createElement("span",null,a))}))},u0e=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,extra:o,headStyle:s={},bodyStyle:l={},title:u,loading:d,bordered:p=!0,size:f,type:m,cover:g,actions:h,tabList:v,children:S,activeTabKey:b,defaultActiveTabKey:E,tabBarExtraContent:y,hoverable:C,tabProps:T={},classNames:x,styles:R}=e,w=B3(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:I,direction:O,card:k}=c.useContext(lt),P=de=>{var Te;(Te=e.onTabChange)===null||Te===void 0||Te.call(e,de)},M=de=>{var Te;return ie((Te=k==null?void 0:k.classNames)===null||Te===void 0?void 0:Te[de],x==null?void 0:x[de])},N=de=>{var Te;return Object.assign(Object.assign({},(Te=k==null?void 0:k.styles)===null||Te===void 0?void 0:Te[de]),R==null?void 0:R[de])},A=c.useMemo(()=>{let de=!1;return c.Children.forEach(S,Te=>{(Te==null?void 0:Te.type)===CJ&&(de=!0)}),de},[S]),D=I("card",n),[L,$,F]=l0e(D),B=c.createElement(Nl,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),z=b!==void 0,U=Object.assign(Object.assign({},T),{[z?"activeKey":"defaultActiveKey"]:z?b:E,tabBarExtraContent:y});let j;const G=xr(f),J=!G||G==="default"?"large":G,Y=v?c.createElement(Rk,Object.assign({size:J},U,{className:`${D}-head-tabs`,onChange:P,items:v.map(de=>{var{tab:Te}=de,Ee=B3(de,["tab"]);return Object.assign({label:Te},Ee)})})):null;if(u||o||Y){const de=ie(`${D}-head`,M("header")),Te=ie(`${D}-head-title`,M("title")),Ee=ie(`${D}-extra`,M("extra")),ge=Object.assign(Object.assign({},s),N("header"));j=c.createElement("div",{className:de,style:ge},c.createElement("div",{className:`${D}-head-wrapper`},u&&c.createElement("div",{className:Te,style:N("title")},u),o&&c.createElement("div",{className:Ee,style:N("extra")},o)),Y)}const Q=ie(`${D}-cover`,M("cover")),V=g?c.createElement("div",{className:Q,style:N("cover")},g):null,H=ie(`${D}-body`,M("body")),q=Object.assign(Object.assign({},l),N("body")),K=c.createElement("div",{className:H,style:q},d?B:S),Z=ie(`${D}-actions`,M("actions")),te=h!=null&&h.length?c.createElement(c0e,{actionClasses:Z,actionStyle:N("actions"),actions:h}):null,se=An(w,["onTabChange"]),ue=ie(D,k==null?void 0:k.className,{[`${D}-loading`]:d,[`${D}-bordered`]:p,[`${D}-hoverable`]:C,[`${D}-contain-grid`]:A,[`${D}-contain-tabs`]:v==null?void 0:v.length,[`${D}-${G}`]:G,[`${D}-type-${m}`]:!!m,[`${D}-rtl`]:O==="rtl"},r,a,$,F),me=Object.assign(Object.assign({},k==null?void 0:k.style),i);return L(c.createElement("div",Object.assign({ref:t},se,{className:ue,style:me}),j,V,K,te))});var d0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=d0e(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=c.useContext(lt),l=s("card",t),u=ie(`${l}-meta`,n),d=r?c.createElement("div",{className:`${l}-meta-avatar`},r):null,p=a?c.createElement("div",{className:`${l}-meta-title`},a):null,f=i?c.createElement("div",{className:`${l}-meta-description`},i):null,m=p||f?c.createElement("div",{className:`${l}-meta-detail`},p,f):null;return c.createElement("div",Object.assign({},o,{className:u}),d,m)},ap=u0e;ap.Grid=CJ;ap.Meta=p0e;function f0e(e,t,n){var r=n||{},a=r.noTrailing,i=a===void 0?!1:a,o=r.noLeading,s=o===void 0?!1:o,l=r.debounceMode,u=l===void 0?void 0:l,d,p=!1,f=0;function m(){d&&clearTimeout(d)}function g(v){var S=v||{},b=S.upcomingOnly,E=b===void 0?!1:b;m(),p=!E}function h(){for(var v=arguments.length,S=new Array(v),b=0;be?s?(f=Date.now(),i||(d=setTimeout(u?T:C,e))):C():i!==!0&&(d=setTimeout(u?T:C,u===void 0?e-y:e))}return h.cancel=g,h}function m0e(e,t,n){var r={},a=r.atBegin,i=a===void 0?!1:a;return f0e(e,t,{debounceMode:i!==!1})}function ja(e,t){return e[t]}var g0e=["children"];function TJ(e,t){return"".concat(e,"-").concat(t)}function h0e(e){return e&&e.type&&e.type.isTreeNode}function hg(e,t){return e??t}function wd(e){var t=e||{},n=t.title,r=t._title,a=t.key,i=t.children,o=n||"title";return{title:o,_title:r||[o],key:a||"key",children:i||"children"}}function xJ(e){function t(n){var r=_r(n);return r.map(function(a){if(!h0e(a))return bn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var i=a.key,o=a.props,s=o.children,l=yt(o,g0e),u=ee({key:i},l),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function Ey(e,t,n){var r=wd(n),a=r._title,i=r.key,o=r.children,s=new Set(t===!0?[]:t),l=[];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(f,m){for(var g=TJ(p?p.pos:"0",m),h=hg(f[i],g),v,S=0;S1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,i=t.externalGetKey,o=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,u=i||l,d={},p={},f={posEntities:d,keyEntities:p};return n&&(f=n(f)||f),v0e(e,function(m){var g=m.node,h=m.index,v=m.pos,S=m.key,b=m.parentPos,E=m.level,y=m.nodes,C={node:g,nodes:y,index:h,key:S,pos:v,level:E},T=hg(S,v);d[v]=C,p[T]=C,C.parent=d[b],C.parent&&(C.parent.children=C.parent.children||[],C.parent.children.push(C)),r&&r(C,f)},{externalGetKey:u,childrenPropName:o,fieldNames:s}),a&&a(f),f}function Rf(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,i=t.loadingKeys,o=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,p=ja(d,e),f={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:o.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(p?p.pos:""),dragOver:l===e&&u===0,dragOverGapTop:l===e&&u===-1,dragOverGapBottom:l===e&&u===1};return f}function Or(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,i=e.loaded,o=e.loading,s=e.halfChecked,l=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,p=e.pos,f=e.active,m=e.eventKey,g=ee(ee({},t),{},{expanded:n,selected:r,checked:a,loaded:i,loading:o,halfChecked:s,dragOver:l,dragOverGapTop:u,dragOverGapBottom:d,pos:p,active:f,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return bn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}function RJ(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function _0e(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function b0e(e,t,n,r){for(var a=new Set(e),i=new Set,o=0;o<=n;o+=1){var s=t.get(o)||new Set;s.forEach(function(p){var f=p.key,m=p.node,g=p.children,h=g===void 0?[]:g;a.has(f)&&!r(m)&&h.filter(function(v){return!r(v.node)}).forEach(function(v){a.add(v.key)})})}for(var l=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(p){var f=p.parent,m=p.node;if(!(r(m)||!p.parent||l.has(p.parent.key))){if(r(p.parent.node)){l.add(f.key);return}var g=!0,h=!1;(f.children||[]).filter(function(v){return!r(v.node)}).forEach(function(v){var S=v.key,b=a.has(S);g&&!b&&(g=!1),!h&&(b||i.has(S))&&(h=!0)}),g&&a.add(f.key),h&&i.add(f.key),l.add(f.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(RJ(i,a))}}function S0e(e,t,n,r,a){for(var i=new Set(e),o=new Set(t),s=0;s<=r;s+=1){var l=n.get(s)||new Set;l.forEach(function(f){var m=f.key,g=f.node,h=f.children,v=h===void 0?[]:h;!i.has(m)&&!o.has(m)&&!a(g)&&v.filter(function(S){return!a(S.node)}).forEach(function(S){i.delete(S.key)})})}o=new Set;for(var u=new Set,d=r;d>=0;d-=1){var p=n.get(d)||new Set;p.forEach(function(f){var m=f.parent,g=f.node;if(!(a(g)||!f.parent||u.has(f.parent.key))){if(a(f.parent.node)){u.add(m.key);return}var h=!0,v=!1;(m.children||[]).filter(function(S){return!a(S.node)}).forEach(function(S){var b=S.key,E=i.has(b);h&&!E&&(h=!1),!v&&(E||o.has(b))&&(v=!0)}),h||i.delete(m.key),v&&o.add(m.key),u.add(m.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(RJ(o,i))}}function hs(e,t,n,r){var a=[],i;r?i=r:i=_0e;var o=new Set(e.filter(function(d){var p=!!ja(n,d);return p||a.push(d),p})),s=new Map,l=0;Object.keys(n).forEach(function(d){var p=n[d],f=p.level,m=s.get(f);m||(m=new Set,s.set(f,m)),m.add(p),l=Math.max(l,f)}),bn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=b0e(o,s,l,i):u=S0e(o,t.halfCheckedKeys,s,l,i),u}const E0e=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},an(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},an(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},an(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Es(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${X(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${n}:not(${n}-disabled), ${t}:not(${t}-disabled) `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` ${n}-checked:not(${n}-disabled), ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function xk(e,t){const n=Ht(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[b0e(n)]}const RJ=cn("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[xk(n,e)]}),wJ=ce.createContext(null);var S0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:i,children:o,indeterminate:s=!1,style:l,onMouseEnter:u,onMouseLeave:d,skipGroup:p=!1,disabled:f}=e,m=S0e(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:g,direction:h,checkbox:v}=c.useContext(lt),S=c.useContext(wJ),{isFormItemInput:_}=c.useContext(Gr),E=c.useContext(ea),y=(n=(S==null?void 0:S.disabled)||f)!==null&&n!==void 0?n:E,C=c.useRef(m.value);c.useEffect(()=>{S==null||S.registerValue(m.value)},[]),c.useEffect(()=>{if(!p)return m.value!==C.current&&(S==null||S.cancelValue(C.current),S==null||S.registerValue(m.value),C.current=m.value),()=>S==null?void 0:S.cancelValue(m.value)},[m.value]);const T=g("checkbox",r),x=Zn(T),[R,w,I]=RJ(T,x),O=Object.assign({},m);S&&!p&&(O.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),S.toggleOption&&S.toggleOption({label:o,value:m.value})},O.name=S.name,O.checked=S.value.includes(m.value));const k=ie(`${T}-wrapper`,{[`${T}-rtl`]:h==="rtl",[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:y,[`${T}-wrapper-in-form-item`]:_},v==null?void 0:v.className,a,i,I,x,w),P=ie({[`${T}-indeterminate`]:s},Ob,w),M=s?"mixed":void 0;return R(c.createElement(Qm,{component:"Checkbox",disabled:y},c.createElement("label",{className:k,style:Object.assign(Object.assign({},v==null?void 0:v.style),l),onMouseEnter:u,onMouseLeave:d},c.createElement(lJ,Object.assign({"aria-checked":M},O,{prefixCls:T,className:P,disabled:y,ref:t})),o!==void 0&&c.createElement("span",null,o))))},IJ=c.forwardRef(E0e);var y0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:i,className:o,rootClassName:s,style:l,onChange:u}=e,d=y0e(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState(d.value||n||[]),[h,v]=c.useState([]);c.useEffect(()=>{"value"in d&&g(d.value||[])},[d.value]);const S=c.useMemo(()=>a.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),[a]),_=N=>{v(A=>A.filter(D=>D!==N))},E=N=>{v(A=>[].concat($e(A),[N]))},y=N=>{const A=m.indexOf(N.value),D=$e(m);A===-1?D.push(N.value):D.splice(A,1),"value"in d||g(D),u==null||u(D.filter(L=>h.includes(L)).sort((L,$)=>{const F=S.findIndex(z=>z.value===L),B=S.findIndex(z=>z.value===$);return F-B}))},C=p("checkbox",i),T=`${C}-group`,x=Zn(C),[R,w,I]=RJ(C,x),O=An(d,["value","disabled"]),k=a.length?S.map(N=>c.createElement(IJ,{prefixCls:C,key:N.value.toString(),disabled:"disabled"in N?N.disabled:d.disabled,value:N.value,checked:m.includes(N.value),onChange:N.onChange,className:`${T}-item`,style:N.style,title:N.title,id:N.id,required:N.required},N.label)):r,P={toggleOption:y,value:m,disabled:d.disabled,name:d.name,registerValue:E,cancelValue:_},M=ie(T,{[`${T}-rtl`]:f==="rtl"},o,s,I,x,w);return R(c.createElement("div",Object.assign({className:M,style:l},O,{ref:t}),c.createElement(wJ.Provider,{value:P},k)))}),Ts=IJ;Ts.Group=C0e;Ts.__ANT_CHECKBOX=!0;const OJ=c.createContext({}),T0e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},x0e=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},R0e=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,i={};for(let o=a;o>=0;o--)o===0?(i[`${r}${t}-${o}`]={display:"none"},i[`${r}-push-${o}`]={insetInlineStart:"auto"},i[`${r}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${o}`]={marginInlineStart:0},i[`${r}${t}-order-${o}`]={order:0}):(i[`${r}${t}-${o}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${o/a*100}%`,maxWidth:`${o/a*100}%`}],i[`${r}${t}-push-${o}`]={insetInlineStart:`${o/a*100}%`},i[`${r}${t}-pull-${o}`]={insetInlineEnd:`${o/a*100}%`},i[`${r}${t}-offset-${o}`]={marginInlineStart:`${o/a*100}%`},i[`${r}${t}-order-${o}`]={order:o});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},vD=(e,t)=>R0e(e,t),w0e=(e,t,n)=>({[`@media (min-width: ${Q(t)})`]:Object.assign({},vD(e,n))}),I0e=()=>({}),O0e=()=>({}),N0e=cn("Grid",T0e,I0e),A0e=cn("Grid",e=>{const t=Ht(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[x0e(t),vD(t,""),vD(t,"-xs"),Object.keys(n).map(r=>w0e(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},O0e);var D0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=c.useContext(lt),{gutter:a,wrap:i}=c.useContext(OJ),{prefixCls:o,span:s,order:l,offset:u,push:d,pull:p,className:f,children:m,flex:g,style:h}=e,v=D0e(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=n("col",o),[_,E,y]=A0e(S),C={};let T={};M0e.forEach(w=>{let I={};const O=e[w];typeof O=="number"?I.span=O:typeof O=="object"&&(I=O||{}),delete v[w],T=Object.assign(Object.assign({},T),{[`${S}-${w}-${I.span}`]:I.span!==void 0,[`${S}-${w}-order-${I.order}`]:I.order||I.order===0,[`${S}-${w}-offset-${I.offset}`]:I.offset||I.offset===0,[`${S}-${w}-push-${I.push}`]:I.push||I.push===0,[`${S}-${w}-pull-${I.pull}`]:I.pull||I.pull===0,[`${S}-rtl`]:r==="rtl"}),I.flex&&(T[`${S}-${w}-flex`]=!0,C[`--${S}-${w}-flex`]=F3(I.flex))});const x=ie(S,{[`${S}-${s}`]:s!==void 0,[`${S}-order-${l}`]:l,[`${S}-offset-${u}`]:u,[`${S}-push-${d}`]:d,[`${S}-pull-${p}`]:p},f,T,E,y),R={};if(a&&a[0]>0){const w=a[0]/2;R.paddingLeft=w,R.paddingRight=w}return g&&(R.flex=F3(g),i===!1&&!R.minWidth&&(R.minWidth=0)),_(c.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},R),h),C),className:x,ref:t}),m))});var L0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i{a()},[JSON.stringify(e),t]),n}const Oa=c.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:i,style:o,children:s,gutter:l=0,wrap:u}=e,d=L0e(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=c.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=B3(a,h),_=B3(r,h),E=c.useRef(l),y=qQ();c.useEffect(()=>{const D=y.subscribe(L=>{v(L);const $=E.current||0;(!Array.isArray($)&&typeof $=="object"||Array.isArray($)&&(typeof $[0]=="object"||typeof $[1]=="object"))&&g(L)});return()=>y.unsubscribe(D)},[]);const C=()=>{const D=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(($,F)=>{if(typeof $=="object")for(let B=0;B0?I[0]/-2:void 0;P&&(k.marginLeft=P,k.marginRight=P);const[M,N]=I;k.rowGap=N;const A=c.useMemo(()=>({gutter:[M,N],wrap:u}),[M,N,u]);return x(c.createElement(OJ.Provider,{value:A},c.createElement("div",Object.assign({},d,{className:O,style:Object.assign(Object.assign({},k),o),ref:t}),s)))});var NJ=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,i=e.style,o=e.children,s=e.isActive,l=e.role,u=ce.useState(s||r),d=oe(u,2),p=d[0],f=d[1];return ce.useEffect(function(){(r||s)&&f(!0)},[r,s]),p?ce.createElement("div",{ref:t,className:ie("".concat(n,"-content"),W(W({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:i,role:l},ce.createElement("div",{className:"".concat(n,"-content-box")},o)):null});NJ.displayName="PanelContent";var k0e=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],AJ=ce.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,i=e.isActive,o=e.onItemClick,s=e.forceRender,l=e.className,u=e.prefixCls,d=e.collapsible,p=e.accordion,f=e.panelKey,m=e.extra,g=e.header,h=e.expandIcon,v=e.openMotion,S=e.destroyInactivePanel,_=e.children,E=Et(e,k0e),y=d==="disabled",C=d==="header",T=d==="icon",x=m!=null&&typeof m!="boolean",R=function(){o==null||o(f)},w=function(N){(N.key==="Enter"||N.keyCode===Fe.ENTER||N.which===Fe.ENTER)&&R()},I=typeof h=="function"?h(e):ce.createElement("i",{className:"arrow"});I&&(I=ce.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?R:void 0},I));var O=ie(W(W(W({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),i),"".concat(u,"-item-disabled"),y),l),k=ie(a,W(W(W({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),C),"".concat(u,"-icon-collapsible-only"),T)),P={className:k,"aria-expanded":i,"aria-disabled":y,onKeyDown:w};return!C&&!T&&(P.onClick=R,P.role=p?"tab":"button",P.tabIndex=y?-1:0),ce.createElement("div",_e({},E,{ref:t,className:O}),ce.createElement("div",P,r&&I,ce.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?R:void 0},g),x&&ce.createElement("div",{className:"".concat(u,"-extra")},m)),ce.createElement(ta,_e({visible:i,leavedClassName:"".concat(u,"-content-hidden")},v,{forceRender:s,removeOnLeave:S}),function(M,N){var A=M.className,D=M.style;return ce.createElement(NJ,{ref:N,prefixCls:u,className:A,style:D,isActive:i,forceRender:s,role:p?"tabpanel":void 0},_)}))}),P0e=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],$0e=function(t,n){var r=n.prefixCls,a=n.accordion,i=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(p,f){var m=p.children,g=p.label,h=p.key,v=p.collapsible,S=p.onItemClick,_=p.destroyInactivePanel,E=Et(p,P0e),y=String(h??f),C=v??i,T=_??o,x=function(I){C!=="disabled"&&(s(I),S==null||S(I))},R=!1;return a?R=l[0]===y:R=l.indexOf(y)>-1,ce.createElement(AJ,_e({},E,{prefixCls:r,key:y,panelKey:y,isActive:R,accordion:a,openMotion:u,expandIcon:d,header:g,collapsible:C,onItemClick:x,destroyInactivePanel:T}),m)})},F0e=function(t,n,r){if(!t)return null;var a=r.prefixCls,i=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,u=r.activeKey,d=r.openMotion,p=r.expandIcon,f=t.key||String(n),m=t.props,g=m.header,h=m.headerClass,v=m.destroyInactivePanel,S=m.collapsible,_=m.onItemClick,E=!1;i?E=u[0]===f:E=u.indexOf(f)>-1;var y=S??o,C=function(R){y!=="disabled"&&(l(R),_==null||_(R))},T={key:f,panelKey:f,header:g,headerClass:h,isActive:E,prefixCls:a,destroyInactivePanel:v??s,openMotion:d,accordion:i,children:t.props.children,onItemClick:C,expandIcon:p,collapsible:y};return typeof t.type=="string"?t:(Object.keys(T).forEach(function(x){typeof T[x]>"u"&&delete T[x]}),ce.cloneElement(t,T))};function B0e(e,t,n){return Array.isArray(e)?$0e(e,n):br(t).map(function(r,a){return F0e(r,a,n)})}function U0e(e){var t=e;if(!Array.isArray(t)){var n=gt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var j0e=ce.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,i=a===void 0?!1:a,o=e.style,s=e.accordion,l=e.className,u=e.children,d=e.collapsible,p=e.openMotion,f=e.expandIcon,m=e.activeKey,g=e.defaultActiveKey,h=e.onChange,v=e.items,S=ie(r,l),_=ln([],{value:m,onChange:function(w){return h==null?void 0:h(w)},defaultValue:g,postState:U0e}),E=oe(_,2),y=E[0],C=E[1],T=function(w){return C(function(){if(s)return y[0]===w?[]:[w];var I=y.indexOf(w),O=I>-1;return O?y.filter(function(k){return k!==w}):[].concat($e(y),[w])})};bn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var x=B0e(v,u,{prefixCls:r,accordion:s,openMotion:p,expandIcon:f,collapsible:d,destroyInactivePanel:i,onItemClick:T,activeKey:y});return ce.createElement("div",_e({ref:t,className:S,style:o,role:s?"tablist":void 0},Qn(e,{aria:!0,data:!0})),x)});const Rk=Object.assign(j0e,{Panel:AJ});Rk.Panel;const z0e=c.forwardRef((e,t)=>{const{getPrefixCls:n}=c.useContext(lt),{prefixCls:r,className:a,showArrow:i=!0}=e,o=n("collapse",r),s=ie({[`${o}-no-arrow`]:!i},a);return c.createElement(Rk.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),H0e=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:u,lineType:d,colorBorder:p,colorText:f,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:h,lineHeight:v,lineHeightLG:S,marginSM:_,paddingSM:E,paddingLG:y,paddingXS:C,motionDurationSlow:T,fontSizeIcon:x,contentPadding:R,fontHeight:w,fontHeightLG:I}=e,O=`${Q(u)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},on(e)),{backgroundColor:a,border:O,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:O,"&:last-child":{[` + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function wk(e,t){const n=Ht(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[E0e(n)]}const wJ=sn("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[wk(n,e)]}),IJ=ce.createContext(null);var y0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:i,children:o,indeterminate:s=!1,style:l,onMouseEnter:u,onMouseLeave:d,skipGroup:p=!1,disabled:f}=e,m=y0e(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:g,direction:h,checkbox:v}=c.useContext(lt),S=c.useContext(IJ),{isFormItemInput:b}=c.useContext(Gr),E=c.useContext(ea),y=(n=(S==null?void 0:S.disabled)||f)!==null&&n!==void 0?n:E,C=c.useRef(m.value);c.useEffect(()=>{S==null||S.registerValue(m.value)},[]),c.useEffect(()=>{if(!p)return m.value!==C.current&&(S==null||S.cancelValue(C.current),S==null||S.registerValue(m.value),C.current=m.value),()=>S==null?void 0:S.cancelValue(m.value)},[m.value]);const T=g("checkbox",r),x=Hn(T),[R,w,I]=wJ(T,x),O=Object.assign({},m);S&&!p&&(O.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),S.toggleOption&&S.toggleOption({label:o,value:m.value})},O.name=S.name,O.checked=S.value.includes(m.value));const k=ie(`${T}-wrapper`,{[`${T}-rtl`]:h==="rtl",[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:y,[`${T}-wrapper-in-form-item`]:b},v==null?void 0:v.className,a,i,I,x,w),P=ie({[`${T}-indeterminate`]:s},Mb,w),M=s?"mixed":void 0;return R(c.createElement(Jm,{component:"Checkbox",disabled:y},c.createElement("label",{className:k,style:Object.assign(Object.assign({},v==null?void 0:v.style),l),onMouseEnter:u,onMouseLeave:d},c.createElement(cJ,Object.assign({"aria-checked":M},O,{prefixCls:T,className:P,disabled:y,ref:t})),o!==void 0&&c.createElement("span",null,o))))},OJ=c.forwardRef(C0e);var T0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:i,className:o,rootClassName:s,style:l,onChange:u}=e,d=T0e(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState(d.value||n||[]),[h,v]=c.useState([]);c.useEffect(()=>{"value"in d&&g(d.value||[])},[d.value]);const S=c.useMemo(()=>a.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),[a]),b=N=>{v(A=>A.filter(D=>D!==N))},E=N=>{v(A=>[].concat($e(A),[N]))},y=N=>{const A=m.indexOf(N.value),D=$e(m);A===-1?D.push(N.value):D.splice(A,1),"value"in d||g(D),u==null||u(D.filter(L=>h.includes(L)).sort((L,$)=>{const F=S.findIndex(z=>z.value===L),B=S.findIndex(z=>z.value===$);return F-B}))},C=p("checkbox",i),T=`${C}-group`,x=Hn(C),[R,w,I]=wJ(C,x),O=An(d,["value","disabled"]),k=a.length?S.map(N=>c.createElement(OJ,{prefixCls:C,key:N.value.toString(),disabled:"disabled"in N?N.disabled:d.disabled,value:N.value,checked:m.includes(N.value),onChange:N.onChange,className:`${T}-item`,style:N.style,title:N.title,id:N.id,required:N.required},N.label)):r,P={toggleOption:y,value:m,disabled:d.disabled,name:d.name,registerValue:E,cancelValue:b},M=ie(T,{[`${T}-rtl`]:f==="rtl"},o,s,I,x,w);return R(c.createElement("div",Object.assign({className:M,style:l},O,{ref:t}),c.createElement(IJ.Provider,{value:P},k)))}),xs=OJ;xs.Group=x0e;xs.__ANT_CHECKBOX=!0;const NJ=c.createContext({}),R0e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},w0e=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},I0e=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,i={};for(let o=a;o>=0;o--)o===0?(i[`${r}${t}-${o}`]={display:"none"},i[`${r}-push-${o}`]={insetInlineStart:"auto"},i[`${r}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${o}`]={marginInlineStart:0},i[`${r}${t}-order-${o}`]={order:0}):(i[`${r}${t}-${o}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${o/a*100}%`,maxWidth:`${o/a*100}%`}],i[`${r}${t}-push-${o}`]={insetInlineStart:`${o/a*100}%`},i[`${r}${t}-pull-${o}`]={insetInlineEnd:`${o/a*100}%`},i[`${r}${t}-offset-${o}`]={marginInlineStart:`${o/a*100}%`},i[`${r}${t}-order-${o}`]={order:o});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},_D=(e,t)=>I0e(e,t),O0e=(e,t,n)=>({[`@media (min-width: ${X(t)})`]:Object.assign({},_D(e,n))}),N0e=()=>({}),A0e=()=>({}),D0e=sn("Grid",R0e,N0e),M0e=sn("Grid",e=>{const t=Ht(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[w0e(t),_D(t,""),_D(t,"-xs"),Object.keys(n).map(r=>O0e(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},A0e);var L0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=c.useContext(lt),{gutter:a,wrap:i}=c.useContext(NJ),{prefixCls:o,span:s,order:l,offset:u,push:d,pull:p,className:f,children:m,flex:g,style:h}=e,v=L0e(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=n("col",o),[b,E,y]=M0e(S),C={};let T={};k0e.forEach(w=>{let I={};const O=e[w];typeof O=="number"?I.span=O:typeof O=="object"&&(I=O||{}),delete v[w],T=Object.assign(Object.assign({},T),{[`${S}-${w}-${I.span}`]:I.span!==void 0,[`${S}-${w}-order-${I.order}`]:I.order||I.order===0,[`${S}-${w}-offset-${I.offset}`]:I.offset||I.offset===0,[`${S}-${w}-push-${I.push}`]:I.push||I.push===0,[`${S}-${w}-pull-${I.pull}`]:I.pull||I.pull===0,[`${S}-rtl`]:r==="rtl"}),I.flex&&(T[`${S}-${w}-flex`]=!0,C[`--${S}-${w}-flex`]=U3(I.flex))});const x=ie(S,{[`${S}-${s}`]:s!==void 0,[`${S}-order-${l}`]:l,[`${S}-offset-${u}`]:u,[`${S}-push-${d}`]:d,[`${S}-pull-${p}`]:p},f,T,E,y),R={};if(a&&a[0]>0){const w=a[0]/2;R.paddingLeft=w,R.paddingRight=w}return g&&(R.flex=U3(g),i===!1&&!R.minWidth&&(R.minWidth=0)),b(c.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},R),h),C),className:x,ref:t}),m))});var P0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i{a()},[JSON.stringify(e),t]),n}const Oa=c.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:i,style:o,children:s,gutter:l=0,wrap:u}=e,d=P0e(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=c.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=j3(a,h),b=j3(r,h),E=c.useRef(l),y=WQ();c.useEffect(()=>{const D=y.subscribe(L=>{v(L);const $=E.current||0;(!Array.isArray($)&&typeof $=="object"||Array.isArray($)&&(typeof $[0]=="object"||typeof $[1]=="object"))&&g(L)});return()=>y.unsubscribe(D)},[]);const C=()=>{const D=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(($,F)=>{if(typeof $=="object")for(let B=0;B0?I[0]/-2:void 0;P&&(k.marginLeft=P,k.marginRight=P);const[M,N]=I;k.rowGap=N;const A=c.useMemo(()=>({gutter:[M,N],wrap:u}),[M,N,u]);return x(c.createElement(NJ.Provider,{value:A},c.createElement("div",Object.assign({},d,{className:O,style:Object.assign(Object.assign({},k),o),ref:t}),s)))});var AJ=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,i=e.style,o=e.children,s=e.isActive,l=e.role,u=ce.useState(s||r),d=oe(u,2),p=d[0],f=d[1];return ce.useEffect(function(){(r||s)&&f(!0)},[r,s]),p?ce.createElement("div",{ref:t,className:ie("".concat(n,"-content"),W(W({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:i,role:l},ce.createElement("div",{className:"".concat(n,"-content-box")},o)):null});AJ.displayName="PanelContent";var $0e=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],DJ=ce.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,i=e.isActive,o=e.onItemClick,s=e.forceRender,l=e.className,u=e.prefixCls,d=e.collapsible,p=e.accordion,f=e.panelKey,m=e.extra,g=e.header,h=e.expandIcon,v=e.openMotion,S=e.destroyInactivePanel,b=e.children,E=yt(e,$0e),y=d==="disabled",C=d==="header",T=d==="icon",x=m!=null&&typeof m!="boolean",R=function(){o==null||o(f)},w=function(N){(N.key==="Enter"||N.keyCode===Fe.ENTER||N.which===Fe.ENTER)&&R()},I=typeof h=="function"?h(e):ce.createElement("i",{className:"arrow"});I&&(I=ce.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?R:void 0},I));var O=ie(W(W(W({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),i),"".concat(u,"-item-disabled"),y),l),k=ie(a,W(W(W({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),C),"".concat(u,"-icon-collapsible-only"),T)),P={className:k,"aria-expanded":i,"aria-disabled":y,onKeyDown:w};return!C&&!T&&(P.onClick=R,P.role=p?"tab":"button",P.tabIndex=y?-1:0),ce.createElement("div",ve({},E,{ref:t,className:O}),ce.createElement("div",P,r&&I,ce.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?R:void 0},g),x&&ce.createElement("div",{className:"".concat(u,"-extra")},m)),ce.createElement(ta,ve({visible:i,leavedClassName:"".concat(u,"-content-hidden")},v,{forceRender:s,removeOnLeave:S}),function(M,N){var A=M.className,D=M.style;return ce.createElement(AJ,{ref:N,prefixCls:u,className:A,style:D,isActive:i,forceRender:s,role:p?"tabpanel":void 0},b)}))}),F0e=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],B0e=function(t,n){var r=n.prefixCls,a=n.accordion,i=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(p,f){var m=p.children,g=p.label,h=p.key,v=p.collapsible,S=p.onItemClick,b=p.destroyInactivePanel,E=yt(p,F0e),y=String(h??f),C=v??i,T=b??o,x=function(I){C!=="disabled"&&(s(I),S==null||S(I))},R=!1;return a?R=l[0]===y:R=l.indexOf(y)>-1,ce.createElement(DJ,ve({},E,{prefixCls:r,key:y,panelKey:y,isActive:R,accordion:a,openMotion:u,expandIcon:d,header:g,collapsible:C,onItemClick:x,destroyInactivePanel:T}),m)})},U0e=function(t,n,r){if(!t)return null;var a=r.prefixCls,i=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,u=r.activeKey,d=r.openMotion,p=r.expandIcon,f=t.key||String(n),m=t.props,g=m.header,h=m.headerClass,v=m.destroyInactivePanel,S=m.collapsible,b=m.onItemClick,E=!1;i?E=u[0]===f:E=u.indexOf(f)>-1;var y=S??o,C=function(R){y!=="disabled"&&(l(R),b==null||b(R))},T={key:f,panelKey:f,header:g,headerClass:h,isActive:E,prefixCls:a,destroyInactivePanel:v??s,openMotion:d,accordion:i,children:t.props.children,onItemClick:C,expandIcon:p,collapsible:y};return typeof t.type=="string"?t:(Object.keys(T).forEach(function(x){typeof T[x]>"u"&&delete T[x]}),ce.cloneElement(t,T))};function j0e(e,t,n){return Array.isArray(e)?B0e(e,n):_r(t).map(function(r,a){return U0e(r,a,n)})}function z0e(e){var t=e;if(!Array.isArray(t)){var n=gt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var H0e=ce.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,i=a===void 0?!1:a,o=e.style,s=e.accordion,l=e.className,u=e.children,d=e.collapsible,p=e.openMotion,f=e.expandIcon,m=e.activeKey,g=e.defaultActiveKey,h=e.onChange,v=e.items,S=ie(r,l),b=ln([],{value:m,onChange:function(w){return h==null?void 0:h(w)},defaultValue:g,postState:z0e}),E=oe(b,2),y=E[0],C=E[1],T=function(w){return C(function(){if(s)return y[0]===w?[]:[w];var I=y.indexOf(w),O=I>-1;return O?y.filter(function(k){return k!==w}):[].concat($e(y),[w])})};bn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var x=j0e(v,u,{prefixCls:r,accordion:s,openMotion:p,expandIcon:f,collapsible:d,destroyInactivePanel:i,onItemClick:T,activeKey:y});return ce.createElement("div",ve({ref:t,className:S,style:o,role:s?"tablist":void 0},Jn(e,{aria:!0,data:!0})),x)});const Ik=Object.assign(H0e,{Panel:DJ});Ik.Panel;const G0e=c.forwardRef((e,t)=>{const{getPrefixCls:n}=c.useContext(lt),{prefixCls:r,className:a,showArrow:i=!0}=e,o=n("collapse",r),s=ie({[`${o}-no-arrow`]:!i},a);return c.createElement(Ik.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),V0e=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:u,lineType:d,colorBorder:p,colorText:f,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:h,lineHeight:v,lineHeightLG:S,marginSM:b,paddingSM:E,paddingLG:y,paddingXS:C,motionDurationSlow:T,fontSizeIcon:x,contentPadding:R,fontHeight:w,fontHeightLG:I}=e,O=`${X(u)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},an(e)),{backgroundColor:a,border:O,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:O,"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${Q(l)} ${Q(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:m,lineHeight:v,cursor:"pointer",transition:`all ${T}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:w,display:"flex",alignItems:"center",paddingInlineEnd:_},[`${t}-arrow`]:Object.assign(Object.assign({},Hd()),{fontSize:x,transition:`transform ${T}`,svg:{transition:`transform ${T}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:O,[`& > ${t}-content-box`]:{padding:R},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:S,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:I,marginInlineStart:e.calc(y).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Q(l)} ${Q(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:_}}}}})}},G0e=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},V0e=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${X(l)} ${X(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:m,lineHeight:v,cursor:"pointer",transition:`all ${T}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:w,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},qd()),{fontSize:x,transition:`transform ${T}`,svg:{transition:`transform ${T}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:O,[`& > ${t}-content-box`]:{padding:R},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:S,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:I,marginInlineStart:e.calc(y).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${X(l)} ${X(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},q0e=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},W0e=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},q0e=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},W0e=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Y0e=cn("Collapse",e=>{const t=Ht(e,{collapseHeaderPaddingSM:`${Q(e.paddingXS)} ${Q(e.paddingSM)}`,collapseHeaderPaddingLG:`${Q(e.padding)} ${Q(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[H0e(t),V0e(t),q0e(t),G0e(t),ng(t)]},W0e),K0e=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=c.useContext(lt),{prefixCls:i,className:o,rootClassName:s,style:l,bordered:u=!0,ghost:d,size:p,expandIconPosition:f="start",children:m,expandIcon:g}=e,h=xr(O=>{var k;return(k=p??O)!==null&&k!==void 0?k:"middle"}),v=n("collapse",i),S=n(),[_,E,y]=Y0e(v),C=c.useMemo(()=>f==="left"?"start":f==="right"?"end":f,[f]),T=g??(a==null?void 0:a.expandIcon),x=c.useCallback(function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const k=typeof T=="function"?T(O):c.createElement($i,{rotate:O.isActive?90:void 0,"aria-label":O.isActive?"expanded":"collapsed"});return Tr(k,()=>{var P;return{className:ie((P=k==null?void 0:k.props)===null||P===void 0?void 0:P.className,`${v}-arrow`)}})},[T,v]),R=ie(`${v}-icon-position-${C}`,{[`${v}-borderless`]:!u,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!d,[`${v}-${h}`]:h!=="middle"},a==null?void 0:a.className,o,s,E,y),w=Object.assign(Object.assign({},Ed(S)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),I=c.useMemo(()=>m?br(m).map((O,k)=>{var P,M;if(!((P=O.props)===null||P===void 0)&&P.disabled){const N=(M=O.key)!==null&&M!==void 0?M:String(k),{disabled:A,collapsible:D}=O.props,L=Object.assign(Object.assign({},An(O.props,["disabled"])),{key:N,collapsible:D??(A?"disabled":void 0)});return Tr(O,L)}return O}):null,[m]);return _(c.createElement(Rk,Object.assign({ref:t,openMotion:w},An(e,["rootClassName"]),{expandIcon:x,prefixCls:v,className:R,style:Object.assign(Object.assign({},a==null?void 0:a.style),l)}),I))}),xd=Object.assign(K0e,{Panel:z0e}),X0e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},on(e)),{borderBlockStart:`${Q(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Q(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Q(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${Q(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Q(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${o} * 100%)`},"&::after":{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${o} * 100%)`},"&::after":{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${Q(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${Q(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},Q0e=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Z0e=cn("Divider",e=>{const t=Ht(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[X0e(t)]},Q0e,{unitless:{orientationMargin:!0}});var J0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,divider:r}=c.useContext(lt),{prefixCls:a,type:i="horizontal",orientation:o="center",orientationMargin:s,className:l,rootClassName:u,children:d,dashed:p,variant:f="solid",plain:m,style:g}=e,h=J0e(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),v=t("divider",a),[S,_,E]=Z0e(v),y=!!d,C=o==="left"&&s!=null,T=o==="right"&&s!=null,x=ie(v,r==null?void 0:r.className,_,E,`${v}-${i}`,{[`${v}-with-text`]:y,[`${v}-with-text-${o}`]:y,[`${v}-dashed`]:!!p,[`${v}-${f}`]:f!=="solid",[`${v}-plain`]:!!m,[`${v}-rtl`]:n==="rtl",[`${v}-no-default-orientation-margin-left`]:C,[`${v}-no-default-orientation-margin-right`]:T},l,u),R=c.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),w=Object.assign(Object.assign({},C&&{marginLeft:R}),T&&{marginRight:R});return S(c.createElement("div",Object.assign({className:x,style:Object.assign(Object.assign({},r==null?void 0:r.style),g)},h,{role:"separator"}),d&&i!=="vertical"&&c.createElement("span",{className:`${v}-inner-text`,style:w},d)))};var eTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},tTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:eTe}))},nTe=c.forwardRef(tTe);function _D(){return typeof BigInt=="function"}function DJ(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function mc(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";i==="0"&&o==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(s).concat(r)}}function wk(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function rc(e){var t=String(e);if(wk(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&Ik(t)?t.length-t.indexOf(".")-1:0}function lS(e){var t=String(e);if(wk(e)){if(e>Number.MAX_SAFE_INTEGER)return String(_D()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":mc("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),aTe=function(){function e(t){if(Jn(this,e),W(this,"origin",""),W(this,"number",void 0),W(this,"empty",void 0),DJ(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return er(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":lS(this.number):this.origin}}]),e}();function Zi(e){return _D()?new rTe(e):new aTe(e)}function Sv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=mc(e),i=a.negativeStr,o=a.integerStr,s=a.decimalStr,l="".concat(t).concat(s),u="".concat(i).concat(o);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var p=Zi(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-d));return Sv(p.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?u:"".concat(u).concat(l)}function iTe(e){return!!(e.addonBefore||e.addonAfter)}function oTe(e){return!!(e.prefix||e.suffix||e.allowClear)}function U3(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function T_(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=U3(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=U3(t,e,r),n(a);return}n(a)}}function MJ(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var Ok=ce.forwardRef(function(e,t){var n,r,a=e.inputElement,i=e.children,o=e.prefixCls,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.style,m=e.disabled,g=e.readOnly,h=e.focused,v=e.triggerFocus,S=e.allowClear,_=e.value,E=e.handleReset,y=e.hidden,C=e.classes,T=e.classNames,x=e.dataAttrs,R=e.styles,w=e.components,I=e.onClear,O=i??a,k=(w==null?void 0:w.affixWrapper)||"span",P=(w==null?void 0:w.groupWrapper)||"span",M=(w==null?void 0:w.wrapper)||"span",N=(w==null?void 0:w.groupAddon)||"span",A=c.useRef(null),D=function(te){var se;(se=A.current)!==null&&se!==void 0&&se.contains(te.target)&&(v==null||v())},L=oTe(e),$=c.cloneElement(O,{value:_,className:ie(O.props.className,!L&&(T==null?void 0:T.variant))||null}),F=c.useRef(null);if(ce.useImperativeHandle(t,function(){return{nativeElement:F.current||A.current}}),L){var B=null;if(S){var z=!m&&!g&&_,U="".concat(o,"-clear-icon"),j=gt(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";B=ce.createElement("span",{onClick:function(te){E==null||E(te),I==null||I()},onMouseDown:function(te){return te.preventDefault()},className:ie(U,W(W({},"".concat(U,"-hidden"),!z),"".concat(U,"-has-suffix"),!!l)),role:"button",tabIndex:-1},j)}var G="".concat(o,"-affix-wrapper"),J=ie(G,W(W(W(W(W({},"".concat(o,"-disabled"),m),"".concat(G,"-disabled"),m),"".concat(G,"-focused"),h),"".concat(G,"-readonly"),g),"".concat(G,"-input-with-clear-btn"),l&&S&&_),C==null?void 0:C.affixWrapper,T==null?void 0:T.affixWrapper,T==null?void 0:T.variant),Y=(l||S)&&ce.createElement("span",{className:ie("".concat(o,"-suffix"),T==null?void 0:T.suffix),style:R==null?void 0:R.suffix},B,l);$=ce.createElement(k,_e({className:J,style:R==null?void 0:R.affixWrapper,onClick:D},x==null?void 0:x.affixWrapper,{ref:A}),s&&ce.createElement("span",{className:ie("".concat(o,"-prefix"),T==null?void 0:T.prefix),style:R==null?void 0:R.prefix},s),$,Y)}if(iTe(e)){var X="".concat(o,"-group"),V="".concat(X,"-addon"),H="".concat(X,"-wrapper"),q=ie("".concat(o,"-wrapper"),X,C==null?void 0:C.wrapper,T==null?void 0:T.wrapper),K=ie(H,W({},"".concat(H,"-disabled"),m),C==null?void 0:C.group,T==null?void 0:T.groupWrapper);$=ce.createElement(P,{className:K,ref:F},ce.createElement(M,{className:q},u&&ce.createElement(N,{className:V},u),$,d&&ce.createElement(N,{className:V},d)))}return ce.cloneElement($,{className:ie((n=$.props)===null||n===void 0?void 0:n.className,p)||null,style:ee(ee({},(r=$.props)===null||r===void 0?void 0:r.style),f),hidden:y})}),sTe=["show"];function LJ(e,t){return c.useMemo(function(){var n={};t&&(n.show=gt(t)==="object"&&t.formatter?t.formatter:!!t),n=ee(ee({},n),e);var r=n,a=r.show,i=Et(r,sTe);return ee(ee({},i),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:i.strategy||function(o){return o.length}})},[e,t])}var lTe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],cTe=c.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,i=e.onBlur,o=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,p=e.disabled,f=e.htmlSize,m=e.className,g=e.maxLength,h=e.suffix,v=e.showCount,S=e.count,_=e.type,E=_===void 0?"text":_,y=e.classes,C=e.classNames,T=e.styles,x=e.onCompositionStart,R=e.onCompositionEnd,w=Et(e,lTe),I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=c.useRef(!1),N=c.useRef(!1),A=c.useRef(null),D=c.useRef(null),L=function(ae){A.current&&MJ(A.current,ae)},$=ln(e.defaultValue,{value:e.value}),F=oe($,2),B=F[0],z=F[1],U=B==null?"":String(B),j=c.useState(null),G=oe(j,2),J=G[0],Y=G[1],X=LJ(S,v),V=X.max||g,H=X.strategy(U),q=!!V&&H>V;c.useImperativeHandle(t,function(){var ne;return{focus:L,blur:function(){var le;(le=A.current)===null||le===void 0||le.blur()},setSelectionRange:function(le,pe,Re){var Se;(Se=A.current)===null||Se===void 0||Se.setSelectionRange(le,pe,Re)},select:function(){var le;(le=A.current)===null||le===void 0||le.select()},input:A.current,nativeElement:((ne=D.current)===null||ne===void 0?void 0:ne.nativeElement)||A.current}}),c.useEffect(function(){P(function(ne){return ne&&p?!1:ne})},[p]);var K=function(ae,le,pe){var Re=le;if(!M.current&&X.exceedFormatter&&X.max&&X.strategy(le)>X.max){if(Re=X.exceedFormatter(le,{max:X.max}),le!==Re){var Se,Pe;Y([((Se=A.current)===null||Se===void 0?void 0:Se.selectionStart)||0,((Pe=A.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(pe.source==="compositionEnd")return;z(Re),A.current&&T_(A.current,ae,r,Re)};c.useEffect(function(){if(J){var ne;(ne=A.current)===null||ne===void 0||ne.setSelectionRange.apply(ne,$e(J))}},[J]);var Z=function(ae){K(ae,ae.target.value,{source:"change"})},te=function(ae){M.current=!1,K(ae,ae.currentTarget.value,{source:"compositionEnd"}),R==null||R(ae)},se=function(ae){o&&ae.key==="Enter"&&!N.current&&(N.current=!0,o(ae)),s==null||s(ae)},ue=function(ae){ae.key==="Enter"&&(N.current=!1),l==null||l(ae)},me=function(ae){P(!0),a==null||a(ae)},de=function(ae){P(!1),i==null||i(ae)},Te=function(ae){z(""),L(),A.current&&T_(A.current,ae,r)},Ee=q&&"".concat(d,"-out-of-range"),ge=function(){var ae=An(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return ce.createElement("input",_e({autoComplete:n},ae,{onChange:Z,onFocus:me,onBlur:de,onKeyDown:se,onKeyUp:ue,className:ie(d,W({},"".concat(d,"-disabled"),p),C==null?void 0:C.input),style:T==null?void 0:T.input,ref:A,size:f,type:E,onCompositionStart:function(pe){M.current=!0,x==null||x(pe)},onCompositionEnd:te}))},re=function(){var ae=Number(V)>0;if(h||X.show){var le=X.showFormatter?X.showFormatter({value:U,count:H,maxLength:V}):"".concat(H).concat(ae?" / ".concat(V):"");return ce.createElement(ce.Fragment,null,X.show&&ce.createElement("span",{className:ie("".concat(d,"-show-count-suffix"),W({},"".concat(d,"-show-count-has-suffix"),!!h),C==null?void 0:C.count),style:ee({},T==null?void 0:T.count)},le),h)}return null};return ce.createElement(Ok,_e({},w,{prefixCls:d,className:ie(m,Ee),handleReset:Te,value:U,focused:k,triggerFocus:L,suffix:re(),disabled:p,classes:y,classNames:C,styles:T}),ge())});function uTe(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var i=r[a];return typeof i=="function"?i.bind(r):i}}):e}function dTe(e,t){var n=c.useRef(null);function r(){try{var i=e.selectionStart,o=e.selectionEnd,s=e.value,l=s.substring(0,i),u=s.substring(o);n.current={start:i,end:o,value:s,beforeTxt:l,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var i=e.value,o=n.current,s=o.beforeTxt,l=o.afterTxt,u=o.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(l))d=i.length-n.current.afterTxt.length;else{var p=s[u-1],f=i.indexOf(p,u-1);f!==-1&&(d=f+1)}e.setSelectionRange(d,d)}catch(m){bn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(m.message))}}return[r,a]}var pTe=function(){var t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1];return Qt(function(){a(Fb())},[]),r},fTe=200,mTe=600;function gTe(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,i=e.downDisabled,o=e.onStep,s=c.useRef(),l=c.useRef([]),u=c.useRef();u.current=o;var d=function(){clearTimeout(s.current)},p=function(E,y){E.preventDefault(),d(),u.current(y);function C(){u.current(y),s.current=setTimeout(C,fTe)}s.current=setTimeout(C,mTe)};c.useEffect(function(){return function(){d(),l.current.forEach(function(_){return Gt.cancel(_)})}},[]);var f=pTe();if(f)return null;var m="".concat(t,"-handler"),g=ie(m,"".concat(m,"-up"),W({},"".concat(m,"-up-disabled"),a)),h=ie(m,"".concat(m,"-down"),W({},"".concat(m,"-down-disabled"),i)),v=function(){return l.current.push(Gt(d))},S={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return c.createElement("div",{className:"".concat(m,"-wrap")},c.createElement("span",_e({},S,{onMouseDown:function(E){p(E,!0)},"aria-label":"Increase Value","aria-disabled":a,className:g}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",_e({},S,{onMouseDown:function(E){p(E,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:h}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function j3(e){var t=typeof e=="number"?lS(e):mc(e).fullStr,n=t.includes(".");return n?mc(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const hTe=function(){var e=c.useRef(0),t=function(){Gt.cancel(e.current)};return c.useEffect(function(){return t},[]),function(n){t(),e.current=Gt(function(){n()})}};var vTe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],_Te=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],z3=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},H3=function(t){var n=Zi(t);return n.isInvalidate()?null:n},bTe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.min,o=e.max,s=e.step,l=s===void 0?1:s,u=e.defaultValue,d=e.value,p=e.disabled,f=e.readOnly,m=e.upHandler,g=e.downHandler,h=e.keyboard,v=e.changeOnWheel,S=v===void 0?!1:v,_=e.controls,E=_===void 0?!0:_;e.classNames;var y=e.stringMode,C=e.parser,T=e.formatter,x=e.precision,R=e.decimalSeparator,w=e.onChange,I=e.onInput,O=e.onPressEnter,k=e.onStep,P=e.changeOnBlur,M=P===void 0?!0:P,N=e.domRef,A=Et(e,vTe),D="".concat(n,"-input"),L=c.useRef(null),$=c.useState(!1),F=oe($,2),B=F[0],z=F[1],U=c.useRef(!1),j=c.useRef(!1),G=c.useRef(!1),J=c.useState(function(){return Zi(d??u)}),Y=oe(J,2),X=Y[0],V=Y[1];function H(De){d===void 0&&V(De)}var q=c.useCallback(function(De,Ue){if(!Ue)return x>=0?x:Math.max(rc(De),rc(l))},[x,l]),K=c.useCallback(function(De){var Ue=String(De);if(C)return C(Ue);var Ye=Ue;return R&&(Ye=Ye.replace(R,".")),Ye.replace(/[^\w.-]+/g,"")},[C,R]),Z=c.useRef(""),te=c.useCallback(function(De,Ue){if(T)return T(De,{userTyping:Ue,input:String(Z.current)});var Ye=typeof De=="number"?lS(De):De;if(!Ue){var He=q(Ye,Ue);if(Ik(Ye)&&(R||He>=0)){var ze=R||".";Ye=Sv(Ye,ze,He)}}return Ye},[T,q,R]),se=c.useState(function(){var De=u??d;return X.isInvalidate()&&["string","number"].includes(gt(De))?Number.isNaN(De)?"":De:te(X.toString(),!1)}),ue=oe(se,2),me=ue[0],de=ue[1];Z.current=me;function Te(De,Ue){de(te(De.isInvalidate()?De.toString(!1):De.toString(!Ue),Ue))}var Ee=c.useMemo(function(){return H3(o)},[o,x]),ge=c.useMemo(function(){return H3(i)},[i,x]),re=c.useMemo(function(){return!Ee||!X||X.isInvalidate()?!1:Ee.lessEquals(X)},[Ee,X]),ne=c.useMemo(function(){return!ge||!X||X.isInvalidate()?!1:X.lessEquals(ge)},[ge,X]),ae=dTe(L.current,B),le=oe(ae,2),pe=le[0],Re=le[1],Se=function(Ue){return Ee&&!Ue.lessEquals(Ee)?Ee:ge&&!ge.lessEquals(Ue)?ge:null},Pe=function(Ue){return!Se(Ue)},fe=function(Ue,Ye){var He=Ue,ze=Pe(He)||He.isEmpty();if(!He.isEmpty()&&!Ye&&(He=Se(He)||He,ze=!0),!f&&!p&&ze){var Xe=He.toString(),Be=q(Xe,Ye);return Be>=0&&(He=Zi(Sv(Xe,".",Be)),Pe(He)||(He=Zi(Sv(Xe,".",Be,!0)))),He.equals(X)||(H(He),w==null||w(He.isEmpty()?null:z3(y,He)),d===void 0&&Te(He,Ye)),He}return X},ve=hTe(),Ae=function De(Ue){if(pe(),Z.current=Ue,de(Ue),!j.current){var Ye=K(Ue),He=Zi(Ye);He.isNaN()||fe(He,!0)}I==null||I(Ue),ve(function(){var ze=Ue;C||(ze=Ue.replace(/。/g,".")),ze!==Ue&&De(ze)})},ye=function(){j.current=!0},be=function(){j.current=!1,Ae(L.current.value)},Ne=function(Ue){Ae(Ue.target.value)},Ie=function(Ue){var Ye;if(!(Ue&&re||!Ue&&ne)){U.current=!1;var He=Zi(G.current?j3(l):l);Ue||(He=He.negate());var ze=(X||Zi(0)).add(He.toString()),Xe=fe(ze,!1);k==null||k(z3(y,Xe),{offset:G.current?j3(l):l,type:Ue?"up":"down"}),(Ye=L.current)===null||Ye===void 0||Ye.focus()}},xe=function(Ue){var Ye=Zi(K(me)),He;Ye.isNaN()?He=fe(X,Ue):He=fe(Ye,Ue),d!==void 0?Te(X,!1):He.isNaN()||Te(He,!1)},ke=function(){U.current=!0},rt=function(Ue){var Ye=Ue.key,He=Ue.shiftKey;U.current=!0,G.current=He,Ye==="Enter"&&(j.current||(U.current=!1),xe(!1),O==null||O(Ue)),h!==!1&&!j.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ye)&&(Ie(Ye==="Up"||Ye==="ArrowUp"),Ue.preventDefault())},Me=function(){U.current=!1,G.current=!1};c.useEffect(function(){if(S&&B){var De=function(He){Ie(He.deltaY<0),He.preventDefault()},Ue=L.current;if(Ue)return Ue.addEventListener("wheel",De,{passive:!1}),function(){return Ue.removeEventListener("wheel",De)}}});var Ce=function(){M&&xe(!1),z(!1),U.current=!1};return pc(function(){X.isInvalidate()||Te(X,!1)},[x,T]),pc(function(){var De=Zi(d);V(De);var Ue=Zi(K(me));(!De.equals(Ue)||!U.current||T)&&Te(De,U.current)},[d]),pc(function(){T&&Re()},[me]),c.createElement("div",{ref:N,className:ie(n,r,W(W(W(W(W({},"".concat(n,"-focused"),B),"".concat(n,"-disabled"),p),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),X.isNaN()),"".concat(n,"-out-of-range"),!X.isInvalidate()&&!Pe(X))),style:a,onFocus:function(){z(!0)},onBlur:Ce,onKeyDown:rt,onKeyUp:Me,onCompositionStart:ye,onCompositionEnd:be,onBeforeInput:ke},E&&c.createElement(gTe,{prefixCls:n,upNode:m,downNode:g,upDisabled:re,downDisabled:ne,onStep:Ie}),c.createElement("div",{className:"".concat(D,"-wrap")},c.createElement("input",_e({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":X.isInvalidate()?null:X.toString(),step:l},A,{ref:aa(L,t),className:D,value:me,onChange:Ne,disabled:p,readOnly:f}))))}),STe=c.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,i=a===void 0?"rc-input-number":a,o=e.value,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.classNames,m=Et(e,_Te),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=function(E){v.current&&MJ(v.current,E)};return c.useImperativeHandle(t,function(){return uTe(v.current,{nativeElement:g.current.nativeElement||h.current})}),c.createElement(Ok,{className:p,triggerFocus:S,prefixCls:i,value:o,disabled:n,style:r,prefix:s,suffix:l,addonAfter:d,addonBefore:u,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:g},c.createElement(bTe,_e({prefixCls:i,disabled:n,ref:v,domRef:h,className:f==null?void 0:f.input},m)))});const ETe=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},dg(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new an(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},G3=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const i=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},yTe=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:s,controlHeightSM:l,colorError:u,paddingInlineSM:d,paddingBlockSM:p,paddingBlockLG:f,paddingInlineLG:m,colorTextDescription:g,motionDurationMid:h,handleHoverColor:v,handleOpacity:S,paddingInline:_,paddingBlock:E,handleBg:y,handleActiveBg:C,colorTextDisabled:T,borderRadiusSM:x,borderRadiusLG:R,controlWidth:w,handleBorderColor:I,filledHandleBg:O,lineHeightLG:k,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),pg(e)),{display:"inline-block",width:w,margin:0,padding:0,borderRadius:a}),_k(e,{[`${t}-handler-wrap`]:{background:y,[`${t}-handler-down`]:{borderBlockStart:`${Q(n)} ${r} ${I}`}}})),Sk(e,{[`${t}-handler-wrap`]:{background:O,[`${t}-handler-down`]:{borderBlockStart:`${Q(n)} ${r} ${I}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:y}}})),bk(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:k,borderRadius:R,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${Q(f)} ${Q(m)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:x,[`input${t}-input`]:{height:P(l).sub(P(n).mul(2)).equal(),padding:`${Q(p)} ${Q(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},on(e)),mJ(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:R,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:x}}},uJ(e)),pJ(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{width:"100%",padding:`${Q(E)} ${Q(_)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit"}),Ek(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:S,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},Y0e=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},K0e=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),X0e=sn("Collapse",e=>{const t=Ht(e,{collapseHeaderPaddingSM:`${X(e.paddingXS)} ${X(e.paddingSM)}`,collapseHeaderPaddingLG:`${X(e.padding)} ${X(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[V0e(t),W0e(t),Y0e(t),q0e(t),ag(t)]},K0e),Q0e=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=c.useContext(lt),{prefixCls:i,className:o,rootClassName:s,style:l,bordered:u=!0,ghost:d,size:p,expandIconPosition:f="start",children:m,expandIcon:g}=e,h=xr(O=>{var k;return(k=p??O)!==null&&k!==void 0?k:"middle"}),v=n("collapse",i),S=n(),[b,E,y]=X0e(v),C=c.useMemo(()=>f==="left"?"start":f==="right"?"end":f,[f]),T=g??(a==null?void 0:a.expandIcon),x=c.useCallback(function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const k=typeof T=="function"?T(O):c.createElement(Fi,{rotate:O.isActive?90:void 0,"aria-label":O.isActive?"expanded":"collapsed"});return Tr(k,()=>{var P;return{className:ie((P=k==null?void 0:k.props)===null||P===void 0?void 0:P.className,`${v}-arrow`)}})},[T,v]),R=ie(`${v}-icon-position-${C}`,{[`${v}-borderless`]:!u,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!d,[`${v}-${h}`]:h!=="middle"},a==null?void 0:a.className,o,s,E,y),w=Object.assign(Object.assign({},Td(S)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),I=c.useMemo(()=>m?_r(m).map((O,k)=>{var P,M;if(!((P=O.props)===null||P===void 0)&&P.disabled){const N=(M=O.key)!==null&&M!==void 0?M:String(k),{disabled:A,collapsible:D}=O.props,L=Object.assign(Object.assign({},An(O.props,["disabled"])),{key:N,collapsible:D??(A?"disabled":void 0)});return Tr(O,L)}return O}):null,[m]);return b(c.createElement(Ik,Object.assign({ref:t,openMotion:w},An(e,["rootClassName"]),{expandIcon:x,prefixCls:v,className:R,style:Object.assign(Object.assign({},a==null?void 0:a.style),l)}),I))}),Id=Object.assign(Q0e,{Panel:G0e}),Z0e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},an(e)),{borderBlockStart:`${X(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${X(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${X(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${X(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${X(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${o} * 100%)`},"&::after":{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${o} * 100%)`},"&::after":{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${X(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${X(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},J0e=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),eTe=sn("Divider",e=>{const t=Ht(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Z0e(t)]},J0e,{unitless:{orientationMargin:!0}});var tTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,divider:r}=c.useContext(lt),{prefixCls:a,type:i="horizontal",orientation:o="center",orientationMargin:s,className:l,rootClassName:u,children:d,dashed:p,variant:f="solid",plain:m,style:g}=e,h=tTe(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),v=t("divider",a),[S,b,E]=eTe(v),y=!!d,C=o==="left"&&s!=null,T=o==="right"&&s!=null,x=ie(v,r==null?void 0:r.className,b,E,`${v}-${i}`,{[`${v}-with-text`]:y,[`${v}-with-text-${o}`]:y,[`${v}-dashed`]:!!p,[`${v}-${f}`]:f!=="solid",[`${v}-plain`]:!!m,[`${v}-rtl`]:n==="rtl",[`${v}-no-default-orientation-margin-left`]:C,[`${v}-no-default-orientation-margin-right`]:T},l,u),R=c.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),w=Object.assign(Object.assign({},C&&{marginLeft:R}),T&&{marginRight:R});return S(c.createElement("div",Object.assign({className:x,style:Object.assign(Object.assign({},r==null?void 0:r.style),g)},h,{role:"separator"}),d&&i!=="vertical"&&c.createElement("span",{className:`${v}-inner-text`,style:w},d)))};var nTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},rTe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:nTe}))},aTe=c.forwardRef(rTe);function bD(){return typeof BigInt=="function"}function MJ(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function mc(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";i==="0"&&o==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(s).concat(r)}}function Ok(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function rc(e){var t=String(e);if(Ok(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&Nk(t)?t.length-t.indexOf(".")-1:0}function dS(e){var t=String(e);if(Ok(e)){if(e>Number.MAX_SAFE_INTEGER)return String(bD()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":mc("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),oTe=function(){function e(t){if(er(this,e),W(this,"origin",""),W(this,"number",void 0),W(this,"empty",void 0),MJ(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return tr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":dS(this.number):this.origin}}]),e}();function Ji(e){return bD()?new iTe(e):new oTe(e)}function Cv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=mc(e),i=a.negativeStr,o=a.integerStr,s=a.decimalStr,l="".concat(t).concat(s),u="".concat(i).concat(o);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var p=Ji(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-d));return Cv(p.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?u:"".concat(u).concat(l)}function sTe(e){return!!(e.addonBefore||e.addonAfter)}function lTe(e){return!!(e.prefix||e.suffix||e.allowClear)}function z3(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function I_(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=z3(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=z3(t,e,r),n(a);return}n(a)}}function LJ(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var Ak=ce.forwardRef(function(e,t){var n,r,a=e.inputElement,i=e.children,o=e.prefixCls,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.style,m=e.disabled,g=e.readOnly,h=e.focused,v=e.triggerFocus,S=e.allowClear,b=e.value,E=e.handleReset,y=e.hidden,C=e.classes,T=e.classNames,x=e.dataAttrs,R=e.styles,w=e.components,I=e.onClear,O=i??a,k=(w==null?void 0:w.affixWrapper)||"span",P=(w==null?void 0:w.groupWrapper)||"span",M=(w==null?void 0:w.wrapper)||"span",N=(w==null?void 0:w.groupAddon)||"span",A=c.useRef(null),D=function(te){var se;(se=A.current)!==null&&se!==void 0&&se.contains(te.target)&&(v==null||v())},L=lTe(e),$=c.cloneElement(O,{value:b,className:ie(O.props.className,!L&&(T==null?void 0:T.variant))||null}),F=c.useRef(null);if(ce.useImperativeHandle(t,function(){return{nativeElement:F.current||A.current}}),L){var B=null;if(S){var z=!m&&!g&&b,U="".concat(o,"-clear-icon"),j=gt(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";B=ce.createElement("span",{onClick:function(te){E==null||E(te),I==null||I()},onMouseDown:function(te){return te.preventDefault()},className:ie(U,W(W({},"".concat(U,"-hidden"),!z),"".concat(U,"-has-suffix"),!!l)),role:"button",tabIndex:-1},j)}var G="".concat(o,"-affix-wrapper"),J=ie(G,W(W(W(W(W({},"".concat(o,"-disabled"),m),"".concat(G,"-disabled"),m),"".concat(G,"-focused"),h),"".concat(G,"-readonly"),g),"".concat(G,"-input-with-clear-btn"),l&&S&&b),C==null?void 0:C.affixWrapper,T==null?void 0:T.affixWrapper,T==null?void 0:T.variant),Y=(l||S)&&ce.createElement("span",{className:ie("".concat(o,"-suffix"),T==null?void 0:T.suffix),style:R==null?void 0:R.suffix},B,l);$=ce.createElement(k,ve({className:J,style:R==null?void 0:R.affixWrapper,onClick:D},x==null?void 0:x.affixWrapper,{ref:A}),s&&ce.createElement("span",{className:ie("".concat(o,"-prefix"),T==null?void 0:T.prefix),style:R==null?void 0:R.prefix},s),$,Y)}if(sTe(e)){var Q="".concat(o,"-group"),V="".concat(Q,"-addon"),H="".concat(Q,"-wrapper"),q=ie("".concat(o,"-wrapper"),Q,C==null?void 0:C.wrapper,T==null?void 0:T.wrapper),K=ie(H,W({},"".concat(H,"-disabled"),m),C==null?void 0:C.group,T==null?void 0:T.groupWrapper);$=ce.createElement(P,{className:K,ref:F},ce.createElement(M,{className:q},u&&ce.createElement(N,{className:V},u),$,d&&ce.createElement(N,{className:V},d)))}return ce.cloneElement($,{className:ie((n=$.props)===null||n===void 0?void 0:n.className,p)||null,style:ee(ee({},(r=$.props)===null||r===void 0?void 0:r.style),f),hidden:y})}),cTe=["show"];function kJ(e,t){return c.useMemo(function(){var n={};t&&(n.show=gt(t)==="object"&&t.formatter?t.formatter:!!t),n=ee(ee({},n),e);var r=n,a=r.show,i=yt(r,cTe);return ee(ee({},i),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:i.strategy||function(o){return o.length}})},[e,t])}var uTe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],dTe=c.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,i=e.onBlur,o=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,p=e.disabled,f=e.htmlSize,m=e.className,g=e.maxLength,h=e.suffix,v=e.showCount,S=e.count,b=e.type,E=b===void 0?"text":b,y=e.classes,C=e.classNames,T=e.styles,x=e.onCompositionStart,R=e.onCompositionEnd,w=yt(e,uTe),I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=c.useRef(!1),N=c.useRef(!1),A=c.useRef(null),D=c.useRef(null),L=function(ae){A.current&&LJ(A.current,ae)},$=ln(e.defaultValue,{value:e.value}),F=oe($,2),B=F[0],z=F[1],U=B==null?"":String(B),j=c.useState(null),G=oe(j,2),J=G[0],Y=G[1],Q=kJ(S,v),V=Q.max||g,H=Q.strategy(U),q=!!V&&H>V;c.useImperativeHandle(t,function(){var ne;return{focus:L,blur:function(){var le;(le=A.current)===null||le===void 0||le.blur()},setSelectionRange:function(le,pe,Re){var Se;(Se=A.current)===null||Se===void 0||Se.setSelectionRange(le,pe,Re)},select:function(){var le;(le=A.current)===null||le===void 0||le.select()},input:A.current,nativeElement:((ne=D.current)===null||ne===void 0?void 0:ne.nativeElement)||A.current}}),c.useEffect(function(){P(function(ne){return ne&&p?!1:ne})},[p]);var K=function(ae,le,pe){var Re=le;if(!M.current&&Q.exceedFormatter&&Q.max&&Q.strategy(le)>Q.max){if(Re=Q.exceedFormatter(le,{max:Q.max}),le!==Re){var Se,Pe;Y([((Se=A.current)===null||Se===void 0?void 0:Se.selectionStart)||0,((Pe=A.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(pe.source==="compositionEnd")return;z(Re),A.current&&I_(A.current,ae,r,Re)};c.useEffect(function(){if(J){var ne;(ne=A.current)===null||ne===void 0||ne.setSelectionRange.apply(ne,$e(J))}},[J]);var Z=function(ae){K(ae,ae.target.value,{source:"change"})},te=function(ae){M.current=!1,K(ae,ae.currentTarget.value,{source:"compositionEnd"}),R==null||R(ae)},se=function(ae){o&&ae.key==="Enter"&&!N.current&&(N.current=!0,o(ae)),s==null||s(ae)},ue=function(ae){ae.key==="Enter"&&(N.current=!1),l==null||l(ae)},me=function(ae){P(!0),a==null||a(ae)},de=function(ae){P(!1),i==null||i(ae)},Te=function(ae){z(""),L(),A.current&&I_(A.current,ae,r)},Ee=q&&"".concat(d,"-out-of-range"),ge=function(){var ae=An(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return ce.createElement("input",ve({autoComplete:n},ae,{onChange:Z,onFocus:me,onBlur:de,onKeyDown:se,onKeyUp:ue,className:ie(d,W({},"".concat(d,"-disabled"),p),C==null?void 0:C.input),style:T==null?void 0:T.input,ref:A,size:f,type:E,onCompositionStart:function(pe){M.current=!0,x==null||x(pe)},onCompositionEnd:te}))},re=function(){var ae=Number(V)>0;if(h||Q.show){var le=Q.showFormatter?Q.showFormatter({value:U,count:H,maxLength:V}):"".concat(H).concat(ae?" / ".concat(V):"");return ce.createElement(ce.Fragment,null,Q.show&&ce.createElement("span",{className:ie("".concat(d,"-show-count-suffix"),W({},"".concat(d,"-show-count-has-suffix"),!!h),C==null?void 0:C.count),style:ee({},T==null?void 0:T.count)},le),h)}return null};return ce.createElement(Ak,ve({},w,{prefixCls:d,className:ie(m,Ee),handleReset:Te,value:U,focused:k,triggerFocus:L,suffix:re(),disabled:p,classes:y,classNames:C,styles:T}),ge())});function pTe(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var i=r[a];return typeof i=="function"?i.bind(r):i}}):e}function fTe(e,t){var n=c.useRef(null);function r(){try{var i=e.selectionStart,o=e.selectionEnd,s=e.value,l=s.substring(0,i),u=s.substring(o);n.current={start:i,end:o,value:s,beforeTxt:l,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var i=e.value,o=n.current,s=o.beforeTxt,l=o.afterTxt,u=o.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(l))d=i.length-n.current.afterTxt.length;else{var p=s[u-1],f=i.indexOf(p,u-1);f!==-1&&(d=f+1)}e.setSelectionRange(d,d)}catch(m){bn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(m.message))}}return[r,a]}var mTe=function(){var t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1];return Qt(function(){a(zb())},[]),r},gTe=200,hTe=600;function vTe(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,i=e.downDisabled,o=e.onStep,s=c.useRef(),l=c.useRef([]),u=c.useRef();u.current=o;var d=function(){clearTimeout(s.current)},p=function(E,y){E.preventDefault(),d(),u.current(y);function C(){u.current(y),s.current=setTimeout(C,gTe)}s.current=setTimeout(C,hTe)};c.useEffect(function(){return function(){d(),l.current.forEach(function(b){return Gt.cancel(b)})}},[]);var f=mTe();if(f)return null;var m="".concat(t,"-handler"),g=ie(m,"".concat(m,"-up"),W({},"".concat(m,"-up-disabled"),a)),h=ie(m,"".concat(m,"-down"),W({},"".concat(m,"-down-disabled"),i)),v=function(){return l.current.push(Gt(d))},S={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return c.createElement("div",{className:"".concat(m,"-wrap")},c.createElement("span",ve({},S,{onMouseDown:function(E){p(E,!0)},"aria-label":"Increase Value","aria-disabled":a,className:g}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",ve({},S,{onMouseDown:function(E){p(E,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:h}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function H3(e){var t=typeof e=="number"?dS(e):mc(e).fullStr,n=t.includes(".");return n?mc(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const _Te=function(){var e=c.useRef(0),t=function(){Gt.cancel(e.current)};return c.useEffect(function(){return t},[]),function(n){t(),e.current=Gt(function(){n()})}};var bTe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],STe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],G3=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},V3=function(t){var n=Ji(t);return n.isInvalidate()?null:n},ETe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.min,o=e.max,s=e.step,l=s===void 0?1:s,u=e.defaultValue,d=e.value,p=e.disabled,f=e.readOnly,m=e.upHandler,g=e.downHandler,h=e.keyboard,v=e.changeOnWheel,S=v===void 0?!1:v,b=e.controls,E=b===void 0?!0:b;e.classNames;var y=e.stringMode,C=e.parser,T=e.formatter,x=e.precision,R=e.decimalSeparator,w=e.onChange,I=e.onInput,O=e.onPressEnter,k=e.onStep,P=e.changeOnBlur,M=P===void 0?!0:P,N=e.domRef,A=yt(e,bTe),D="".concat(n,"-input"),L=c.useRef(null),$=c.useState(!1),F=oe($,2),B=F[0],z=F[1],U=c.useRef(!1),j=c.useRef(!1),G=c.useRef(!1),J=c.useState(function(){return Ji(d??u)}),Y=oe(J,2),Q=Y[0],V=Y[1];function H(De){d===void 0&&V(De)}var q=c.useCallback(function(De,Ue){if(!Ue)return x>=0?x:Math.max(rc(De),rc(l))},[x,l]),K=c.useCallback(function(De){var Ue=String(De);if(C)return C(Ue);var Ye=Ue;return R&&(Ye=Ye.replace(R,".")),Ye.replace(/[^\w.-]+/g,"")},[C,R]),Z=c.useRef(""),te=c.useCallback(function(De,Ue){if(T)return T(De,{userTyping:Ue,input:String(Z.current)});var Ye=typeof De=="number"?dS(De):De;if(!Ue){var He=q(Ye,Ue);if(Nk(Ye)&&(R||He>=0)){var ze=R||".";Ye=Cv(Ye,ze,He)}}return Ye},[T,q,R]),se=c.useState(function(){var De=u??d;return Q.isInvalidate()&&["string","number"].includes(gt(De))?Number.isNaN(De)?"":De:te(Q.toString(),!1)}),ue=oe(se,2),me=ue[0],de=ue[1];Z.current=me;function Te(De,Ue){de(te(De.isInvalidate()?De.toString(!1):De.toString(!Ue),Ue))}var Ee=c.useMemo(function(){return V3(o)},[o,x]),ge=c.useMemo(function(){return V3(i)},[i,x]),re=c.useMemo(function(){return!Ee||!Q||Q.isInvalidate()?!1:Ee.lessEquals(Q)},[Ee,Q]),ne=c.useMemo(function(){return!ge||!Q||Q.isInvalidate()?!1:Q.lessEquals(ge)},[ge,Q]),ae=fTe(L.current,B),le=oe(ae,2),pe=le[0],Re=le[1],Se=function(Ue){return Ee&&!Ue.lessEquals(Ee)?Ee:ge&&!ge.lessEquals(Ue)?ge:null},Pe=function(Ue){return!Se(Ue)},fe=function(Ue,Ye){var He=Ue,ze=Pe(He)||He.isEmpty();if(!He.isEmpty()&&!Ye&&(He=Se(He)||He,ze=!0),!f&&!p&&ze){var Xe=He.toString(),Be=q(Xe,Ye);return Be>=0&&(He=Ji(Cv(Xe,".",Be)),Pe(He)||(He=Ji(Cv(Xe,".",Be,!0)))),He.equals(Q)||(H(He),w==null||w(He.isEmpty()?null:G3(y,He)),d===void 0&&Te(He,Ye)),He}return Q},_e=_Te(),Ae=function De(Ue){if(pe(),Z.current=Ue,de(Ue),!j.current){var Ye=K(Ue),He=Ji(Ye);He.isNaN()||fe(He,!0)}I==null||I(Ue),_e(function(){var ze=Ue;C||(ze=Ue.replace(/。/g,".")),ze!==Ue&&De(ze)})},ye=function(){j.current=!0},be=function(){j.current=!1,Ae(L.current.value)},Ne=function(Ue){Ae(Ue.target.value)},we=function(Ue){var Ye;if(!(Ue&&re||!Ue&&ne)){U.current=!1;var He=Ji(G.current?H3(l):l);Ue||(He=He.negate());var ze=(Q||Ji(0)).add(He.toString()),Xe=fe(ze,!1);k==null||k(G3(y,Xe),{offset:G.current?H3(l):l,type:Ue?"up":"down"}),(Ye=L.current)===null||Ye===void 0||Ye.focus()}},xe=function(Ue){var Ye=Ji(K(me)),He;Ye.isNaN()?He=fe(Q,Ue):He=fe(Ye,Ue),d!==void 0?Te(Q,!1):He.isNaN()||Te(He,!1)},ke=function(){U.current=!0},at=function(Ue){var Ye=Ue.key,He=Ue.shiftKey;U.current=!0,G.current=He,Ye==="Enter"&&(j.current||(U.current=!1),xe(!1),O==null||O(Ue)),h!==!1&&!j.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ye)&&(we(Ye==="Up"||Ye==="ArrowUp"),Ue.preventDefault())},Me=function(){U.current=!1,G.current=!1};c.useEffect(function(){if(S&&B){var De=function(He){we(He.deltaY<0),He.preventDefault()},Ue=L.current;if(Ue)return Ue.addEventListener("wheel",De,{passive:!1}),function(){return Ue.removeEventListener("wheel",De)}}});var Ce=function(){M&&xe(!1),z(!1),U.current=!1};return pc(function(){Q.isInvalidate()||Te(Q,!1)},[x,T]),pc(function(){var De=Ji(d);V(De);var Ue=Ji(K(me));(!De.equals(Ue)||!U.current||T)&&Te(De,U.current)},[d]),pc(function(){T&&Re()},[me]),c.createElement("div",{ref:N,className:ie(n,r,W(W(W(W(W({},"".concat(n,"-focused"),B),"".concat(n,"-disabled"),p),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),Q.isNaN()),"".concat(n,"-out-of-range"),!Q.isInvalidate()&&!Pe(Q))),style:a,onFocus:function(){z(!0)},onBlur:Ce,onKeyDown:at,onKeyUp:Me,onCompositionStart:ye,onCompositionEnd:be,onBeforeInput:ke},E&&c.createElement(vTe,{prefixCls:n,upNode:m,downNode:g,upDisabled:re,downDisabled:ne,onStep:we}),c.createElement("div",{className:"".concat(D,"-wrap")},c.createElement("input",ve({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Q.isInvalidate()?null:Q.toString(),step:l},A,{ref:aa(L,t),className:D,value:me,onChange:Ne,disabled:p,readOnly:f}))))}),yTe=c.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,i=a===void 0?"rc-input-number":a,o=e.value,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.classNames,m=yt(e,STe),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=function(E){v.current&&LJ(v.current,E)};return c.useImperativeHandle(t,function(){return pTe(v.current,{nativeElement:g.current.nativeElement||h.current})}),c.createElement(Ak,{className:p,triggerFocus:S,prefixCls:i,value:o,disabled:n,style:r,prefix:s,suffix:l,addonAfter:d,addonBefore:u,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:g},c.createElement(ETe,ve({prefixCls:i,disabled:n,ref:v,domRef:h,className:f==null?void 0:f.input},m)))});const CTe=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},mg(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new on(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},q3=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const i=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},TTe=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:s,controlHeightSM:l,colorError:u,paddingInlineSM:d,paddingBlockSM:p,paddingBlockLG:f,paddingInlineLG:m,colorTextDescription:g,motionDurationMid:h,handleHoverColor:v,handleOpacity:S,paddingInline:b,paddingBlock:E,handleBg:y,handleActiveBg:C,colorTextDisabled:T,borderRadiusSM:x,borderRadiusLG:R,controlWidth:w,handleBorderColor:I,filledHandleBg:O,lineHeightLG:k,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),gg(e)),{display:"inline-block",width:w,margin:0,padding:0,borderRadius:a}),Sk(e,{[`${t}-handler-wrap`]:{background:y,[`${t}-handler-down`]:{borderBlockStart:`${X(n)} ${r} ${I}`}}})),yk(e,{[`${t}-handler-wrap`]:{background:O,[`${t}-handler-down`]:{borderBlockStart:`${X(n)} ${r} ${I}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:y}}})),Ek(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:k,borderRadius:R,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${X(f)} ${X(m)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:x,[`input${t}-input`]:{height:P(l).sub(P(n).mul(2)).equal(),padding:`${X(p)} ${X(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},an(e)),gJ(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:R,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:x}}},dJ(e)),fJ(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{width:"100%",padding:`${X(E)} ${X(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit"}),Ck(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:S,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Q(n)} ${r} ${I}`,transition:`all ${h} linear`,"&:active":{background:C},"&:hover":{height:"60%",[` + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${X(n)} ${r} ${I}`,transition:`all ${h} linear`,"&:active":{background:C},"&:hover":{height:"60%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{color:v}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Hd()),{color:g,transition:`all ${h} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},G3(e,"lg")),G3(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + `]:{color:v}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},qd()),{color:g,transition:`all ${h} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},q3(e,"lg")),q3(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` ${t}-handler-up-disabled, ${t}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:T}})}]},CTe=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:p,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Q(n)} 0`}},pg(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:l,[`input${t}-input`]:{padding:`${Q(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${Q(p)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},TTe=cn("InputNumber",e=>{const t=Ht(e,ug(e));return[yTe(t),CTe(t),Zm(t)]},ETe,{unitless:{handleOpacity:!0}});var xTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=c.useContext(lt),a=c.useRef(null);c.useImperativeHandle(t,()=>a.current);const{className:i,rootClassName:o,size:s,disabled:l,prefixCls:u,addonBefore:d,addonAfter:p,prefix:f,suffix:m,bordered:g,readOnly:h,status:v,controls:S,variant:_}=e,E=xTe(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),y=n("input-number",u),C=Zn(y),[T,x,R]=TTe(y,C),{compactSize:w,compactItemClassnames:I}=ws(y,r);let O=c.createElement(nTe,{className:`${y}-handler-up-inner`}),k=c.createElement(Hb,{className:`${y}-handler-down-inner`});const P=typeof S=="boolean"?S:void 0;typeof S=="object"&&(O=typeof S.upIcon>"u"?O:c.createElement("span",{className:`${y}-handler-up-inner`},S.upIcon),k=typeof S.downIcon>"u"?k:c.createElement("span",{className:`${y}-handler-down-inner`},S.downIcon));const{hasFeedback:M,status:N,isFormItemInput:A,feedbackIcon:D}=c.useContext(Gr),L=Nl(N,v),$=xr(X=>{var V;return(V=s??w)!==null&&V!==void 0?V:X}),F=c.useContext(ea),B=l??F,[z,U]=Uc("inputNumber",_,g),j=M&&c.createElement(c.Fragment,null,D),G=ie({[`${y}-lg`]:$==="large",[`${y}-sm`]:$==="small",[`${y}-rtl`]:r==="rtl",[`${y}-in-form-item`]:A},x),J=`${y}-group`,Y=c.createElement(STe,Object.assign({ref:a,disabled:B,className:ie(R,C,i,o,I),upHandler:O,downHandler:k,prefixCls:y,readOnly:h,controls:P,prefix:f,suffix:j||m,addonBefore:d&&c.createElement(Uo,{form:!0,space:!0},d),addonAfter:p&&c.createElement(Uo,{form:!0,space:!0},p),classNames:{input:G,variant:ie({[`${y}-${z}`]:U},Cs(y,L,M)),affixWrapper:ie({[`${y}-affix-wrapper-sm`]:$==="small",[`${y}-affix-wrapper-lg`]:$==="large",[`${y}-affix-wrapper-rtl`]:r==="rtl",[`${y}-affix-wrapper-without-controls`]:S===!1},x),wrapper:ie({[`${J}-rtl`]:r==="rtl"},x),groupWrapper:ie({[`${y}-group-wrapper-sm`]:$==="small",[`${y}-group-wrapper-lg`]:$==="large",[`${y}-group-wrapper-rtl`]:r==="rtl",[`${y}-group-wrapper-${z}`]:U},Cs(`${y}-group-wrapper`,L,M),x)}},E));return T(Y)}),PJ=kJ,RTe=e=>c.createElement(_o,{theme:{components:{InputNumber:{handleVisible:!0}}}},c.createElement(kJ,Object.assign({},e)));PJ._InternalPanelDoNotUseOrYouWillBeFired=RTe;const wTe=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{prefixCls:r,className:a}=e,i=t("input-group",r),o=t("input"),[s,l]=Ck(o),u=ie(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:n==="rtl"},l,a),d=c.useContext(Gr),p=c.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(c.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(Gr.Provider,{value:p},e.children)))},$J=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:ce.createElement(Bc,null)}),t};function FJ(e,t){const n=c.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,i,o,s;!((a=e.current)===null||a===void 0)&&a.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return c.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function ITe(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var OTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,status:i,size:o,disabled:s,onBlur:l,onFocus:u,suffix:d,allowClear:p,addonAfter:f,addonBefore:m,className:g,style:h,styles:v,rootClassName:S,onChange:_,classNames:E,variant:y}=e,C=OTe(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:T,direction:x,input:R}=ce.useContext(lt),w=T("input",r),I=c.useRef(null),O=Zn(w),[k,P,M]=Ck(w,O),{compactSize:N,compactItemClassnames:A}=ws(w,x),D=xr(Z=>{var te;return(te=o??N)!==null&&te!==void 0?te:Z}),L=ce.useContext(ea),$=s??L,{status:F,hasFeedback:B,feedbackIcon:z}=c.useContext(Gr),U=Nl(F,i),j=ITe(e)||!!B;c.useRef(j);const G=FJ(I,!0),J=Z=>{G(),l==null||l(Z)},Y=Z=>{G(),u==null||u(Z)},X=Z=>{G(),_==null||_(Z)},V=(B||d)&&ce.createElement(ce.Fragment,null,d,B&&z),H=$J(p??(R==null?void 0:R.allowClear)),[q,K]=Uc("input",y,a);return k(ce.createElement(cTe,Object.assign({ref:aa(t,I),prefixCls:w,autoComplete:R==null?void 0:R.autoComplete},C,{disabled:$,onBlur:J,onFocus:Y,style:Object.assign(Object.assign({},R==null?void 0:R.style),h),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),v),suffix:V,allowClear:H,className:ie(g,S,M,O,A,R==null?void 0:R.className),onChange:X,addonBefore:m&&ce.createElement(Uo,{form:!0,space:!0},m),addonAfter:f&&ce.createElement(Uo,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},E),R==null?void 0:R.classNames),{input:ie({[`${w}-sm`]:D==="small",[`${w}-lg`]:D==="large",[`${w}-rtl`]:x==="rtl"},E==null?void 0:E.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,P),variant:ie({[`${w}-${q}`]:K},Cs(w,U)),affixWrapper:ie({[`${w}-affix-wrapper-sm`]:D==="small",[`${w}-affix-wrapper-lg`]:D==="large",[`${w}-affix-wrapper-rtl`]:x==="rtl"},P),wrapper:ie({[`${w}-group-rtl`]:x==="rtl"},P),groupWrapper:ie({[`${w}-group-wrapper-sm`]:D==="small",[`${w}-group-wrapper-lg`]:D==="large",[`${w}-group-wrapper-rtl`]:x==="rtl",[`${w}-group-wrapper-${q}`]:K},Cs(`${w}-group-wrapper`,U,B),P)})})))}),ATe=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},DTe=cn(["Input","OTP"],e=>{const t=Ht(e,ug(e));return[ATe(t)]},dg);var MTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:i,mask:o}=e,s=MTe(e,["value","onChange","onActiveChange","index","mask"]),l=n&&typeof o=="string"?o:n,u=g=>{r(i,g.target.value)},d=c.useRef(null);c.useImperativeHandle(t,()=>d.current);const p=()=>{Gt(()=>{var g;const h=(g=d.current)===null||g===void 0?void 0:g.input;document.activeElement===h&&h&&h.select()})},f=g=>{let{key:h}=g;h==="ArrowLeft"?a(i-1):h==="ArrowRight"&&a(i+1),p()},m=g=>{g.key==="Backspace"&&!n&&a(i-1),p()};return c.createElement(cS,Object.assign({},s,{ref:d,value:l,onInput:u,onFocus:p,onKeyDown:f,onKeyUp:m,onMouseDown:p,onMouseUp:p,type:o===!0?"password":"text"}))});var kTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,length:r=6,size:a,defaultValue:i,value:o,onChange:s,formatter:l,variant:u,disabled:d,status:p,autoFocus:f,mask:m}=e,g=kTe(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:h,direction:v}=c.useContext(lt),S=h("otp",n),_=Qn(g,{aria:!0,data:!0,attr:!0}),E=Zn(S),[y,C,T]=DTe(S,E),x=xr(B=>a??B),R=c.useContext(Gr),w=Nl(R.status,p),I=c.useMemo(()=>Object.assign(Object.assign({},R),{status:w,hasFeedback:!1,feedbackIcon:null}),[R,w]),O=c.useRef(null),k=c.useRef({});c.useImperativeHandle(t,()=>({focus:()=>{var B;(B=k.current[0])===null||B===void 0||B.focus()},blur:()=>{var B;for(let z=0;zl?l(B):B,[M,N]=c.useState(Eh(P(i||"")));c.useEffect(()=>{o!==void 0&&N(Eh(o))},[o]);const A=Wt(B=>{N(B),s&&B.length===r&&B.every(z=>z)&&B.some((z,U)=>M[U]!==z)&&s(B.join(""))}),D=Wt((B,z)=>{let U=$e(M);for(let G=0;G=0&&!U[G];G-=1)U.pop();const j=P(U.map(G=>G||" ").join(""));return U=Eh(j).map((G,J)=>G===" "&&!U[J]?U[J]:G),U}),L=(B,z)=>{var U;const j=D(B,z),G=Math.min(B+z.length,r-1);G!==B&&((U=k.current[G])===null||U===void 0||U.focus()),A(j)},$=B=>{var z;(z=k.current[B])===null||z===void 0||z.focus()},F={variant:u,disabled:d,status:w,mask:m};return y(c.createElement("div",Object.assign({},_,{ref:O,className:ie(S,{[`${S}-sm`]:x==="small",[`${S}-lg`]:x==="large",[`${S}-rtl`]:v==="rtl"},T,C)}),c.createElement(Gr.Provider,{value:I},Array.from({length:r}).map((B,z)=>{const U=`otp-${z}`,j=M[z]||"";return c.createElement(LTe,Object.assign({ref:G=>{k.current[z]=G},key:U,index:z,size:x,htmlSize:1,className:`${S}-input`,onChange:L,value:j,onActiveChange:$,autoFocus:z===0&&f},F))}))))});var $Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},FTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$Te}))},BTe=c.forwardRef(FTe),UTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},jTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:UTe}))},uS=c.forwardRef(jTe),zTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae?c.createElement(uS,null):c.createElement(BTe,null),GTe={click:"onClick",hover:"onMouseOver"},VTe=c.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:i=HTe}=e,o=c.useContext(ea),s=n??o,l=typeof a=="object"&&a.visible!==void 0,[u,d]=c.useState(()=>l?a.visible:!1),p=c.useRef(null);c.useEffect(()=>{l&&d(a.visible)},[l,a]);const f=FJ(p),m=()=>{s||(u&&f(),d(I=>{var O;const k=!I;return typeof a=="object"&&((O=a.onVisibleChange)===null||O===void 0||O.call(a,k)),k}))},g=I=>{const O=GTe[r]||"",k=i(u),P={[O]:m,className:`${I}-icon`,key:"passwordIcon",onMouseDown:M=>{M.preventDefault()},onMouseUp:M=>{M.preventDefault()}};return c.cloneElement(c.isValidElement(k)?k:c.createElement("span",null,k),P)},{className:h,prefixCls:v,inputPrefixCls:S,size:_}=e,E=zTe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=c.useContext(lt),C=y("input",S),T=y("input-password",v),x=a&&g(T),R=ie(T,h,{[`${T}-${_}`]:!!_}),w=Object.assign(Object.assign({},An(E,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:R,prefixCls:C,suffix:x});return _&&(w.size=_),c.createElement(cS,Object.assign({ref:aa(t,p)},w))});var qTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:i,suffix:o,enterButton:s=!1,addonAfter:l,loading:u,disabled:d,onSearch:p,onChange:f,onCompositionStart:m,onCompositionEnd:g}=e,h=qTe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:v,direction:S}=c.useContext(lt),_=c.useRef(!1),E=v("input-search",n),y=v("input",r),{compactSize:C}=ws(E,S),T=xr(F=>{var B;return(B=i??C)!==null&&B!==void 0?B:F}),x=c.useRef(null),R=F=>{F!=null&&F.target&&F.type==="click"&&p&&p(F.target.value,F,{source:"clear"}),f==null||f(F)},w=F=>{var B;document.activeElement===((B=x.current)===null||B===void 0?void 0:B.input)&&F.preventDefault()},I=F=>{var B,z;p&&p((z=(B=x.current)===null||B===void 0?void 0:B.input)===null||z===void 0?void 0:z.value,F,{source:"input"})},O=F=>{_.current||u||I(F)},k=typeof s=="boolean"?c.createElement(Gb,null):null,P=`${E}-button`;let M;const N=s||{},A=N.type&&N.type.__ANT_BUTTON===!0;A||N.type==="button"?M=Tr(N,Object.assign({onMouseDown:w,onClick:F=>{var B,z;(z=(B=N==null?void 0:N.props)===null||B===void 0?void 0:B.onClick)===null||z===void 0||z.call(B,F),I(F)},key:"enterButton"},A?{className:P,size:T}:{})):M=c.createElement(Rt,{className:P,type:s?"primary":void 0,size:T,disabled:d,key:"enterButton",onMouseDown:w,onClick:I,loading:u,icon:k},s),l&&(M=[M,Tr(l,{key:"addonAfter"})]);const D=ie(E,{[`${E}-rtl`]:S==="rtl",[`${E}-${T}`]:!!T,[`${E}-with-button`]:!!s},a),L=F=>{_.current=!0,m==null||m(F)},$=F=>{_.current=!1,g==null||g(F)};return c.createElement(cS,Object.assign({ref:aa(x,t),onPressEnter:O},h,{size:T,onCompositionStart:L,onCompositionEnd:$,prefixCls:y,addonAfter:M,suffix:o,onChange:R,className:D,disabled:d}))});var YTe=` + `]:{color:T}})}]},xTe=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:p,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${X(n)} 0`}},gg(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:l,[`input${t}-input`]:{padding:`${X(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${X(p)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},RTe=sn("InputNumber",e=>{const t=Ht(e,fg(e));return[TTe(t),xTe(t),eg(t)]},CTe,{unitless:{handleOpacity:!0}});var wTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=c.useContext(lt),a=c.useRef(null);c.useImperativeHandle(t,()=>a.current);const{className:i,rootClassName:o,size:s,disabled:l,prefixCls:u,addonBefore:d,addonAfter:p,prefix:f,suffix:m,bordered:g,readOnly:h,status:v,controls:S,variant:b}=e,E=wTe(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),y=n("input-number",u),C=Hn(y),[T,x,R]=RTe(y,C),{compactSize:w,compactItemClassnames:I}=Is(y,r);let O=c.createElement(aTe,{className:`${y}-handler-up-inner`}),k=c.createElement(Wb,{className:`${y}-handler-down-inner`});const P=typeof S=="boolean"?S:void 0;typeof S=="object"&&(O=typeof S.upIcon>"u"?O:c.createElement("span",{className:`${y}-handler-up-inner`},S.upIcon),k=typeof S.downIcon>"u"?k:c.createElement("span",{className:`${y}-handler-down-inner`},S.downIcon));const{hasFeedback:M,status:N,isFormItemInput:A,feedbackIcon:D}=c.useContext(Gr),L=Al(N,v),$=xr(Q=>{var V;return(V=s??w)!==null&&V!==void 0?V:Q}),F=c.useContext(ea),B=l??F,[z,U]=Uc("inputNumber",b,g),j=M&&c.createElement(c.Fragment,null,D),G=ie({[`${y}-lg`]:$==="large",[`${y}-sm`]:$==="small",[`${y}-rtl`]:r==="rtl",[`${y}-in-form-item`]:A},x),J=`${y}-group`,Y=c.createElement(yTe,Object.assign({ref:a,disabled:B,className:ie(R,C,i,o,I),upHandler:O,downHandler:k,prefixCls:y,readOnly:h,controls:P,prefix:f,suffix:j||m,addonBefore:d&&c.createElement(zo,{form:!0,space:!0},d),addonAfter:p&&c.createElement(zo,{form:!0,space:!0},p),classNames:{input:G,variant:ie({[`${y}-${z}`]:U},Ts(y,L,M)),affixWrapper:ie({[`${y}-affix-wrapper-sm`]:$==="small",[`${y}-affix-wrapper-lg`]:$==="large",[`${y}-affix-wrapper-rtl`]:r==="rtl",[`${y}-affix-wrapper-without-controls`]:S===!1},x),wrapper:ie({[`${J}-rtl`]:r==="rtl"},x),groupWrapper:ie({[`${y}-group-wrapper-sm`]:$==="small",[`${y}-group-wrapper-lg`]:$==="large",[`${y}-group-wrapper-rtl`]:r==="rtl",[`${y}-group-wrapper-${z}`]:U},Ts(`${y}-group-wrapper`,L,M),x)}},E));return T(Y)}),$J=PJ,ITe=e=>c.createElement(bo,{theme:{components:{InputNumber:{handleVisible:!0}}}},c.createElement(PJ,Object.assign({},e)));$J._InternalPanelDoNotUseOrYouWillBeFired=ITe;const OTe=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{prefixCls:r,className:a}=e,i=t("input-group",r),o=t("input"),[s,l]=xk(o),u=ie(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:n==="rtl"},l,a),d=c.useContext(Gr),p=c.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(c.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(Gr.Provider,{value:p},e.children)))},FJ=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:ce.createElement(Bc,null)}),t};function BJ(e,t){const n=c.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,i,o,s;!((a=e.current)===null||a===void 0)&&a.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return c.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function NTe(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var ATe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,status:i,size:o,disabled:s,onBlur:l,onFocus:u,suffix:d,allowClear:p,addonAfter:f,addonBefore:m,className:g,style:h,styles:v,rootClassName:S,onChange:b,classNames:E,variant:y}=e,C=ATe(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:T,direction:x,input:R}=ce.useContext(lt),w=T("input",r),I=c.useRef(null),O=Hn(w),[k,P,M]=xk(w,O),{compactSize:N,compactItemClassnames:A}=Is(w,x),D=xr(Z=>{var te;return(te=o??N)!==null&&te!==void 0?te:Z}),L=ce.useContext(ea),$=s??L,{status:F,hasFeedback:B,feedbackIcon:z}=c.useContext(Gr),U=Al(F,i),j=NTe(e)||!!B;c.useRef(j);const G=BJ(I,!0),J=Z=>{G(),l==null||l(Z)},Y=Z=>{G(),u==null||u(Z)},Q=Z=>{G(),b==null||b(Z)},V=(B||d)&&ce.createElement(ce.Fragment,null,d,B&&z),H=FJ(p??(R==null?void 0:R.allowClear)),[q,K]=Uc("input",y,a);return k(ce.createElement(dTe,Object.assign({ref:aa(t,I),prefixCls:w,autoComplete:R==null?void 0:R.autoComplete},C,{disabled:$,onBlur:J,onFocus:Y,style:Object.assign(Object.assign({},R==null?void 0:R.style),h),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),v),suffix:V,allowClear:H,className:ie(g,S,M,O,A,R==null?void 0:R.className),onChange:Q,addonBefore:m&&ce.createElement(zo,{form:!0,space:!0},m),addonAfter:f&&ce.createElement(zo,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},E),R==null?void 0:R.classNames),{input:ie({[`${w}-sm`]:D==="small",[`${w}-lg`]:D==="large",[`${w}-rtl`]:x==="rtl"},E==null?void 0:E.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,P),variant:ie({[`${w}-${q}`]:K},Ts(w,U)),affixWrapper:ie({[`${w}-affix-wrapper-sm`]:D==="small",[`${w}-affix-wrapper-lg`]:D==="large",[`${w}-affix-wrapper-rtl`]:x==="rtl"},P),wrapper:ie({[`${w}-group-rtl`]:x==="rtl"},P),groupWrapper:ie({[`${w}-group-wrapper-sm`]:D==="small",[`${w}-group-wrapper-lg`]:D==="large",[`${w}-group-wrapper-rtl`]:x==="rtl",[`${w}-group-wrapper-${q}`]:K},Ts(`${w}-group-wrapper`,U,B),P)})})))}),MTe=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},LTe=sn(["Input","OTP"],e=>{const t=Ht(e,fg(e));return[MTe(t)]},mg);var kTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:i,mask:o}=e,s=kTe(e,["value","onChange","onActiveChange","index","mask"]),l=n&&typeof o=="string"?o:n,u=g=>{r(i,g.target.value)},d=c.useRef(null);c.useImperativeHandle(t,()=>d.current);const p=()=>{Gt(()=>{var g;const h=(g=d.current)===null||g===void 0?void 0:g.input;document.activeElement===h&&h&&h.select()})},f=g=>{let{key:h}=g;h==="ArrowLeft"?a(i-1):h==="ArrowRight"&&a(i+1),p()},m=g=>{g.key==="Backspace"&&!n&&a(i-1),p()};return c.createElement(pS,Object.assign({},s,{ref:d,value:l,onInput:u,onFocus:p,onKeyDown:f,onKeyUp:m,onMouseDown:p,onMouseUp:p,type:o===!0?"password":"text"}))});var $Te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,length:r=6,size:a,defaultValue:i,value:o,onChange:s,formatter:l,variant:u,disabled:d,status:p,autoFocus:f,mask:m}=e,g=$Te(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:h,direction:v}=c.useContext(lt),S=h("otp",n),b=Jn(g,{aria:!0,data:!0,attr:!0}),E=Hn(S),[y,C,T]=LTe(S,E),x=xr(B=>a??B),R=c.useContext(Gr),w=Al(R.status,p),I=c.useMemo(()=>Object.assign(Object.assign({},R),{status:w,hasFeedback:!1,feedbackIcon:null}),[R,w]),O=c.useRef(null),k=c.useRef({});c.useImperativeHandle(t,()=>({focus:()=>{var B;(B=k.current[0])===null||B===void 0||B.focus()},blur:()=>{var B;for(let z=0;zl?l(B):B,[M,N]=c.useState(Th(P(i||"")));c.useEffect(()=>{o!==void 0&&N(Th(o))},[o]);const A=Wt(B=>{N(B),s&&B.length===r&&B.every(z=>z)&&B.some((z,U)=>M[U]!==z)&&s(B.join(""))}),D=Wt((B,z)=>{let U=$e(M);for(let G=0;G=0&&!U[G];G-=1)U.pop();const j=P(U.map(G=>G||" ").join(""));return U=Th(j).map((G,J)=>G===" "&&!U[J]?U[J]:G),U}),L=(B,z)=>{var U;const j=D(B,z),G=Math.min(B+z.length,r-1);G!==B&&((U=k.current[G])===null||U===void 0||U.focus()),A(j)},$=B=>{var z;(z=k.current[B])===null||z===void 0||z.focus()},F={variant:u,disabled:d,status:w,mask:m};return y(c.createElement("div",Object.assign({},b,{ref:O,className:ie(S,{[`${S}-sm`]:x==="small",[`${S}-lg`]:x==="large",[`${S}-rtl`]:v==="rtl"},T,C)}),c.createElement(Gr.Provider,{value:I},Array.from({length:r}).map((B,z)=>{const U=`otp-${z}`,j=M[z]||"";return c.createElement(PTe,Object.assign({ref:G=>{k.current[z]=G},key:U,index:z,size:x,htmlSize:1,className:`${S}-input`,onChange:L,value:j,onActiveChange:$,autoFocus:z===0&&f},F))}))))});var BTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},UTe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:BTe}))},jTe=c.forwardRef(UTe),zTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},HTe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:zTe}))},fS=c.forwardRef(HTe),GTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae?c.createElement(fS,null):c.createElement(jTe,null),qTe={click:"onClick",hover:"onMouseOver"},WTe=c.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:i=VTe}=e,o=c.useContext(ea),s=n??o,l=typeof a=="object"&&a.visible!==void 0,[u,d]=c.useState(()=>l?a.visible:!1),p=c.useRef(null);c.useEffect(()=>{l&&d(a.visible)},[l,a]);const f=BJ(p),m=()=>{s||(u&&f(),d(I=>{var O;const k=!I;return typeof a=="object"&&((O=a.onVisibleChange)===null||O===void 0||O.call(a,k)),k}))},g=I=>{const O=qTe[r]||"",k=i(u),P={[O]:m,className:`${I}-icon`,key:"passwordIcon",onMouseDown:M=>{M.preventDefault()},onMouseUp:M=>{M.preventDefault()}};return c.cloneElement(c.isValidElement(k)?k:c.createElement("span",null,k),P)},{className:h,prefixCls:v,inputPrefixCls:S,size:b}=e,E=GTe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=c.useContext(lt),C=y("input",S),T=y("input-password",v),x=a&&g(T),R=ie(T,h,{[`${T}-${b}`]:!!b}),w=Object.assign(Object.assign({},An(E,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:R,prefixCls:C,suffix:x});return b&&(w.size=b),c.createElement(pS,Object.assign({ref:aa(t,p)},w))});var YTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:i,suffix:o,enterButton:s=!1,addonAfter:l,loading:u,disabled:d,onSearch:p,onChange:f,onCompositionStart:m,onCompositionEnd:g}=e,h=YTe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:v,direction:S}=c.useContext(lt),b=c.useRef(!1),E=v("input-search",n),y=v("input",r),{compactSize:C}=Is(E,S),T=xr(F=>{var B;return(B=i??C)!==null&&B!==void 0?B:F}),x=c.useRef(null),R=F=>{F!=null&&F.target&&F.type==="click"&&p&&p(F.target.value,F,{source:"clear"}),f==null||f(F)},w=F=>{var B;document.activeElement===((B=x.current)===null||B===void 0?void 0:B.input)&&F.preventDefault()},I=F=>{var B,z;p&&p((z=(B=x.current)===null||B===void 0?void 0:B.input)===null||z===void 0?void 0:z.value,F,{source:"input"})},O=F=>{b.current||u||I(F)},k=typeof s=="boolean"?c.createElement(cg,null):null,P=`${E}-button`;let M;const N=s||{},A=N.type&&N.type.__ANT_BUTTON===!0;A||N.type==="button"?M=Tr(N,Object.assign({onMouseDown:w,onClick:F=>{var B,z;(z=(B=N==null?void 0:N.props)===null||B===void 0?void 0:B.onClick)===null||z===void 0||z.call(B,F),I(F)},key:"enterButton"},A?{className:P,size:T}:{})):M=c.createElement(wt,{className:P,type:s?"primary":void 0,size:T,disabled:d,key:"enterButton",onMouseDown:w,onClick:I,loading:u,icon:k},s),l&&(M=[M,Tr(l,{key:"addonAfter"})]);const D=ie(E,{[`${E}-rtl`]:S==="rtl",[`${E}-${T}`]:!!T,[`${E}-with-button`]:!!s},a),L=F=>{b.current=!0,m==null||m(F)},$=F=>{b.current=!1,g==null||g(F)};return c.createElement(pS,Object.assign({ref:aa(x,t),onPressEnter:O},h,{size:T,onCompositionStart:L,onCompositionEnd:$,prefixCls:y,addonAfter:M,suffix:o,onChange:R,className:D,disabled:d}))});var XTe=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -352,33 +352,33 @@ html body { top:0 !important; right:0 !important; pointer-events: none !important; -`,KTe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],by={},Ti;function XTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&by[n])return by[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=KTe.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(by[n]=l),l}function QTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ti||(Ti=document.createElement("textarea"),Ti.setAttribute("tab-index","-1"),Ti.setAttribute("aria-hidden","true"),document.body.appendChild(Ti)),e.getAttribute("wrap")?Ti.setAttribute("wrap",e.getAttribute("wrap")):Ti.removeAttribute("wrap");var a=XTe(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,l=a.sizingStyle;Ti.setAttribute("style","".concat(l,";").concat(YTe)),Ti.value=e.value||e.placeholder||"";var u=void 0,d=void 0,p,f=Ti.scrollHeight;if(s==="border-box"?f+=o:s==="content-box"&&(f-=i),n!==null||r!==null){Ti.value=" ";var m=Ti.scrollHeight-i;n!==null&&(u=m*n,s==="border-box"&&(u=u+i+o),f=Math.max(u,f)),r!==null&&(d=m*r,s==="border-box"&&(d=d+i+o),p=f>d?"":"hidden",f=Math.min(d,f))}var g={height:f,overflowY:p,resize:"none"};return u&&(g.minHeight=u),d&&(g.maxHeight=d),g}var ZTe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Sy=0,Ey=1,yy=2,JTe=c.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,o=n.autoSize,s=n.onResize,l=n.className,u=n.style,d=n.disabled,p=n.onChange;n.onInternalAutoSize;var f=Et(n,ZTe),m=ln(a,{value:i,postState:function(j){return j??""}}),g=oe(m,2),h=g[0],v=g[1],S=function(j){v(j.target.value),p==null||p(j)},_=c.useRef();c.useImperativeHandle(t,function(){return{textArea:_.current}});var E=c.useMemo(function(){return o&>(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),y=oe(E,2),C=y[0],T=y[1],x=!!o,R=function(){try{if(document.activeElement===_.current){var j=_.current,G=j.selectionStart,J=j.selectionEnd,Y=j.scrollTop;_.current.setSelectionRange(G,J),_.current.scrollTop=Y}}catch{}},w=c.useState(yy),I=oe(w,2),O=I[0],k=I[1],P=c.useState(),M=oe(P,2),N=M[0],A=M[1],D=function(){k(Sy)};Qt(function(){x&&D()},[i,C,T,x]),Qt(function(){if(O===Sy)k(Ey);else if(O===Ey){var U=QTe(_.current,!1,C,T);k(yy),A(U)}else R()},[O]);var L=c.useRef(),$=function(){Gt.cancel(L.current)},F=function(j){O===yy&&(s==null||s(j),o&&($(),L.current=Gt(function(){D()})))};c.useEffect(function(){return $},[]);var B=x?N:null,z=ee(ee({},u),B);return(O===Sy||O===Ey)&&(z.overflowY="hidden",z.overflowX="hidden"),c.createElement(da,{onResize:F,disabled:!(o||s)},c.createElement("textarea",_e({},f,{ref:_,style:z,className:ie(r,l,W({},"".concat(r,"-disabled"),d)),disabled:d,value:h,onChange:S})))}),exe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],txe=ce.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,o=e.onBlur,s=e.onChange,l=e.allowClear,u=e.maxLength,d=e.onCompositionStart,p=e.onCompositionEnd,f=e.suffix,m=e.prefixCls,g=m===void 0?"rc-textarea":m,h=e.showCount,v=e.count,S=e.className,_=e.style,E=e.disabled,y=e.hidden,C=e.classNames,T=e.styles,x=e.onResize,R=e.onClear,w=e.onPressEnter,I=e.readOnly,O=e.autoSize,k=e.onKeyDown,P=Et(e,exe),M=ln(r,{value:a,defaultValue:r}),N=oe(M,2),A=N[0],D=N[1],L=A==null?"":String(A),$=ce.useState(!1),F=oe($,2),B=F[0],z=F[1],U=ce.useRef(!1),j=ce.useState(null),G=oe(j,2),J=G[0],Y=G[1],X=c.useRef(null),V=c.useRef(null),H=function(){var be;return(be=V.current)===null||be===void 0?void 0:be.textArea},q=function(){H().focus()};c.useImperativeHandle(t,function(){var ye;return{resizableTextArea:V.current,focus:q,blur:function(){H().blur()},nativeElement:((ye=X.current)===null||ye===void 0?void 0:ye.nativeElement)||H()}}),c.useEffect(function(){z(function(ye){return!E&&ye})},[E]);var K=ce.useState(null),Z=oe(K,2),te=Z[0],se=Z[1];ce.useEffect(function(){if(te){var ye;(ye=H()).setSelectionRange.apply(ye,$e(te))}},[te]);var ue=LJ(v,h),me=(n=ue.max)!==null&&n!==void 0?n:u,de=Number(me)>0,Te=ue.strategy(L),Ee=!!me&&Te>me,ge=function(be,Ne){var Ie=Ne;!U.current&&ue.exceedFormatter&&ue.max&&ue.strategy(Ne)>ue.max&&(Ie=ue.exceedFormatter(Ne,{max:ue.max}),Ne!==Ie&&se([H().selectionStart||0,H().selectionEnd||0])),D(Ie),T_(be.currentTarget,be,s,Ie)},re=function(be){U.current=!0,d==null||d(be)},ne=function(be){U.current=!1,ge(be,be.currentTarget.value),p==null||p(be)},ae=function(be){ge(be,be.target.value)},le=function(be){be.key==="Enter"&&w&&w(be),k==null||k(be)},pe=function(be){z(!0),i==null||i(be)},Re=function(be){z(!1),o==null||o(be)},Se=function(be){D(""),q(),T_(H(),be,s)},Pe=f,fe;ue.show&&(ue.showFormatter?fe=ue.showFormatter({value:L,count:Te,maxLength:me}):fe="".concat(Te).concat(de?" / ".concat(me):""),Pe=ce.createElement(ce.Fragment,null,Pe,ce.createElement("span",{className:ie("".concat(g,"-data-count"),C==null?void 0:C.count),style:T==null?void 0:T.count},fe)));var ve=function(be){var Ne;x==null||x(be),(Ne=H())!==null&&Ne!==void 0&&Ne.style.height&&Y(!0)},Ae=!O&&!h&&!l;return ce.createElement(Ok,{ref:X,value:L,allowClear:l,handleReset:Se,suffix:Pe,prefixCls:g,classNames:ee(ee({},C),{},{affixWrapper:ie(C==null?void 0:C.affixWrapper,W(W({},"".concat(g,"-show-count"),h),"".concat(g,"-textarea-allow-clear"),l))}),disabled:E,focused:B,className:ie(S,Ee&&"".concat(g,"-out-of-range")),style:ee(ee({},_),J&&!Ae?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fe=="string"?fe:void 0}},hidden:y,readOnly:I,onClear:R},ce.createElement(JTe,_e({},P,{autoSize:O,maxLength:u,onKeyDown:le,onChange:ae,onFocus:pe,onBlur:Re,onCompositionStart:re,onCompositionEnd:ne,className:ie(C==null?void 0:C.textarea),style:ee(ee({},T==null?void 0:T.textarea),{},{resize:_==null?void 0:_.resize}),disabled:E,prefixCls:g,onResize:ve,ref:V,readOnly:I})))}),nxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,bordered:i=!0,size:o,disabled:s,status:l,allowClear:u,classNames:d,rootClassName:p,className:f,style:m,styles:g,variant:h}=e,v=nxe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:S,direction:_,textArea:E}=c.useContext(lt),y=xr(o),C=c.useContext(ea),T=s??C,{status:x,hasFeedback:R,feedbackIcon:w}=c.useContext(Gr),I=Nl(x,l),O=c.useRef(null);c.useImperativeHandle(t,()=>{var F;return{resizableTextArea:(F=O.current)===null||F===void 0?void 0:F.resizableTextArea,focus:B=>{var z,U;NTe((U=(z=O.current)===null||z===void 0?void 0:z.resizableTextArea)===null||U===void 0?void 0:U.textArea,B)},blur:()=>{var B;return(B=O.current)===null||B===void 0?void 0:B.blur()}}});const k=S("input",a),P=Zn(k),[M,N,A]=Ck(k,P),[D,L]=Uc("textArea",h,i),$=$J(u??(E==null?void 0:E.allowClear));return M(c.createElement(txe,Object.assign({autoComplete:E==null?void 0:E.autoComplete},v,{style:Object.assign(Object.assign({},E==null?void 0:E.style),m),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),g),disabled:T,allowClear:$,className:ie(A,P,f,p,E==null?void 0:E.className),classNames:Object.assign(Object.assign(Object.assign({},d),E==null?void 0:E.classNames),{textarea:ie({[`${k}-sm`]:y==="small",[`${k}-lg`]:y==="large"},N,d==null?void 0:d.textarea,(n=E==null?void 0:E.classNames)===null||n===void 0?void 0:n.textarea),variant:ie({[`${k}-${D}`]:L},Cs(k,I)),affixWrapper:ie(`${k}-textarea-affix-wrapper`,{[`${k}-affix-wrapper-rtl`]:_==="rtl",[`${k}-affix-wrapper-sm`]:y==="small",[`${k}-affix-wrapper-lg`]:y==="large",[`${k}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},N)}),prefixCls:k,suffix:R&&c.createElement("span",{className:`${k}-textarea-suffix`},w),ref:O})))}),en=cS;en.Group=wTe;en.Search=WTe;en.TextArea=BJ;en.Password=VTe;en.OTP=PTe;function bD(e,t,n){return(e-t)/(n-t)}function Nk(e,t,n,r){var a=bD(t,n,r),i={};switch(e){case"rtl":i.right="".concat(a*100,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(a*100,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(a*100,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(a*100,"%"),i.transform="translateX(-50%)";break}return i}function Uu(e,t){return Array.isArray(e)?e[t]:e}var Hc=c.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),rxe=c.createContext({}),axe=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],V3=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,i=e.onStartMove,o=e.onDelete,s=e.style,l=e.render,u=e.dragging,d=e.draggingDelete,p=e.onOffsetChange,f=e.onChangeComplete,m=e.onFocus,g=e.onMouseEnter,h=Et(e,axe),v=c.useContext(Hc),S=v.min,_=v.max,E=v.direction,y=v.disabled,C=v.keyboard,T=v.range,x=v.tabIndex,R=v.ariaLabelForHandle,w=v.ariaLabelledByForHandle,I=v.ariaValueTextFormatterForHandle,O=v.styles,k=v.classNames,P="".concat(n,"-handle"),M=function(j){y||i(j,a)},N=function(j){m==null||m(j,a)},A=function(j){g(j,a)},D=function(j){if(!y&&C){var G=null;switch(j.which||j.keyCode){case Fe.LEFT:G=E==="ltr"||E==="btt"?-1:1;break;case Fe.RIGHT:G=E==="ltr"||E==="btt"?1:-1;break;case Fe.UP:G=E!=="ttb"?1:-1;break;case Fe.DOWN:G=E!=="ttb"?-1:1;break;case Fe.HOME:G="min";break;case Fe.END:G="max";break;case Fe.PAGE_UP:G=2;break;case Fe.PAGE_DOWN:G=-2;break;case Fe.BACKSPACE:case Fe.DELETE:o(a);break}G!==null&&(j.preventDefault(),p(G,a))}},L=function(j){switch(j.which||j.keyCode){case Fe.LEFT:case Fe.RIGHT:case Fe.UP:case Fe.DOWN:case Fe.HOME:case Fe.END:case Fe.PAGE_UP:case Fe.PAGE_DOWN:f==null||f();break}},$=Nk(E,r,S,_),F={};if(a!==null){var B;F={tabIndex:y?null:Uu(x,a),role:"slider","aria-valuemin":S,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":Uu(R,a),"aria-labelledby":Uu(w,a),"aria-valuetext":(B=Uu(I,a))===null||B===void 0?void 0:B(r),"aria-orientation":E==="ltr"||E==="rtl"?"horizontal":"vertical",onMouseDown:M,onTouchStart:M,onFocus:N,onMouseEnter:A,onKeyDown:D,onKeyUp:L}}var z=c.createElement("div",_e({ref:t,className:ie(P,W(W(W({},"".concat(P,"-").concat(a+1),a!==null&&T),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),k.handle),style:ee(ee(ee({},$),s),O.handle)},F,h));return l&&(z=l(z,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),z}),ixe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],oxe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,i=e.onOffsetChange,o=e.values,s=e.handleRender,l=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,p=e.onFocus,f=Et(e,ixe),m=c.useRef({}),g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],_=c.useState(-1),E=oe(_,2),y=E[0],C=E[1],T=function(O){C(O),S(!0)},x=function(O,k){T(k),p==null||p(O)},R=function(O,k){T(k)};c.useImperativeHandle(t,function(){return{focus:function(O){var k;(k=m.current[O])===null||k===void 0||k.focus()},hideHelp:function(){Ur.flushSync(function(){S(!1)})}}});var w=ee({prefixCls:n,onStartMove:a,onOffsetChange:i,render:s,onFocus:x,onMouseEnter:R},f);return c.createElement(c.Fragment,null,o.map(function(I,O){var k=u===O;return c.createElement(V3,_e({ref:function(M){M?m.current[O]=M:delete m.current[O]},dragging:k,draggingDelete:k&&d,style:Uu(r,O),key:O,value:I,valueIndex:O},w))}),l&&v&&c.createElement(V3,_e({key:"a11y"},w,{value:o[y],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:l,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),sxe=function(t){var n=t.prefixCls,r=t.style,a=t.children,i=t.value,o=t.onClick,s=c.useContext(Hc),l=s.min,u=s.max,d=s.direction,p=s.includedStart,f=s.includedEnd,m=s.included,g="".concat(n,"-text"),h=Nk(d,i,l,u);return c.createElement("span",{className:ie(g,W({},"".concat(g,"-active"),m&&p<=i&&i<=f)),style:ee(ee({},h),r),onMouseDown:function(S){S.stopPropagation()},onClick:function(){o(i)}},a)},lxe=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,i="".concat(n,"-mark");return r.length?c.createElement("div",{className:i},r.map(function(o){var s=o.value,l=o.style,u=o.label;return c.createElement(sxe,{key:s,prefixCls:i,style:l,value:s,onClick:a},u)})):null},cxe=function(t){var n=t.prefixCls,r=t.value,a=t.style,i=t.activeStyle,o=c.useContext(Hc),s=o.min,l=o.max,u=o.direction,d=o.included,p=o.includedStart,f=o.includedEnd,m="".concat(n,"-dot"),g=d&&p<=r&&r<=f,h=ee(ee({},Nk(u,r,s,l)),typeof a=="function"?a(r):a);return g&&(h=ee(ee({},h),typeof i=="function"?i(r):i)),c.createElement("span",{className:ie(m,W({},"".concat(m,"-active"),g)),style:h})},uxe=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,i=t.style,o=t.activeStyle,s=c.useContext(Hc),l=s.min,u=s.max,d=s.step,p=c.useMemo(function(){var f=new Set;if(r.forEach(function(g){f.add(g.value)}),a&&d!==null)for(var m=l;m<=u;)f.add(m),m+=d;return Array.from(f)},[l,u,d,a,r]);return c.createElement("div",{className:"".concat(n,"-step")},p.map(function(f){return c.createElement(cxe,{prefixCls:n,key:f,value:f,style:i,activeStyle:o})}))},q3=function(t){var n=t.prefixCls,r=t.style,a=t.start,i=t.end,o=t.index,s=t.onStartMove,l=t.replaceCls,u=c.useContext(Hc),d=u.direction,p=u.min,f=u.max,m=u.disabled,g=u.range,h=u.classNames,v="".concat(n,"-track"),S=bD(a,p,f),_=bD(i,p,f),E=function(x){!m&&s&&s(x,-1)},y={};switch(d){case"rtl":y.right="".concat(S*100,"%"),y.width="".concat(_*100-S*100,"%");break;case"btt":y.bottom="".concat(S*100,"%"),y.height="".concat(_*100-S*100,"%");break;case"ttb":y.top="".concat(S*100,"%"),y.height="".concat(_*100-S*100,"%");break;default:y.left="".concat(S*100,"%"),y.width="".concat(_*100-S*100,"%")}var C=l||ie(v,W(W({},"".concat(v,"-").concat(o+1),o!==null&&g),"".concat(n,"-track-draggable"),s),h.track);return c.createElement("div",{className:C,style:ee(ee({},y),r),onMouseDown:E,onTouchStart:E})},dxe=function(t){var n=t.prefixCls,r=t.style,a=t.values,i=t.startPoint,o=t.onStartMove,s=c.useContext(Hc),l=s.included,u=s.range,d=s.min,p=s.styles,f=s.classNames,m=c.useMemo(function(){if(!u){if(a.length===0)return[];var h=i??d,v=a[0];return[{start:Math.min(h,v),end:Math.max(h,v)}]}for(var S=[],_=0;_pxe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof h=="number"){var _,E=g[v],y=E+h,C=[];r.forEach(function(I){C.push(I.value)}),C.push(e,t),C.push(s(E));var T=h>0?1:-1;S==="unit"?C.push(s(E+T*n)):C.push(s(y)),C=C.filter(function(I){return I!==null}).filter(function(I){return h<0?I<=E:I>=E}),S==="unit"&&(C=C.filter(function(I){return I!==E}));var x=S==="unit"?E:y;_=C[0];var R=Math.abs(_-x);if(C.forEach(function(I){var O=Math.abs(I-x);O1){var w=$e(g);return w[v]=_,m(w,h-T,v,S)}return _}else{if(h==="min")return e;if(h==="max")return t}},d=function(g,h,v){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",_=g[v],E=u(g,h,v,S);return{value:E,changed:E!==_}},p=function(g){return i===null&&g===0||typeof i=="number"&&g3&&arguments[3]!==void 0?arguments[3]:"unit",_=g.map(l),E=_[v],y=u(_,h,v,S);if(_[v]=y,a===!1){var C=i||0;v>0&&_[v-1]!==E&&(_[v]=Math.max(_[v],_[v-1]+C)),v<_.length-1&&_[v+1]!==E&&(_[v]=Math.min(_[v],_[v+1]-C))}else if(typeof i=="number"||i===null){for(var T=v+1;T<_.length;T+=1)for(var x=!0;p(_[T]-_[T-1])&&x;){var R=d(_,1,T);_[T]=R.value,x=R.changed}for(var w=v;w>0;w-=1)for(var I=!0;p(_[w]-_[w-1])&&I;){var O=d(_,-1,w-1);_[w-1]=O.value,I=O.changed}for(var k=_.length-1;k>0;k-=1)for(var P=!0;p(_[k]-_[k-1])&&P;){var M=d(_,-1,k-1);_[k-1]=M.value,P=M.changed}for(var N=0;N<_.length-1;N+=1)for(var A=!0;p(_[N+1]-_[N])&&A;){var D=d(_,1,N+1);_[N+1]=D.value,A=D.changed}}return{value:_[v],values:_}};return[l,f]}function gxe(e){return c.useMemo(function(){if(e===!0||!e)return[!!e,!1,!1,0];var t=e.editable,n=e.draggableTrack,r=e.minCount,a=e.maxCount;return[!0,t,!t&&n,r||0,a]},[e])}var hxe=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-slider":n,a=e.className,i=e.style,o=e.classNames,s=e.styles,l=e.disabled,u=l===void 0?!1:l,d=e.keyboard,p=d===void 0?!0:d,f=e.autoFocus,m=e.onFocus,g=e.onBlur,h=e.min,v=h===void 0?0:h,S=e.max,_=S===void 0?100:S,E=e.step,y=E===void 0?1:E,C=e.value,T=e.defaultValue,x=e.range,R=e.count,w=e.onChange,I=e.onBeforeChange,O=e.onAfterChange,k=e.onChangeComplete,P=e.allowCross,M=P===void 0?!0:P,N=e.pushable,A=N===void 0?!1:N,D=e.reverse,L=e.vertical,$=e.included,F=$===void 0?!0:$,B=e.startPoint,z=e.trackStyle,U=e.handleStyle,j=e.railStyle,G=e.dotStyle,J=e.activeDotStyle,Y=e.marks,X=e.dots,V=e.handleRender,H=e.activeHandleRender,q=e.track,K=e.tabIndex,Z=K===void 0?0:K,te=e.ariaLabelForHandle,se=e.ariaLabelledByForHandle,ue=e.ariaValueTextFormatterForHandle,me=c.useRef(null),de=c.useRef(null),Te=c.useMemo(function(){return L?D?"ttb":"btt":D?"rtl":"ltr"},[D,L]),Ee=gxe(x),ge=oe(Ee,5),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ge[4],Re=c.useMemo(function(){return isFinite(v)?v:0},[v]),Se=c.useMemo(function(){return isFinite(_)?_:100},[_]),Pe=c.useMemo(function(){return y!==null&&y<=0?1:y},[y]),fe=c.useMemo(function(){return typeof A=="boolean"?A?Pe:!1:A>=0?A:!1},[A,Pe]),ve=c.useMemo(function(){return Object.keys(Y||{}).map(function(Ke){var qe=Y[Ke],_t={value:Number(Ke)};return qe&>(qe)==="object"&&!c.isValidElement(qe)&&("label"in qe||"style"in qe)?(_t.style=qe.style,_t.label=qe.label):_t.label=qe,_t}).filter(function(Ke){var qe=Ke.label;return qe||typeof qe=="number"}).sort(function(Ke,qe){return Ke.value-qe.value})},[Y]),Ae=mxe(Re,Se,Pe,ve,M,fe),ye=oe(Ae,2),be=ye[0],Ne=ye[1],Ie=ln(T,{value:C}),xe=oe(Ie,2),ke=xe[0],rt=xe[1],Me=c.useMemo(function(){var Ke=ke==null?[]:Array.isArray(ke)?ke:[ke],qe=oe(Ke,1),_t=qe[0],xt=_t===void 0?Re:_t,kt=ke===null?[]:[xt];if(re){if(kt=$e(Ke),R||ke===void 0){var tn=R>=0?R+1:2;for(kt=kt.slice(0,tn);kt.length=0&&me.current.focus(Ke)}Nt(null)},[It]);var ct=c.useMemo(function(){return ae&&Pe===null?!1:ae},[ae,Pe]),ot=Wt(function(Ke,qe){pt(Ke,qe),I==null||I(Ce(Me))}),et=Xe!==-1;c.useEffect(function(){if(!et){var Ke=Me.lastIndexOf(Be);me.current.focus(Ke)}},[et]);var vt=c.useMemo(function(){return $e(mt).sort(function(Ke,qe){return Ke-qe})},[mt]),nt=c.useMemo(function(){return re?[vt[0],vt[vt.length-1]]:[Re,vt[0]]},[vt,re,Re]),bt=oe(nt,2),Ct=bt[0],tt=bt[1];c.useImperativeHandle(t,function(){return{focus:function(){me.current.focus(0)},blur:function(){var qe,_t=document,xt=_t.activeElement;(qe=de.current)!==null&&qe!==void 0&&qe.contains(xt)&&(xt==null||xt.blur())}}}),c.useEffect(function(){f&&me.current.focus(0)},[]);var it=c.useMemo(function(){return{min:Re,max:Se,direction:Te,disabled:u,keyboard:p,step:Pe,included:F,includedStart:Ct,includedEnd:tt,range:re,tabIndex:Z,ariaLabelForHandle:te,ariaLabelledByForHandle:se,ariaValueTextFormatterForHandle:ue,styles:s||{},classNames:o||{}}},[Re,Se,Te,u,p,Pe,F,Ct,tt,re,Z,te,se,ue,s,o]);return c.createElement(Hc.Provider,{value:it},c.createElement("div",{ref:de,className:ie(r,a,W(W(W(W({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),L),"".concat(r,"-horizontal"),!L),"".concat(r,"-with-marks"),ve.length)),style:i,onMouseDown:Ve},c.createElement("div",{className:ie("".concat(r,"-rail"),o==null?void 0:o.rail),style:ee(ee({},j),s==null?void 0:s.rail)}),q!==!1&&c.createElement(dxe,{prefixCls:r,style:z,values:Me,startPoint:B,onStartMove:ct?ot:void 0}),c.createElement(uxe,{prefixCls:r,marks:ve,dots:X,style:G,activeStyle:J}),c.createElement(oxe,{ref:me,prefixCls:r,style:U,values:mt,draggingIndex:Xe,draggingDelete:Je,onStartMove:ot,onOffsetChange:ht,onFocus:m,onBlur:g,handleRender:V,activeHandleRender:H,onChangeComplete:Ue,onDelete:ne?Ye:void 0}),c.createElement(lxe,{prefixCls:r,marks:ve,onClick:We})))});const Y3=c.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=c.useRef(null),i=n&&!r,o=c.useRef(null);function s(){Gt.cancel(o.current),o.current=null}function l(){o.current=Gt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),o.current=null})}return c.useEffect(()=>(i?l():s(),s),[i,e.title]),c.createElement(Jt,Object.assign({ref:aa(a,t)},e,{open:i}))}),vxe=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:i,marginPart:o,colorFillContentHover:s,handleColorDisabled:l,calc:u,handleSize:d,handleSizeHover:p,handleActiveColor:f,handleActiveOutlineColor:m,handleLineWidth:g,handleLineWidthHover:h,motionDurationMid:v}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",height:r,margin:`${Q(o)} ${Q(i)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Q(i)} ${Q(o)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${v}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${v}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${Q(g)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(g).mul(-1).equal(),insetBlockStart:u(g).mul(-1).equal(),width:u(d).add(u(g).mul(2)).equal(),height:u(d).add(u(g).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${Q(g)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` +`,QTe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],yy={},xi;function ZTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&yy[n])return yy[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=QTe.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(yy[n]=l),l}function JTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;xi||(xi=document.createElement("textarea"),xi.setAttribute("tab-index","-1"),xi.setAttribute("aria-hidden","true"),document.body.appendChild(xi)),e.getAttribute("wrap")?xi.setAttribute("wrap",e.getAttribute("wrap")):xi.removeAttribute("wrap");var a=ZTe(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,l=a.sizingStyle;xi.setAttribute("style","".concat(l,";").concat(XTe)),xi.value=e.value||e.placeholder||"";var u=void 0,d=void 0,p,f=xi.scrollHeight;if(s==="border-box"?f+=o:s==="content-box"&&(f-=i),n!==null||r!==null){xi.value=" ";var m=xi.scrollHeight-i;n!==null&&(u=m*n,s==="border-box"&&(u=u+i+o),f=Math.max(u,f)),r!==null&&(d=m*r,s==="border-box"&&(d=d+i+o),p=f>d?"":"hidden",f=Math.min(d,f))}var g={height:f,overflowY:p,resize:"none"};return u&&(g.minHeight=u),d&&(g.maxHeight=d),g}var exe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Cy=0,Ty=1,xy=2,txe=c.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,o=n.autoSize,s=n.onResize,l=n.className,u=n.style,d=n.disabled,p=n.onChange;n.onInternalAutoSize;var f=yt(n,exe),m=ln(a,{value:i,postState:function(j){return j??""}}),g=oe(m,2),h=g[0],v=g[1],S=function(j){v(j.target.value),p==null||p(j)},b=c.useRef();c.useImperativeHandle(t,function(){return{textArea:b.current}});var E=c.useMemo(function(){return o&>(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),y=oe(E,2),C=y[0],T=y[1],x=!!o,R=function(){try{if(document.activeElement===b.current){var j=b.current,G=j.selectionStart,J=j.selectionEnd,Y=j.scrollTop;b.current.setSelectionRange(G,J),b.current.scrollTop=Y}}catch{}},w=c.useState(xy),I=oe(w,2),O=I[0],k=I[1],P=c.useState(),M=oe(P,2),N=M[0],A=M[1],D=function(){k(Cy)};Qt(function(){x&&D()},[i,C,T,x]),Qt(function(){if(O===Cy)k(Ty);else if(O===Ty){var U=JTe(b.current,!1,C,T);k(xy),A(U)}else R()},[O]);var L=c.useRef(),$=function(){Gt.cancel(L.current)},F=function(j){O===xy&&(s==null||s(j),o&&($(),L.current=Gt(function(){D()})))};c.useEffect(function(){return $},[]);var B=x?N:null,z=ee(ee({},u),B);return(O===Cy||O===Ty)&&(z.overflowY="hidden",z.overflowX="hidden"),c.createElement(da,{onResize:F,disabled:!(o||s)},c.createElement("textarea",ve({},f,{ref:b,style:z,className:ie(r,l,W({},"".concat(r,"-disabled"),d)),disabled:d,value:h,onChange:S})))}),nxe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],rxe=ce.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,o=e.onBlur,s=e.onChange,l=e.allowClear,u=e.maxLength,d=e.onCompositionStart,p=e.onCompositionEnd,f=e.suffix,m=e.prefixCls,g=m===void 0?"rc-textarea":m,h=e.showCount,v=e.count,S=e.className,b=e.style,E=e.disabled,y=e.hidden,C=e.classNames,T=e.styles,x=e.onResize,R=e.onClear,w=e.onPressEnter,I=e.readOnly,O=e.autoSize,k=e.onKeyDown,P=yt(e,nxe),M=ln(r,{value:a,defaultValue:r}),N=oe(M,2),A=N[0],D=N[1],L=A==null?"":String(A),$=ce.useState(!1),F=oe($,2),B=F[0],z=F[1],U=ce.useRef(!1),j=ce.useState(null),G=oe(j,2),J=G[0],Y=G[1],Q=c.useRef(null),V=c.useRef(null),H=function(){var be;return(be=V.current)===null||be===void 0?void 0:be.textArea},q=function(){H().focus()};c.useImperativeHandle(t,function(){var ye;return{resizableTextArea:V.current,focus:q,blur:function(){H().blur()},nativeElement:((ye=Q.current)===null||ye===void 0?void 0:ye.nativeElement)||H()}}),c.useEffect(function(){z(function(ye){return!E&&ye})},[E]);var K=ce.useState(null),Z=oe(K,2),te=Z[0],se=Z[1];ce.useEffect(function(){if(te){var ye;(ye=H()).setSelectionRange.apply(ye,$e(te))}},[te]);var ue=kJ(v,h),me=(n=ue.max)!==null&&n!==void 0?n:u,de=Number(me)>0,Te=ue.strategy(L),Ee=!!me&&Te>me,ge=function(be,Ne){var we=Ne;!U.current&&ue.exceedFormatter&&ue.max&&ue.strategy(Ne)>ue.max&&(we=ue.exceedFormatter(Ne,{max:ue.max}),Ne!==we&&se([H().selectionStart||0,H().selectionEnd||0])),D(we),I_(be.currentTarget,be,s,we)},re=function(be){U.current=!0,d==null||d(be)},ne=function(be){U.current=!1,ge(be,be.currentTarget.value),p==null||p(be)},ae=function(be){ge(be,be.target.value)},le=function(be){be.key==="Enter"&&w&&w(be),k==null||k(be)},pe=function(be){z(!0),i==null||i(be)},Re=function(be){z(!1),o==null||o(be)},Se=function(be){D(""),q(),I_(H(),be,s)},Pe=f,fe;ue.show&&(ue.showFormatter?fe=ue.showFormatter({value:L,count:Te,maxLength:me}):fe="".concat(Te).concat(de?" / ".concat(me):""),Pe=ce.createElement(ce.Fragment,null,Pe,ce.createElement("span",{className:ie("".concat(g,"-data-count"),C==null?void 0:C.count),style:T==null?void 0:T.count},fe)));var _e=function(be){var Ne;x==null||x(be),(Ne=H())!==null&&Ne!==void 0&&Ne.style.height&&Y(!0)},Ae=!O&&!h&&!l;return ce.createElement(Ak,{ref:Q,value:L,allowClear:l,handleReset:Se,suffix:Pe,prefixCls:g,classNames:ee(ee({},C),{},{affixWrapper:ie(C==null?void 0:C.affixWrapper,W(W({},"".concat(g,"-show-count"),h),"".concat(g,"-textarea-allow-clear"),l))}),disabled:E,focused:B,className:ie(S,Ee&&"".concat(g,"-out-of-range")),style:ee(ee({},b),J&&!Ae?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fe=="string"?fe:void 0}},hidden:y,readOnly:I,onClear:R},ce.createElement(txe,ve({},P,{autoSize:O,maxLength:u,onKeyDown:le,onChange:ae,onFocus:pe,onBlur:Re,onCompositionStart:re,onCompositionEnd:ne,className:ie(C==null?void 0:C.textarea),style:ee(ee({},T==null?void 0:T.textarea),{},{resize:b==null?void 0:b.resize}),disabled:E,prefixCls:g,onResize:_e,ref:V,readOnly:I})))}),axe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,bordered:i=!0,size:o,disabled:s,status:l,allowClear:u,classNames:d,rootClassName:p,className:f,style:m,styles:g,variant:h}=e,v=axe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:S,direction:b,textArea:E}=c.useContext(lt),y=xr(o),C=c.useContext(ea),T=s??C,{status:x,hasFeedback:R,feedbackIcon:w}=c.useContext(Gr),I=Al(x,l),O=c.useRef(null);c.useImperativeHandle(t,()=>{var F;return{resizableTextArea:(F=O.current)===null||F===void 0?void 0:F.resizableTextArea,focus:B=>{var z,U;DTe((U=(z=O.current)===null||z===void 0?void 0:z.resizableTextArea)===null||U===void 0?void 0:U.textArea,B)},blur:()=>{var B;return(B=O.current)===null||B===void 0?void 0:B.blur()}}});const k=S("input",a),P=Hn(k),[M,N,A]=xk(k,P),[D,L]=Uc("textArea",h,i),$=FJ(u??(E==null?void 0:E.allowClear));return M(c.createElement(rxe,Object.assign({autoComplete:E==null?void 0:E.autoComplete},v,{style:Object.assign(Object.assign({},E==null?void 0:E.style),m),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),g),disabled:T,allowClear:$,className:ie(A,P,f,p,E==null?void 0:E.className),classNames:Object.assign(Object.assign(Object.assign({},d),E==null?void 0:E.classNames),{textarea:ie({[`${k}-sm`]:y==="small",[`${k}-lg`]:y==="large"},N,d==null?void 0:d.textarea,(n=E==null?void 0:E.classNames)===null||n===void 0?void 0:n.textarea),variant:ie({[`${k}-${D}`]:L},Ts(k,I)),affixWrapper:ie(`${k}-textarea-affix-wrapper`,{[`${k}-affix-wrapper-rtl`]:b==="rtl",[`${k}-affix-wrapper-sm`]:y==="small",[`${k}-affix-wrapper-lg`]:y==="large",[`${k}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},N)}),prefixCls:k,suffix:R&&c.createElement("span",{className:`${k}-textarea-suffix`},w),ref:O})))}),en=pS;en.Group=OTe;en.Search=KTe;en.TextArea=UJ;en.Password=WTe;en.OTP=FTe;function SD(e,t,n){return(e-t)/(n-t)}function Dk(e,t,n,r){var a=SD(t,n,r),i={};switch(e){case"rtl":i.right="".concat(a*100,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(a*100,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(a*100,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(a*100,"%"),i.transform="translateX(-50%)";break}return i}function Hu(e,t){return Array.isArray(e)?e[t]:e}var Hc=c.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),ixe=c.createContext({}),oxe=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],W3=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,i=e.onStartMove,o=e.onDelete,s=e.style,l=e.render,u=e.dragging,d=e.draggingDelete,p=e.onOffsetChange,f=e.onChangeComplete,m=e.onFocus,g=e.onMouseEnter,h=yt(e,oxe),v=c.useContext(Hc),S=v.min,b=v.max,E=v.direction,y=v.disabled,C=v.keyboard,T=v.range,x=v.tabIndex,R=v.ariaLabelForHandle,w=v.ariaLabelledByForHandle,I=v.ariaValueTextFormatterForHandle,O=v.styles,k=v.classNames,P="".concat(n,"-handle"),M=function(j){y||i(j,a)},N=function(j){m==null||m(j,a)},A=function(j){g(j,a)},D=function(j){if(!y&&C){var G=null;switch(j.which||j.keyCode){case Fe.LEFT:G=E==="ltr"||E==="btt"?-1:1;break;case Fe.RIGHT:G=E==="ltr"||E==="btt"?1:-1;break;case Fe.UP:G=E!=="ttb"?1:-1;break;case Fe.DOWN:G=E!=="ttb"?-1:1;break;case Fe.HOME:G="min";break;case Fe.END:G="max";break;case Fe.PAGE_UP:G=2;break;case Fe.PAGE_DOWN:G=-2;break;case Fe.BACKSPACE:case Fe.DELETE:o(a);break}G!==null&&(j.preventDefault(),p(G,a))}},L=function(j){switch(j.which||j.keyCode){case Fe.LEFT:case Fe.RIGHT:case Fe.UP:case Fe.DOWN:case Fe.HOME:case Fe.END:case Fe.PAGE_UP:case Fe.PAGE_DOWN:f==null||f();break}},$=Dk(E,r,S,b),F={};if(a!==null){var B;F={tabIndex:y?null:Hu(x,a),role:"slider","aria-valuemin":S,"aria-valuemax":b,"aria-valuenow":r,"aria-disabled":y,"aria-label":Hu(R,a),"aria-labelledby":Hu(w,a),"aria-valuetext":(B=Hu(I,a))===null||B===void 0?void 0:B(r),"aria-orientation":E==="ltr"||E==="rtl"?"horizontal":"vertical",onMouseDown:M,onTouchStart:M,onFocus:N,onMouseEnter:A,onKeyDown:D,onKeyUp:L}}var z=c.createElement("div",ve({ref:t,className:ie(P,W(W(W({},"".concat(P,"-").concat(a+1),a!==null&&T),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),k.handle),style:ee(ee(ee({},$),s),O.handle)},F,h));return l&&(z=l(z,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),z}),sxe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],lxe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,i=e.onOffsetChange,o=e.values,s=e.handleRender,l=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,p=e.onFocus,f=yt(e,sxe),m=c.useRef({}),g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],b=c.useState(-1),E=oe(b,2),y=E[0],C=E[1],T=function(O){C(O),S(!0)},x=function(O,k){T(k),p==null||p(O)},R=function(O,k){T(k)};c.useImperativeHandle(t,function(){return{focus:function(O){var k;(k=m.current[O])===null||k===void 0||k.focus()},hideHelp:function(){Ur.flushSync(function(){S(!1)})}}});var w=ee({prefixCls:n,onStartMove:a,onOffsetChange:i,render:s,onFocus:x,onMouseEnter:R},f);return c.createElement(c.Fragment,null,o.map(function(I,O){var k=u===O;return c.createElement(W3,ve({ref:function(M){M?m.current[O]=M:delete m.current[O]},dragging:k,draggingDelete:k&&d,style:Hu(r,O),key:O,value:I,valueIndex:O},w))}),l&&v&&c.createElement(W3,ve({key:"a11y"},w,{value:o[y],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:l,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),cxe=function(t){var n=t.prefixCls,r=t.style,a=t.children,i=t.value,o=t.onClick,s=c.useContext(Hc),l=s.min,u=s.max,d=s.direction,p=s.includedStart,f=s.includedEnd,m=s.included,g="".concat(n,"-text"),h=Dk(d,i,l,u);return c.createElement("span",{className:ie(g,W({},"".concat(g,"-active"),m&&p<=i&&i<=f)),style:ee(ee({},h),r),onMouseDown:function(S){S.stopPropagation()},onClick:function(){o(i)}},a)},uxe=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,i="".concat(n,"-mark");return r.length?c.createElement("div",{className:i},r.map(function(o){var s=o.value,l=o.style,u=o.label;return c.createElement(cxe,{key:s,prefixCls:i,style:l,value:s,onClick:a},u)})):null},dxe=function(t){var n=t.prefixCls,r=t.value,a=t.style,i=t.activeStyle,o=c.useContext(Hc),s=o.min,l=o.max,u=o.direction,d=o.included,p=o.includedStart,f=o.includedEnd,m="".concat(n,"-dot"),g=d&&p<=r&&r<=f,h=ee(ee({},Dk(u,r,s,l)),typeof a=="function"?a(r):a);return g&&(h=ee(ee({},h),typeof i=="function"?i(r):i)),c.createElement("span",{className:ie(m,W({},"".concat(m,"-active"),g)),style:h})},pxe=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,i=t.style,o=t.activeStyle,s=c.useContext(Hc),l=s.min,u=s.max,d=s.step,p=c.useMemo(function(){var f=new Set;if(r.forEach(function(g){f.add(g.value)}),a&&d!==null)for(var m=l;m<=u;)f.add(m),m+=d;return Array.from(f)},[l,u,d,a,r]);return c.createElement("div",{className:"".concat(n,"-step")},p.map(function(f){return c.createElement(dxe,{prefixCls:n,key:f,value:f,style:i,activeStyle:o})}))},Y3=function(t){var n=t.prefixCls,r=t.style,a=t.start,i=t.end,o=t.index,s=t.onStartMove,l=t.replaceCls,u=c.useContext(Hc),d=u.direction,p=u.min,f=u.max,m=u.disabled,g=u.range,h=u.classNames,v="".concat(n,"-track"),S=SD(a,p,f),b=SD(i,p,f),E=function(x){!m&&s&&s(x,-1)},y={};switch(d){case"rtl":y.right="".concat(S*100,"%"),y.width="".concat(b*100-S*100,"%");break;case"btt":y.bottom="".concat(S*100,"%"),y.height="".concat(b*100-S*100,"%");break;case"ttb":y.top="".concat(S*100,"%"),y.height="".concat(b*100-S*100,"%");break;default:y.left="".concat(S*100,"%"),y.width="".concat(b*100-S*100,"%")}var C=l||ie(v,W(W({},"".concat(v,"-").concat(o+1),o!==null&&g),"".concat(n,"-track-draggable"),s),h.track);return c.createElement("div",{className:C,style:ee(ee({},y),r),onMouseDown:E,onTouchStart:E})},fxe=function(t){var n=t.prefixCls,r=t.style,a=t.values,i=t.startPoint,o=t.onStartMove,s=c.useContext(Hc),l=s.included,u=s.range,d=s.min,p=s.styles,f=s.classNames,m=c.useMemo(function(){if(!u){if(a.length===0)return[];var h=i??d,v=a[0];return[{start:Math.min(h,v),end:Math.max(h,v)}]}for(var S=[],b=0;bmxe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof h=="number"){var b,E=g[v],y=E+h,C=[];r.forEach(function(I){C.push(I.value)}),C.push(e,t),C.push(s(E));var T=h>0?1:-1;S==="unit"?C.push(s(E+T*n)):C.push(s(y)),C=C.filter(function(I){return I!==null}).filter(function(I){return h<0?I<=E:I>=E}),S==="unit"&&(C=C.filter(function(I){return I!==E}));var x=S==="unit"?E:y;b=C[0];var R=Math.abs(b-x);if(C.forEach(function(I){var O=Math.abs(I-x);O1){var w=$e(g);return w[v]=b,m(w,h-T,v,S)}return b}else{if(h==="min")return e;if(h==="max")return t}},d=function(g,h,v){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",b=g[v],E=u(g,h,v,S);return{value:E,changed:E!==b}},p=function(g){return i===null&&g===0||typeof i=="number"&&g3&&arguments[3]!==void 0?arguments[3]:"unit",b=g.map(l),E=b[v],y=u(b,h,v,S);if(b[v]=y,a===!1){var C=i||0;v>0&&b[v-1]!==E&&(b[v]=Math.max(b[v],b[v-1]+C)),v0;w-=1)for(var I=!0;p(b[w]-b[w-1])&&I;){var O=d(b,-1,w-1);b[w-1]=O.value,I=O.changed}for(var k=b.length-1;k>0;k-=1)for(var P=!0;p(b[k]-b[k-1])&&P;){var M=d(b,-1,k-1);b[k-1]=M.value,P=M.changed}for(var N=0;N=0?A:!1},[A,Pe]),_e=c.useMemo(function(){return Object.keys(Y||{}).map(function(Ke){var qe=Y[Ke],_t={value:Number(Ke)};return qe&>(qe)==="object"&&!c.isValidElement(qe)&&("label"in qe||"style"in qe)?(_t.style=qe.style,_t.label=qe.label):_t.label=qe,_t}).filter(function(Ke){var qe=Ke.label;return qe||typeof qe=="number"}).sort(function(Ke,qe){return Ke.value-qe.value})},[Y]),Ae=hxe(Re,Se,Pe,_e,M,fe),ye=oe(Ae,2),be=ye[0],Ne=ye[1],we=ln(T,{value:C}),xe=oe(we,2),ke=xe[0],at=xe[1],Me=c.useMemo(function(){var Ke=ke==null?[]:Array.isArray(ke)?ke:[ke],qe=oe(Ke,1),_t=qe[0],Rt=_t===void 0?Re:_t,kt=ke===null?[]:[Rt];if(re){if(kt=$e(Ke),R||ke===void 0){var tn=R>=0?R+1:2;for(kt=kt.slice(0,tn);kt.length=0&&me.current.focus(Ke)}Nt(null)},[It]);var ct=c.useMemo(function(){return ae&&Pe===null?!1:ae},[ae,Pe]),ot=Wt(function(Ke,qe){pt(Ke,qe),I==null||I(Ce(Me))}),et=Xe!==-1;c.useEffect(function(){if(!et){var Ke=Me.lastIndexOf(Be);me.current.focus(Ke)}},[et]);var vt=c.useMemo(function(){return $e(mt).sort(function(Ke,qe){return Ke-qe})},[mt]),rt=c.useMemo(function(){return re?[vt[0],vt[vt.length-1]]:[Re,vt[0]]},[vt,re,Re]),bt=oe(rt,2),Tt=bt[0],tt=bt[1];c.useImperativeHandle(t,function(){return{focus:function(){me.current.focus(0)},blur:function(){var qe,_t=document,Rt=_t.activeElement;(qe=de.current)!==null&&qe!==void 0&&qe.contains(Rt)&&(Rt==null||Rt.blur())}}}),c.useEffect(function(){f&&me.current.focus(0)},[]);var it=c.useMemo(function(){return{min:Re,max:Se,direction:Te,disabled:u,keyboard:p,step:Pe,included:F,includedStart:Tt,includedEnd:tt,range:re,tabIndex:Z,ariaLabelForHandle:te,ariaLabelledByForHandle:se,ariaValueTextFormatterForHandle:ue,styles:s||{},classNames:o||{}}},[Re,Se,Te,u,p,Pe,F,Tt,tt,re,Z,te,se,ue,s,o]);return c.createElement(Hc.Provider,{value:it},c.createElement("div",{ref:de,className:ie(r,a,W(W(W(W({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),L),"".concat(r,"-horizontal"),!L),"".concat(r,"-with-marks"),_e.length)),style:i,onMouseDown:Ve},c.createElement("div",{className:ie("".concat(r,"-rail"),o==null?void 0:o.rail),style:ee(ee({},j),s==null?void 0:s.rail)}),q!==!1&&c.createElement(fxe,{prefixCls:r,style:z,values:Me,startPoint:B,onStartMove:ct?ot:void 0}),c.createElement(pxe,{prefixCls:r,marks:_e,dots:Q,style:G,activeStyle:J}),c.createElement(lxe,{ref:me,prefixCls:r,style:U,values:mt,draggingIndex:Xe,draggingDelete:Je,onStartMove:ot,onOffsetChange:ht,onFocus:m,onBlur:g,handleRender:V,activeHandleRender:H,onChangeComplete:Ue,onDelete:ne?Ye:void 0}),c.createElement(uxe,{prefixCls:r,marks:_e,onClick:We})))});const X3=c.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=c.useRef(null),i=n&&!r,o=c.useRef(null);function s(){Gt.cancel(o.current),o.current=null}function l(){o.current=Gt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),o.current=null})}return c.useEffect(()=>(i?l():s(),s),[i,e.title]),c.createElement(Jt,Object.assign({ref:aa(a,t)},e,{open:i}))}),bxe=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:i,marginPart:o,colorFillContentHover:s,handleColorDisabled:l,calc:u,handleSize:d,handleSizeHover:p,handleActiveColor:f,handleActiveOutlineColor:m,handleLineWidth:g,handleLineWidthHover:h,motionDurationMid:v}=e;return{[t]:Object.assign(Object.assign({},an(e)),{position:"relative",height:r,margin:`${X(o)} ${X(i)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${X(i)} ${X(o)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${v}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${v}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${X(g)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(g).mul(-1).equal(),insetBlockStart:u(g).mul(-1).equal(),width:u(d).add(u(g).mul(2)).equal(),height:u(d).add(u(g).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${X(g)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${v}, inset-block-start ${v}, width ${v}, height ${v}, box-shadow ${v}, outline ${v} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),insetBlockStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),width:u(p).add(u(h).mul(2)).equal(),height:u(p).add(u(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Q(h)} ${f}`,outline:`6px solid ${m}`,width:p,height:p,insetInlineStart:e.calc(d).sub(p).div(2).equal(),insetBlockStart:e.calc(d).sub(p).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${Q(g)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),insetBlockStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),width:u(p).add(u(h).mul(2)).equal(),height:u(p).add(u(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${X(h)} ${f}`,outline:`6px solid ${m}`,width:p,height:p,insetInlineStart:e.calc(d).sub(p).div(2).equal(),insetBlockStart:e.calc(d).sub(p).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${X(g)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${Q(g)} ${l}`,insetInlineStart:0,insetBlockStart:0},[` + `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${X(g)} ${l}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},UJ=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:i,marginFull:o,calc:s}=e,l=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",p=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",m=s(r).mul(3).sub(a).div(2).equal(),g=s(a).sub(r).div(2).equal(),h=t?{borderWidth:`${Q(g)} 0`,transform:`translateY(${Q(s(g).mul(-1).equal())})`}:{borderWidth:`0 ${Q(g)}`,transform:`translateX(${Q(e.calc(g).mul(-1).equal())})`};return{[l]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},h),[`${n}-handle`]:{[p]:m},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[p]:s(r).sub(i).div(2).equal()}}},_xe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},UJ(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},bxe=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},UJ(e,!1)),{height:"100%"})}},Sxe=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,i=e.lineWidth+1*1.5,o=e.colorPrimary,s=new an(o).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:s,handleColorDisabled:new an(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Exe=cn("Slider",e=>{const t=Ht(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[vxe(t),_xe(t),bxe(t)]},Sxe),yxe=c.createContext({});function Cy(){const[e,t]=c.useState(!1),n=c.useRef(),r=()=>{Gt.cancel(n.current)},a=i=>{r(),i?t(i):n.current=Gt(()=>{t(i)})};return c.useEffect(()=>r,[]),[e,a]}var Cxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const xxe=ce.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:i,style:o,disabled:s,tooltipPrefixCls:l,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:p,tooltipPlacement:f,tooltip:m={},onChangeComplete:g}=e,h=Cxe(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:v}=e,{direction:S,slider:_,getPrefixCls:E,getPopupContainer:y}=ce.useContext(lt),C=ce.useContext(ea),T=s??C,{handleRender:x,direction:R}=ce.useContext(yxe),I=(R||S)==="rtl",[O,k]=Cy(),[P,M]=Cy(),N=Object.assign({},m),{open:A,placement:D,getPopupContainer:L,prefixCls:$,formatter:F}=N,B=A??d,z=(O||P)&&B!==!1,U=Txe(F,u),[j,G]=Cy(),J=me=>{g==null||g(me),G(!1)},Y=(me,de)=>me||(de?I?"left":"right":"top"),X=E("slider",n),[V,H,q]=Exe(X),K=ie(a,_==null?void 0:_.className,i,{[`${X}-rtl`]:I,[`${X}-lock`]:j},H,q);I&&!h.vertical&&(h.reverse=!h.reverse),ce.useEffect(()=>{const me=()=>{Gt(()=>{M(!1)},1)};return document.addEventListener("mouseup",me),()=>{document.removeEventListener("mouseup",me)}},[]);const Z=r&&!B,te=x||((me,de)=>{const{index:Te}=de,Ee=me.props;function ge(le,pe,Re){var Se,Pe,fe,ve;Re&&((Pe=(Se=h)[le])===null||Pe===void 0||Pe.call(Se,pe)),(ve=(fe=Ee)[le])===null||ve===void 0||ve.call(fe,pe)}const re=Object.assign(Object.assign({},Ee),{onMouseEnter:le=>{k(!0),ge("onMouseEnter",le)},onMouseLeave:le=>{k(!1),ge("onMouseLeave",le)},onMouseDown:le=>{M(!0),G(!0),ge("onMouseDown",le)},onFocus:le=>{var pe;M(!0),(pe=h.onFocus)===null||pe===void 0||pe.call(h,le),ge("onFocus",le,!0)},onBlur:le=>{var pe;M(!1),(pe=h.onBlur)===null||pe===void 0||pe.call(h,le),ge("onBlur",le,!0)}}),ne=ce.cloneElement(me,re),ae=(!!B||z)&&U!==null;return Z?ne:ce.createElement(Y3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:ae,placement:Y(D??f,v),key:Te,overlayClassName:`${X}-tooltip`,getPopupContainer:L||p||y}),ne)}),se=Z?(me,de)=>{const Te=ce.cloneElement(me,{style:Object.assign(Object.assign({},me.props.style),{visibility:"hidden"})});return ce.createElement(Y3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:U!==null&&z,placement:Y(D??f,v),key:"tooltip",overlayClassName:`${X}-tooltip`,getPopupContainer:L||p||y,draggingDelete:de.draggingDelete}),Te)}:void 0,ue=Object.assign(Object.assign({},_==null?void 0:_.style),o);return V(ce.createElement(hxe,Object.assign({},h,{step:h.step,range:r,className:K,style:ue,disabled:T,ref:t,prefixCls:X,handleRender:te,activeHandleRender:se,onChangeComplete:J})))});var Rxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},wxe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Rxe}))},jJ=c.forwardRef(wxe),Ixe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Oxe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Ixe}))},zJ=c.forwardRef(Oxe),Nxe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Axe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Nxe}))},Dxe=c.forwardRef(Axe);function Mxe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Lxe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function Ak(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function HJ(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=JL(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[c.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[kxe,Pxe]=["week","WeekPicker"],[$xe,Fxe]=["month","MonthPicker"],[Bxe,Uxe]=["year","YearPicker"],[jxe,zxe]=["quarter","QuarterPicker"],[GJ,K3]=["time","TimePicker"],Hxe=e=>c.createElement(Rt,Object.assign({size:"small",type:"primary"},e));function VJ(e){return c.useMemo(()=>Object.assign({button:Hxe},e),[e])}var Gxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ac.forwardRef((n,r)=>{var a;const{prefixCls:i,getPopupContainer:o,components:s,className:l,style:u,placement:d,size:p,disabled:f,bordered:m=!0,placeholder:g,popupClassName:h,dropdownClassName:v,status:S,rootClassName:_,variant:E,picker:y}=n,C=Gxe(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),T=c.useRef(null),{getPrefixCls:x,direction:R,getPopupContainer:w,rangePicker:I}=c.useContext(lt),O=x("picker",i),{compactSize:k,compactItemClassnames:P}=ws(O,R),M=x(),[N,A]=Uc("rangePicker",E,m),D=Zn(O),[L,$,F]=gJ(O,D),[B]=HJ(n,O),z=VJ(s),U=xr(te=>{var se;return(se=p??k)!==null&&se!==void 0?se:te}),j=c.useContext(ea),G=f??j,J=c.useContext(Gr),{hasFeedback:Y,status:X,feedbackIcon:V}=J,H=c.createElement(c.Fragment,null,y===GJ?c.createElement(zJ,null):c.createElement(jJ,null),Y&&V);c.useImperativeHandle(r,()=>T.current);const[q]=Go("Calendar",d_),K=Object.assign(Object.assign({},q),n.locale),[Z]=bo("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return L(c.createElement(Uo,{space:!0},c.createElement(wye,Object.assign({separator:c.createElement("span",{"aria-label":"to",className:`${O}-separator`},c.createElement(Dxe,null)),disabled:G,ref:T,popupAlign:Ak(R,d),placement:d,placeholder:Lxe(K,y,g),suffixIcon:H,prevIcon:c.createElement("span",{className:`${O}-prev-icon`}),nextIcon:c.createElement("span",{className:`${O}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${O}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${O}-super-next-icon`}),transitionName:`${M}-slide-up`,picker:y},C,{className:ie({[`${O}-${U}`]:U,[`${O}-${N}`]:A},Cs(O,Nl(X,S),Y),$,P,l,I==null?void 0:I.className,F,D,_),style:Object.assign(Object.assign({},I==null?void 0:I.style),u),locale:K.lang,prefixCls:O,getPopupContainer:o||w,generateConfig:e,components:z,direction:R,classNames:{popup:ie($,h||v,F,D,_)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:Z})},allowClear:B}))))});var qxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(l,u)=>{const d=u===K3?"timePicker":"datePicker";return c.forwardRef((f,m)=>{var g;const{prefixCls:h,getPopupContainer:v,components:S,style:_,className:E,rootClassName:y,size:C,bordered:T,placement:x,placeholder:R,popupClassName:w,dropdownClassName:I,disabled:O,status:k,variant:P,onCalendarChange:M}=f,N=qxe(f,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:A,direction:D,getPopupContainer:L,[d]:$}=c.useContext(lt),F=A("picker",h),{compactSize:B,compactItemClassnames:z}=ws(F,D),U=c.useRef(null),[j,G]=Uc("datePicker",P,T),J=Zn(F),[Y,X,V]=gJ(F,J);c.useImperativeHandle(m,()=>U.current);const H={showToday:!0},q=l||f.picker,K=A(),{onSelect:Z,multiple:te}=N,se=Z&&l==="time"&&!te,ue=(ve,Ae,ye)=>{M==null||M(ve,Ae,ye),se&&Z(ve)},[me,de]=HJ(f,F),Te=VJ(S),Ee=xr(ve=>{var Ae;return(Ae=C??B)!==null&&Ae!==void 0?Ae:ve}),ge=c.useContext(ea),re=O??ge,ne=c.useContext(Gr),{hasFeedback:ae,status:le,feedbackIcon:pe}=ne,Re=c.createElement(c.Fragment,null,q==="time"?c.createElement(zJ,null):c.createElement(jJ,null),ae&&pe),[Se]=Go("DatePicker",d_),Pe=Object.assign(Object.assign({},Se),f.locale),[fe]=bo("DatePicker",(g=f.popupStyle)===null||g===void 0?void 0:g.zIndex);return Y(c.createElement(Uo,{space:!0},c.createElement(Mye,Object.assign({ref:U,placeholder:Mxe(Pe,q,R),suffixIcon:Re,dropdownAlign:Ak(D,x),placement:x,prevIcon:c.createElement("span",{className:`${F}-prev-icon`}),nextIcon:c.createElement("span",{className:`${F}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${F}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${F}-super-next-icon`}),transitionName:`${K}-slide-up`,picker:l,onCalendarChange:ue},H,N,{locale:Pe.lang,className:ie({[`${F}-${Ee}`]:Ee,[`${F}-${j}`]:G},Cs(F,Nl(le,k),ae),X,z,$==null?void 0:$.className,E,V,J,y),style:Object.assign(Object.assign({},$==null?void 0:$.style),_),prefixCls:F,getPopupContainer:v||L,generateConfig:e,components:Te,direction:D,disabled:re,classNames:{popup:ie(X,V,J,y,w||I)},styles:{popup:Object.assign(Object.assign({},f.popupStyle),{zIndex:fe})},allowClear:me,removeIcon:de}))))})},n=t(),r=t(kxe,Pxe),a=t($xe,Fxe),i=t(Bxe,Uxe),o=t(jxe,zxe),s=t(GJ,K3);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:i,TimePicker:s,QuarterPicker:o}},qJ=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:i,QuarterPicker:o}=Wxe(e),s=Vxe(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=a,l.RangePicker=s,l.TimePicker=i,l.QuarterPicker=o,l},np=qJ($Ee);function WJ(e){const t=Ak(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Yxe=ag(np,"picker",null,WJ);np._InternalPanelDoNotUseOrYouWillBeFired=Yxe;const Kxe=ag(np.RangePicker,"picker",null,WJ);np._InternalRangePanelDoNotUseOrYouWillBeFired=Kxe;np.generatePicker=qJ;var X3=c.createContext(null),YJ=c.createContext({}),Xxe=["prefixCls","className","containerRef"],Qxe=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,i=Et(t,Xxe),o=c.useContext(YJ),s=o.panel,l=Rs(s,a);return c.createElement("div",_e({className:ie("".concat(n,"-content"),r),role:"dialog",ref:l},Qn(t,{aria:!0}),{"aria-modal":"true"},i))};function Q3(e){return typeof e=="string"&&String(Number(e))===e?(bn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Z3={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Zxe(e,t){var n,r,a,i=e.prefixCls,o=e.open,s=e.placement,l=e.inline,u=e.push,d=e.forceRender,p=e.autoFocus,f=e.keyboard,m=e.classNames,g=e.rootClassName,h=e.rootStyle,v=e.zIndex,S=e.className,_=e.id,E=e.style,y=e.motion,C=e.width,T=e.height,x=e.children,R=e.mask,w=e.maskClosable,I=e.maskMotion,O=e.maskClassName,k=e.maskStyle,P=e.afterOpenChange,M=e.onClose,N=e.onMouseEnter,A=e.onMouseOver,D=e.onMouseLeave,L=e.onClick,$=e.onKeyDown,F=e.onKeyUp,B=e.styles,z=e.drawerRender,U=c.useRef(),j=c.useRef(),G=c.useRef();c.useImperativeHandle(t,function(){return U.current});var J=function(re){var ne=re.keyCode,ae=re.shiftKey;switch(ne){case Fe.TAB:{if(ne===Fe.TAB){if(!ae&&document.activeElement===G.current){var le;(le=j.current)===null||le===void 0||le.focus({preventScroll:!0})}else if(ae&&document.activeElement===j.current){var pe;(pe=G.current)===null||pe===void 0||pe.focus({preventScroll:!0})}}break}case Fe.ESC:{M&&f&&(re.stopPropagation(),M(re));break}}};c.useEffect(function(){if(o&&p){var ge;(ge=U.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[o]);var Y=c.useState(!1),X=oe(Y,2),V=X[0],H=X[1],q=c.useContext(X3),K;typeof u=="boolean"?K=u?{}:{distance:0}:K=u||{};var Z=(n=(r=(a=K)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:q==null?void 0:q.pushDistance)!==null&&n!==void 0?n:180,te=c.useMemo(function(){return{pushDistance:Z,push:function(){H(!0)},pull:function(){H(!1)}}},[Z]);c.useEffect(function(){if(o){var ge;q==null||(ge=q.push)===null||ge===void 0||ge.call(q)}else{var re;q==null||(re=q.pull)===null||re===void 0||re.call(q)}},[o]),c.useEffect(function(){return function(){var ge;q==null||(ge=q.pull)===null||ge===void 0||ge.call(q)}},[]);var se=R&&c.createElement(ta,_e({key:"mask"},I,{visible:o}),function(ge,re){var ne=ge.className,ae=ge.style;return c.createElement("div",{className:ie("".concat(i,"-mask"),ne,m==null?void 0:m.mask,O),style:ee(ee(ee({},ae),k),B==null?void 0:B.mask),onClick:w&&o?M:void 0,ref:re})}),ue=typeof y=="function"?y(s):y,me={};if(V&&Z)switch(s){case"top":me.transform="translateY(".concat(Z,"px)");break;case"bottom":me.transform="translateY(".concat(-Z,"px)");break;case"left":me.transform="translateX(".concat(Z,"px)");break;default:me.transform="translateX(".concat(-Z,"px)");break}s==="left"||s==="right"?me.width=Q3(C):me.height=Q3(T);var de={onMouseEnter:N,onMouseOver:A,onMouseLeave:D,onClick:L,onKeyDown:$,onKeyUp:F},Te=c.createElement(ta,_e({key:"panel"},ue,{visible:o,forceRender:d,onVisibleChanged:function(re){P==null||P(re)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(ge,re){var ne=ge.className,ae=ge.style,le=c.createElement(Qxe,_e({id:_,containerRef:re,prefixCls:i,className:ie(S,m==null?void 0:m.content),style:ee(ee({},E),B==null?void 0:B.content)},Qn(e,{aria:!0}),de),x);return c.createElement("div",_e({className:ie("".concat(i,"-content-wrapper"),m==null?void 0:m.wrapper,ne),style:ee(ee(ee({},me),ae),B==null?void 0:B.wrapper)},Qn(e,{data:!0})),z?z(le):le)}),Ee=ee({},h);return v&&(Ee.zIndex=v),c.createElement(X3.Provider,{value:te},c.createElement("div",{className:ie(i,"".concat(i,"-").concat(s),g,W(W({},"".concat(i,"-open"),o),"".concat(i,"-inline"),l)),style:Ee,tabIndex:-1,ref:U,onKeyDown:J},se,c.createElement("div",{tabIndex:0,ref:j,style:Z3,"aria-hidden":"true","data-sentinel":"start"}),Te,c.createElement("div",{tabIndex:0,ref:G,style:Z3,"aria-hidden":"true","data-sentinel":"end"})))}var Jxe=c.forwardRef(Zxe),eRe=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,i=a===void 0?"rc-drawer":a,o=t.placement,s=o===void 0?"right":o,l=t.autoFocus,u=l===void 0?!0:l,d=t.keyboard,p=d===void 0?!0:d,f=t.width,m=f===void 0?378:f,g=t.mask,h=g===void 0?!0:g,v=t.maskClosable,S=v===void 0?!0:v,_=t.getContainer,E=t.forceRender,y=t.afterOpenChange,C=t.destroyOnClose,T=t.onMouseEnter,x=t.onMouseOver,R=t.onMouseLeave,w=t.onClick,I=t.onKeyDown,O=t.onKeyUp,k=t.panelRef,P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useState(!1),L=oe(D,2),$=L[0],F=L[1];Qt(function(){F(!0)},[]);var B=$?r:!1,z=c.useRef(),U=c.useRef();Qt(function(){B&&(U.current=document.activeElement)},[B]);var j=function(V){var H;if(A(V),y==null||y(V),!V&&U.current&&!((H=z.current)!==null&&H!==void 0&&H.contains(U.current))){var q;(q=U.current)===null||q===void 0||q.focus({preventScroll:!0})}},G=c.useMemo(function(){return{panel:k}},[k]);if(!E&&!N&&!B&&C)return null;var J={onMouseEnter:T,onMouseOver:x,onMouseLeave:R,onClick:w,onKeyDown:I,onKeyUp:O},Y=ee(ee({},t),{},{open:B,prefixCls:i,placement:s,autoFocus:u,keyboard:p,width:m,mask:h,maskClosable:S,inline:_===!1,afterOpenChange:j,ref:z},J);return c.createElement(YJ.Provider,{value:G},c.createElement(eg,{open:B||E||N,autoDestroy:!1,getContainer:_,autoLock:h&&(B||N)},c.createElement(Jxe,Y)))};const KJ=e=>{var t,n;const{prefixCls:r,title:a,footer:i,extra:o,loading:s,onClose:l,headerStyle:u,bodyStyle:d,footerStyle:p,children:f,classNames:m,styles:g}=e,{drawer:h}=c.useContext(lt),v=c.useCallback(C=>c.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${r}-close`},C),[l]),[S,_]=qL(yd(e),yd(h),{closable:!0,closeIconRender:v}),E=c.useMemo(()=>{var C,T;return!a&&!S?null:c.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=h==null?void 0:h.styles)===null||C===void 0?void 0:C.header),u),g==null?void 0:g.header),className:ie(`${r}-header`,{[`${r}-header-close-only`]:S&&!a&&!o},(T=h==null?void 0:h.classNames)===null||T===void 0?void 0:T.header,m==null?void 0:m.header)},c.createElement("div",{className:`${r}-header-title`},_,a&&c.createElement("div",{className:`${r}-title`},a)),o&&c.createElement("div",{className:`${r}-extra`},o))},[S,_,o,u,r,a]),y=c.useMemo(()=>{var C,T;if(!i)return null;const x=`${r}-footer`;return c.createElement("div",{className:ie(x,(C=h==null?void 0:h.classNames)===null||C===void 0?void 0:C.footer,m==null?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},(T=h==null?void 0:h.styles)===null||T===void 0?void 0:T.footer),p),g==null?void 0:g.footer)},i)},[i,p,r]);return c.createElement(c.Fragment,null,E,c.createElement("div",{className:ie(`${r}-body`,m==null?void 0:m.body,(t=h==null?void 0:h.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=h==null?void 0:h.styles)===null||n===void 0?void 0:n.body),d),g==null?void 0:g.body)},s?c.createElement(Ol,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),y)},tRe=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},XJ=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),QJ=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},XJ({opacity:e},{opacity:1})),nRe=(e,t)=>[QJ(.7,t),XJ({transform:tRe(e)},{transform:"none"})],rRe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:QJ(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:nRe(a,n)}),{})}}},aRe=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:u,paddingLG:d,fontSizeLG:p,lineHeightLG:f,lineWidth:m,lineType:g,colorSplit:h,marginXS:v,colorIcon:S,colorIconHover:_,colorBgTextHover:E,colorBgTextActive:y,colorText:C,fontWeightStrong:T,footerPaddingBlock:x,footerPaddingInline:R,calc:w}=e,I=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[I]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${I}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${I}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${I}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${I}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Q(u)} ${Q(d)}`,fontSize:p,lineHeight:f,borderBottom:`${Q(m)} ${g} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:w(p).add(l).equal(),height:w(p).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:S,fontWeight:T,fontSize:p,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:_,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:y}},Bo(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:p,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${Q(x)} ${Q(R)}`,borderTop:`${Q(m)} ${g} ${h}`},"&-rtl":{direction:"rtl"}}}},iRe=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),ZJ=cn("Drawer",e=>{const t=Ht(e,{});return[aRe(t),rRe(t)]},iRe);var JJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:i=!0,push:o=oRe,open:s,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:p,style:f,className:m,visible:g,afterVisibleChange:h,maskStyle:v,drawerStyle:S,contentWrapperStyle:_}=e,E=JJ(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:y,getPrefixCls:C,direction:T,drawer:x}=c.useContext(lt),R=C("drawer",d),[w,I,O]=ZJ(R),k=p===void 0&&y?()=>y(document.body):p,P=ie({"no-mask":!i,[`${R}-rtl`]:T==="rtl"},t,I,O),M=c.useMemo(()=>n??(a==="large"?736:378),[n,a]),N=c.useMemo(()=>r??(a==="large"?736:378),[r,a]),A={motionName:ya(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},D=G=>({motionName:ya(R,`panel-motion-${G}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),L=rQ(),[$,F]=bo("Drawer",E.zIndex),{classNames:B={},styles:z={}}=E,{classNames:U={},styles:j={}}=x||{};return w(c.createElement(Uo,{form:!0,space:!0},c.createElement(Km.Provider,{value:F},c.createElement(eRe,Object.assign({prefixCls:R,onClose:u,maskMotion:A,motion:D},E,{classNames:{mask:ie(B.mask,U.mask),content:ie(B.content,U.content),wrapper:ie(B.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},z.mask),v),j.mask),content:Object.assign(Object.assign(Object.assign({},z.content),S),j.content),wrapper:Object.assign(Object.assign(Object.assign({},z.wrapper),_),j.wrapper)},open:s??g,mask:i,push:o,width:M,height:N,style:Object.assign(Object.assign({},x==null?void 0:x.style),f),className:ie(x==null?void 0:x.className,m),rootClassName:P,getContainer:k,afterOpenChange:l??h,panelRef:L,zIndex:$}),c.createElement(KJ,Object.assign({prefixCls:R},E,{onClose:u}))))))},sRe=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,i=JJ(e,["prefixCls","style","className","placement"]),{getPrefixCls:o}=c.useContext(lt),s=o("drawer",t),[l,u,d]=ZJ(s),p=ie(s,`${s}-pure`,`${s}-${a}`,u,d,r);return l(c.createElement("div",{className:p,style:n},c.createElement(KJ,Object.assign({prefixCls:s},i))))};eee._InternalPanelDoNotUseOrYouWillBeFired=sRe;function J3(e){return["small","middle","large"].includes(e)}function e4(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const tee=ce.createContext({latestIndex:0}),lRe=tee.Provider,cRe=e=>{let{className:t,index:n,children:r,split:a,style:i}=e;const{latestIndex:o}=c.useContext(tee);return r==null?null:c.createElement(c.Fragment,null,c.createElement("div",{className:t,style:i},r),n{var n,r,a;const{getPrefixCls:i,space:o,direction:s}=c.useContext(lt),{size:l=(n=o==null?void 0:o.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:p,children:f,direction:m="horizontal",prefixCls:g,split:h,style:v,wrap:S=!1,classNames:_,styles:E}=e,y=uRe(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,T]=Array.isArray(l)?l:[l,l],x=J3(T),R=J3(C),w=e4(T),I=e4(C),O=br(f,{keepEmpty:!0}),k=u===void 0&&m==="horizontal"?"center":u,P=i("space",g),[M,N,A]=OX(P),D=ie(P,o==null?void 0:o.className,N,`${P}-${m}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${k}`]:k,[`${P}-gap-row-${T}`]:x,[`${P}-gap-col-${C}`]:R},d,p,A),L=ie(`${P}-item`,(r=_==null?void 0:_.item)!==null&&r!==void 0?r:(a=o==null?void 0:o.classNames)===null||a===void 0?void 0:a.item);let $=0;const F=O.map((U,j)=>{var G,J;U!=null&&($=j);const Y=(U==null?void 0:U.key)||`${L}-${j}`;return c.createElement(cRe,{className:L,key:Y,index:j,split:h,style:(G=E==null?void 0:E.item)!==null&&G!==void 0?G:(J=o==null?void 0:o.styles)===null||J===void 0?void 0:J.item},U)}),B=c.useMemo(()=>({latestIndex:$}),[$]);if(O.length===0)return null;const z={};return S&&(z.flexWrap="wrap"),!R&&I&&(z.columnGap=C),!x&&w&&(z.rowGap=T),M(c.createElement("div",Object.assign({ref:t,className:D,style:Object.assign(Object.assign(Object.assign({},z),o==null?void 0:o.style),v)},y),c.createElement(lRe,{value:B},F)))}),Na=dRe;Na.Compact=xme;var pRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=c.useContext(lt),{prefixCls:a,type:i="default",danger:o,disabled:s,loading:l,onClick:u,htmlType:d,children:p,className:f,menu:m,arrow:g,autoFocus:h,overlay:v,trigger:S,align:_,open:E,onOpenChange:y,placement:C,getPopupContainer:T,href:x,icon:R=c.createElement(uk,null),title:w,buttonsRender:I=X=>X,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A}=e,D=pRe(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),L=n("dropdown",a),$=`${L}-button`,F={menu:m,arrow:g,autoFocus:h,align:_,disabled:s,trigger:s?[]:S,onOpenChange:y,getPopupContainer:T||t,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A},{compactSize:B,compactItemClassnames:z}=ws(L,r),U=ie($,z,f);"overlay"in e&&(F.overlay=v),"open"in e&&(F.open=E),"placement"in e?F.placement=C:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const j=c.createElement(Rt,{type:i,danger:o,disabled:s,loading:l,onClick:u,htmlType:d,href:x,title:w},p),G=c.createElement(Rt,{type:i,danger:o,icon:R}),[J,Y]=I([j,G]);return c.createElement(Na.Compact,Object.assign({className:U,size:B,block:!0},D),J,c.createElement(lg,Object.assign({},F),Y))};nee.__ANT_BUTTON=!0;const dS=lg;dS.Button=nee;var fRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},mRe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:fRe}))},gRe=c.forwardRef(mRe);function x_(e){const[t,n]=c.useState(e);return c.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const hRe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},jJ=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:i,marginFull:o,calc:s}=e,l=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",p=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",m=s(r).mul(3).sub(a).div(2).equal(),g=s(a).sub(r).div(2).equal(),h=t?{borderWidth:`${X(g)} 0`,transform:`translateY(${X(s(g).mul(-1).equal())})`}:{borderWidth:`0 ${X(g)}`,transform:`translateX(${X(e.calc(g).mul(-1).equal())})`};return{[l]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},h),[`${n}-handle`]:{[p]:m},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[p]:s(r).sub(i).div(2).equal()}}},Sxe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},jJ(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Exe=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},jJ(e,!1)),{height:"100%"})}},yxe=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,i=e.lineWidth+1*1.5,o=e.colorPrimary,s=new on(o).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:s,handleColorDisabled:new on(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Cxe=sn("Slider",e=>{const t=Ht(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[bxe(t),Sxe(t),Exe(t)]},yxe),Txe=c.createContext({});function Ry(){const[e,t]=c.useState(!1),n=c.useRef(),r=()=>{Gt.cancel(n.current)},a=i=>{r(),i?t(i):n.current=Gt(()=>{t(i)})};return c.useEffect(()=>r,[]),[e,a]}var xxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const wxe=ce.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:i,style:o,disabled:s,tooltipPrefixCls:l,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:p,tooltipPlacement:f,tooltip:m={},onChangeComplete:g}=e,h=xxe(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:v}=e,{direction:S,slider:b,getPrefixCls:E,getPopupContainer:y}=ce.useContext(lt),C=ce.useContext(ea),T=s??C,{handleRender:x,direction:R}=ce.useContext(Txe),I=(R||S)==="rtl",[O,k]=Ry(),[P,M]=Ry(),N=Object.assign({},m),{open:A,placement:D,getPopupContainer:L,prefixCls:$,formatter:F}=N,B=A??d,z=(O||P)&&B!==!1,U=Rxe(F,u),[j,G]=Ry(),J=me=>{g==null||g(me),G(!1)},Y=(me,de)=>me||(de?I?"left":"right":"top"),Q=E("slider",n),[V,H,q]=Cxe(Q),K=ie(a,b==null?void 0:b.className,i,{[`${Q}-rtl`]:I,[`${Q}-lock`]:j},H,q);I&&!h.vertical&&(h.reverse=!h.reverse),ce.useEffect(()=>{const me=()=>{Gt(()=>{M(!1)},1)};return document.addEventListener("mouseup",me),()=>{document.removeEventListener("mouseup",me)}},[]);const Z=r&&!B,te=x||((me,de)=>{const{index:Te}=de,Ee=me.props;function ge(le,pe,Re){var Se,Pe,fe,_e;Re&&((Pe=(Se=h)[le])===null||Pe===void 0||Pe.call(Se,pe)),(_e=(fe=Ee)[le])===null||_e===void 0||_e.call(fe,pe)}const re=Object.assign(Object.assign({},Ee),{onMouseEnter:le=>{k(!0),ge("onMouseEnter",le)},onMouseLeave:le=>{k(!1),ge("onMouseLeave",le)},onMouseDown:le=>{M(!0),G(!0),ge("onMouseDown",le)},onFocus:le=>{var pe;M(!0),(pe=h.onFocus)===null||pe===void 0||pe.call(h,le),ge("onFocus",le,!0)},onBlur:le=>{var pe;M(!1),(pe=h.onBlur)===null||pe===void 0||pe.call(h,le),ge("onBlur",le,!0)}}),ne=ce.cloneElement(me,re),ae=(!!B||z)&&U!==null;return Z?ne:ce.createElement(X3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:ae,placement:Y(D??f,v),key:Te,overlayClassName:`${Q}-tooltip`,getPopupContainer:L||p||y}),ne)}),se=Z?(me,de)=>{const Te=ce.cloneElement(me,{style:Object.assign(Object.assign({},me.props.style),{visibility:"hidden"})});return ce.createElement(X3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:U!==null&&z,placement:Y(D??f,v),key:"tooltip",overlayClassName:`${Q}-tooltip`,getPopupContainer:L||p||y,draggingDelete:de.draggingDelete}),Te)}:void 0,ue=Object.assign(Object.assign({},b==null?void 0:b.style),o);return V(ce.createElement(_xe,Object.assign({},h,{step:h.step,range:r,className:K,style:ue,disabled:T,ref:t,prefixCls:Q,handleRender:te,activeHandleRender:se,onChangeComplete:J})))});var Ixe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Oxe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Ixe}))},zJ=c.forwardRef(Oxe),Nxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Axe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Nxe}))},HJ=c.forwardRef(Axe),Dxe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Mxe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Dxe}))},Lxe=c.forwardRef(Mxe);function kxe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Pxe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function Mk(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function GJ(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=tk(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[c.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[$xe,Fxe]=["week","WeekPicker"],[Bxe,Uxe]=["month","MonthPicker"],[jxe,zxe]=["year","YearPicker"],[Hxe,Gxe]=["quarter","QuarterPicker"],[VJ,Q3]=["time","TimePicker"],Vxe=e=>c.createElement(wt,Object.assign({size:"small",type:"primary"},e));function qJ(e){return c.useMemo(()=>Object.assign({button:Vxe},e),[e])}var qxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ac.forwardRef((n,r)=>{var a;const{prefixCls:i,getPopupContainer:o,components:s,className:l,style:u,placement:d,size:p,disabled:f,bordered:m=!0,placeholder:g,popupClassName:h,dropdownClassName:v,status:S,rootClassName:b,variant:E,picker:y}=n,C=qxe(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),T=c.useRef(null),{getPrefixCls:x,direction:R,getPopupContainer:w,rangePicker:I}=c.useContext(lt),O=x("picker",i),{compactSize:k,compactItemClassnames:P}=Is(O,R),M=x(),[N,A]=Uc("rangePicker",E,m),D=Hn(O),[L,$,F]=hJ(O,D),[B]=GJ(n,O),z=qJ(s),U=xr(te=>{var se;return(se=p??k)!==null&&se!==void 0?se:te}),j=c.useContext(ea),G=f??j,J=c.useContext(Gr),{hasFeedback:Y,status:Q,feedbackIcon:V}=J,H=c.createElement(c.Fragment,null,y===VJ?c.createElement(HJ,null):c.createElement(zJ,null),Y&&V);c.useImperativeHandle(r,()=>T.current);const[q]=qo("Calendar",g_),K=Object.assign(Object.assign({},q),n.locale),[Z]=So("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return L(c.createElement(zo,{space:!0},c.createElement(Oye,Object.assign({separator:c.createElement("span",{"aria-label":"to",className:`${O}-separator`},c.createElement(Lxe,null)),disabled:G,ref:T,popupAlign:Mk(R,d),placement:d,placeholder:Pxe(K,y,g),suffixIcon:H,prevIcon:c.createElement("span",{className:`${O}-prev-icon`}),nextIcon:c.createElement("span",{className:`${O}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${O}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${O}-super-next-icon`}),transitionName:`${M}-slide-up`,picker:y},C,{className:ie({[`${O}-${U}`]:U,[`${O}-${N}`]:A},Ts(O,Al(Q,S),Y),$,P,l,I==null?void 0:I.className,F,D,b),style:Object.assign(Object.assign({},I==null?void 0:I.style),u),locale:K.lang,prefixCls:O,getPopupContainer:o||w,generateConfig:e,components:z,direction:R,classNames:{popup:ie($,h||v,F,D,b)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:Z})},allowClear:B}))))});var Yxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(l,u)=>{const d=u===Q3?"timePicker":"datePicker";return c.forwardRef((f,m)=>{var g;const{prefixCls:h,getPopupContainer:v,components:S,style:b,className:E,rootClassName:y,size:C,bordered:T,placement:x,placeholder:R,popupClassName:w,dropdownClassName:I,disabled:O,status:k,variant:P,onCalendarChange:M}=f,N=Yxe(f,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:A,direction:D,getPopupContainer:L,[d]:$}=c.useContext(lt),F=A("picker",h),{compactSize:B,compactItemClassnames:z}=Is(F,D),U=c.useRef(null),[j,G]=Uc("datePicker",P,T),J=Hn(F),[Y,Q,V]=hJ(F,J);c.useImperativeHandle(m,()=>U.current);const H={showToday:!0},q=l||f.picker,K=A(),{onSelect:Z,multiple:te}=N,se=Z&&l==="time"&&!te,ue=(_e,Ae,ye)=>{M==null||M(_e,Ae,ye),se&&Z(_e)},[me,de]=GJ(f,F),Te=qJ(S),Ee=xr(_e=>{var Ae;return(Ae=C??B)!==null&&Ae!==void 0?Ae:_e}),ge=c.useContext(ea),re=O??ge,ne=c.useContext(Gr),{hasFeedback:ae,status:le,feedbackIcon:pe}=ne,Re=c.createElement(c.Fragment,null,q==="time"?c.createElement(HJ,null):c.createElement(zJ,null),ae&&pe),[Se]=qo("DatePicker",g_),Pe=Object.assign(Object.assign({},Se),f.locale),[fe]=So("DatePicker",(g=f.popupStyle)===null||g===void 0?void 0:g.zIndex);return Y(c.createElement(zo,{space:!0},c.createElement(kye,Object.assign({ref:U,placeholder:kxe(Pe,q,R),suffixIcon:Re,dropdownAlign:Mk(D,x),placement:x,prevIcon:c.createElement("span",{className:`${F}-prev-icon`}),nextIcon:c.createElement("span",{className:`${F}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${F}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${F}-super-next-icon`}),transitionName:`${K}-slide-up`,picker:l,onCalendarChange:ue},H,N,{locale:Pe.lang,className:ie({[`${F}-${Ee}`]:Ee,[`${F}-${j}`]:G},Ts(F,Al(le,k),ae),Q,z,$==null?void 0:$.className,E,V,J,y),style:Object.assign(Object.assign({},$==null?void 0:$.style),b),prefixCls:F,getPopupContainer:v||L,generateConfig:e,components:Te,direction:D,disabled:re,classNames:{popup:ie(Q,V,J,y,w||I)},styles:{popup:Object.assign(Object.assign({},f.popupStyle),{zIndex:fe})},allowClear:me,removeIcon:de}))))})},n=t(),r=t($xe,Fxe),a=t(Bxe,Uxe),i=t(jxe,zxe),o=t(Hxe,Gxe),s=t(VJ,Q3);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:i,TimePicker:s,QuarterPicker:o}},WJ=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:i,QuarterPicker:o}=Kxe(e),s=Wxe(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=a,l.RangePicker=s,l.TimePicker=i,l.QuarterPicker=o,l},ip=WJ(BEe);function YJ(e){const t=Mk(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Xxe=og(ip,"picker",null,YJ);ip._InternalPanelDoNotUseOrYouWillBeFired=Xxe;const Qxe=og(ip.RangePicker,"picker",null,YJ);ip._InternalRangePanelDoNotUseOrYouWillBeFired=Qxe;ip.generatePicker=WJ;var Z3=c.createContext(null),KJ=c.createContext({}),Zxe=["prefixCls","className","containerRef"],Jxe=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,i=yt(t,Zxe),o=c.useContext(KJ),s=o.panel,l=ws(s,a);return c.createElement("div",ve({className:ie("".concat(n,"-content"),r),role:"dialog",ref:l},Jn(t,{aria:!0}),{"aria-modal":"true"},i))};function J3(e){return typeof e=="string"&&String(Number(e))===e?(bn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var e4={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function eRe(e,t){var n,r,a,i=e.prefixCls,o=e.open,s=e.placement,l=e.inline,u=e.push,d=e.forceRender,p=e.autoFocus,f=e.keyboard,m=e.classNames,g=e.rootClassName,h=e.rootStyle,v=e.zIndex,S=e.className,b=e.id,E=e.style,y=e.motion,C=e.width,T=e.height,x=e.children,R=e.mask,w=e.maskClosable,I=e.maskMotion,O=e.maskClassName,k=e.maskStyle,P=e.afterOpenChange,M=e.onClose,N=e.onMouseEnter,A=e.onMouseOver,D=e.onMouseLeave,L=e.onClick,$=e.onKeyDown,F=e.onKeyUp,B=e.styles,z=e.drawerRender,U=c.useRef(),j=c.useRef(),G=c.useRef();c.useImperativeHandle(t,function(){return U.current});var J=function(re){var ne=re.keyCode,ae=re.shiftKey;switch(ne){case Fe.TAB:{if(ne===Fe.TAB){if(!ae&&document.activeElement===G.current){var le;(le=j.current)===null||le===void 0||le.focus({preventScroll:!0})}else if(ae&&document.activeElement===j.current){var pe;(pe=G.current)===null||pe===void 0||pe.focus({preventScroll:!0})}}break}case Fe.ESC:{M&&f&&(re.stopPropagation(),M(re));break}}};c.useEffect(function(){if(o&&p){var ge;(ge=U.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[o]);var Y=c.useState(!1),Q=oe(Y,2),V=Q[0],H=Q[1],q=c.useContext(Z3),K;typeof u=="boolean"?K=u?{}:{distance:0}:K=u||{};var Z=(n=(r=(a=K)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:q==null?void 0:q.pushDistance)!==null&&n!==void 0?n:180,te=c.useMemo(function(){return{pushDistance:Z,push:function(){H(!0)},pull:function(){H(!1)}}},[Z]);c.useEffect(function(){if(o){var ge;q==null||(ge=q.push)===null||ge===void 0||ge.call(q)}else{var re;q==null||(re=q.pull)===null||re===void 0||re.call(q)}},[o]),c.useEffect(function(){return function(){var ge;q==null||(ge=q.pull)===null||ge===void 0||ge.call(q)}},[]);var se=R&&c.createElement(ta,ve({key:"mask"},I,{visible:o}),function(ge,re){var ne=ge.className,ae=ge.style;return c.createElement("div",{className:ie("".concat(i,"-mask"),ne,m==null?void 0:m.mask,O),style:ee(ee(ee({},ae),k),B==null?void 0:B.mask),onClick:w&&o?M:void 0,ref:re})}),ue=typeof y=="function"?y(s):y,me={};if(V&&Z)switch(s){case"top":me.transform="translateY(".concat(Z,"px)");break;case"bottom":me.transform="translateY(".concat(-Z,"px)");break;case"left":me.transform="translateX(".concat(Z,"px)");break;default:me.transform="translateX(".concat(-Z,"px)");break}s==="left"||s==="right"?me.width=J3(C):me.height=J3(T);var de={onMouseEnter:N,onMouseOver:A,onMouseLeave:D,onClick:L,onKeyDown:$,onKeyUp:F},Te=c.createElement(ta,ve({key:"panel"},ue,{visible:o,forceRender:d,onVisibleChanged:function(re){P==null||P(re)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(ge,re){var ne=ge.className,ae=ge.style,le=c.createElement(Jxe,ve({id:b,containerRef:re,prefixCls:i,className:ie(S,m==null?void 0:m.content),style:ee(ee({},E),B==null?void 0:B.content)},Jn(e,{aria:!0}),de),x);return c.createElement("div",ve({className:ie("".concat(i,"-content-wrapper"),m==null?void 0:m.wrapper,ne),style:ee(ee(ee({},me),ae),B==null?void 0:B.wrapper)},Jn(e,{data:!0})),z?z(le):le)}),Ee=ee({},h);return v&&(Ee.zIndex=v),c.createElement(Z3.Provider,{value:te},c.createElement("div",{className:ie(i,"".concat(i,"-").concat(s),g,W(W({},"".concat(i,"-open"),o),"".concat(i,"-inline"),l)),style:Ee,tabIndex:-1,ref:U,onKeyDown:J},se,c.createElement("div",{tabIndex:0,ref:j,style:e4,"aria-hidden":"true","data-sentinel":"start"}),Te,c.createElement("div",{tabIndex:0,ref:G,style:e4,"aria-hidden":"true","data-sentinel":"end"})))}var tRe=c.forwardRef(eRe),nRe=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,i=a===void 0?"rc-drawer":a,o=t.placement,s=o===void 0?"right":o,l=t.autoFocus,u=l===void 0?!0:l,d=t.keyboard,p=d===void 0?!0:d,f=t.width,m=f===void 0?378:f,g=t.mask,h=g===void 0?!0:g,v=t.maskClosable,S=v===void 0?!0:v,b=t.getContainer,E=t.forceRender,y=t.afterOpenChange,C=t.destroyOnClose,T=t.onMouseEnter,x=t.onMouseOver,R=t.onMouseLeave,w=t.onClick,I=t.onKeyDown,O=t.onKeyUp,k=t.panelRef,P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useState(!1),L=oe(D,2),$=L[0],F=L[1];Qt(function(){F(!0)},[]);var B=$?r:!1,z=c.useRef(),U=c.useRef();Qt(function(){B&&(U.current=document.activeElement)},[B]);var j=function(V){var H;if(A(V),y==null||y(V),!V&&U.current&&!((H=z.current)!==null&&H!==void 0&&H.contains(U.current))){var q;(q=U.current)===null||q===void 0||q.focus({preventScroll:!0})}},G=c.useMemo(function(){return{panel:k}},[k]);if(!E&&!N&&!B&&C)return null;var J={onMouseEnter:T,onMouseOver:x,onMouseLeave:R,onClick:w,onKeyDown:I,onKeyUp:O},Y=ee(ee({},t),{},{open:B,prefixCls:i,placement:s,autoFocus:u,keyboard:p,width:m,mask:h,maskClosable:S,inline:b===!1,afterOpenChange:j,ref:z},J);return c.createElement(KJ.Provider,{value:G},c.createElement(ng,{open:B||E||N,autoDestroy:!1,getContainer:b,autoLock:h&&(B||N)},c.createElement(tRe,Y)))};const XJ=e=>{var t,n;const{prefixCls:r,title:a,footer:i,extra:o,loading:s,onClose:l,headerStyle:u,bodyStyle:d,footerStyle:p,children:f,classNames:m,styles:g}=e,{drawer:h}=c.useContext(lt),v=c.useCallback(C=>c.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${r}-close`},C),[l]),[S,b]=YL(xd(e),xd(h),{closable:!0,closeIconRender:v}),E=c.useMemo(()=>{var C,T;return!a&&!S?null:c.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=h==null?void 0:h.styles)===null||C===void 0?void 0:C.header),u),g==null?void 0:g.header),className:ie(`${r}-header`,{[`${r}-header-close-only`]:S&&!a&&!o},(T=h==null?void 0:h.classNames)===null||T===void 0?void 0:T.header,m==null?void 0:m.header)},c.createElement("div",{className:`${r}-header-title`},b,a&&c.createElement("div",{className:`${r}-title`},a)),o&&c.createElement("div",{className:`${r}-extra`},o))},[S,b,o,u,r,a]),y=c.useMemo(()=>{var C,T;if(!i)return null;const x=`${r}-footer`;return c.createElement("div",{className:ie(x,(C=h==null?void 0:h.classNames)===null||C===void 0?void 0:C.footer,m==null?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},(T=h==null?void 0:h.styles)===null||T===void 0?void 0:T.footer),p),g==null?void 0:g.footer)},i)},[i,p,r]);return c.createElement(c.Fragment,null,E,c.createElement("div",{className:ie(`${r}-body`,m==null?void 0:m.body,(t=h==null?void 0:h.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=h==null?void 0:h.styles)===null||n===void 0?void 0:n.body),d),g==null?void 0:g.body)},s?c.createElement(Nl,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),y)},rRe=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},QJ=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),ZJ=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},QJ({opacity:e},{opacity:1})),aRe=(e,t)=>[ZJ(.7,t),QJ({transform:rRe(e)},{transform:"none"})],iRe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:ZJ(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:aRe(a,n)}),{})}}},oRe=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:u,paddingLG:d,fontSizeLG:p,lineHeightLG:f,lineWidth:m,lineType:g,colorSplit:h,marginXS:v,colorIcon:S,colorIconHover:b,colorBgTextHover:E,colorBgTextActive:y,colorText:C,fontWeightStrong:T,footerPaddingBlock:x,footerPaddingInline:R,calc:w}=e,I=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[I]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${I}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${I}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${I}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${I}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${X(u)} ${X(d)}`,fontSize:p,lineHeight:f,borderBottom:`${X(m)} ${g} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:w(p).add(l).equal(),height:w(p).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:S,fontWeight:T,fontSize:p,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:y}},Uo(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:p,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${X(x)} ${X(R)}`,borderTop:`${X(m)} ${g} ${h}`},"&-rtl":{direction:"rtl"}}}},sRe=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),JJ=sn("Drawer",e=>{const t=Ht(e,{});return[oRe(t),iRe(t)]},sRe);var eee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:i=!0,push:o=lRe,open:s,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:p,style:f,className:m,visible:g,afterVisibleChange:h,maskStyle:v,drawerStyle:S,contentWrapperStyle:b}=e,E=eee(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:y,getPrefixCls:C,direction:T,drawer:x}=c.useContext(lt),R=C("drawer",d),[w,I,O]=JJ(R),k=p===void 0&&y?()=>y(document.body):p,P=ie({"no-mask":!i,[`${R}-rtl`]:T==="rtl"},t,I,O),M=c.useMemo(()=>n??(a==="large"?736:378),[n,a]),N=c.useMemo(()=>r??(a==="large"?736:378),[r,a]),A={motionName:ya(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},D=G=>({motionName:ya(R,`panel-motion-${G}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),L=aQ(),[$,F]=So("Drawer",E.zIndex),{classNames:B={},styles:z={}}=E,{classNames:U={},styles:j={}}=x||{};return w(c.createElement(zo,{form:!0,space:!0},c.createElement(Qm.Provider,{value:F},c.createElement(nRe,Object.assign({prefixCls:R,onClose:u,maskMotion:A,motion:D},E,{classNames:{mask:ie(B.mask,U.mask),content:ie(B.content,U.content),wrapper:ie(B.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},z.mask),v),j.mask),content:Object.assign(Object.assign(Object.assign({},z.content),S),j.content),wrapper:Object.assign(Object.assign(Object.assign({},z.wrapper),b),j.wrapper)},open:s??g,mask:i,push:o,width:M,height:N,style:Object.assign(Object.assign({},x==null?void 0:x.style),f),className:ie(x==null?void 0:x.className,m),rootClassName:P,getContainer:k,afterOpenChange:l??h,panelRef:L,zIndex:$}),c.createElement(XJ,Object.assign({prefixCls:R},E,{onClose:u}))))))},cRe=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,i=eee(e,["prefixCls","style","className","placement"]),{getPrefixCls:o}=c.useContext(lt),s=o("drawer",t),[l,u,d]=JJ(s),p=ie(s,`${s}-pure`,`${s}-${a}`,u,d,r);return l(c.createElement("div",{className:p,style:n},c.createElement(XJ,Object.assign({prefixCls:s},i))))};tee._InternalPanelDoNotUseOrYouWillBeFired=cRe;function t4(e){return["small","middle","large"].includes(e)}function n4(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const nee=ce.createContext({latestIndex:0}),uRe=nee.Provider,dRe=e=>{let{className:t,index:n,children:r,split:a,style:i}=e;const{latestIndex:o}=c.useContext(nee);return r==null?null:c.createElement(c.Fragment,null,c.createElement("div",{className:t,style:i},r),n{var n,r,a;const{getPrefixCls:i,space:o,direction:s}=c.useContext(lt),{size:l=(n=o==null?void 0:o.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:p,children:f,direction:m="horizontal",prefixCls:g,split:h,style:v,wrap:S=!1,classNames:b,styles:E}=e,y=pRe(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,T]=Array.isArray(l)?l:[l,l],x=t4(T),R=t4(C),w=n4(T),I=n4(C),O=_r(f,{keepEmpty:!0}),k=u===void 0&&m==="horizontal"?"center":u,P=i("space",g),[M,N,A]=NX(P),D=ie(P,o==null?void 0:o.className,N,`${P}-${m}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${k}`]:k,[`${P}-gap-row-${T}`]:x,[`${P}-gap-col-${C}`]:R},d,p,A),L=ie(`${P}-item`,(r=b==null?void 0:b.item)!==null&&r!==void 0?r:(a=o==null?void 0:o.classNames)===null||a===void 0?void 0:a.item);let $=0;const F=O.map((U,j)=>{var G,J;U!=null&&($=j);const Y=(U==null?void 0:U.key)||`${L}-${j}`;return c.createElement(dRe,{className:L,key:Y,index:j,split:h,style:(G=E==null?void 0:E.item)!==null&&G!==void 0?G:(J=o==null?void 0:o.styles)===null||J===void 0?void 0:J.item},U)}),B=c.useMemo(()=>({latestIndex:$}),[$]);if(O.length===0)return null;const z={};return S&&(z.flexWrap="wrap"),!R&&I&&(z.columnGap=C),!x&&w&&(z.rowGap=T),M(c.createElement("div",Object.assign({ref:t,className:D,style:Object.assign(Object.assign(Object.assign({},z),o==null?void 0:o.style),v)},y),c.createElement(uRe,{value:B},F)))}),Na=fRe;Na.Compact=wme;var mRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=c.useContext(lt),{prefixCls:a,type:i="default",danger:o,disabled:s,loading:l,onClick:u,htmlType:d,children:p,className:f,menu:m,arrow:g,autoFocus:h,overlay:v,trigger:S,align:b,open:E,onOpenChange:y,placement:C,getPopupContainer:T,href:x,icon:R=c.createElement(pk,null),title:w,buttonsRender:I=Q=>Q,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A}=e,D=mRe(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),L=n("dropdown",a),$=`${L}-button`,F={menu:m,arrow:g,autoFocus:h,align:b,disabled:s,trigger:s?[]:S,onOpenChange:y,getPopupContainer:T||t,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A},{compactSize:B,compactItemClassnames:z}=Is(L,r),U=ie($,z,f);"overlay"in e&&(F.overlay=v),"open"in e&&(F.open=E),"placement"in e?F.placement=C:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const j=c.createElement(wt,{type:i,danger:o,disabled:s,loading:l,onClick:u,htmlType:d,href:x,title:w},p),G=c.createElement(wt,{type:i,danger:o,icon:R}),[J,Y]=I([j,G]);return c.createElement(Na.Compact,Object.assign({className:U,size:B,block:!0},D),J,c.createElement(dg,Object.assign({},F),Y))};ree.__ANT_BUTTON=!0;const mS=dg;mS.Button=ree;var gRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},hRe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:gRe}))},vRe=c.forwardRef(hRe);function O_(e){const[t,n]=c.useState(e);return c.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const _Re=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},vRe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Q(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),t4=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},_Re=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},on(e)),vRe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},t4(e,e.controlHeightSM)),"&-large":Object.assign({},t4(e,e.controlHeightLG))})}},bRe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:i,labelRequiredMarkColor:o,labelColor:s,labelFontSize:l,labelHeight:u,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},on(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:u,color:s,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:YL,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},n4=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},SRe=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},ao=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ree=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:ao(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ERe=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},bRe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${X(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),r4=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},SRe=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},an(e)),bRe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},r4(e,e.controlHeightSM)),"&-large":Object.assign({},r4(e,e.controlHeightLG))})}},ERe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:i,labelRequiredMarkColor:o,labelColor:s,labelFontSize:l,labelHeight:u,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},an(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:u,color:s,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:XL,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},a4=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},yRe=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},io=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),aee=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:io(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},CRe=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenXSMax)})`]:[ree(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:ao(e)}}}],[`@media (max-width: ${Q(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:ao(e)}}},[`@media (max-width: ${Q(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:ao(e)}}},[`@media (max-width: ${Q(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:ao(e)}}}}},yRe=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, + ${r}-col-xl-24${n}-label`]:io(e)}},[`@media (max-width: ${X(e.screenXSMax)})`]:[aee(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:io(e)}}}],[`@media (max-width: ${X(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:io(e)}}},[`@media (max-width: ${X(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:io(e)}}},[`@media (max-width: ${X(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:io(e)}}}}},TRe=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:ao(e),[`@media (max-width: ${Q(e.screenXSMax)})`]:[ree(e),{[t]:{[`${n}-col-xs-24${t}-label`]:ao(e)}}],[`@media (max-width: ${Q(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:ao(e)}}}},CRe=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),aee=(e,t)=>Ht(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),Dk=cn("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=aee(e,n);return[_Re(r),bRe(r),hRe(r),n4(r,r.componentCls),n4(r,r.formItemCls),SRe(r),ERe(r),yRe(r),ng(r),YL]},CRe,{order:-1e3}),r4=[];function Ty(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const iee=e=>{let{help:t,helpStatus:n,errors:r=r4,warnings:a=r4,className:i,fieldId:o,onVisibleChanged:s}=e;const{prefixCls:l}=c.useContext(VL),u=`${l}-item-explain`,d=Zn(l),[p,f,m]=Dk(l,d),g=c.useMemo(()=>Ed(l),[l]),h=x_(r),v=x_(a),S=c.useMemo(()=>t!=null?[Ty(t,"help",n)]:[].concat($e(h.map((E,y)=>Ty(E,"error","error",y))),$e(v.map((E,y)=>Ty(E,"warning","warning",y)))),[t,n,h,v]),_={};return o&&(_.id=`${o}_help`),p(c.createElement(ta,{motionDeadline:g.motionDeadline,motionName:`${l}-show-help`,visible:!!S.length,onVisibleChanged:s},E=>{const{className:y,style:C}=E;return c.createElement("div",Object.assign({},_,{className:ie(u,y,m,d,i,f),style:C,role:"alert"}),c.createElement(LL,Object.assign({keys:S},Ed(l),{motionName:`${l}-show-help-item`,component:!1}),T=>{const{key:x,error:R,errorStatus:w,className:I,style:O}=T;return c.createElement("div",{key:x,className:ie(I,{[`${u}-${w}`]:w}),style:O},R)}))}))},TRe=["parentNode"],xRe="form_item";function xf(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function oee(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:TRe.includes(n)?`${xRe}_${n}`:n}function see(e,t,n,r,a,i){let o=r;return i!==void 0?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||a&&n.validated)&&(o="success"),o}function a4(e){return xf(e).join("_")}function RRe(e,t){const n=t.getFieldInstance(e),r=nK(n);if(r)return r;const a=oee(xf(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function lee(e){const[t]=GL(),n=c.useRef({}),r=c.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>i=>{const o=a4(a);i?n.current[o]=i:delete n.current[o]}},scrollToField:function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=RRe(a,r);o&&Rfe(o,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:a=>{const i=a4(a);return n.current[i]}}),[e,t]);return[r]}var wRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=c.useContext(ea),{getPrefixCls:r,direction:a,form:i}=c.useContext(lt),{prefixCls:o,className:s,rootClassName:l,size:u,disabled:d=n,form:p,colon:f,labelAlign:m,labelWrap:g,labelCol:h,wrapperCol:v,hideRequiredMark:S,layout:_="horizontal",scrollToFirstError:E,requiredMark:y,onFinishFailed:C,name:T,style:x,feedbackIcons:R,variant:w}=e,I=wRe(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),O=xr(u),k=c.useContext($K),P=c.useMemo(()=>y!==void 0?y:S?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[S,y,i]),M=f??(i==null?void 0:i.colon),N=r("form",o),A=Zn(N),[D,L,$]=Dk(N,A),F=ie(N,`${N}-${_}`,{[`${N}-hide-required-mark`]:P===!1,[`${N}-rtl`]:a==="rtl",[`${N}-${O}`]:O},$,A,L,i==null?void 0:i.className,s,l),[B]=lee(p),{__INTERNAL__:z}=B;z.name=T;const U=c.useMemo(()=>({name:T,labelAlign:m,labelCol:h,labelWrap:g,wrapperCol:v,vertical:_==="vertical",colon:M,requiredMark:P,itemRef:z.itemRef,form:B,feedbackIcons:R}),[T,m,h,v,_,M,P,B,R]),j=c.useRef(null);c.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},B),{nativeElement:(Y=j.current)===null||Y===void 0?void 0:Y.nativeElement})});const G=(Y,X)=>{if(Y){let V={block:"nearest"};typeof Y=="object"&&(V=Y),B.scrollToField(X,V)}},J=Y=>{if(C==null||C(Y),Y.errorFields.length){const X=Y.errorFields[0].name;if(E!==void 0){G(E,X);return}i&&i.scrollToFirstError!==void 0&&G(i.scrollToFirstError,X)}};return D(c.createElement(tQ.Provider,{value:w},c.createElement(NL,{disabled:d},c.createElement(Rc.Provider,{value:O},c.createElement(eQ,{validateMessages:k},c.createElement(ys.Provider,{value:U},c.createElement(Wd,Object.assign({id:T},I,{name:T,onFinishFailed:J,form:B,ref:j,style:Object.assign(Object.assign({},i==null?void 0:i.style),x),className:F}))))))))},ORe=c.forwardRef(IRe);function NRe(e){if(typeof e=="function")return e;const t=br(e);return t.length<=1?t[0]:t}const cee=()=>{const{status:e,errors:t=[],warnings:n=[]}=c.useContext(Gr);return{status:e,errors:t,warnings:n}};cee.Context=Gr;function ARe(e){const[t,n]=c.useState(e),r=c.useRef(null),a=c.useRef([]),i=c.useRef(!1);c.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt.cancel(r.current),r.current=null}),[]);function o(s){i.current||(r.current===null&&(a.current=[],r.current=Gt(()=>{r.current=null,n(l=>{let u=l;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,o]}function DRe(){const{itemRef:e}=c.useContext(ys),t=c.useRef({});function n(r,a){const i=a&&typeof a=="object"&&a.ref,o=r.join("_");return(t.current.name!==o||t.current.originRef!==i)&&(t.current.name=o,t.current.originRef=i,t.current.ref=aa(e(r),i)),t.current.ref}return n}const MRe=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},LRe=Gd(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=aee(e,n);return[MRe(r)]}),kRe=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:i,warnings:o,_internalItemRender:s,extra:l,help:u,fieldId:d,marginBottom:p,onErrorVisibleChanged:f}=e,m=`${t}-item`,g=c.useContext(ys),h=r||g.wrapperCol||{},v=ie(`${m}-control`,h.className),S=c.useMemo(()=>Object.assign({},g),[g]);delete S.labelCol,delete S.wrapperCol;const _=c.createElement("div",{className:`${m}-control-input`},c.createElement("div",{className:`${m}-control-input-content`},a)),E=c.useMemo(()=>({prefixCls:t,status:n}),[t,n]),y=p!==null||i.length||o.length?c.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},c.createElement(VL.Provider,{value:E},c.createElement(iee,{fieldId:d,errors:i,warnings:o,help:u,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:f})),!!p&&c.createElement("div",{style:{width:0,height:p}})):null,C={};d&&(C.id=`${d}_extra`);const T=l?c.createElement("div",Object.assign({},C,{className:`${m}-extra`}),l):null,x=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:_,errorList:y,extra:T}):c.createElement(c.Fragment,null,_,y,T);return c.createElement(ys.Provider,{value:S},c.createElement(Rn,Object.assign({},h,{className:v}),x),c.createElement(LRe,{prefixCls:t}))};var PRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},$Re=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PRe}))},uee=c.forwardRef($Re),FRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:i,colon:o,required:s,requiredMark:l,tooltip:u,vertical:d}=e;var p;const[f]=Go("Form"),{labelAlign:m,labelCol:g,labelWrap:h,colon:v}=c.useContext(ys);if(!n)return null;const S=a||g||{},_=i||m,E=`${t}-item-label`,y=ie(E,_==="left"&&`${E}-left`,S.className,{[`${E}-wrap`]:!!h});let C=n;const T=o===!0||v!==!1&&o!==!1;T&&!d&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const R=BRe(u);if(R){const{icon:k=c.createElement(uee,null)}=R,P=FRe(R,["icon"]),M=c.createElement(Jt,Object.assign({},P),c.cloneElement(k,{className:`${t}-item-tooltip`,title:"",onClick:N=>{N.preventDefault()},tabIndex:null}));C=c.createElement(c.Fragment,null,C,M)}const w=l==="optional",I=typeof l=="function";I?C=l(C,{required:!!s}):w&&!s&&(C=c.createElement(c.Fragment,null,C,c.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((p=zi.Form)===null||p===void 0?void 0:p.optional))));const O=ie({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:w||I,[`${t}-item-no-colon`]:!T});return c.createElement(Rn,Object.assign({},S,{className:y}),c.createElement("label",{htmlFor:r,className:O,title:typeof n=="string"?n:""},C))},jRe={success:Ym,warning:wb,error:Bc,validating:Ss};function dee(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:i,prefixCls:o,meta:s,noStyle:l}=e;const u=`${o}-item`,{feedbackIcons:d}=c.useContext(ys),p=see(n,r,s,null,!!a,i),{isFormItemInput:f,status:m,hasFeedback:g,feedbackIcon:h}=c.useContext(Gr),v=c.useMemo(()=>{var S;let _;if(a){const y=a!==!0&&a.icons||d,C=p&&((S=y==null?void 0:y({status:p,errors:n,warnings:r}))===null||S===void 0?void 0:S[p]),T=p&&jRe[p];_=C!==!1&&T?c.createElement("span",{className:ie(`${u}-feedback-icon`,`${u}-feedback-icon-${p}`)},C||c.createElement(T,null)):null}const E={status:p||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:_,isFormItemInput:!0};return l&&(E.status=(p??m)||"",E.isFormItemInput=f,E.hasFeedback=!!(a??g),E.feedbackIcon=a!==void 0?E.feedbackIcon:h),E},[p,a,l,f,m]);return c.createElement(Gr.Provider,{value:v},t)}var zRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(O&&x.current){const $=getComputedStyle(x.current);M(parseInt($.marginBottom,10))}},[O,k]);const N=$=>{$||M(null)},D=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=$?R:u.errors,B=$?w:u.warnings;return see(F,B,u,"",!!d,l)}(),L=ie(E,n,r,{[`${E}-with-help`]:I||R.length||w.length,[`${E}-has-feedback`]:D&&d,[`${E}-has-success`]:D==="success",[`${E}-has-warning`]:D==="warning",[`${E}-has-error`]:D==="error",[`${E}-is-validating`]:D==="validating",[`${E}-hidden`]:p,[`${E}-${S}`]:S});return c.createElement("div",{className:L,style:a,ref:x},c.createElement(Oa,Object.assign({className:`${E}-row`},An(_,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),c.createElement(URe,Object.assign({htmlFor:m},e,{requiredMark:y,required:g??h,prefixCls:t,vertical:T})),c.createElement(kRe,Object.assign({},e,u,{errors:R,warnings:w,prefixCls:t,status:D,help:i,marginBottom:P,onErrorVisibleChanged:N}),c.createElement(JX.Provider,{value:v},c.createElement(dee,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:D},f)))),!!P&&c.createElement("div",{className:`${E}-margin-offset`,style:{marginBottom:-P}}))}const GRe="__SPLIT__";function VRe(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const i=e[a],o=t[a];return i===o||typeof i=="function"||typeof o=="function"})}const qRe=c.memo(e=>{let{children:t}=e;return t},(e,t)=>VRe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function i4(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function WRe(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:i,shouldUpdate:o,rules:s,children:l,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:m,hidden:g,help:h,layout:v}=e,{getPrefixCls:S}=c.useContext(lt),{name:_}=c.useContext(ys),E=NRe(l),y=typeof E=="function",C=c.useContext(JX),{validateTrigger:T}=c.useContext(Ic),x=m!==void 0?m:T,R=t!=null,w=S("form",i),I=Zn(w),[O,k,P]=Dk(w,I);Il();const M=c.useContext(gm),N=c.useRef(),[A,D]=ARe({}),[L,$]=wc(()=>i4()),F=Y=>{const X=M==null?void 0:M.getKey(Y.name);if($(Y.destroy?i4():Y,!0),n&&h!==!1&&C){let V=Y.name;if(Y.destroy)V=N.current||V;else if(X!==void 0){const[H,q]=X;V=[H].concat($e(q)),N.current=V}C(Y,V)}},B=(Y,X)=>{D(V=>{const H=Object.assign({},V),K=[].concat($e(Y.name.slice(0,-1)),$e(X)).join(GRe);return Y.destroy?delete H[K]:H[K]=Y,H})},[z,U]=c.useMemo(()=>{const Y=$e(L.errors),X=$e(L.warnings);return Object.values(A).forEach(V=>{Y.push.apply(Y,$e(V.errors||[])),X.push.apply(X,$e(V.warnings||[]))}),[Y,X]},[A,L.errors,L.warnings]),j=DRe();function G(Y,X,V){return n&&!g?c.createElement(dee,{prefixCls:w,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:z,warnings:U,noStyle:!0},Y):c.createElement(HRe,Object.assign({key:"row"},e,{className:ie(r,P,I,k),prefixCls:w,fieldId:X,isRequired:V,errors:z,warnings:U,meta:L,onSubItemMetaChange:B,layout:v}),Y)}if(!R&&!y&&!a)return O(G(E));let J={};return typeof d=="string"?J.label=d:t&&(J.label=String(t)),p&&(J=Object.assign(Object.assign({},J),p)),O(c.createElement(HL,Object.assign({},e,{messageVariables:J,trigger:f,validateTrigger:x,onMetaChange:F}),(Y,X,V)=>{const H=xf(t).length&&X?X.name:[],q=oee(H,_),K=u!==void 0?u:!!(s!=null&&s.some(se=>{if(se&&typeof se=="object"&&se.required&&!se.warningOnly)return!0;if(typeof se=="function"){const ue=se(V);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),Z=Object.assign({},Y);let te=null;if(Array.isArray(E)&&R)te=E;else if(!(y&&(!(o||a)||R))){if(!(a&&!y&&!R))if(c.isValidElement(E)){const se=Object.assign(Object.assign({},E.props),Z);if(se.id||(se.id=q),h||z.length>0||U.length>0||e.extra){const de=[];(h||z.length>0)&&de.push(`${q}_help`),e.extra&&de.push(`${q}_extra`),se["aria-describedby"]=de.join(" ")}z.length>0&&(se["aria-invalid"]="true"),K&&(se["aria-required"]="true"),fo(E)&&(se.ref=j(H,E)),new Set([].concat($e(xf(f)),$e(xf(x)))).forEach(de=>{se[de]=function(){for(var Te,Ee,ge,re,ne,ae=arguments.length,le=new Array(ae),pe=0;pe{var{prefixCls:t,children:n}=e,r=YRe(e,["prefixCls","children"]);const{getPrefixCls:a}=c.useContext(lt),i=a("form",t),o=c.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return c.createElement(KX,Object.assign({},r),(s,l,u)=>c.createElement(VL.Provider,{value:o},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),l,{errors:u.errors,warnings:u.warnings})))};function XRe(){const{form:e}=c.useContext(ys);return e}const Xt=ORe;Xt.Item=mg;Xt.List=KRe;Xt.ErrorList=iee;Xt.useForm=lee;Xt.useFormInstance=XRe;Xt.useWatch=ZX;Xt.Provider=eQ;Xt.create=()=>{};function pee(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function SD(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Mo(e,t,n,r){var a=em.unstable_batchedUpdates?function(o){em.unstable_batchedUpdates(n,o)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}var gg=c.createContext(null),QRe=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,o=t.rootClassName,s=t.icons,l=t.countRender,u=t.showSwitch,d=t.showProgress,p=t.current,f=t.transform,m=t.count,g=t.scale,h=t.minScale,v=t.maxScale,S=t.closeIcon,_=t.onSwitchLeft,E=t.onSwitchRight,y=t.onClose,C=t.onZoomIn,T=t.onZoomOut,x=t.onRotateRight,R=t.onRotateLeft,w=t.onFlipX,I=t.onFlipY,O=t.onReset,k=t.toolbarRender,P=t.zIndex,M=t.image,N=c.useContext(gg),A=s.rotateLeft,D=s.rotateRight,L=s.zoomIn,$=s.zoomOut,F=s.close,B=s.left,z=s.right,U=s.flipX,j=s.flipY,G="".concat(i,"-operations-operation");c.useEffect(function(){var V=function(q){q.keyCode===Fe.ESC&&y()};return n&&window.addEventListener("keydown",V),function(){window.removeEventListener("keydown",V)}},[n]);var J=[{icon:j,onClick:I,type:"flipY"},{icon:U,onClick:w,type:"flipX"},{icon:A,onClick:R,type:"rotateLeft"},{icon:D,onClick:x,type:"rotateRight"},{icon:$,onClick:T,type:"zoomOut",disabled:g<=h},{icon:L,onClick:C,type:"zoomIn",disabled:g===v}],Y=J.map(function(V){var H,q=V.icon,K=V.onClick,Z=V.type,te=V.disabled;return c.createElement("div",{className:ie(G,(H={},W(H,"".concat(i,"-operations-operation-").concat(Z),!0),W(H,"".concat(i,"-operations-operation-disabled"),!!te),H)),onClick:K,key:Z},q)}),X=c.createElement("div",{className:"".concat(i,"-operations")},Y);return c.createElement(ta,{visible:n,motionName:r},function(V){var H=V.className,q=V.style;return c.createElement(eg,{open:!0,getContainer:a??document.body},c.createElement("div",{className:ie("".concat(i,"-operations-wrapper"),H,o),style:ee(ee({},q),{},{zIndex:P})},S===null?null:c.createElement("button",{className:"".concat(i,"-close"),onClick:y},S||F),u&&c.createElement(c.Fragment,null,c.createElement("div",{className:ie("".concat(i,"-switch-left"),W({},"".concat(i,"-switch-left-disabled"),p===0)),onClick:_},B),c.createElement("div",{className:ie("".concat(i,"-switch-right"),W({},"".concat(i,"-switch-right-disabled"),p===m-1)),onClick:E},z)),c.createElement("div",{className:"".concat(i,"-footer")},d&&c.createElement("div",{className:"".concat(i,"-progress")},l?l(p+1,m):"".concat(p+1," / ").concat(m)),k?k(X,ee(ee({icons:{flipYIcon:Y[0],flipXIcon:Y[1],rotateLeftIcon:Y[2],rotateRightIcon:Y[3],zoomOutIcon:Y[4],zoomInIcon:Y[5]},actions:{onFlipY:I,onFlipX:w,onRotateLeft:R,onRotateRight:x,onZoomOut:T,onZoomIn:C,onReset:O,onClose:y},transform:f},N?{current:p,total:m}:{}),{},{image:M})):X)))})},yh={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ZRe(e,t,n,r){var a=c.useRef(null),i=c.useRef([]),o=c.useState(yh),s=oe(o,2),l=s[0],u=s[1],d=function(g){u(yh),Ui(yh,l)||r==null||r({transform:yh,action:g})},p=function(g,h){a.current===null&&(i.current=[],a.current=Gt(function(){u(function(v){var S=v;return i.current.forEach(function(_){S=ee(ee({},S),_)}),a.current=null,r==null||r({transform:S,action:h}),S})})),i.current.push(ee(ee({},l),g))},f=function(g,h,v,S,_){var E=e.current,y=E.width,C=E.height,T=E.offsetWidth,x=E.offsetHeight,R=E.offsetLeft,w=E.offsetTop,I=g,O=l.scale*g;O>n?(O=n,I=n/l.scale):Or){if(t>0)return W({},e,i);if(t<0&&ar)return W({},e,t<0?i:-i);return{}}function fee(e,t,n,r){var a=pee(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=ee(ee({},o4("x",n,e,i)),o4("y",r,t,o))),s}var ju=1,JRe=1;function ewe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),h.current={diffX:C.pageX-u,diffY:C.pageY-d,transformX:u,transformY:d},g(!0))},S=function(C){n&&m&&i({x:C.pageX-h.current.diffX,y:C.pageY-h.current.diffY},"move")},_=function(){if(n&&m){g(!1);var C=h.current,T=C.transformX,x=C.transformY,R=u!==T&&d!==x;if(!R)return;var w=e.current.offsetWidth*l,I=e.current.offsetHeight*l,O=e.current.getBoundingClientRect(),k=O.left,P=O.top,M=s%180!==0,N=fee(M?I:w,M?w:I,k,P);N&&i(ee({},N),"dragRebound")}},E=function(C){if(!(!n||C.deltaY==0)){var T=Math.abs(C.deltaY/100),x=Math.min(T,JRe),R=ju+x*r;C.deltaY>0&&(R=ju/R),o(R,"wheel",C.clientX,C.clientY)}};return c.useEffect(function(){var y,C,T,x;if(t){T=Mo(window,"mouseup",_,!1),x=Mo(window,"mousemove",S,!1);try{window.top!==window.self&&(y=Mo(window.top,"mouseup",_,!1),C=Mo(window.top,"mousemove",S,!1))}catch{}}return function(){var R,w,I,O;(R=T)===null||R===void 0||R.remove(),(w=x)===null||w===void 0||w.remove(),(I=y)===null||I===void 0||I.remove(),(O=C)===null||O===void 0||O.remove()}},[n,m,u,d,s,t]),{isMoving:m,onMouseDown:v,onMouseMove:S,onMouseUp:_,onWheel:E}}function twe(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function mee(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=c.useState(n?"loading":"normal"),i=oe(a,2),o=i[0],s=i[1],l=c.useRef(!1),u=o==="error";c.useEffect(function(){var m=!0;return twe(t).then(function(g){!g&&m&&s("error")}),function(){m=!1}},[t]),c.useEffect(function(){n&&!l.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},p=function(g){l.current=!1,o==="loading"&&g!==null&&g!==void 0&&g.complete&&(g.naturalWidth||g.naturalHeight)&&(l.current=!0,d())},f=u&&r?{src:r}:{onLoad:d,src:t};return[p,f,o]}function R_(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function nwe(e,t,n,r){var a=R_(e,n),i=R_(t,r);if(a===0&&i===0)return[e.x,e.y];var o=a/(a+i),s=e.x+o*(t.x-e.x),l=e.y+o*(t.y-e.y);return[s,l]}function rwe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(C){h.current=ee(ee({},h.current),C)},S=function(C){if(t){C.stopPropagation(),g(!0);var T=C.touches,x=T===void 0?[]:T;x.length>1?v({point1:{x:x[0].clientX,y:x[0].clientY},point2:{x:x[1].clientX,y:x[1].clientY},eventType:"touchZoom"}):v({point1:{x:x[0].clientX-u,y:x[0].clientY-d},eventType:"move"})}},_=function(C){var T=C.touches,x=T===void 0?[]:T,R=h.current,w=R.point1,I=R.point2,O=R.eventType;if(x.length>1&&O==="touchZoom"){var k={x:x[0].clientX,y:x[0].clientY},P={x:x[1].clientX,y:x[1].clientY},M=nwe(w,I,k,P),N=oe(M,2),A=N[0],D=N[1],L=R_(k,P)/R_(w,I);o(L,"touchZoom",A,D,!0),v({point1:k,point2:P,eventType:"touchZoom"})}else O==="move"&&(i({x:x[0].clientX-w.x,y:x[0].clientY-w.y},"move"),v({eventType:"move"}))},E=function(){if(n){if(m&&g(!1),v({eventType:"none"}),r>l)return i({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*l,T=e.current.offsetHeight*l,x=e.current.getBoundingClientRect(),R=x.left,w=x.top,I=s%180!==0,O=fee(I?T:C,I?C:T,R,w);O&&i(ee({},O),"dragRebound")}};return c.useEffect(function(){var y;return n&&t&&(y=Mo(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=y)===null||C===void 0||C.remove()}},[n,t]),{isTouching:m,onTouchStart:S,onTouchMove:_,onTouchEnd:E}}var awe=["fallback","src","imgRef"],iwe=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],owe=function(t){var n=t.fallback,r=t.src,a=t.imgRef,i=Et(t,awe),o=mee({src:r,fallback:n}),s=oe(o,2),l=s[0],u=s[1];return ce.createElement("img",_e({ref:function(p){a.current=p,l(p)}},i,u))},gee=function(t){var n=t.prefixCls,r=t.src,a=t.alt,i=t.imageInfo,o=t.fallback,s=t.movable,l=s===void 0?!0:s,u=t.onClose,d=t.visible,p=t.icons,f=p===void 0?{}:p,m=t.rootClassName,g=t.closeIcon,h=t.getContainer,v=t.current,S=v===void 0?0:v,_=t.count,E=_===void 0?1:_,y=t.countRender,C=t.scaleStep,T=C===void 0?.5:C,x=t.minScale,R=x===void 0?1:x,w=t.maxScale,I=w===void 0?50:w,O=t.transitionName,k=O===void 0?"zoom":O,P=t.maskTransitionName,M=P===void 0?"fade":P,N=t.imageRender,A=t.imgCommonProps,D=t.toolbarRender,L=t.onTransform,$=t.onChange,F=Et(t,iwe),B=c.useRef(),z=c.useContext(gg),U=z&&E>1,j=z&&E>=1,G=c.useState(!0),J=oe(G,2),Y=J[0],X=J[1],V=ZRe(B,R,I,L),H=V.transform,q=V.resetTransform,K=V.updateTransform,Z=V.dispatchZoomChange,te=ewe(B,l,d,T,H,K,Z),se=te.isMoving,ue=te.onMouseDown,me=te.onWheel,de=rwe(B,l,d,R,H,K,Z),Te=de.isTouching,Ee=de.onTouchStart,ge=de.onTouchMove,re=de.onTouchEnd,ne=H.rotate,ae=H.scale,le=ie(W({},"".concat(n,"-moving"),se));c.useEffect(function(){Y||X(!0)},[Y]);var pe=function(){q("close")},Re=function(){Z(ju+T,"zoomIn")},Se=function(){Z(ju/(ju+T),"zoomOut")},Pe=function(){K({rotate:ne+90},"rotateRight")},fe=function(){K({rotate:ne-90},"rotateLeft")},ve=function(){K({flipX:!H.flipX},"flipX")},Ae=function(){K({flipY:!H.flipY},"flipY")},ye=function(){q("reset")},be=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S>0&&(X(!1),q("prev"),$==null||$(S-1,S))},Ne=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S({position:e||"absolute",inset:0}),Iwe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new an("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},vi),{padding:`0 ${Q(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},Owe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:u,iconCls:d,colorTextLightSolid:p}=e,f=new an(n).setAlpha(.1),m=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Q(o)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},Nwe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new an(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},Awe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},yD()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},yD()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Owe(e),Nwe(e)]}]},Dwe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Iwe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},yD())}}},Mwe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Kd(e,"zoom"),"&":WL(e,!0)}},Lwe=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new an(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new an(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new an(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),hee=cn("Image",e=>{const t=`${e.componentCls}-preview`,n=Ht(e,{previewCls:t,modalMaskBg:new an("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Dwe(n),Awe(n),oQ(Ht(n,{componentCls:t})),Mwe(n)]},Lwe);var kwe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{previewPrefixCls:t,preview:n}=e,r=kwe(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=c.useContext(lt),i=a("image",t),o=`${i}-preview`,s=a(),l=Zn(i),[u,d,p]=hee(i,l),[f]=bo("ImagePreview",typeof n=="object"?n.zIndex:void 0),m=c.useMemo(()=>{var g;if(n===!1)return n;const h=typeof n=="object"?n:{},v=ie(d,p,l,(g=h.rootClassName)!==null&&g!==void 0?g:"");return Object.assign(Object.assign({},h),{transitionName:ya(s,"zoom",h.transitionName),maskTransitionName:ya(s,"fade",h.maskTransitionName),rootClassName:v,zIndex:f})},[n]);return u(c.createElement(Mk.PreviewGroup,Object.assign({preview:m,previewPrefixCls:o,icons:vee},r)))};var c4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,preview:r,className:a,rootClassName:i,style:o}=e,s=c4(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:u=zi,getPopupContainer:d,image:p}=c.useContext(lt),f=l("image",n),m=l(),g=u.Image||zi.Image,h=Zn(f),[v,S,_]=hee(f,h),E=ie(i,S,_,h),y=ie(a,S,p==null?void 0:p.className),[C]=bo("ImagePreview",typeof r=="object"?r.zIndex:void 0),T=c.useMemo(()=>{var R;if(r===!1)return r;const w=typeof r=="object"?r:{},{getContainer:I,closeIcon:O}=w,k=c4(w,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:c.createElement("div",{className:`${f}-mask-info`},c.createElement(uS,null),g==null?void 0:g.preview),icons:vee},k),{getContainer:I??d,transitionName:ya(m,"zoom",w.transitionName),maskTransitionName:ya(m,"fade",w.maskTransitionName),zIndex:C,closeIcon:O??((R=p==null?void 0:p.preview)===null||R===void 0?void 0:R.closeIcon)})},[r,g,(t=p==null?void 0:p.preview)===null||t===void 0?void 0:t.closeIcon]),x=Object.assign(Object.assign({},p==null?void 0:p.style),o);return v(c.createElement(Mk,Object.assign({prefixCls:f,preview:T,rootClassName:E,className:y,style:x},s)))};Yl.PreviewGroup=Pwe;function $we(e,t,n){return typeof n=="boolean"?n:e.length?!0:br(t).some(a=>a.type===Qb)}const Fwe=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:a,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:a},[`${t}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${n}`,borderInlineStart:0}}}},Bwe=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:a,footerBg:i,triggerBg:o,headerHeight:s,headerPadding:l,headerColor:u,footerPadding:d,triggerHeight:p,zeroTriggerHeight:f,zeroTriggerWidth:m,motionDurationMid:g,motionDurationSlow:h,fontSize:v,borderRadius:S,bodyBg:_,headerBg:E,siderBg:y}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:_,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:y,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:a,lineHeight:Q(p),textAlign:"center",background:o,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(m).mul(-1).equal(),zIndex:1,width:m,height:f,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:y,borderStartStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(m).mul(-1).equal(),borderStartStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:S}}}}},Fwe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:l,color:u,lineHeight:Q(s),background:E,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:v,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Uwe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:s,colorBgContainer:l}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+o*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:a}},_ee=cn("Layout",e=>[Bwe(e)],Uwe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var bee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ac.forwardRef((o,s)=>c.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},o)))}const Lk=c.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:i}=e,o=bee(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=c.useContext(lt),l=s("layout",n),[u,d,p]=_ee(l),f=r?`${l}-${r}`:l;return u(c.createElement(i,Object.assign({className:ie(n||f,a,d,p),ref:t},o)))}),jwe=c.forwardRef((e,t)=>{const{direction:n}=c.useContext(lt),[r,a]=c.useState([]),{prefixCls:i,className:o,rootClassName:s,children:l,hasSider:u,tagName:d,style:p}=e,f=bee(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),m=An(f,["suffixCls"]),{getPrefixCls:g,layout:h}=c.useContext(lt),v=g("layout",i),S=$we(r,l,u),[_,E,y]=_ee(v),C=ie(v,{[`${v}-has-sider`]:S,[`${v}-rtl`]:n==="rtl"},h==null?void 0:h.className,o,s,E,y),T=c.useMemo(()=>({siderHook:{addSider:x=>{a(R=>[].concat($e(R),[x]))},removeSider:x=>{a(R=>R.filter(w=>w!==x))}}}),[]);return _(c.createElement(mZ.Provider,{value:T},c.createElement(d,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},h==null?void 0:h.style),p)},m),l)))}),zwe=pS({tagName:"div",displayName:"Layout"})(jwe),See=pS({suffixCls:"header",tagName:"header",displayName:"Header"})(Lk),Eee=pS({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Lk),yee=pS({suffixCls:"content",tagName:"main",displayName:"Content"})(Lk),Ho=zwe;Ho.Header=See;Ho.Footer=Eee;Ho.Content=yee;Ho.Sider=Qb;Ho._InternalSiderContext=Xb;const Cee=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var Hwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Gwe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Hwe}))},u4=c.forwardRef(Gwe),Vwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},qwe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Vwe}))},d4=c.forwardRef(qwe),Wwe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},Ywe=["10","20","50","100"],Kwe=function(t){var n=t.pageSizeOptions,r=n===void 0?Ywe:n,a=t.locale,i=t.changeSize,o=t.pageSize,s=t.goButton,l=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,p=t.selectPrefixCls,f=t.disabled,m=t.buildOptionText,g=ce.useState(""),h=oe(g,2),v=h[0],S=h[1],_=function(){return!v||Number.isNaN(v)?void 0:Number(v)},E=typeof m=="function"?m:function(M){return"".concat(M," ").concat(a.items_per_page)},y=function(N){i==null||i(Number(N))},C=function(N){S(N.target.value)},T=function(N){s||v===""||(S(""),!(N.relatedTarget&&(N.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||N.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(l==null||l(_())))},x=function(N){v!==""&&(N.keyCode===Fe.ENTER||N.type==="click")&&(S(""),l==null||l(_()))},R=function(){return r.some(function(N){return N.toString()===o.toString()})?r:r.concat([o.toString()]).sort(function(N,A){var D=Number.isNaN(Number(N))?0:Number(N),L=Number.isNaN(Number(A))?0:Number(A);return D-L})},w="".concat(u,"-options");if(!i&&!l)return null;var I=null,O=null,k=null;if(i&&d){var P=R().map(function(M,N){return ce.createElement(d.Option,{key:N,value:M.toString()},E(M))});I=ce.createElement(d,{disabled:f,prefixCls:p,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(o||r[0]).toString(),onChange:y,getPopupContainer:function(N){return N.parentNode},"aria-label":a.page_size,defaultOpen:!1},P)}return l&&(s&&(k=typeof s=="boolean"?ce.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:f,className:"".concat(w,"-quick-jumper-button")},a.jump_to_confirm):ce.createElement("span",{onClick:x,onKeyUp:x},s)),O=ce.createElement("div",{className:"".concat(w,"-quick-jumper")},a.jump_to,ce.createElement("input",{disabled:f,type:"text",value:v,onChange:C,onKeyUp:x,onBlur:T,"aria-label":a.page}),a.page,k)),ce.createElement("li",{className:w},I,O)},Bp=function(t){var n,r=t.rootPrefixCls,a=t.page,i=t.active,o=t.className,s=t.showTitle,l=t.onClick,u=t.onKeyPress,d=t.itemRender,p="".concat(r,"-item"),f=ie(p,"".concat(p,"-").concat(a),(n={},W(n,"".concat(p,"-active"),i),W(n,"".concat(p,"-disabled"),!a),n),o),m=function(){l(a)},g=function(S){u(S,l,a)},h=d(a,"page",ce.createElement("a",{rel:"nofollow"},a));return h?ce.createElement("li",{title:s?String(a):null,className:f,onClick:m,onKeyDown:g,tabIndex:0},h):null},Xwe=function(t,n,r){return r};function p4(){}function f4(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function zl(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var Qwe=function(t){var n,r=t.prefixCls,a=r===void 0?"rc-pagination":r,i=t.selectPrefixCls,o=i===void 0?"rc-select":i,s=t.className,l=t.selectComponentClass,u=t.current,d=t.defaultCurrent,p=d===void 0?1:d,f=t.total,m=f===void 0?0:f,g=t.pageSize,h=t.defaultPageSize,v=h===void 0?10:h,S=t.onChange,_=S===void 0?p4:S,E=t.hideOnSinglePage,y=t.align,C=t.showPrevNextJumpers,T=C===void 0?!0:C,x=t.showQuickJumper,R=t.showLessItems,w=t.showTitle,I=w===void 0?!0:w,O=t.onShowSizeChange,k=O===void 0?p4:O,P=t.locale,M=P===void 0?Wwe:P,N=t.style,A=t.totalBoundaryShowSizeChanger,D=A===void 0?50:A,L=t.disabled,$=t.simple,F=t.showTotal,B=t.showSizeChanger,z=t.pageSizeOptions,U=t.itemRender,j=U===void 0?Xwe:U,G=t.jumpPrevIcon,J=t.jumpNextIcon,Y=t.prevIcon,X=t.nextIcon,V=ce.useRef(null),H=ln(10,{value:g,defaultValue:v}),q=oe(H,2),K=q[0],Z=q[1],te=ln(1,{value:u,defaultValue:p,postState:function(Ot){return Math.max(1,Math.min(Ot,zl(void 0,K,m)))}}),se=oe(te,2),ue=se[0],me=se[1],de=ce.useState(ue),Te=oe(de,2),Ee=Te[0],ge=Te[1];c.useEffect(function(){ge(ue)},[ue]);var re=Math.max(1,ue-(R?3:5)),ne=Math.min(zl(void 0,K,m),ue+(R?3:5));function ae(yt,Ot){var Mt=yt||ce.createElement("button",{type:"button","aria-label":Ot,className:"".concat(a,"-item-link")});return typeof yt=="function"&&(Mt=ce.createElement(yt,ee({},t))),Mt}function le(yt){var Ot=yt.target.value,Mt=zl(void 0,K,m),En;return Ot===""?En=Ot:Number.isNaN(Number(Ot))?En=Ee:Ot>=Mt?En=Mt:En=Number(Ot),En}function pe(yt){return f4(yt)&&yt!==ue&&f4(m)&&m>0}var Re=m>K?x:!1;function Se(yt){(yt.keyCode===Fe.UP||yt.keyCode===Fe.DOWN)&&yt.preventDefault()}function Pe(yt){var Ot=le(yt);switch(Ot!==Ee&&ge(Ot),yt.keyCode){case Fe.ENTER:Ae(Ot);break;case Fe.UP:Ae(Ot-1);break;case Fe.DOWN:Ae(Ot+1);break}}function fe(yt){Ae(le(yt))}function ve(yt){var Ot=zl(yt,K,m),Mt=ue>Ot&&Ot!==0?Ot:ue;Z(yt),ge(Mt),k==null||k(ue,yt),me(Mt),_==null||_(Mt,yt)}function Ae(yt){if(pe(yt)&&!L){var Ot=zl(void 0,K,m),Mt=yt;return yt>Ot?Mt=Ot:yt<1&&(Mt=1),Mt!==Ee&&ge(Mt),me(Mt),_==null||_(Mt,K),Mt}return ue}var ye=ue>1,be=ueD;function Ie(){ye&&Ae(ue-1)}function xe(){be&&Ae(ue+1)}function ke(){Ae(re)}function rt(){Ae(ne)}function Me(yt,Ot){if(yt.key==="Enter"||yt.charCode===Fe.ENTER||yt.keyCode===Fe.ENTER){for(var Mt=arguments.length,En=new Array(Mt>2?Mt-2:0),Hn=2;Hnm?m:ue*K])),pt=null,We=zl(void 0,K,m);if(E&&m<=K)return null;var Ve=[],Ze={rootPrefixCls:a,onClick:Ae,onKeyPress:Me,showTitle:I,itemRender:j,page:-1},dt=ue-1>0?ue-1:0,It=ue+1=et*2&&ue!==3&&(Ve[0]=ce.cloneElement(Ve[0],{className:ie("".concat(a,"-item-after-jump-prev"),Ve[0].props.className)}),Ve.unshift(Be)),We-ue>=et*2&&ue!==We-2){var _t=Ve[Ve.length-1];Ve[Ve.length-1]=ce.cloneElement(_t,{className:ie("".concat(a,"-item-before-jump-next"),_t.props.className)}),Ve.push(pt)}it!==1&&Ve.unshift(ce.createElement(Bp,_e({},Ze,{key:1,page:1}))),Ke!==We&&Ve.push(ce.createElement(Bp,_e({},Ze,{key:We,page:We})))}var xt=He(dt);if(xt){var kt=!ye||!We;xt=ce.createElement("li",{title:I?M.prev_page:null,onClick:Ie,tabIndex:kt?null:0,onKeyDown:Ce,className:ie("".concat(a,"-prev"),W({},"".concat(a,"-disabled"),kt)),"aria-disabled":kt},xt)}var tn=ze(It);if(tn){var nn,rn;$?(nn=!be,rn=ye?0:null):(nn=!be||!We,rn=nn?null:0),tn=ce.createElement("li",{title:I?M.next_page:null,onClick:xe,tabIndex:rn,onKeyDown:De,className:ie("".concat(a,"-next"),W({},"".concat(a,"-disabled"),nn)),"aria-disabled":nn},tn)}var Vt=ie(a,s,(n={},W(n,"".concat(a,"-start"),y==="start"),W(n,"".concat(a,"-center"),y==="center"),W(n,"".concat(a,"-end"),y==="end"),W(n,"".concat(a,"-simple"),$),W(n,"".concat(a,"-disabled"),L),n));return ce.createElement("ul",_e({className:Vt,style:N,ref:V},Je),mt,xt,$?ot:Ve,tn,ce.createElement(Kwe,{locale:M,rootPrefixCls:a,disabled:L,selectComponentClass:l,selectPrefixCls:o,changeSize:Ne?ve:null,pageSize:K,pageSizeOptions:z,quickGo:Re?Ae:null,goButton:ct}))};const Tee=e=>c.createElement($r,Object.assign({},e,{showSearch:!0,size:"small"})),xee=e=>c.createElement($r,Object.assign({},e,{showSearch:!0,size:"middle"}));Tee.Option=$r.Option;xee.Option=$r.Option;const Zwe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Jwe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Q(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Q(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + ${n}-col-xl-24${t}-label`]:io(e),[`@media (max-width: ${X(e.screenXSMax)})`]:[aee(e),{[t]:{[`${n}-col-xs-24${t}-label`]:io(e)}}],[`@media (max-width: ${X(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:io(e)}},[`@media (max-width: ${X(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:io(e)}},[`@media (max-width: ${X(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:io(e)}}}},xRe=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),iee=(e,t)=>Ht(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),Lk=sn("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=iee(e,n);return[SRe(r),ERe(r),_Re(r),a4(r,r.componentCls),a4(r,r.formItemCls),yRe(r),CRe(r),TRe(r),ag(r),XL]},xRe,{order:-1e3}),i4=[];function wy(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const oee=e=>{let{help:t,helpStatus:n,errors:r=i4,warnings:a=i4,className:i,fieldId:o,onVisibleChanged:s}=e;const{prefixCls:l}=c.useContext(WL),u=`${l}-item-explain`,d=Hn(l),[p,f,m]=Lk(l,d),g=c.useMemo(()=>Td(l),[l]),h=O_(r),v=O_(a),S=c.useMemo(()=>t!=null?[wy(t,"help",n)]:[].concat($e(h.map((E,y)=>wy(E,"error","error",y))),$e(v.map((E,y)=>wy(E,"warning","warning",y)))),[t,n,h,v]),b={};return o&&(b.id=`${o}_help`),p(c.createElement(ta,{motionDeadline:g.motionDeadline,motionName:`${l}-show-help`,visible:!!S.length,onVisibleChanged:s},E=>{const{className:y,style:C}=E;return c.createElement("div",Object.assign({},b,{className:ie(u,y,m,d,i,f),style:C,role:"alert"}),c.createElement(PL,Object.assign({keys:S},Td(l),{motionName:`${l}-show-help-item`,component:!1}),T=>{const{key:x,error:R,errorStatus:w,className:I,style:O}=T;return c.createElement("div",{key:x,className:ie(I,{[`${u}-${w}`]:w}),style:O},R)}))}))},RRe=["parentNode"],wRe="form_item";function wf(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function see(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:RRe.includes(n)?`${wRe}_${n}`:n}function lee(e,t,n,r,a,i){let o=r;return i!==void 0?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||a&&n.validated)&&(o="success"),o}function o4(e){return wf(e).join("_")}function IRe(e,t){const n=t.getFieldInstance(e),r=rK(n);if(r)return r;const a=see(wf(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function cee(e){const[t]=qL(),n=c.useRef({}),r=c.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>i=>{const o=o4(a);i?n.current[o]=i:delete n.current[o]}},scrollToField:function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=IRe(a,r);o&&Ife(o,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:a=>{const i=o4(a);return n.current[i]}}),[e,t]);return[r]}var ORe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=c.useContext(ea),{getPrefixCls:r,direction:a,form:i}=c.useContext(lt),{prefixCls:o,className:s,rootClassName:l,size:u,disabled:d=n,form:p,colon:f,labelAlign:m,labelWrap:g,labelCol:h,wrapperCol:v,hideRequiredMark:S,layout:b="horizontal",scrollToFirstError:E,requiredMark:y,onFinishFailed:C,name:T,style:x,feedbackIcons:R,variant:w}=e,I=ORe(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),O=xr(u),k=c.useContext(FK),P=c.useMemo(()=>y!==void 0?y:S?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[S,y,i]),M=f??(i==null?void 0:i.colon),N=r("form",o),A=Hn(N),[D,L,$]=Lk(N,A),F=ie(N,`${N}-${b}`,{[`${N}-hide-required-mark`]:P===!1,[`${N}-rtl`]:a==="rtl",[`${N}-${O}`]:O},$,A,L,i==null?void 0:i.className,s,l),[B]=cee(p),{__INTERNAL__:z}=B;z.name=T;const U=c.useMemo(()=>({name:T,labelAlign:m,labelCol:h,labelWrap:g,wrapperCol:v,vertical:b==="vertical",colon:M,requiredMark:P,itemRef:z.itemRef,form:B,feedbackIcons:R}),[T,m,h,v,b,M,P,B,R]),j=c.useRef(null);c.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},B),{nativeElement:(Y=j.current)===null||Y===void 0?void 0:Y.nativeElement})});const G=(Y,Q)=>{if(Y){let V={block:"nearest"};typeof Y=="object"&&(V=Y),B.scrollToField(Q,V)}},J=Y=>{if(C==null||C(Y),Y.errorFields.length){const Q=Y.errorFields[0].name;if(E!==void 0){G(E,Q);return}i&&i.scrollToFirstError!==void 0&&G(i.scrollToFirstError,Q)}};return D(c.createElement(nQ.Provider,{value:w},c.createElement(DL,{disabled:d},c.createElement(Rc.Provider,{value:O},c.createElement(tQ,{validateMessages:k},c.createElement(Cs.Provider,{value:U},c.createElement(Xd,Object.assign({id:T},I,{name:T,onFinishFailed:J,form:B,ref:j,style:Object.assign(Object.assign({},i==null?void 0:i.style),x),className:F}))))))))},ARe=c.forwardRef(NRe);function DRe(e){if(typeof e=="function")return e;const t=_r(e);return t.length<=1?t[0]:t}const uee=()=>{const{status:e,errors:t=[],warnings:n=[]}=c.useContext(Gr);return{status:e,errors:t,warnings:n}};uee.Context=Gr;function MRe(e){const[t,n]=c.useState(e),r=c.useRef(null),a=c.useRef([]),i=c.useRef(!1);c.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt.cancel(r.current),r.current=null}),[]);function o(s){i.current||(r.current===null&&(a.current=[],r.current=Gt(()=>{r.current=null,n(l=>{let u=l;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,o]}function LRe(){const{itemRef:e}=c.useContext(Cs),t=c.useRef({});function n(r,a){const i=a&&typeof a=="object"&&a.ref,o=r.join("_");return(t.current.name!==o||t.current.originRef!==i)&&(t.current.name=o,t.current.originRef=i,t.current.ref=aa(e(r),i)),t.current.ref}return n}const kRe=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},PRe=Wd(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=iee(e,n);return[kRe(r)]}),$Re=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:i,warnings:o,_internalItemRender:s,extra:l,help:u,fieldId:d,marginBottom:p,onErrorVisibleChanged:f}=e,m=`${t}-item`,g=c.useContext(Cs),h=r||g.wrapperCol||{},v=ie(`${m}-control`,h.className),S=c.useMemo(()=>Object.assign({},g),[g]);delete S.labelCol,delete S.wrapperCol;const b=c.createElement("div",{className:`${m}-control-input`},c.createElement("div",{className:`${m}-control-input-content`},a)),E=c.useMemo(()=>({prefixCls:t,status:n}),[t,n]),y=p!==null||i.length||o.length?c.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},c.createElement(WL.Provider,{value:E},c.createElement(oee,{fieldId:d,errors:i,warnings:o,help:u,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:f})),!!p&&c.createElement("div",{style:{width:0,height:p}})):null,C={};d&&(C.id=`${d}_extra`);const T=l?c.createElement("div",Object.assign({},C,{className:`${m}-extra`}),l):null,x=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:b,errorList:y,extra:T}):c.createElement(c.Fragment,null,b,y,T);return c.createElement(Cs.Provider,{value:S},c.createElement(wn,Object.assign({},h,{className:v}),x),c.createElement(PRe,{prefixCls:t}))};var FRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},BRe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:FRe}))},dee=c.forwardRef(BRe),URe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:i,colon:o,required:s,requiredMark:l,tooltip:u,vertical:d}=e;var p;const[f]=qo("Form"),{labelAlign:m,labelCol:g,labelWrap:h,colon:v}=c.useContext(Cs);if(!n)return null;const S=a||g||{},b=i||m,E=`${t}-item-label`,y=ie(E,b==="left"&&`${E}-left`,S.className,{[`${E}-wrap`]:!!h});let C=n;const T=o===!0||v!==!1&&o!==!1;T&&!d&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const R=jRe(u);if(R){const{icon:k=c.createElement(dee,null)}=R,P=URe(R,["icon"]),M=c.createElement(Jt,Object.assign({},P),c.cloneElement(k,{className:`${t}-item-tooltip`,title:"",onClick:N=>{N.preventDefault()},tabIndex:null}));C=c.createElement(c.Fragment,null,C,M)}const w=l==="optional",I=typeof l=="function";I?C=l(C,{required:!!s}):w&&!s&&(C=c.createElement(c.Fragment,null,C,c.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((p=Hi.Form)===null||p===void 0?void 0:p.optional))));const O=ie({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:w||I,[`${t}-item-no-colon`]:!T});return c.createElement(wn,Object.assign({},S,{className:y}),c.createElement("label",{htmlFor:r,className:O,title:typeof n=="string"?n:""},C))},HRe={success:Xm,warning:Ab,error:Bc,validating:jo};function pee(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:i,prefixCls:o,meta:s,noStyle:l}=e;const u=`${o}-item`,{feedbackIcons:d}=c.useContext(Cs),p=lee(n,r,s,null,!!a,i),{isFormItemInput:f,status:m,hasFeedback:g,feedbackIcon:h}=c.useContext(Gr),v=c.useMemo(()=>{var S;let b;if(a){const y=a!==!0&&a.icons||d,C=p&&((S=y==null?void 0:y({status:p,errors:n,warnings:r}))===null||S===void 0?void 0:S[p]),T=p&&HRe[p];b=C!==!1&&T?c.createElement("span",{className:ie(`${u}-feedback-icon`,`${u}-feedback-icon-${p}`)},C||c.createElement(T,null)):null}const E={status:p||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:b,isFormItemInput:!0};return l&&(E.status=(p??m)||"",E.isFormItemInput=f,E.hasFeedback=!!(a??g),E.feedbackIcon=a!==void 0?E.feedbackIcon:h),E},[p,a,l,f,m]);return c.createElement(Gr.Provider,{value:v},t)}var GRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(O&&x.current){const $=getComputedStyle(x.current);M(parseInt($.marginBottom,10))}},[O,k]);const N=$=>{$||M(null)},D=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=$?R:u.errors,B=$?w:u.warnings;return lee(F,B,u,"",!!d,l)}(),L=ie(E,n,r,{[`${E}-with-help`]:I||R.length||w.length,[`${E}-has-feedback`]:D&&d,[`${E}-has-success`]:D==="success",[`${E}-has-warning`]:D==="warning",[`${E}-has-error`]:D==="error",[`${E}-is-validating`]:D==="validating",[`${E}-hidden`]:p,[`${E}-${S}`]:S});return c.createElement("div",{className:L,style:a,ref:x},c.createElement(Oa,Object.assign({className:`${E}-row`},An(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),c.createElement(zRe,Object.assign({htmlFor:m},e,{requiredMark:y,required:g??h,prefixCls:t,vertical:T})),c.createElement($Re,Object.assign({},e,u,{errors:R,warnings:w,prefixCls:t,status:D,help:i,marginBottom:P,onErrorVisibleChanged:N}),c.createElement(eQ.Provider,{value:v},c.createElement(pee,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:D},f)))),!!P&&c.createElement("div",{className:`${E}-margin-offset`,style:{marginBottom:-P}}))}const qRe="__SPLIT__";function WRe(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const i=e[a],o=t[a];return i===o||typeof i=="function"||typeof o=="function"})}const YRe=c.memo(e=>{let{children:t}=e;return t},(e,t)=>WRe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function s4(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function KRe(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:i,shouldUpdate:o,rules:s,children:l,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:m,hidden:g,help:h,layout:v}=e,{getPrefixCls:S}=c.useContext(lt),{name:b}=c.useContext(Cs),E=DRe(l),y=typeof E=="function",C=c.useContext(eQ),{validateTrigger:T}=c.useContext(Ic),x=m!==void 0?m:T,R=t!=null,w=S("form",i),I=Hn(w),[O,k,P]=Lk(w,I);Ol();const M=c.useContext(vm),N=c.useRef(),[A,D]=MRe({}),[L,$]=wc(()=>s4()),F=Y=>{const Q=M==null?void 0:M.getKey(Y.name);if($(Y.destroy?s4():Y,!0),n&&h!==!1&&C){let V=Y.name;if(Y.destroy)V=N.current||V;else if(Q!==void 0){const[H,q]=Q;V=[H].concat($e(q)),N.current=V}C(Y,V)}},B=(Y,Q)=>{D(V=>{const H=Object.assign({},V),K=[].concat($e(Y.name.slice(0,-1)),$e(Q)).join(qRe);return Y.destroy?delete H[K]:H[K]=Y,H})},[z,U]=c.useMemo(()=>{const Y=$e(L.errors),Q=$e(L.warnings);return Object.values(A).forEach(V=>{Y.push.apply(Y,$e(V.errors||[])),Q.push.apply(Q,$e(V.warnings||[]))}),[Y,Q]},[A,L.errors,L.warnings]),j=LRe();function G(Y,Q,V){return n&&!g?c.createElement(pee,{prefixCls:w,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:z,warnings:U,noStyle:!0},Y):c.createElement(VRe,Object.assign({key:"row"},e,{className:ie(r,P,I,k),prefixCls:w,fieldId:Q,isRequired:V,errors:z,warnings:U,meta:L,onSubItemMetaChange:B,layout:v}),Y)}if(!R&&!y&&!a)return O(G(E));let J={};return typeof d=="string"?J.label=d:t&&(J.label=String(t)),p&&(J=Object.assign(Object.assign({},J),p)),O(c.createElement(VL,Object.assign({},e,{messageVariables:J,trigger:f,validateTrigger:x,onMetaChange:F}),(Y,Q,V)=>{const H=wf(t).length&&Q?Q.name:[],q=see(H,b),K=u!==void 0?u:!!(s!=null&&s.some(se=>{if(se&&typeof se=="object"&&se.required&&!se.warningOnly)return!0;if(typeof se=="function"){const ue=se(V);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),Z=Object.assign({},Y);let te=null;if(Array.isArray(E)&&R)te=E;else if(!(y&&(!(o||a)||R))){if(!(a&&!y&&!R))if(c.isValidElement(E)){const se=Object.assign(Object.assign({},E.props),Z);if(se.id||(se.id=q),h||z.length>0||U.length>0||e.extra){const de=[];(h||z.length>0)&&de.push(`${q}_help`),e.extra&&de.push(`${q}_extra`),se["aria-describedby"]=de.join(" ")}z.length>0&&(se["aria-invalid"]="true"),K&&(se["aria-required"]="true"),mo(E)&&(se.ref=j(H,E)),new Set([].concat($e(wf(f)),$e(wf(x)))).forEach(de=>{se[de]=function(){for(var Te,Ee,ge,re,ne,ae=arguments.length,le=new Array(ae),pe=0;pe{var{prefixCls:t,children:n}=e,r=XRe(e,["prefixCls","children"]);const{getPrefixCls:a}=c.useContext(lt),i=a("form",t),o=c.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return c.createElement(XX,Object.assign({},r),(s,l,u)=>c.createElement(WL.Provider,{value:o},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),l,{errors:u.errors,warnings:u.warnings})))};function ZRe(){const{form:e}=c.useContext(Cs);return e}const Xt=ARe;Xt.Item=vg;Xt.List=QRe;Xt.ErrorList=oee;Xt.useForm=cee;Xt.useFormInstance=ZRe;Xt.useWatch=JX;Xt.Provider=tQ;Xt.create=()=>{};function fee(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function ED(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Lo(e,t,n,r){var a=nm.unstable_batchedUpdates?function(o){nm.unstable_batchedUpdates(n,o)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}var _g=c.createContext(null),JRe=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,o=t.rootClassName,s=t.icons,l=t.countRender,u=t.showSwitch,d=t.showProgress,p=t.current,f=t.transform,m=t.count,g=t.scale,h=t.minScale,v=t.maxScale,S=t.closeIcon,b=t.onSwitchLeft,E=t.onSwitchRight,y=t.onClose,C=t.onZoomIn,T=t.onZoomOut,x=t.onRotateRight,R=t.onRotateLeft,w=t.onFlipX,I=t.onFlipY,O=t.onReset,k=t.toolbarRender,P=t.zIndex,M=t.image,N=c.useContext(_g),A=s.rotateLeft,D=s.rotateRight,L=s.zoomIn,$=s.zoomOut,F=s.close,B=s.left,z=s.right,U=s.flipX,j=s.flipY,G="".concat(i,"-operations-operation");c.useEffect(function(){var V=function(q){q.keyCode===Fe.ESC&&y()};return n&&window.addEventListener("keydown",V),function(){window.removeEventListener("keydown",V)}},[n]);var J=[{icon:j,onClick:I,type:"flipY"},{icon:U,onClick:w,type:"flipX"},{icon:A,onClick:R,type:"rotateLeft"},{icon:D,onClick:x,type:"rotateRight"},{icon:$,onClick:T,type:"zoomOut",disabled:g<=h},{icon:L,onClick:C,type:"zoomIn",disabled:g===v}],Y=J.map(function(V){var H,q=V.icon,K=V.onClick,Z=V.type,te=V.disabled;return c.createElement("div",{className:ie(G,(H={},W(H,"".concat(i,"-operations-operation-").concat(Z),!0),W(H,"".concat(i,"-operations-operation-disabled"),!!te),H)),onClick:K,key:Z},q)}),Q=c.createElement("div",{className:"".concat(i,"-operations")},Y);return c.createElement(ta,{visible:n,motionName:r},function(V){var H=V.className,q=V.style;return c.createElement(ng,{open:!0,getContainer:a??document.body},c.createElement("div",{className:ie("".concat(i,"-operations-wrapper"),H,o),style:ee(ee({},q),{},{zIndex:P})},S===null?null:c.createElement("button",{className:"".concat(i,"-close"),onClick:y},S||F),u&&c.createElement(c.Fragment,null,c.createElement("div",{className:ie("".concat(i,"-switch-left"),W({},"".concat(i,"-switch-left-disabled"),p===0)),onClick:b},B),c.createElement("div",{className:ie("".concat(i,"-switch-right"),W({},"".concat(i,"-switch-right-disabled"),p===m-1)),onClick:E},z)),c.createElement("div",{className:"".concat(i,"-footer")},d&&c.createElement("div",{className:"".concat(i,"-progress")},l?l(p+1,m):"".concat(p+1," / ").concat(m)),k?k(Q,ee(ee({icons:{flipYIcon:Y[0],flipXIcon:Y[1],rotateLeftIcon:Y[2],rotateRightIcon:Y[3],zoomOutIcon:Y[4],zoomInIcon:Y[5]},actions:{onFlipY:I,onFlipX:w,onRotateLeft:R,onRotateRight:x,onZoomOut:T,onZoomIn:C,onReset:O,onClose:y},transform:f},N?{current:p,total:m}:{}),{},{image:M})):Q)))})},xh={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ewe(e,t,n,r){var a=c.useRef(null),i=c.useRef([]),o=c.useState(xh),s=oe(o,2),l=s[0],u=s[1],d=function(g){u(xh),ji(xh,l)||r==null||r({transform:xh,action:g})},p=function(g,h){a.current===null&&(i.current=[],a.current=Gt(function(){u(function(v){var S=v;return i.current.forEach(function(b){S=ee(ee({},S),b)}),a.current=null,r==null||r({transform:S,action:h}),S})})),i.current.push(ee(ee({},l),g))},f=function(g,h,v,S,b){var E=e.current,y=E.width,C=E.height,T=E.offsetWidth,x=E.offsetHeight,R=E.offsetLeft,w=E.offsetTop,I=g,O=l.scale*g;O>n?(O=n,I=n/l.scale):Or){if(t>0)return W({},e,i);if(t<0&&ar)return W({},e,t<0?i:-i);return{}}function mee(e,t,n,r){var a=fee(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=ee(ee({},l4("x",n,e,i)),l4("y",r,t,o))),s}var Gu=1,twe=1;function nwe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),h.current={diffX:C.pageX-u,diffY:C.pageY-d,transformX:u,transformY:d},g(!0))},S=function(C){n&&m&&i({x:C.pageX-h.current.diffX,y:C.pageY-h.current.diffY},"move")},b=function(){if(n&&m){g(!1);var C=h.current,T=C.transformX,x=C.transformY,R=u!==T&&d!==x;if(!R)return;var w=e.current.offsetWidth*l,I=e.current.offsetHeight*l,O=e.current.getBoundingClientRect(),k=O.left,P=O.top,M=s%180!==0,N=mee(M?I:w,M?w:I,k,P);N&&i(ee({},N),"dragRebound")}},E=function(C){if(!(!n||C.deltaY==0)){var T=Math.abs(C.deltaY/100),x=Math.min(T,twe),R=Gu+x*r;C.deltaY>0&&(R=Gu/R),o(R,"wheel",C.clientX,C.clientY)}};return c.useEffect(function(){var y,C,T,x;if(t){T=Lo(window,"mouseup",b,!1),x=Lo(window,"mousemove",S,!1);try{window.top!==window.self&&(y=Lo(window.top,"mouseup",b,!1),C=Lo(window.top,"mousemove",S,!1))}catch{}}return function(){var R,w,I,O;(R=T)===null||R===void 0||R.remove(),(w=x)===null||w===void 0||w.remove(),(I=y)===null||I===void 0||I.remove(),(O=C)===null||O===void 0||O.remove()}},[n,m,u,d,s,t]),{isMoving:m,onMouseDown:v,onMouseMove:S,onMouseUp:b,onWheel:E}}function rwe(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function gee(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=c.useState(n?"loading":"normal"),i=oe(a,2),o=i[0],s=i[1],l=c.useRef(!1),u=o==="error";c.useEffect(function(){var m=!0;return rwe(t).then(function(g){!g&&m&&s("error")}),function(){m=!1}},[t]),c.useEffect(function(){n&&!l.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},p=function(g){l.current=!1,o==="loading"&&g!==null&&g!==void 0&&g.complete&&(g.naturalWidth||g.naturalHeight)&&(l.current=!0,d())},f=u&&r?{src:r}:{onLoad:d,src:t};return[p,f,o]}function N_(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function awe(e,t,n,r){var a=N_(e,n),i=N_(t,r);if(a===0&&i===0)return[e.x,e.y];var o=a/(a+i),s=e.x+o*(t.x-e.x),l=e.y+o*(t.y-e.y);return[s,l]}function iwe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(C){h.current=ee(ee({},h.current),C)},S=function(C){if(t){C.stopPropagation(),g(!0);var T=C.touches,x=T===void 0?[]:T;x.length>1?v({point1:{x:x[0].clientX,y:x[0].clientY},point2:{x:x[1].clientX,y:x[1].clientY},eventType:"touchZoom"}):v({point1:{x:x[0].clientX-u,y:x[0].clientY-d},eventType:"move"})}},b=function(C){var T=C.touches,x=T===void 0?[]:T,R=h.current,w=R.point1,I=R.point2,O=R.eventType;if(x.length>1&&O==="touchZoom"){var k={x:x[0].clientX,y:x[0].clientY},P={x:x[1].clientX,y:x[1].clientY},M=awe(w,I,k,P),N=oe(M,2),A=N[0],D=N[1],L=N_(k,P)/N_(w,I);o(L,"touchZoom",A,D,!0),v({point1:k,point2:P,eventType:"touchZoom"})}else O==="move"&&(i({x:x[0].clientX-w.x,y:x[0].clientY-w.y},"move"),v({eventType:"move"}))},E=function(){if(n){if(m&&g(!1),v({eventType:"none"}),r>l)return i({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*l,T=e.current.offsetHeight*l,x=e.current.getBoundingClientRect(),R=x.left,w=x.top,I=s%180!==0,O=mee(I?T:C,I?C:T,R,w);O&&i(ee({},O),"dragRebound")}};return c.useEffect(function(){var y;return n&&t&&(y=Lo(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=y)===null||C===void 0||C.remove()}},[n,t]),{isTouching:m,onTouchStart:S,onTouchMove:b,onTouchEnd:E}}var owe=["fallback","src","imgRef"],swe=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],lwe=function(t){var n=t.fallback,r=t.src,a=t.imgRef,i=yt(t,owe),o=gee({src:r,fallback:n}),s=oe(o,2),l=s[0],u=s[1];return ce.createElement("img",ve({ref:function(p){a.current=p,l(p)}},i,u))},hee=function(t){var n=t.prefixCls,r=t.src,a=t.alt,i=t.imageInfo,o=t.fallback,s=t.movable,l=s===void 0?!0:s,u=t.onClose,d=t.visible,p=t.icons,f=p===void 0?{}:p,m=t.rootClassName,g=t.closeIcon,h=t.getContainer,v=t.current,S=v===void 0?0:v,b=t.count,E=b===void 0?1:b,y=t.countRender,C=t.scaleStep,T=C===void 0?.5:C,x=t.minScale,R=x===void 0?1:x,w=t.maxScale,I=w===void 0?50:w,O=t.transitionName,k=O===void 0?"zoom":O,P=t.maskTransitionName,M=P===void 0?"fade":P,N=t.imageRender,A=t.imgCommonProps,D=t.toolbarRender,L=t.onTransform,$=t.onChange,F=yt(t,swe),B=c.useRef(),z=c.useContext(_g),U=z&&E>1,j=z&&E>=1,G=c.useState(!0),J=oe(G,2),Y=J[0],Q=J[1],V=ewe(B,R,I,L),H=V.transform,q=V.resetTransform,K=V.updateTransform,Z=V.dispatchZoomChange,te=nwe(B,l,d,T,H,K,Z),se=te.isMoving,ue=te.onMouseDown,me=te.onWheel,de=iwe(B,l,d,R,H,K,Z),Te=de.isTouching,Ee=de.onTouchStart,ge=de.onTouchMove,re=de.onTouchEnd,ne=H.rotate,ae=H.scale,le=ie(W({},"".concat(n,"-moving"),se));c.useEffect(function(){Y||Q(!0)},[Y]);var pe=function(){q("close")},Re=function(){Z(Gu+T,"zoomIn")},Se=function(){Z(Gu/(Gu+T),"zoomOut")},Pe=function(){K({rotate:ne+90},"rotateRight")},fe=function(){K({rotate:ne-90},"rotateLeft")},_e=function(){K({flipX:!H.flipX},"flipX")},Ae=function(){K({flipY:!H.flipY},"flipY")},ye=function(){q("reset")},be=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S>0&&(Q(!1),q("prev"),$==null||$(S-1,S))},Ne=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S({position:e||"absolute",inset:0}),Nwe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new on("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},_i),{padding:`0 ${X(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},Awe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:u,iconCls:d,colorTextLightSolid:p}=e,f=new on(n).setAlpha(.1),m=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${X(o)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},Dwe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new on(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},Mwe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},CD()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},CD()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Awe(e),Dwe(e)]}]},Lwe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Nwe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},CD())}}},kwe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Zd(e,"zoom"),"&":KL(e,!0)}},Pwe=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new on(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new on(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new on(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),vee=sn("Image",e=>{const t=`${e.componentCls}-preview`,n=Ht(e,{previewCls:t,modalMaskBg:new on("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Lwe(n),Mwe(n),sQ(Ht(n,{componentCls:t})),kwe(n)]},Pwe);var $we=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{previewPrefixCls:t,preview:n}=e,r=$we(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=c.useContext(lt),i=a("image",t),o=`${i}-preview`,s=a(),l=Hn(i),[u,d,p]=vee(i,l),[f]=So("ImagePreview",typeof n=="object"?n.zIndex:void 0),m=c.useMemo(()=>{var g;if(n===!1)return n;const h=typeof n=="object"?n:{},v=ie(d,p,l,(g=h.rootClassName)!==null&&g!==void 0?g:"");return Object.assign(Object.assign({},h),{transitionName:ya(s,"zoom",h.transitionName),maskTransitionName:ya(s,"fade",h.maskTransitionName),rootClassName:v,zIndex:f})},[n]);return u(c.createElement(kk.PreviewGroup,Object.assign({preview:m,previewPrefixCls:o,icons:_ee},r)))};var d4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,preview:r,className:a,rootClassName:i,style:o}=e,s=d4(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:u=Hi,getPopupContainer:d,image:p}=c.useContext(lt),f=l("image",n),m=l(),g=u.Image||Hi.Image,h=Hn(f),[v,S,b]=vee(f,h),E=ie(i,S,b,h),y=ie(a,S,p==null?void 0:p.className),[C]=So("ImagePreview",typeof r=="object"?r.zIndex:void 0),T=c.useMemo(()=>{var R;if(r===!1)return r;const w=typeof r=="object"?r:{},{getContainer:I,closeIcon:O}=w,k=d4(w,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:c.createElement("div",{className:`${f}-mask-info`},c.createElement(fS,null),g==null?void 0:g.preview),icons:_ee},k),{getContainer:I??d,transitionName:ya(m,"zoom",w.transitionName),maskTransitionName:ya(m,"fade",w.maskTransitionName),zIndex:C,closeIcon:O??((R=p==null?void 0:p.preview)===null||R===void 0?void 0:R.closeIcon)})},[r,g,(t=p==null?void 0:p.preview)===null||t===void 0?void 0:t.closeIcon]),x=Object.assign(Object.assign({},p==null?void 0:p.style),o);return v(c.createElement(kk,Object.assign({prefixCls:f,preview:T,rootClassName:E,className:y,style:x},s)))};Yl.PreviewGroup=Fwe;function Bwe(e,t,n){return typeof n=="boolean"?n:e.length?!0:_r(t).some(a=>a.type===eS)}const Uwe=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:a,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:a},[`${t}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${n}`,borderInlineStart:0}}}},jwe=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:a,footerBg:i,triggerBg:o,headerHeight:s,headerPadding:l,headerColor:u,footerPadding:d,triggerHeight:p,zeroTriggerHeight:f,zeroTriggerWidth:m,motionDurationMid:g,motionDurationSlow:h,fontSize:v,borderRadius:S,bodyBg:b,headerBg:E,siderBg:y}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:b,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:y,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:a,lineHeight:X(p),textAlign:"center",background:o,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(m).mul(-1).equal(),zIndex:1,width:m,height:f,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:y,borderStartStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(m).mul(-1).equal(),borderStartStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:S}}}}},Uwe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:l,color:u,lineHeight:X(s),background:E,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:v,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},zwe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:s,colorBgContainer:l}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+o*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:a}},bee=sn("Layout",e=>[jwe(e)],zwe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var See=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ac.forwardRef((o,s)=>c.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},o)))}const Pk=c.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:i}=e,o=See(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=c.useContext(lt),l=s("layout",n),[u,d,p]=bee(l),f=r?`${l}-${r}`:l;return u(c.createElement(i,Object.assign({className:ie(n||f,a,d,p),ref:t},o)))}),Hwe=c.forwardRef((e,t)=>{const{direction:n}=c.useContext(lt),[r,a]=c.useState([]),{prefixCls:i,className:o,rootClassName:s,children:l,hasSider:u,tagName:d,style:p}=e,f=See(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),m=An(f,["suffixCls"]),{getPrefixCls:g,layout:h}=c.useContext(lt),v=g("layout",i),S=Bwe(r,l,u),[b,E,y]=bee(v),C=ie(v,{[`${v}-has-sider`]:S,[`${v}-rtl`]:n==="rtl"},h==null?void 0:h.className,o,s,E,y),T=c.useMemo(()=>({siderHook:{addSider:x=>{a(R=>[].concat($e(R),[x]))},removeSider:x=>{a(R=>R.filter(w=>w!==x))}}}),[]);return b(c.createElement(gZ.Provider,{value:T},c.createElement(d,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},h==null?void 0:h.style),p)},m),l)))}),Gwe=gS({tagName:"div",displayName:"Layout"})(Hwe),Eee=gS({suffixCls:"header",tagName:"header",displayName:"Header"})(Pk),yee=gS({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Pk),Cee=gS({suffixCls:"content",tagName:"main",displayName:"Content"})(Pk),Vo=Gwe;Vo.Header=Eee;Vo.Footer=yee;Vo.Content=Cee;Vo.Sider=eS;Vo._InternalSiderContext=Jb;const Tee=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var Vwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},qwe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Vwe}))},p4=c.forwardRef(qwe),Wwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ywe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Wwe}))},f4=c.forwardRef(Ywe),Kwe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},Xwe=["10","20","50","100"],Qwe=function(t){var n=t.pageSizeOptions,r=n===void 0?Xwe:n,a=t.locale,i=t.changeSize,o=t.pageSize,s=t.goButton,l=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,p=t.selectPrefixCls,f=t.disabled,m=t.buildOptionText,g=ce.useState(""),h=oe(g,2),v=h[0],S=h[1],b=function(){return!v||Number.isNaN(v)?void 0:Number(v)},E=typeof m=="function"?m:function(M){return"".concat(M," ").concat(a.items_per_page)},y=function(N){i==null||i(Number(N))},C=function(N){S(N.target.value)},T=function(N){s||v===""||(S(""),!(N.relatedTarget&&(N.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||N.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(l==null||l(b())))},x=function(N){v!==""&&(N.keyCode===Fe.ENTER||N.type==="click")&&(S(""),l==null||l(b()))},R=function(){return r.some(function(N){return N.toString()===o.toString()})?r:r.concat([o.toString()]).sort(function(N,A){var D=Number.isNaN(Number(N))?0:Number(N),L=Number.isNaN(Number(A))?0:Number(A);return D-L})},w="".concat(u,"-options");if(!i&&!l)return null;var I=null,O=null,k=null;if(i&&d){var P=R().map(function(M,N){return ce.createElement(d.Option,{key:N,value:M.toString()},E(M))});I=ce.createElement(d,{disabled:f,prefixCls:p,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(o||r[0]).toString(),onChange:y,getPopupContainer:function(N){return N.parentNode},"aria-label":a.page_size,defaultOpen:!1},P)}return l&&(s&&(k=typeof s=="boolean"?ce.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:f,className:"".concat(w,"-quick-jumper-button")},a.jump_to_confirm):ce.createElement("span",{onClick:x,onKeyUp:x},s)),O=ce.createElement("div",{className:"".concat(w,"-quick-jumper")},a.jump_to,ce.createElement("input",{disabled:f,type:"text",value:v,onChange:C,onKeyUp:x,onBlur:T,"aria-label":a.page}),a.page,k)),ce.createElement("li",{className:w},I,O)},jp=function(t){var n,r=t.rootPrefixCls,a=t.page,i=t.active,o=t.className,s=t.showTitle,l=t.onClick,u=t.onKeyPress,d=t.itemRender,p="".concat(r,"-item"),f=ie(p,"".concat(p,"-").concat(a),(n={},W(n,"".concat(p,"-active"),i),W(n,"".concat(p,"-disabled"),!a),n),o),m=function(){l(a)},g=function(S){u(S,l,a)},h=d(a,"page",ce.createElement("a",{rel:"nofollow"},a));return h?ce.createElement("li",{title:s?String(a):null,className:f,onClick:m,onKeyDown:g,tabIndex:0},h):null},Zwe=function(t,n,r){return r};function m4(){}function g4(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function zl(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var Jwe=function(t){var n,r=t.prefixCls,a=r===void 0?"rc-pagination":r,i=t.selectPrefixCls,o=i===void 0?"rc-select":i,s=t.className,l=t.selectComponentClass,u=t.current,d=t.defaultCurrent,p=d===void 0?1:d,f=t.total,m=f===void 0?0:f,g=t.pageSize,h=t.defaultPageSize,v=h===void 0?10:h,S=t.onChange,b=S===void 0?m4:S,E=t.hideOnSinglePage,y=t.align,C=t.showPrevNextJumpers,T=C===void 0?!0:C,x=t.showQuickJumper,R=t.showLessItems,w=t.showTitle,I=w===void 0?!0:w,O=t.onShowSizeChange,k=O===void 0?m4:O,P=t.locale,M=P===void 0?Kwe:P,N=t.style,A=t.totalBoundaryShowSizeChanger,D=A===void 0?50:A,L=t.disabled,$=t.simple,F=t.showTotal,B=t.showSizeChanger,z=t.pageSizeOptions,U=t.itemRender,j=U===void 0?Zwe:U,G=t.jumpPrevIcon,J=t.jumpNextIcon,Y=t.prevIcon,Q=t.nextIcon,V=ce.useRef(null),H=ln(10,{value:g,defaultValue:v}),q=oe(H,2),K=q[0],Z=q[1],te=ln(1,{value:u,defaultValue:p,postState:function(Ot){return Math.max(1,Math.min(Ot,zl(void 0,K,m)))}}),se=oe(te,2),ue=se[0],me=se[1],de=ce.useState(ue),Te=oe(de,2),Ee=Te[0],ge=Te[1];c.useEffect(function(){ge(ue)},[ue]);var re=Math.max(1,ue-(R?3:5)),ne=Math.min(zl(void 0,K,m),ue+(R?3:5));function ae(xt,Ot){var Dt=xt||ce.createElement("button",{type:"button","aria-label":Ot,className:"".concat(a,"-item-link")});return typeof xt=="function"&&(Dt=ce.createElement(xt,ee({},t))),Dt}function le(xt){var Ot=xt.target.value,Dt=zl(void 0,K,m),Rn;return Ot===""?Rn=Ot:Number.isNaN(Number(Ot))?Rn=Ee:Ot>=Dt?Rn=Dt:Rn=Number(Ot),Rn}function pe(xt){return g4(xt)&&xt!==ue&&g4(m)&&m>0}var Re=m>K?x:!1;function Se(xt){(xt.keyCode===Fe.UP||xt.keyCode===Fe.DOWN)&&xt.preventDefault()}function Pe(xt){var Ot=le(xt);switch(Ot!==Ee&&ge(Ot),xt.keyCode){case Fe.ENTER:Ae(Ot);break;case Fe.UP:Ae(Ot-1);break;case Fe.DOWN:Ae(Ot+1);break}}function fe(xt){Ae(le(xt))}function _e(xt){var Ot=zl(xt,K,m),Dt=ue>Ot&&Ot!==0?Ot:ue;Z(xt),ge(Dt),k==null||k(ue,xt),me(Dt),b==null||b(Dt,xt)}function Ae(xt){if(pe(xt)&&!L){var Ot=zl(void 0,K,m),Dt=xt;return xt>Ot?Dt=Ot:xt<1&&(Dt=1),Dt!==Ee&&ge(Dt),me(Dt),b==null||b(Dt,K),Dt}return ue}var ye=ue>1,be=ueD;function we(){ye&&Ae(ue-1)}function xe(){be&&Ae(ue+1)}function ke(){Ae(re)}function at(){Ae(ne)}function Me(xt,Ot){if(xt.key==="Enter"||xt.charCode===Fe.ENTER||xt.keyCode===Fe.ENTER){for(var Dt=arguments.length,Rn=new Array(Dt>2?Dt-2:0),Gn=2;Gnm?m:ue*K])),pt=null,We=zl(void 0,K,m);if(E&&m<=K)return null;var Ve=[],Ze={rootPrefixCls:a,onClick:Ae,onKeyPress:Me,showTitle:I,itemRender:j,page:-1},dt=ue-1>0?ue-1:0,It=ue+1=et*2&&ue!==3&&(Ve[0]=ce.cloneElement(Ve[0],{className:ie("".concat(a,"-item-after-jump-prev"),Ve[0].props.className)}),Ve.unshift(Be)),We-ue>=et*2&&ue!==We-2){var _t=Ve[Ve.length-1];Ve[Ve.length-1]=ce.cloneElement(_t,{className:ie("".concat(a,"-item-before-jump-next"),_t.props.className)}),Ve.push(pt)}it!==1&&Ve.unshift(ce.createElement(jp,ve({},Ze,{key:1,page:1}))),Ke!==We&&Ve.push(ce.createElement(jp,ve({},Ze,{key:We,page:We})))}var Rt=He(dt);if(Rt){var kt=!ye||!We;Rt=ce.createElement("li",{title:I?M.prev_page:null,onClick:we,tabIndex:kt?null:0,onKeyDown:Ce,className:ie("".concat(a,"-prev"),W({},"".concat(a,"-disabled"),kt)),"aria-disabled":kt},Rt)}var tn=ze(It);if(tn){var rn,Vt;$?(rn=!be,Vt=ye?0:null):(rn=!be||!We,Vt=rn?null:0),tn=ce.createElement("li",{title:I?M.next_page:null,onClick:xe,tabIndex:Vt,onKeyDown:De,className:ie("".concat(a,"-next"),W({},"".concat(a,"-disabled"),rn)),"aria-disabled":rn},tn)}var nn=ie(a,s,(n={},W(n,"".concat(a,"-start"),y==="start"),W(n,"".concat(a,"-center"),y==="center"),W(n,"".concat(a,"-end"),y==="end"),W(n,"".concat(a,"-simple"),$),W(n,"".concat(a,"-disabled"),L),n));return ce.createElement("ul",ve({className:nn,style:N,ref:V},Je),mt,Rt,$?ot:Ve,tn,ce.createElement(Qwe,{locale:M,rootPrefixCls:a,disabled:L,selectComponentClass:l,selectPrefixCls:o,changeSize:Ne?_e:null,pageSize:K,pageSizeOptions:z,quickGo:Re?Ae:null,goButton:ct}))};const xee=e=>c.createElement(kr,Object.assign({},e,{showSearch:!0,size:"small"})),Ree=e=>c.createElement(kr,Object.assign({},e,{showSearch:!0,size:"middle"}));xee.Option=kr.Option;Ree.Option=kr.Option;const eIe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},tIe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:X(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:X(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:X(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:Q(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM),input:Object.assign(Object.assign({},yk(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},eIe=e=>{const{componentCls:t}=e;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:X(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:X(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:X(e.itemSizeSM),input:Object.assign(Object.assign({},Tk(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},nIe=e=>{const{componentCls:t}=e;return{[` &${t}-simple ${t}-prev, &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${Q(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${Q(e.inputOutlineOffset)} 0 ${Q(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},tIe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + `]:{height:e.itemSizeSM,lineHeight:X(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:X(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${X(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${X(e.inputOutlineOffset)} 0 ${X(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},rIe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` ${t}-prev, ${t}-jump-prev, ${t}-jump-next @@ -387,19 +387,19 @@ html body { ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:Q(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Q(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:Q(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},pg(e)),vk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},iS(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},nIe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:Q(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${Q(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Q(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},rIe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:Q(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),nIe(e)),tIe(e)),eIe(e)),Jwe(e)),Zwe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},aIe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Bo(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},bs(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},bs(e))}}}},Ree=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},dg(e)),wee=e=>Ht(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},ug(e)),iIe=cn("Pagination",e=>{const t=wee(e);return[rIe(t),aIe(t)]},Ree),oIe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},sIe=Gd(["Pagination","bordered"],e=>{const t=wee(e);return[oIe(t)]},Ree);var lIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:i,style:o,size:s,locale:l,selectComponentClass:u,responsive:d,showSizeChanger:p}=e,f=lIe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Vb(d),[,g]=ia(),{getPrefixCls:h,direction:v,pagination:S={}}=c.useContext(lt),_=h("pagination",n),[E,y,C]=iIe(_),T=p??S.showSizeChanger,x=c.useMemo(()=>{const N=c.createElement("span",{className:`${_}-item-ellipsis`},"•••"),A=c.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement($i,null):c.createElement(Nc,null)),D=c.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement(Nc,null):c.createElement($i,null)),L=c.createElement("a",{className:`${_}-item-link`},c.createElement("div",{className:`${_}-item-container`},v==="rtl"?c.createElement(d4,{className:`${_}-item-link-icon`}):c.createElement(u4,{className:`${_}-item-link-icon`}),N)),$=c.createElement("a",{className:`${_}-item-link`},c.createElement("div",{className:`${_}-item-container`},v==="rtl"?c.createElement(u4,{className:`${_}-item-link-icon`}):c.createElement(d4,{className:`${_}-item-link-icon`}),N));return{prevIcon:A,nextIcon:D,jumpPrevIcon:L,jumpNextIcon:$}},[v,_]),[R]=Go("Pagination",FK),w=Object.assign(Object.assign({},R),l),I=xr(s),O=I==="small"||!!(m&&!I&&d),k=h("select",r),P=ie({[`${_}-${t}`]:!!t,[`${_}-mini`]:O,[`${_}-rtl`]:v==="rtl",[`${_}-bordered`]:g.wireframe},S==null?void 0:S.className,a,i,y,C),M=Object.assign(Object.assign({},S==null?void 0:S.style),o);return E(c.createElement(c.Fragment,null,g.wireframe&&c.createElement(sIe,{prefixCls:_}),c.createElement(Qwe,Object.assign({},x,f,{style:M,prefixCls:_,selectPrefixCls:k,className:P,selectComponentClass:u||(O?Tee:xee),locale:w,showSizeChanger:T}))))},w_=100,Iee=w_/5,Oee=w_/2-Iee/2,xy=Oee*2*Math.PI,m4=50,g4=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return c.createElement("circle",{className:ie(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:Oee,cx:m4,cy:m4,strokeWidth:Iee,style:n})},cIe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,i=`${a}-hidden`,[o,s]=c.useState(!1);Qt(()=>{t!==0&&s(!0)},[t!==0]);const l=Math.max(Math.min(t,100),0);if(!o)return null;const u={strokeDashoffset:`${xy/4}`,strokeDasharray:`${xy*l/100} ${xy*(100-l)/100}`};return c.createElement("span",{className:ie(a,`${r}-progress`,l<=0&&i)},c.createElement("svg",{viewBox:`0 0 ${w_} ${w_}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},c.createElement(g4,{dotClassName:r,hasCircleCls:!0}),c.createElement(g4,{dotClassName:r,style:u})))};function uIe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,i=`${a}-hidden`;return c.createElement(c.Fragment,null,c.createElement("span",{className:ie(a,n>0&&i)},c.createElement("span",{className:ie(r,`${t}-dot-spin`)},[1,2,3,4].map(o=>c.createElement("i",{className:`${t}-dot-item`,key:o})))),c.createElement(cIe,{prefixCls:t,percent:n}))}function dIe(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&c.isValidElement(n)?Tr(n,{className:ie(n.props.className,a),percent:r}):c.createElement(uIe,{prefixCls:t,percent:r})}const pIe=new dn("antSpinMove",{to:{opacity:1}}),fIe=new dn("antRotate",{to:{transform:"rotate(405deg)"}}),mIe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:pIe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:fIe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},gIe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},hIe=cn("Spin",e=>{const t=Ht(e,{spinDotDefault:e.colorTextDescription});return[mIe(t)]},gIe),vIe=200,h4=[[30,.05],[70,.03],[96,.01]];function _Ie(e,t){const[n,r]=c.useState(0),a=c.useRef(),i=t==="auto";return c.useEffect(()=>(i&&e&&(r(0),a.current=setInterval(()=>{r(o=>{const s=100-o;for(let l=0;l{clearInterval(a.current)}),[i,e]),i?n:t}var bIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:i,rootClassName:o,size:s="default",tip:l,wrapperClassName:u,style:d,children:p,fullscreen:f=!1,indicator:m,percent:g}=e,h=bIe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:S,spin:_}=c.useContext(lt),E=v("spin",n),[y,C,T]=hIe(E),[x,R]=c.useState(()=>r&&!SIe(r,a)),w=_Ie(x,g);c.useEffect(()=>{if(r){const A=p0e(a,()=>{R(!0)});return A(),()=>{var D;(D=A==null?void 0:A.cancel)===null||D===void 0||D.call(A)}}R(!1)},[a,r]);const I=c.useMemo(()=>typeof p<"u"&&!f,[p,f]),O=ie(E,_==null?void 0:_.className,{[`${E}-sm`]:s==="small",[`${E}-lg`]:s==="large",[`${E}-spinning`]:x,[`${E}-show-text`]:!!l,[`${E}-rtl`]:S==="rtl"},i,!f&&o,C,T),k=ie(`${E}-container`,{[`${E}-blur`]:x}),P=(t=m??(_==null?void 0:_.indicator))!==null&&t!==void 0?t:Nee,M=Object.assign(Object.assign({},_==null?void 0:_.style),d),N=c.createElement("div",Object.assign({},h,{style:M,className:O,"aria-live":"polite","aria-busy":x}),c.createElement(dIe,{prefixCls:E,indicator:P,percent:w}),l&&(I||f)?c.createElement("div",{className:`${E}-text`},l):null);return y(I?c.createElement("div",Object.assign({},h,{className:ie(`${E}-nested-loading`,u,C,T)}),x&&c.createElement("div",{key:"loading"},N),c.createElement("div",{className:k,key:"container"},p)):f?c.createElement("div",{className:ie(`${E}-fullscreen`,{[`${E}-fullscreen-show`]:x},o,C,T)},N):N)};Pk.setDefaultIndicator=e=>{Nee=e};const $k=ce.createContext({});$k.Consumer;var Aee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=Aee(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=c.useContext(lt),l=s("list",t),u=ie(`${l}-item-meta`,n),d=ce.createElement("div",{className:`${l}-item-meta-content`},a&&ce.createElement("h4",{className:`${l}-item-meta-title`},a),i&&ce.createElement("div",{className:`${l}-item-meta-description`},i));return ce.createElement("div",Object.assign({},o,{className:u}),r&&ce.createElement("div",{className:`${l}-item-meta-avatar`},r),(a||i)&&d)},yIe=ce.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:i,styles:o,className:s,classNames:l,colStyle:u}=e,d=Aee(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:f}=c.useContext($k),{getPrefixCls:m,list:g}=c.useContext(lt),h=x=>{var R,w;return ie((w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.classNames)===null||w===void 0?void 0:w[x],l==null?void 0:l[x])},v=x=>{var R,w;return Object.assign(Object.assign({},(w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.styles)===null||w===void 0?void 0:w[x]),o==null?void 0:o[x])},S=()=>{let x=!1;return c.Children.forEach(r,R=>{typeof R=="string"&&(x=!0)}),x&&c.Children.count(r)>1},_=()=>f==="vertical"?!!i:!S(),E=m("list",n),y=a&&a.length>0&&ce.createElement("ul",{className:ie(`${E}-item-action`,h("actions")),key:"actions",style:v("actions")},a.map((x,R)=>ce.createElement("li",{key:`${E}-item-action-${R}`},x,R!==a.length-1&&ce.createElement("em",{className:`${E}-item-action-split`})))),C=p?"div":"li",T=ce.createElement(C,Object.assign({},d,p?{}:{ref:t},{className:ie(`${E}-item`,{[`${E}-item-no-flex`]:!_()},s)}),f==="vertical"&&i?[ce.createElement("div",{className:`${E}-item-main`,key:"content"},r,y),ce.createElement("div",{className:ie(`${E}-item-extra`,h("extra")),key:"extra",style:v("extra")},i)]:[r,y,Tr(i,{key:"extra"})]);return p?ce.createElement(Rn,{ref:t,flex:1,style:u},T):T}),nd=yIe;nd.Meta=EIe;const CIe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:i,itemPaddingLG:o,marginLG:s,borderRadiusLG:l}=e;return{[t]:{border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Q(a)} ${Q(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},TIe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:i,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Q(o)}`}}}}}},xIe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:i,marginLG:o,padding:s,itemPadding:l,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:p,paddingXS:f,margin:m,colorText:g,colorTextDescription:h,motionDurationSlow:v,lineWidth:S,headerBg:_,footerBg:E,emptyTextPadding:y,metaMarginBottom:C,avatarMarginRight:T,titleMarginBottom:x,descriptionFontSize:R}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:_},[`${t}-footer`]:{background:E},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:g,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:T},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:g},[`${t}-item-meta-title`]:{margin:`0 0 ${Q(e.marginXXS)} 0`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:g,transition:`all ${v}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,fontSize:R,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${Q(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:S,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Q(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:m,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:x,color:g,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${Q(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:p},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},RIe=e=>({contentWidth:220,itemPadding:`${Q(e.paddingContentVertical)} 0`,itemPaddingSM:`${Q(e.paddingContentVerticalSM)} ${Q(e.paddingContentHorizontal)}`,itemPaddingLG:`${Q(e.paddingContentVerticalLG)} ${Q(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),wIe=cn("List",e=>{const t=Ht(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[xIe(t),CIe(t),TIe(t)]},RIe);var IIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(ge,re)=>{var ne;x(ge),w(re),t&&((ne=t==null?void 0:t[Ee])===null||ne===void 0||ne.call(t,ge,re))},A=N("onChange"),D=N("onShowSizeChange"),L=(Ee,ge)=>{if(!_)return null;let re;return typeof S=="function"?re=S(Ee):S?re=Ee[S]:re=Ee.key,re||(re=`list-item-${ge}`),c.createElement(c.Fragment,{key:re},_(Ee,ge))},$=()=>!!(d||t||h),F=I("list",n),[B,z,U]=wIe(F);let j=v;typeof j=="boolean"&&(j={spinning:j});const G=!!(j!=null&&j.spinning),J=xr(m);let Y="";switch(J){case"large":Y="lg";break;case"small":Y="sm";break}const X=ie(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${Y}`]:Y,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:G,[`${F}-grid`]:!!p,[`${F}-something-after-last-item`]:$(),[`${F}-rtl`]:k==="rtl"},P==null?void 0:P.className,i,o,z,U),V=Cee(M,{total:f.length,current:T,pageSize:R},t||{}),H=Math.ceil(V.total/V.pageSize);V.current>H&&(V.current=H);const q=t&&c.createElement("div",{className:ie(`${F}-pagination`)},c.createElement(kk,Object.assign({align:"end"},V,{onChange:A,onShowSizeChange:D})));let K=$e(f);t&&f.length>(V.current-1)*V.pageSize&&(K=$e(f).splice((V.current-1)*V.pageSize,V.pageSize));const Z=Object.keys(p||{}).some(Ee=>["xs","sm","md","lg","xl","xxl"].includes(Ee)),te=Vb(Z),se=c.useMemo(()=>{for(let Ee=0;Ee{if(!p)return;const Ee=se&&p[se]?p[se]:p.column;if(Ee)return{width:`${100/Ee}%`,maxWidth:`${100/Ee}%`}},[JSON.stringify(p),se]);let me=G&&c.createElement("div",{style:{minHeight:53}});if(K.length>0){const Ee=K.map((ge,re)=>L(ge,re));me=p?c.createElement(Oa,{gutter:p.gutter},c.Children.map(Ee,ge=>c.createElement("div",{key:ge==null?void 0:ge.key,style:ue},ge))):c.createElement("ul",{className:`${F}-items`},Ee)}else!l&&!G&&(me=c.createElement("div",{className:`${F}-empty-text`},(E==null?void 0:E.emptyText)||(O==null?void 0:O("List"))||c.createElement(jb,{componentName:"List"})));const de=V.position||"bottom",Te=c.useMemo(()=>({grid:p,itemLayout:u}),[JSON.stringify(p),u]);return B(c.createElement($k.Provider,{value:Te},c.createElement("div",Object.assign({style:Object.assign(Object.assign({},P==null?void 0:P.style),s),className:X},y),(de==="top"||de==="both")&&q,g&&c.createElement("div",{className:`${F}-header`},g),c.createElement(Pk,Object.assign({},j),me,l),h&&c.createElement("div",{className:`${F}-footer`},h),d||(de==="bottom"||de==="both")&&q)))}vl.Item=nd;let Ni=null,ac=e=>e(),_m=[],bm={};function v4(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=bm,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:a}}const OIe=ce.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=c.useContext(lt),i=bm.prefixCls||a("message"),o=c.useContext(yve),[s,l]=wX(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.message));return ce.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return r(),s[d].apply(s,arguments)}}),{instance:u,sync:r}}),l}),NIe=ce.forwardRef((e,t)=>{const[n,r]=ce.useState(v4),a=()=>{r(v4)};ce.useEffect(a,[]);const i=mX(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),l=i.getTheme(),u=ce.createElement(OIe,{ref:t,sync:a,messageConfig:n});return ce.createElement(_o,{prefixCls:o,iconPrefixCls:s,theme:l},i.holderRender?i.holderRender(u):u)});function fS(){if(!Ni){const e=document.createDocumentFragment(),t={fragment:e};Ni=t,ac(()=>{FL(ce.createElement(NIe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,fS())})}}),e)});return}Ni.instance&&(_m.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{ac(()=>{const r=Ni.instance.open(Object.assign(Object.assign({},bm),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":ac(()=>{Ni==null||Ni.instance.destroy(e.key)});break;default:ac(()=>{var r;const a=(r=Ni.instance)[t].apply(r,$e(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),_m=[])}function AIe(e){bm=Object.assign(Object.assign({},bm),e),ac(()=>{var t;(t=Ni==null?void 0:Ni.sync)===null||t===void 0||t.call(Ni)})}function DIe(e){const t=$L(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:i=>{r=i}};return _m.push(a),()=>{r?ac(()=>{r()}):a.skipped=!0}});return fS(),t}function MIe(e,t){const n=$L(r=>{let a;const i={type:e,args:t,resolve:r,setCloseFn:o=>{a=o}};return _m.push(i),()=>{a?ac(()=>{a()}):i.skipped=!0}});return fS(),n}const LIe=e=>{_m.push({type:"destroy",key:e}),fS()},kIe=["success","info","warning","error","loading"],PIe={open:DIe,destroy:LIe,config:AIe,useMessage:nme,_InternalPanelDoNotUseOrYouWillBeFired:Yfe},Qe=PIe;kIe.forEach(e=>{Qe[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:i,title:o,children:s,footer:l}=e,u=$Ie(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=c.useContext(lt),p=d(),f=t||d("modal"),m=Zn(p),[g,h,v]=cQ(f,m),S=`${f}-confirm`;let _={};return i?_={closable:a??!1,title:"",footer:"",children:c.createElement(dQ,Object.assign({},e,{prefixCls:f,confirmPrefixCls:S,rootPrefixCls:p,content:s}))}:_={closable:a??!0,title:o,footer:l!==null&&c.createElement(iQ,Object.assign({},e)),children:s},g(c.createElement(GX,Object.assign({prefixCls:f,className:ie(h,`${f}-pure-panel`,i&&S,i&&`${S}-${i}`,n,v,m)},u,{closeIcon:aQ(f,r),closable:a},_)))},BIe=SQ(FIe);function Dee(e){return rg(gQ(e))}const Sn=uQ;Sn.useModal=Eve;Sn.info=function(t){return rg(hQ(t))};Sn.success=function(t){return rg(vQ(t))};Sn.error=function(t){return rg(_Q(t))};Sn.warning=Dee;Sn.warn=Dee;Sn.confirm=function(t){return rg(bQ(t))};Sn.destroyAll=function(){for(;nc.length;){const t=nc.pop();t&&t()}};Sn.config=hve;Sn._InternalPanelDoNotUseOrYouWillBeFired=BIe;var UIe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},jIe=function(){var t=c.useRef([]),n=c.useRef(null);return c.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(i){if(i){a=!0;var o=i.style;o.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},_4=0,zIe=Jr();function HIe(){var e;return zIe?(e=_4,_4+=1):e="TEST_OR_SSR",e}const GIe=function(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_progress_".concat(HIe()))},[]),e||r};var b4=function(t){var n=t.bg,r=t.children;return c.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function S4(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var VIe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,i=e.radius,o=e.style,s=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=r&>(r)==="object",m=f?"#FFF":void 0,g=d/2,h=c.createElement("circle",{className:"".concat(n,"-circle-path"),r:i,cx:g,cy:g,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:s===0?0:1,style:o,ref:t});if(!f)return h;var v="".concat(a,"-conic"),S=p?"".concat(180+p/2,"deg"):"0deg",_=S4(r,(360-p)/360),E=S4(r,1),y="conic-gradient(from ".concat(S,", ").concat(_.join(", "),")"),C="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(E.join(", "),")");return c.createElement(c.Fragment,null,c.createElement("mask",{id:v},h),c.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},c.createElement(b4,{bg:C},c.createElement(b4,{bg:y}))))}),Jp=100,Ry=function(t,n,r,a,i,o,s,l,u,d){var p=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,f=r/100*360*((360-o)/360),m=o===0?0:{bottom:0,top:180,left:90,right:-90}[s],g=(100-a)/100*n;u==="round"&&a!==100&&(g+=d/2,g>=n&&(g=n-.01));var h=Jp/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:g+p,transform:"rotate(".concat(i+f+m,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},qIe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function E4(e){var t=e??[];return Array.isArray(t)?t:[t]}var WIe=function(t){var n=ee(ee({},UIe),t),r=n.id,a=n.prefixCls,i=n.steps,o=n.strokeWidth,s=n.trailWidth,l=n.gapDegree,u=l===void 0?0:l,d=n.gapPosition,p=n.trailColor,f=n.strokeLinecap,m=n.style,g=n.className,h=n.strokeColor,v=n.percent,S=Et(n,qIe),_=Jp/2,E=GIe(r),y="".concat(E,"-gradient"),C=_-o/2,T=Math.PI*2*C,x=u>0?90+u/2:-90,R=T*((360-u)/360),w=gt(i)==="object"?i:{count:i,gap:2},I=w.count,O=w.gap,k=E4(v),P=E4(h),M=P.find(function(B){return B&>(B)==="object"}),N=M&>(M)==="object",A=N?"butt":f,D=Ry(T,R,0,100,x,u,d,p,A,o),L=jIe(),$=function(){var z=0;return k.map(function(U,j){var G=P[j]||P[P.length-1],J=Ry(T,R,z,U,x,u,d,G,A,o);return z+=U,c.createElement(VIe,{key:j,color:G,ptg:U,radius:C,prefixCls:a,gradientId:y,style:J,strokeLinecap:A,strokeWidth:o,gapDegree:u,ref:function(X){L[j]=X},size:Jp})}).reverse()},F=function(){var z=Math.round(I*(k[0]/100)),U=100/I,j=0;return new Array(I).fill(null).map(function(G,J){var Y=J<=z-1?P[0]:p,X=Y&>(Y)==="object"?"url(#".concat(y,")"):void 0,V=Ry(T,R,j,U,x,u,d,Y,"butt",o,O);return j+=(R-V.strokeDashoffset+O)*100/R,c.createElement("circle",{key:J,className:"".concat(a,"-circle-path"),r:C,cx:_,cy:_,stroke:X,strokeWidth:o,opacity:1,style:V,ref:function(q){L[J]=q}})})};return c.createElement("svg",_e({className:ie("".concat(a,"-circle"),g),viewBox:"0 0 ".concat(Jp," ").concat(Jp),style:m,id:r,role:"presentation"},S),!I&&c.createElement("circle",{className:"".concat(a,"-circle-trail"),r:C,cx:_,cy:_,stroke:p,strokeLinecap:A,strokeWidth:s||o,style:D}),I?F():$())};function ul(e){return!e||e<0?0:e>100?100:e}function I_(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const YIe=e=>{let{percent:t,success:n,successPercent:r}=e;const a=ul(I_({success:n,successPercent:r}));return[a,ul(ul(t)-a)]},KIe=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||Ju.green,n||null]},mS=(e,t,n)=>{var r,a,i,o;let s=-1,l=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,l=d??8):typeof e=="number"?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?l=u||(e==="small"?6:8):typeof e=="number"?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,l]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,l=(o=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&o!==void 0?o:120));return[s,l]},XIe=3,QIe=e=>XIe/e*100,ZIe=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:i,width:o=120,type:s,children:l,success:u,size:d=o,steps:p}=e,[f,m]=mS(d,"circle");let{strokeWidth:g}=e;g===void 0&&(g=Math.max(QIe(f),6));const h={width:f,height:m,fontSize:f*.15+6},v=c.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),S=YIe(e),_=a||s==="dashboard"&&"bottom"||void 0,E=Object.prototype.toString.call(e.strokeColor)==="[object Object]",y=KIe({success:u,strokeColor:e.strokeColor}),C=ie(`${t}-inner`,{[`${t}-circle-gradient`]:E}),T=c.createElement(WIe,{steps:p,percent:p?S[1]:S,strokeWidth:g,trailWidth:g,strokeColor:p?y[1]:y,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:_}),x=f<=20,R=c.createElement("div",{className:C,style:h},T,!x&&l);return x?c.createElement(Jt,{title:l},R):R},O_="--progress-line-stroke-color",Mee="--progress-percent",y4=e=>{const t=e?"100%":"-100%";return new dn(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},JIe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},on(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${O_})`]},height:"100%",width:`calc(1 / var(${Mee}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${Q(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:y4(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:y4(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},eOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},tOe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},nOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},rOe=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),aOe=cn("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Ht(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[JIe(n),eOe(n),tOe(n),nOe(n)]},rOe);var iOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},sOe=(e,t)=>{const{from:n=Ju.blue,to:r=Ju.blue,direction:a=t==="rtl"?"to left":"to right"}=e,i=iOe(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=oOe(i),l=`linear-gradient(${a}, ${s})`;return{background:l,[O_]:l}}const o=`linear-gradient(${a}, ${n}, ${r})`;return{background:o,[O_]:o}},lOe=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:i,strokeColor:o,strokeLinecap:s="round",children:l,trailColor:u=null,percentPosition:d,success:p}=e,{align:f,type:m}=d,g=o&&typeof o!="string"?sOe(o,n):{[O_]:o,background:o},h=s==="square"||s==="butt"?0:void 0,v=a??[-1,i||(a==="small"?6:8)],[S,_]=mS(v,"line",{strokeWidth:i}),E={backgroundColor:u||void 0,borderRadius:h},y=Object.assign(Object.assign({width:`${ul(r)}%`,height:_,borderRadius:h},g),{[Mee]:ul(r)/100}),C=I_(e),T={width:`${ul(C)}%`,height:_,borderRadius:h,backgroundColor:p==null?void 0:p.strokeColor},x={width:S<0?"100%":S},R=c.createElement("div",{className:`${t}-inner`,style:E},c.createElement("div",{className:ie(`${t}-bg`,`${t}-bg-${m}`),style:y},m==="inner"&&l),C!==void 0&&c.createElement("div",{className:`${t}-success-bg`,style:T})),w=m==="outer"&&f==="start",I=m==="outer"&&f==="end";return m==="outer"&&f==="center"?c.createElement("div",{className:`${t}-layout-bottom`},R,l):c.createElement("div",{className:`${t}-outer`,style:x},w&&l,R,I&&l)},cOe=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:i,trailColor:o=null,prefixCls:s,children:l}=e,u=Math.round(n*(r/100)),p=t??[t==="small"?2:14,a],[f,m]=mS(p,"step",{steps:n,strokeWidth:a}),g=f/n,h=new Array(n);for(let v=0;v{const{prefixCls:n,className:r,rootClassName:a,steps:i,strokeColor:o,percent:s=0,size:l="default",showInfo:u=!0,type:d="line",status:p,format:f,style:m,percentPosition:g={}}=e,h=uOe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:S="outer"}=g,_=Array.isArray(o)?o[0]:o,E=typeof o=="string"||Array.isArray(o)?o:void 0,y=c.useMemo(()=>{if(_){const $=typeof _=="string"?_:Object.values(_)[0];return new an($).isLight()}return!1},[o]),C=c.useMemo(()=>{var $,F;const B=I_(e);return parseInt(B!==void 0?($=B??0)===null||$===void 0?void 0:$.toString():(F=s??0)===null||F===void 0?void 0:F.toString(),10)},[s,e.success,e.successPercent]),T=c.useMemo(()=>!dOe.includes(p)&&C>=100?"success":p||"normal",[p,C]),{getPrefixCls:x,direction:R,progress:w}=c.useContext(lt),I=x("progress",n),[O,k,P]=aOe(I),M=d==="line",N=M&&!i,A=c.useMemo(()=>{if(!u)return null;const $=I_(e);let F;const B=f||(U=>`${U}%`),z=M&&y&&S==="inner";return S==="inner"||f||T!=="exception"&&T!=="success"?F=B(ul(s),ul($)):T==="exception"?F=M?c.createElement(Bc,null):c.createElement(na,null):T==="success"&&(F=M?c.createElement(Ym,null):c.createElement(zb,null)),c.createElement("span",{className:ie(`${I}-text`,{[`${I}-text-bright`]:z,[`${I}-text-${v}`]:N,[`${I}-text-${S}`]:N}),title:typeof F=="string"?F:void 0},F)},[u,s,C,T,d,I,f]);let D;d==="line"?D=i?c.createElement(cOe,Object.assign({},e,{strokeColor:E,prefixCls:I,steps:typeof i=="object"?i.count:i}),A):c.createElement(lOe,Object.assign({},e,{strokeColor:_,prefixCls:I,direction:R,percentPosition:{align:v,type:S}}),A):(d==="circle"||d==="dashboard")&&(D=c.createElement(ZIe,Object.assign({},e,{strokeColor:_,prefixCls:I,progressStatus:T}),A));const L=ie(I,`${I}-status-${T}`,{[`${I}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${I}-inline-circle`]:d==="circle"&&mS(l,"circle")[0]<=20,[`${I}-line`]:N,[`${I}-line-align-${v}`]:N,[`${I}-line-position-${S}`]:N,[`${I}-steps`]:i,[`${I}-show-info`]:u,[`${I}-${l}`]:typeof l=="string",[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,r,a,k,P);return O(c.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},w==null?void 0:w.style),m),className:L,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},An(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),D))});var pOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},fOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pOe}))},mOe=c.forwardRef(fOe),gOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},hOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:gOe}))},vOe=c.forwardRef(hOe),_Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},bOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:_Oe}))},SOe=c.forwardRef(bOe),EOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},yOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:EOe}))},COe=c.forwardRef(yOe),TOe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},xOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:TOe}))},ROe=c.forwardRef(xOe),wOe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},IOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:wOe}))},OOe=c.forwardRef(IOe),NOe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},AOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:NOe}))},DOe=c.forwardRef(AOe),MOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},LOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:MOe}))},C4=c.forwardRef(LOe),kOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"check-square",theme:"outlined"},POe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:kOe}))},T4=c.forwardRef(POe),$Oe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},FOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$Oe}))},x4=c.forwardRef(FOe),BOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},UOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:BOe}))},jOe=c.forwardRef(UOe),zOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},HOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:zOe}))},CD=c.forwardRef(HOe),GOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},VOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:GOe}))},qOe=c.forwardRef(VOe),WOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},YOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:WOe}))},Fk=c.forwardRef(YOe),KOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},XOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:KOe}))},QOe=c.forwardRef(XOe),ZOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},JOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ZOe}))},eNe=c.forwardRef(JOe),tNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},nNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tNe}))},Lee=c.forwardRef(nNe),rNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},aNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:rNe}))},Rd=c.forwardRef(aNe),iNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},oNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:iNe}))},wy=c.forwardRef(oNe),sNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},lNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:sNe}))},cNe=c.forwardRef(lNe),uNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},dNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:uNe}))},Bk=c.forwardRef(dNe),pNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},fNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pNe}))},Sm=c.forwardRef(fNe),mNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},gNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:mNe}))},hNe=c.forwardRef(gNe),vNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},_Ne=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vNe}))},bNe=c.forwardRef(_Ne),SNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ENe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:SNe}))},kee=c.forwardRef(ENe),yNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},CNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yNe}))},TNe=c.forwardRef(CNe),xNe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},RNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:xNe}))},wNe=c.forwardRef(RNe),INe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ONe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:INe}))},NNe=c.forwardRef(ONe),ANe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},DNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ANe}))},MNe=c.forwardRef(DNe),LNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},kNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:LNe}))},TD=c.forwardRef(kNe),PNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},$Ne=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PNe}))},Uk=c.forwardRef($Ne),FNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},BNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:FNe}))},UNe=c.forwardRef(BNe),jNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},zNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:jNe}))},HNe=c.forwardRef(zNe),GNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},VNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:GNe}))},Pee=c.forwardRef(VNe),qNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},WNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:qNe}))},YNe=c.forwardRef(WNe),KNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},XNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:KNe}))},QNe=c.forwardRef(XNe),ZNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},JNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ZNe}))},e1e=c.forwardRef(JNe),t1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},n1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:t1e}))},jk=c.forwardRef(n1e),r1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:r1e}))},zu=c.forwardRef(a1e),i1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},o1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:i1e}))},s1e=c.forwardRef(o1e),l1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},c1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:l1e}))},u1e=c.forwardRef(c1e),d1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},p1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:d1e}))},f1e=c.forwardRef(p1e),m1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},g1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:m1e}))},h1e=c.forwardRef(g1e),v1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},_1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:v1e}))},b1e=c.forwardRef(_1e),S1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},E1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:S1e}))},y1e=c.forwardRef(E1e),C1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},T1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:C1e}))},x1e=c.forwardRef(T1e),R1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},w1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:R1e}))},I1e=c.forwardRef(w1e),O1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},N1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:O1e}))},A1e=c.forwardRef(N1e),D1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},M1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:D1e}))},R4=c.forwardRef(M1e),L1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},k1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:L1e}))},P1e=c.forwardRef(k1e),$1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},F1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$1e}))},w4=c.forwardRef(F1e),B1e={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},U1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:B1e}))},j1e=c.forwardRef(U1e),z1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},H1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:z1e}))},Lo=c.forwardRef(H1e),G1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},V1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:G1e}))},$ee=c.forwardRef(V1e),q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},W1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:q1e}))},Y1e=c.forwardRef(W1e),K1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},X1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:K1e}))},I4=c.forwardRef(X1e),Q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},Z1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Q1e}))},zk=c.forwardRef(Z1e),J1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},eAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:J1e}))},Fee=c.forwardRef(eAe),tAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},nAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tAe}))},rAe=c.forwardRef(nAe),aAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},iAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:aAe}))},Hk=c.forwardRef(iAe),oAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},sAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:oAe}))},lAe=c.forwardRef(sAe),cAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},uAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:cAe}))},Bee=c.forwardRef(uAe),dAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},pAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:dAe}))},fAe=c.forwardRef(pAe),mAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},gAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:mAe}))},hAe=c.forwardRef(gAe),vAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},_Ae=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vAe}))},bAe=c.forwardRef(_Ae),SAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},EAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:SAe}))},Uee=c.forwardRef(EAe),yAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},CAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yAe}))},TAe=c.forwardRef(CAe),xAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},RAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:xAe}))},wAe=c.forwardRef(RAe),IAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},OAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:IAe}))},NAe=c.forwardRef(OAe),AAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},DAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:AAe}))},MAe=c.forwardRef(DAe),LAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},kAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:LAe}))},jee=c.forwardRef(kAe),PAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},$Ae=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PAe}))},zee=c.forwardRef($Ae),FAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},BAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:FAe}))},xD=c.forwardRef(BAe),UAe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function O4(e){return typeof e=="string"}function Hee(e){var t,n=e.className,r=e.prefixCls,a=e.style,i=e.active,o=e.status,s=e.iconPrefix,l=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,p=e.description,f=e.title,m=e.subTitle,g=e.progressDot,h=e.stepIcon,v=e.tailContent,S=e.icons,_=e.stepIndex,E=e.onStepClick,y=e.onClick,C=e.render,T=Et(e,UAe),x=!!E&&!d,R={};x&&(R.role="button",R.tabIndex=0,R.onClick=function(M){y==null||y(M),E(_)},R.onKeyDown=function(M){var N=M.which;(N===Fe.ENTER||N===Fe.SPACE)&&E(_)});var w=function(){var N,A,D=ie("".concat(r,"-icon"),"".concat(s,"icon"),(N={},W(N,"".concat(s,"icon-").concat(l),l&&O4(l)),W(N,"".concat(s,"icon-check"),!l&&o==="finish"&&(S&&!S.finish||!S)),W(N,"".concat(s,"icon-cross"),!l&&o==="error"&&(S&&!S.error||!S)),N)),L=c.createElement("span",{className:"".concat(r,"-icon-dot")});return g?typeof g=="function"?A=c.createElement("span",{className:"".concat(r,"-icon")},g(L,{index:u-1,status:o,title:f,description:p})):A=c.createElement("span",{className:"".concat(r,"-icon")},L):l&&!O4(l)?A=c.createElement("span",{className:"".concat(r,"-icon")},l):S&&S.finish&&o==="finish"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.finish):S&&S.error&&o==="error"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.error):l||o==="finish"||o==="error"?A=c.createElement("span",{className:D}):A=c.createElement("span",{className:"".concat(r,"-icon")},u),h&&(A=h({index:u-1,status:o,title:f,description:p,node:A})),A},I=o||"wait",O=ie("".concat(r,"-item"),"".concat(r,"-item-").concat(I),n,(t={},W(t,"".concat(r,"-item-custom"),l),W(t,"".concat(r,"-item-active"),i),W(t,"".concat(r,"-item-disabled"),d===!0),t)),k=ee({},a),P=c.createElement("div",_e({},T,{className:O,style:k}),c.createElement("div",_e({onClick:y},R,{className:"".concat(r,"-item-container")}),c.createElement("div",{className:"".concat(r,"-item-tail")},v),c.createElement("div",{className:"".concat(r,"-item-icon")},w()),c.createElement("div",{className:"".concat(r,"-item-content")},c.createElement("div",{className:"".concat(r,"-item-title")},f,m&&c.createElement("div",{title:typeof m=="string"?m:void 0,className:"".concat(r,"-item-subtitle")},m)),p&&c.createElement("div",{className:"".concat(r,"-item-description")},p))));return C&&(P=C(P)||null),P}var jAe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function Gk(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,i=a===void 0?{}:a,o=e.className;e.children;var s=e.direction,l=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,p=e.labelPlacement,f=p===void 0?"horizontal":p,m=e.iconPrefix,g=m===void 0?"rc":m,h=e.status,v=h===void 0?"process":h,S=e.size,_=e.current,E=_===void 0?0:_,y=e.progressDot,C=y===void 0?!1:y,T=e.stepIcon,x=e.initial,R=x===void 0?0:x,w=e.icons,I=e.onChange,O=e.itemRender,k=e.items,P=k===void 0?[]:k,M=Et(e,jAe),N=d==="navigation",A=d==="inline",D=A||C,L=A?"horizontal":l,$=A?void 0:S,F=D?"vertical":f,B=ie(r,"".concat(r,"-").concat(L),o,(t={},W(t,"".concat(r,"-").concat($),$),W(t,"".concat(r,"-label-").concat(F),L==="horizontal"),W(t,"".concat(r,"-dot"),!!D),W(t,"".concat(r,"-navigation"),N),W(t,"".concat(r,"-inline"),A),t)),z=function(G){I&&E!==G&&I(G)},U=function(G,J){var Y=ee({},G),X=R+J;return v==="error"&&J===E-1&&(Y.className="".concat(r,"-next-error")),Y.status||(X===E?Y.status=v:X{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:Q(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},HAe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},GAe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),o={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${Q(i)} ${Q(e.paddingXXS)} 0`,margin:`0 ${Q(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${Q(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${Q(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${Q(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-error":o,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${Q(e.calc(n).div(2).equal())})`,top:0}},o),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},VAe=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${Q(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},qAe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},vi),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${Q(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${Q(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},WAe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:i,marginXXS:o,lineWidthBold:s,lineWidth:l,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),p=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:i}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:o,insetInlineStart:e.calc(r).div(2).sub(l).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(l).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${Q(d)} !important`,height:`${Q(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${Q(p)} !important`,height:`${Q(p)} !important`}}}}},YAe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:i,motionDurationSlow:o}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${Q(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${Q(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:Q(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${o}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(a).div(2).equal(),width:a,height:a,lineHeight:Q(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${Q(e.calc(i).add(e.paddingXS).equal())} 0 ${Q(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},KAe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},XAe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${Q(e.marginXS)}`,fontSize:r,lineHeight:Q(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:Q(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:Q(n),transform:"none"}}}}},QAe=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:Q(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${Q(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${Q(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${Q(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${Q(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:Q(n)}}}}},ZAe="wait",JAe="process",eDe="finish",tDe="error",Ch=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,i=`${e}DescriptionColor`,o=`${e}TailColor`,s=`${e}IconBgColor`,l=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[l],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[o]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[o]}}},nDe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},bs(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:Q(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${Q(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:Q(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Ch(ZAe,e)),Ch(JAe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Ch(eDe,e)),Ch(tDe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},rDe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},aDe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),nDe(e)),rDe(e)),zAe(e)),XAe(e)),QAe(e)),HAe(e)),VAe(e)),YAe(e)),qAe(e)),KAe(e)),WAe(e)),GAe(e))}},iDe=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),oDe=cn("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:i,colorTextDescription:o,colorTextQuaternary:s,colorError:l,colorBorderSecondary:u,colorSplit:d}=e,p=Ht(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:o,waitDescriptionColor:o,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:a,finishDescriptionColor:o,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:l,errorDescriptionColor:l,errorTailColor:d,errorIconBgColor:l,errorIconBorderColor:l,errorDotColor:l,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[aDe(p)]},iDe);function sDe(e){return e.filter(t=>t)}function lDe(e,t){if(e)return e;const n=br(t).map(r=>{if(c.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return sDe(n)}var cDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:i,items:o,responsive:s=!0,current:l=0,children:u,style:d}=e,p=cDe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:f}=Vb(s),{getPrefixCls:m,direction:g,steps:h}=c.useContext(lt),v=c.useMemo(()=>s&&f?"vertical":i,[f,i]),S=xr(n),_=m("steps",e.prefixCls),[E,y,C]=oDe(_),T=e.type==="inline",x=m("",e.iconPrefix),R=lDe(o,u),w=T?void 0:t,I=Object.assign(Object.assign({},h==null?void 0:h.style),d),O=ie(h==null?void 0:h.className,{[`${_}-rtl`]:g==="rtl",[`${_}-with-progress`]:w!==void 0},r,a,y,C),k={finish:c.createElement(zb,{className:`${_}-finish-icon`}),error:c.createElement(na,{className:`${_}-error-icon`})},P=N=>{let{node:A,status:D}=N;if(D==="process"&&w!==void 0){const L=S==="small"?32:40;return c.createElement("div",{className:`${_}-progress-icon`},c.createElement(gS,{type:"circle",percent:w,size:L,strokeWidth:4,format:()=>null}),A)}return A},M=(N,A)=>N.description?c.createElement(Jt,{title:N.description},A):A;return E(c.createElement(Gk,Object.assign({icons:k},p,{style:I,current:l,size:S,items:R,itemRender:T?M:void 0,stepIcon:P,direction:v,prefixCls:_,iconPrefix:x,className:O})))};hg.Step=Gk.Step;var uDe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Gee=c.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,i=e.className,o=e.checked,s=e.defaultChecked,l=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,f=e.onClick,m=e.onChange,g=e.onKeyDown,h=Et(e,uDe),v=ln(!1,{value:o,defaultValue:s}),S=oe(v,2),_=S[0],E=S[1];function y(R,w){var I=_;return l||(I=R,E(I),m==null||m(I,w)),I}function C(R){R.which===Fe.LEFT?y(!1,R):R.which===Fe.RIGHT&&y(!0,R),g==null||g(R)}function T(R){var w=y(!_,R);f==null||f(w,R)}var x=ie(a,i,(n={},W(n,"".concat(a,"-checked"),_),W(n,"".concat(a,"-disabled"),l),n));return c.createElement("button",_e({},h,{type:"button",role:"switch","aria-checked":_,disabled:l,className:x,ref:t,onKeyDown:C,onClick:T}),u,c.createElement("span",{className:"".concat(a,"-inner")},c.createElement("span",{className:"".concat(a,"-inner-checked")},d),c.createElement("span",{className:"".concat(a,"-inner-unchecked")},p)))});Gee.displayName="Switch";const dDe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:i,innerMaxMarginSM:o,handleSizeSM:s,calc:l}=e,u=`${t}-inner`,d=Q(l(s).add(l(r).mul(2)).equal()),p=Q(l(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:Q(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${p})`,marginInlineEnd:`calc(100% - ${d} + ${p})`},[`${u}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${p})`,marginInlineEnd:`calc(-100% + ${d} - ${p})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${Q(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},pDe=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},fDe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:i,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(i).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${Q(o(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},mDe=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:i,handleSize:o,calc:s}=e,l=`${t}-inner`,u=Q(s(o).add(s(r).mul(2)).equal()),d=Q(s(i).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},gDe=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:Q(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Bo(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},hDe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,i=t*n,o=r/2,s=2,l=i-s*2,u=o-s*2;return{trackHeight:i,trackHeightSM:o,trackMinWidth:l*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:l,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new an("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},vDe=cn("Switch",e=>{const t=Ht(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[gDe(t),mDe(t),fDe(t),pDe(t),dDe(t)]},hDe);var _De=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:i,className:o,rootClassName:s,style:l,checked:u,value:d,defaultChecked:p,defaultValue:f,onChange:m}=e,g=_De(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,v]=ln(!1,{value:u??d,defaultValue:p??f}),{getPrefixCls:S,direction:_,switch:E}=c.useContext(lt),y=c.useContext(ea),C=(a??y)||i,T=S("switch",n),x=c.createElement("div",{className:`${T}-handle`},i&&c.createElement(Ss,{className:`${T}-loading-icon`})),[R,w,I]=vDe(T),O=xr(r),k=ie(E==null?void 0:E.className,{[`${T}-small`]:O==="small",[`${T}-loading`]:i,[`${T}-rtl`]:_==="rtl"},o,s,w,I),P=Object.assign(Object.assign({},E==null?void 0:E.style),l),M=function(){v(arguments.length<=0?void 0:arguments[0]),m==null||m.apply(void 0,arguments)};return R(c.createElement(Qm,{component:"Switch"},c.createElement(Gee,Object.assign({},g,{checked:h,onChange:M,prefixCls:T,className:k,style:P,disabled:C,ref:t,loadingIcon:x}))))}),$a=bDe;$a.__ANT_SWITCH=!0;var js={},vg="rc-table-internal-hook";function Vk(e){var t=c.createContext(void 0),n=function(a){var i=a.value,o=a.children,s=c.useRef(i);s.current=i;var l=c.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=oe(l,1),d=u[0];return Qt(function(){Ur.unstable_batchedUpdates(function(){d.listeners.forEach(function(p){p(i)})})},[i]),c.createElement(t.Provider,{value:d},o)};return{Context:t,Provider:n,defaultValue:e}}function Ca(e,t){var n=Wt(typeof t=="function"?t:function(p){if(t===void 0)return p;if(!Array.isArray(t))return p[t];var f={};return t.forEach(function(m){f[m]=p[m]}),f}),r=c.useContext(e==null?void 0:e.Context),a=r||{},i=a.listeners,o=a.getValue,s=c.useRef();s.current=n(r?o():e==null?void 0:e.defaultValue);var l=c.useState({}),u=oe(l,2),d=u[1];return Qt(function(){if(!r)return;function p(f){var m=n(f);Ui(s.current,m,!0)||d({})}return i.add(p),function(){i.delete(p)}},[r]),s.current}function SDe(){var e=c.createContext(null);function t(){return c.useContext(e)}function n(a,i){var o=fo(a),s=function(u,d){var p=o?{ref:d}:{},f=c.useRef(0),m=c.useRef(u),g=t();return g!==null?c.createElement(a,_e({},u,p)):((!i||i(m.current,u))&&(f.current+=1),m.current=u,c.createElement(e.Provider,{value:f.current},c.createElement(a,_e({},u,p))))};return o?c.forwardRef(s):s}function r(a,i){var o=fo(a),s=function(u,d){var p=o?{ref:d}:{};return t(),c.createElement(a,_e({},u,p))};return o?c.memo(c.forwardRef(s),i):c.memo(s,i)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var qk=SDe(),Vee=qk.makeImmutable,rp=qk.responseImmutable,EDe=qk.useImmutableMark,Ka=Vk(),qee=c.createContext({renderWithProps:!1}),yDe="RC_TABLE_KEY";function CDe(e){return e==null?[]:Array.isArray(e)?e:[e]}function hS(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},i=a.key,o=a.dataIndex,s=i||CDe(o).join("-")||yDe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function RD(e){return e!=null}function TDe(e){return e&>(e)==="object"&&!Array.isArray(e)&&!c.isValidElement(e)}function xDe(e,t,n,r,a,i){var o=c.useContext(qee),s=EDe(),l=wl(function(){if(RD(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=li(e,u),p=d,f=void 0;if(a){var m=a(d,e,n);TDe(m)?(p=m.children,f=m.props,o.renderWithProps=!0):p=m}return[p,f]},[s,e,r,t,a,n],function(u,d){if(i){var p=oe(u,2),f=p[1],m=oe(d,2),g=m[1];return i(g,f)}return o.renderWithProps?!0:!Ui(u,d,!0)});return l}function RDe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function wDe(e,t){return Ca(Ka,function(n){var r=RDe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var IDe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,i,o=n===!0?{showTitle:!0}:n;return o&&(o.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?i=a.toString():c.isValidElement(a)&&typeof a.props.children=="string"&&(i=a.props.children)),i};function ODe(e){var t,n,r,a,i,o,s,l,u=e.component,d=e.children,p=e.ellipsis,f=e.scope,m=e.prefixCls,g=e.className,h=e.align,v=e.record,S=e.render,_=e.dataIndex,E=e.renderIndex,y=e.shouldCellUpdate,C=e.index,T=e.rowType,x=e.colSpan,R=e.rowSpan,w=e.fixLeft,I=e.fixRight,O=e.firstFixLeft,k=e.lastFixLeft,P=e.firstFixRight,M=e.lastFixRight,N=e.appendNode,A=e.additionalProps,D=A===void 0?{}:A,L=e.isSticky,$="".concat(m,"-cell"),F=Ca(Ka,["supportSticky","allColumnsFixedLeft","rowHoverable"]),B=F.supportSticky,z=F.allColumnsFixedLeft,U=F.rowHoverable,j=xDe(v,_,E,d,S,y),G=oe(j,2),J=G[0],Y=G[1],X={},V=typeof w=="number"&&B,H=typeof I=="number"&&B;V&&(X.position="sticky",X.left=w),H&&(X.position="sticky",X.right=I);var q=(t=(n=(r=Y==null?void 0:Y.colSpan)!==null&&r!==void 0?r:D.colSpan)!==null&&n!==void 0?n:x)!==null&&t!==void 0?t:1,K=(a=(i=(o=Y==null?void 0:Y.rowSpan)!==null&&o!==void 0?o:D.rowSpan)!==null&&i!==void 0?i:R)!==null&&a!==void 0?a:1,Z=wDe(C,K),te=oe(Z,2),se=te[0],ue=te[1],me=Wt(function(ae){var le;v&&ue(C,C+K-1),D==null||(le=D.onMouseEnter)===null||le===void 0||le.call(D,ae)}),de=Wt(function(ae){var le;v&&ue(-1,-1),D==null||(le=D.onMouseLeave)===null||le===void 0||le.call(D,ae)});if(q===0||K===0)return null;var Te=(s=D.title)!==null&&s!==void 0?s:IDe({rowType:T,ellipsis:p,children:J}),Ee=ie($,g,(l={},W(l,"".concat($,"-fix-left"),V&&B),W(l,"".concat($,"-fix-left-first"),O&&B),W(l,"".concat($,"-fix-left-last"),k&&B),W(l,"".concat($,"-fix-left-all"),k&&z&&B),W(l,"".concat($,"-fix-right"),H&&B),W(l,"".concat($,"-fix-right-first"),P&&B),W(l,"".concat($,"-fix-right-last"),M&&B),W(l,"".concat($,"-ellipsis"),p),W(l,"".concat($,"-with-append"),N),W(l,"".concat($,"-fix-sticky"),(V||H)&&L&&B),W(l,"".concat($,"-row-hover"),!Y&&se),l),D.className,Y==null?void 0:Y.className),ge={};h&&(ge.textAlign=h);var re=ee(ee(ee(ee({},X),D.style),ge),Y==null?void 0:Y.style),ne=J;return gt(ne)==="object"&&!Array.isArray(ne)&&!c.isValidElement(ne)&&(ne=null),p&&(k||P)&&(ne=c.createElement("span",{className:"".concat($,"-content")},ne)),c.createElement(u,_e({},Y,D,{className:Ee,style:re,title:Te,scope:f,onMouseEnter:U?me:void 0,onMouseLeave:U?de:void 0,colSpan:q!==1?q:null,rowSpan:K!==1?K:null}),N,ne)}const Gc=c.memo(ODe);function Wk(e,t,n,r,a){var i=n[e]||{},o=n[t]||{},s,l;i.fixed==="left"?s=r.left[a==="rtl"?t:e]:o.fixed==="right"&&(l=r.right[a==="rtl"?e:t]);var u=!1,d=!1,p=!1,f=!1,m=n[t+1],g=n[e-1],h=m&&!m.fixed||g&&!g.fixed||n.every(function(y){return y.fixed==="left"});if(a==="rtl"){if(s!==void 0){var v=g&&g.fixed==="left";f=!v&&h}else if(l!==void 0){var S=m&&m.fixed==="right";p=!S&&h}}else if(s!==void 0){var _=m&&m.fixed==="left";u=!_&&h}else if(l!==void 0){var E=g&&g.fixed==="right";d=!E&&h}return{fixLeft:s,fixRight:l,lastFixLeft:u,firstFixRight:d,lastFixRight:p,firstFixLeft:f,isSticky:r.isSticky}}var Wee=c.createContext({});function NDe(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,i=a===void 0?1:a,o=e.rowSpan,s=e.align,l=Ca(Ka,["prefixCls","direction"]),u=l.prefixCls,d=l.direction,p=c.useContext(Wee),f=p.scrollColumnIndex,m=p.stickyOffsets,g=p.flattenColumns,h=n+i-1,v=h+1===f?i+1:i,S=Wk(n,n+v-1,g,m,d);return c.createElement(Gc,_e({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:o,render:function(){return r}},S))}var ADe=["children"];function DDe(e){var t=e.children,n=Et(e,ADe);return c.createElement("tr",n,t)}function vS(e){var t=e.children;return t}vS.Row=DDe;vS.Cell=NDe;function MDe(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=Ca(Ka,"prefixCls"),i=r.length-1,o=r[i],s=c.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o!=null&&o.scrollbar?i:null}},[o,r,i,n]);return c.createElement(Wee.Provider,{value:s},c.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const Th=rp(MDe);var Yee=vS;function LDe(e){return null}function kDe(e){return null}function Kee(e,t,n,r,a,i,o){e.push({record:t,indent:n,index:o});var s=i(t),l=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&l)for(var u=0;u1?O-1:0),P=1;P=1?C:""),style:ee(ee({},n),S==null?void 0:S.style)}),g.map(function(w,I){var O=w.render,k=w.dataIndex,P=w.className,M=Jee(f,w,I,l,a),N=M.key,A=M.fixedInfo,D=M.appendCellNode,L=M.additionalCellProps;return c.createElement(Gc,_e({className:P,ellipsis:w.ellipsis,align:w.align,scope:w.rowScope,component:w.rowScope?p:d,prefixCls:m,key:N,record:r,index:a,renderIndex:i,dataIndex:k,render:O,shouldCellUpdate:w.shouldCellUpdate},A,{appendNode:D,additionalProps:L}))})),x;if(E&&(y.current||_)){var R=v(r,a,l+1,_);x=c.createElement(Zee,{expanded:_,className:ie("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(l+1),C),prefixCls:m,component:u,cellComponent:d,colSpan:g.length,isEmpty:!1},R)}return c.createElement(c.Fragment,null,T,x)}const $De=rp(PDe);function FDe(e){var t=e.columnKey,n=e.onColumnResize,r=c.useRef();return c.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),c.createElement(da,{data:t},c.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},c.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function BDe(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return c.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},c.createElement(da.Collection,{onBatchResize:function(i){i.forEach(function(o){var s=o.data,l=o.size;r(s,l.offsetWidth)})}},n.map(function(a){return c.createElement(FDe,{key:a,columnKey:a,onColumnResize:r})})))}function UDe(e){var t=e.data,n=e.measureColumnWidth,r=Ca(Ka,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,i=r.getComponent,o=r.onColumnResize,s=r.flattenColumns,l=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,p=r.emptyNode,f=Xee(t,d,u,l),m=c.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),h=i(["body","row"],"tr"),v=i(["body","cell"],"td"),S=i(["body","cell"],"th"),_;t.length?_=f.map(function(y,C){var T=y.record,x=y.indent,R=y.index,w=l(T,C);return c.createElement($De,{key:w,rowKey:w,record:T,index:C,renderIndex:R,rowComponent:h,cellComponent:v,scopeCellComponent:S,getRowKey:l,indent:x})}):_=c.createElement(Zee,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:h,cellComponent:v,colSpan:s.length,isEmpty:!0},p);var E=hS(s);return c.createElement(qee.Provider,{value:m.current},c.createElement(g,{className:"".concat(a,"-tbody")},n&&c.createElement(BDe,{prefixCls:a,columnsKey:E,onColumnResize:o}),_))}const jDe=rp(UDe);var zDe=["expandable"],Rf="RC_TABLE_INTERNAL_COL_DEFINE";function HDe(e){var t=e.expandable,n=Et(e,zDe),r;return"expandable"in e?r=ee(ee({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var GDe=["columnType"];function ete(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=[],i=r||n.length,o=!1,s=i-1;s>=0;s-=1){var l=t[s],u=n&&n[s],d=u&&u[Rf];if(l||d||o){var p=d||{};p.columnType;var f=Et(p,GDe);a.unshift(c.createElement("col",_e({key:s,style:{width:l}},f))),o=!0}}return c.createElement("colgroup",null,a)}var VDe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qDe(e,t){return c.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:o,prefixCls:d,key:m[h]},S,{additionalProps:_,rowType:"header"}))}))};function KDe(e){var t=[];function n(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];var u=s,d=o.filter(Boolean).map(function(p){var f={key:p.key,className:p.className||"",children:p.title,column:p,colStart:u},m=1,g=p.children;return g&&g.length>0&&(m=n(g,u,l+1).reduce(function(h,v){return h+v},0),f.hasSubColumns=!0),"colSpan"in p&&(m=p.colSpan),"rowSpan"in p&&(f.rowSpan=p.rowSpan),f.colSpan=m,f.colEnd=f.colStart+m-1,t[l].push(f),u+=m,m});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(l){!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function QDe(e,t,n){return c.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(f){var m=D4(t,f.width);m?r+=m:a+=1});var i=Math.max(t,n),o=Math.max(i-r,a),s=a,l=o/a,u=0,d=e.map(function(f){var m=ee({},f),g=D4(t,m.width);if(g)m.width=g;else{var h=Math.floor(l);m.width=s===1?o:h,o-=h,s-=1}return u+=m.width,m});if(u0?ee(ee({},t),{},{children:tte(n)}):t})}function wD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&>(n)==="object"}).reduce(function(n,r,a){var i=r.fixed,o=i===!0?"left":i,s="".concat(t,"-").concat(a),l=r.children;return l&&l.length>0?[].concat($e(n),$e(wD(l,s).map(function(u){return ee({fixed:o},u)}))):[].concat($e(n),[ee(ee({key:s},r),{},{fixed:o})])},[])}function eMe(e){return e.map(function(t){var n=t.fixed,r=Et(t,JDe),a=n;return n==="left"?a="right":n==="right"&&(a="left"),ee({fixed:a},r)})}function tMe(e,t){var n=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,o=e.expandedKeys,s=e.columnTitle,l=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,p=e.rowExpandable,f=e.expandIconColumnIndex,m=e.direction,g=e.expandRowByClick,h=e.columnWidth,v=e.fixed,S=e.scrollWidth,_=e.clientWidth,E=c.useMemo(function(){var k=r||Yk(a)||[];return tte(k.slice())},[r,a]),y=c.useMemo(function(){if(i){var k,P=E.slice();if(!P.includes(js)){var M=f||0;M>=0&&P.splice(M,0,js)}var N=P.indexOf(js);P=P.filter(function($,F){return $!==js||F===N});var A=E[N],D;(v==="left"||v)&&!f?D="left":(v==="right"||v)&&f===E.length?D="right":D=A?A.fixed:null;var L=(k={},W(k,Rf,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),W(k,"title",s),W(k,"fixed",D),W(k,"className","".concat(n,"-row-expand-icon-cell")),W(k,"width",h),W(k,"render",function(F,B,z){var U=l(B,z),j=o.has(U),G=p?p(B):!0,J=d({prefixCls:n,expanded:j,expandable:G,record:B,onExpand:u});return g?c.createElement("span",{onClick:function(X){return X.stopPropagation()}},J):J}),k);return P.map(function($){return $===js?L:$})}return E.filter(function($){return $!==js})},[i,E,l,o,d,m]),C=c.useMemo(function(){var k=y;return t&&(k=t(k)),k.length||(k=[{render:function(){return null}}]),k},[t,y,m]),T=c.useMemo(function(){return m==="rtl"?eMe(wD(C)):wD(C)},[C,m,S]),x=c.useMemo(function(){for(var k=-1,P=T.length-1;P>=0;P-=1){var M=T[P].fixed;if(M==="left"||M===!0){k=P;break}}if(k>=0)for(var N=0;N<=k;N+=1){var A=T[N].fixed;if(A!=="left"&&A!==!0)return!0}var D=T.findIndex(function(F){var B=F.fixed;return B==="right"});if(D>=0)for(var L=D;L=p&&(L=p-f),o({scrollLeft:L/p*(d+2)}),_.current.x=M.pageX},O=function(){x.current=Gt(function(){if(i.current){var M=SD(i.current).top,N=M+i.current.offsetHeight,A=l===window?document.documentElement.scrollTop+window.innerHeight:SD(l).top+l.clientHeight;N-uB()<=A||M>=A-s?S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!0})}):S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!1})})}})},k=function(M){S(function(N){return ee(ee({},N),{},{scrollLeft:M/d*p||0})})};return c.useImperativeHandle(n,function(){return{setScrollLeft:k,checkScrollBarVisible:O}}),c.useEffect(function(){var P=Mo(document.body,"mouseup",R,!1),M=Mo(document.body,"mousemove",I,!1);return O(),function(){P.remove(),M.remove()}},[f,C]),c.useEffect(function(){var P=Mo(l,"scroll",O,!1),M=Mo(window,"resize",O,!1);return function(){P.remove(),M.remove()}},[l]),c.useEffect(function(){v.isHiddenScrollBar||S(function(P){var M=i.current;return M?ee(ee({},P),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):P})},[v.isHiddenScrollBar]),d<=p||!f||v.isHiddenScrollBar?null:c.createElement("div",{style:{height:uB(),width:p,bottom:s},className:"".concat(u,"-sticky-scroll")},c.createElement("div",{onMouseDown:w,ref:m,className:ie("".concat(u,"-sticky-scroll-bar"),W({},"".concat(u,"-sticky-scroll-bar-active"),C)),style:{width:"".concat(f,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))};const dMe=c.forwardRef(uMe);var rte="rc-table",pMe=[],fMe={};function mMe(){return"No Data"}function gMe(e,t){var n,r=ee({rowKey:"key",prefixCls:rte,emptyText:mMe},e),a=r.prefixCls,i=r.className,o=r.rowClassName,s=r.style,l=r.data,u=r.rowKey,d=r.scroll,p=r.tableLayout,f=r.direction,m=r.title,g=r.footer,h=r.summary,v=r.caption,S=r.id,_=r.showHeader,E=r.components,y=r.emptyText,C=r.onRow,T=r.onHeaderRow,x=r.onScroll,R=r.internalHooks,w=r.transformColumns,I=r.internalRefs,O=r.tailor,k=r.getContainerWidth,P=r.sticky,M=r.rowHoverable,N=M===void 0?!0:M,A=l||pMe,D=!!A.length,L=R===vg,$=c.useCallback(function(ut,Pt){return li(E,ut)||Pt},[E]),F=c.useMemo(function(){return typeof u=="function"?u:function(ut){var Pt=ut&&ut[u];return Pt}},[u]),B=$(["body"]),z=sMe(),U=oe(z,3),j=U[0],G=U[1],J=U[2],Y=aMe(r,A,F),X=oe(Y,6),V=X[0],H=X[1],q=X[2],K=X[3],Z=X[4],te=X[5],se=d==null?void 0:d.x,ue=c.useState(0),me=oe(ue,2),de=me[0],Te=me[1],Ee=tMe(ee(ee(ee({},r),V),{},{expandable:!!V.expandedRowRender,columnTitle:V.columnTitle,expandedKeys:q,getRowKey:F,onTriggerExpand:te,expandIcon:K,expandIconColumnIndex:V.expandIconColumnIndex,direction:f,scrollWidth:L&&O&&typeof se=="number"?se:null,clientWidth:de}),L?w:null),ge=oe(Ee,4),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ae??se,Re=c.useMemo(function(){return{columns:re,flattenColumns:ne}},[re,ne]),Se=c.useRef(),Pe=c.useRef(),fe=c.useRef(),ve=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:Se.current,scrollTo:function(Pt){var mn;if(fe.current instanceof HTMLElement){var pr=Pt.index,pn=Pt.top,Ir=Pt.key;if(pn){var Or;(Or=fe.current)===null||Or===void 0||Or.scrollTo({top:pn})}else{var Sr,sa=Ir??F(A[pr]);(Sr=fe.current.querySelector('[data-row-key="'.concat(sa,'"]')))===null||Sr===void 0||Sr.scrollIntoView()}}else(mn=fe.current)!==null&&mn!==void 0&&mn.scrollTo&&fe.current.scrollTo(Pt)}}});var Ae=c.useRef(),ye=c.useState(!1),be=oe(ye,2),Ne=be[0],Ie=be[1],xe=c.useState(!1),ke=oe(xe,2),rt=ke[0],Me=ke[1],Ce=nte(new Map),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=hS(ne),ze=He.map(function(ut){return Ue.get(ut)}),Xe=c.useMemo(function(){return ze},[ze.join("_")]),Be=cMe(Xe,ne,f),Je=d&&RD(d.y),mt=d&&RD(pe)||!!V.fixed,pt=mt&&ne.some(function(ut){var Pt=ut.fixed;return Pt}),We=c.useRef(),Ve=lMe(P,a),Ze=Ve.isSticky,dt=Ve.offsetHeader,It=Ve.offsetSummary,Nt=Ve.offsetScroll,ht=Ve.stickyClassName,ct=Ve.container,ot=c.useMemo(function(){return h==null?void 0:h(A)},[h,A]),et=(Je||Ze)&&c.isValidElement(ot)&&ot.type===vS&&ot.props.fixed,vt,nt,bt;Je&&(nt={overflowY:"scroll",maxHeight:d.y}),mt&&(vt={overflowX:"auto"},Je||(nt={overflowY:"hidden"}),bt={width:pe===!0?"auto":pe,minWidth:"100%"});var Ct=c.useCallback(function(ut,Pt){qd(Se.current)&&Ye(function(mn){if(mn.get(ut)!==Pt){var pr=new Map(mn);return pr.set(ut,Pt),pr}return mn})},[]),tt=oMe(),it=oe(tt,2),Ke=it[0],qe=it[1];function _t(ut,Pt){Pt&&(typeof Pt=="function"?Pt(ut):Pt.scrollLeft!==ut&&(Pt.scrollLeft=ut,Pt.scrollLeft!==ut&&setTimeout(function(){Pt.scrollLeft=ut},0)))}var xt=Wt(function(ut){var Pt=ut.currentTarget,mn=ut.scrollLeft,pr=f==="rtl",pn=typeof mn=="number"?mn:Pt.scrollLeft,Ir=Pt||fMe;if(!qe()||qe()===Ir){var Or;Ke(Ir),_t(pn,Pe.current),_t(pn,fe.current),_t(pn,Ae.current),_t(pn,(Or=We.current)===null||Or===void 0?void 0:Or.setScrollLeft)}var Sr=Pt||Pe.current;if(Sr){var sa=Sr.scrollWidth,Ja=Sr.clientWidth;if(sa===Ja){Ie(!1),Me(!1);return}pr?(Ie(-pn0)):(Ie(pn>0),Me(pn1?v-M:0,A=ee(ee(ee({},R),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:N,pointerEvents:"auto"}),D=c.useMemo(function(){return p?k<=1:I===0||k===0||k>1},[k,I,p]);D?A.visibility="hidden":p&&(A.height=f==null?void 0:f(k));var L=D?function(){return null}:m,$={};return(k===0||I===0)&&($.rowSpan=1,$.colSpan=1),c.createElement(Gc,_e({className:ie(h,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:y,record:l,index:i,renderIndex:s,dataIndex:g,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:T,additionalProps:ee(ee({},x),{},{style:A},$)}))}var bMe=["data","index","className","rowKey","style","extra","getHeight"],SMe=c.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,i=e.rowKey,o=e.style,s=e.extra,l=e.getHeight,u=Et(e,bMe),d=n.record,p=n.indent,f=n.index,m=Ca(Ka,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=m.scrollX,h=m.flattenColumns,v=m.prefixCls,S=m.fixColumn,_=m.componentWidth,E=Ca(Kk,["getComponent"]),y=E.getComponent,C=Qee(d,i,r,p),T=y(["body","row"],"div"),x=y(["body","cell"],"div"),R=C.rowSupportExpand,w=C.expanded,I=C.rowProps,O=C.expandedRowRender,k=C.expandedRowClassName,P;if(R&&w){var M=O(d,r,p+1,w),N=k==null?void 0:k(d,r,p),A={};S&&(A={style:W({},"--virtual-width","".concat(_,"px"))});var D="".concat(v,"-expanded-row-cell");P=c.createElement(T,{className:ie("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(p+1),N)},c.createElement(Gc,{component:x,prefixCls:v,className:ie(D,W({},"".concat(D,"-fixed"),S)),additionalProps:A},M))}var L=ee(ee({},o),{},{width:g});s&&(L.position="absolute",L.pointerEvents="none");var $=c.createElement(T,_e({},I,u,{"data-row-key":i,ref:R?null:t,className:ie(a,"".concat(v,"-row"),I==null?void 0:I.className,W({},"".concat(v,"-row-extra"),s)),style:ee(ee({},L),I==null?void 0:I.style)}),h.map(function(F,B){return c.createElement(_Me,{key:B,component:x,rowInfo:C,column:F,colIndex:B,indent:p,index:r,renderIndex:f,record:d,inverse:s,getHeight:l})}));return R?c.createElement("div",{ref:t},$,P):$}),k4=rp(SMe),EMe=c.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=Ca(Ka,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=a.flattenColumns,o=a.onColumnResize,s=a.getRowKey,l=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,p=a.emptyNode,f=a.scrollX,m=Ca(Kk),g=m.sticky,h=m.scrollY,v=m.listItemHeight,S=m.getComponent,_=m.onScroll,E=c.useRef(),y=Xee(n,d,l,s),C=c.useMemo(function(){var A=0;return i.map(function(D){var L=D.width,$=D.key;return A+=L,[$,L,A]})},[i]),T=c.useMemo(function(){return C.map(function(A){return A[2]})},[C]);c.useEffect(function(){C.forEach(function(A){var D=oe(A,2),L=D[0],$=D[1];o(L,$)})},[C]),c.useImperativeHandle(t,function(){var A={scrollTo:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo(L)}};return Object.defineProperty(A,"scrollLeft",{get:function(){var L;return((L=E.current)===null||L===void 0?void 0:L.getScrollInfo().x)||0},set:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo({left:L})}}),A});var x=function(D,L){var $,F=($=y[L])===null||$===void 0?void 0:$.record,B=D.onCell;if(B){var z,U=B(F,L);return(z=U==null?void 0:U.rowSpan)!==null&&z!==void 0?z:1}return 1},R=function(D){var L=D.start,$=D.end,F=D.getSize,B=D.offsetY;if($<0)return null;for(var z=i.filter(function(te){return x(te,L)===0}),U=L,j=function(se){if(z=z.filter(function(ue){return x(ue,se)===0}),!z.length)return U=se,1},G=L;G>=0&&!j(G);G-=1);for(var J=i.filter(function(te){return x(te,$)!==1}),Y=$,X=function(se){if(J=J.filter(function(ue){return x(ue,se)!==1}),!J.length)return Y=Math.max(se-1,$),1},V=$;V1})&&H.push(se)},K=U;K<=Y;K+=1)q(K);var Z=H.map(function(te){var se=y[te],ue=s(se.record,te),me=function(Ee){var ge=te+Ee-1,re=s(y[ge].record,ge),ne=F(ue,re);return ne.bottom-ne.top},de=F(ue);return c.createElement(k4,{key:te,data:se,rowKey:ue,index:te,style:{top:-B+de.top},extra:!0,getHeight:me})});return Z},w=c.useMemo(function(){return{columnsOffset:T}},[T]),I="".concat(u,"-tbody"),O=S(["body","wrapper"]),k=S(["body","row"],"div"),P=S(["body","cell"],"div"),M;if(y.length){var N={};g&&(N.position="sticky",N.bottom=0,gt(g)==="object"&&g.offsetScroll&&(N.bottom=g.offsetScroll)),M=c.createElement(Ub,{fullHeight:!1,ref:E,prefixCls:"".concat(I,"-virtual"),styles:{horizontalScrollBar:N},className:I,height:h,itemHeight:v||24,data:y,itemKey:function(D){return s(D.record)},component:O,scrollWidth:f,onVirtualScroll:function(D){var L=D.x;r({scrollLeft:L})},onScroll:_,extraRender:R},function(A,D,L){var $=s(A.record,D);return c.createElement(k4,{data:A,rowKey:$,index:D,style:L.style})})}else M=c.createElement(k,{className:ie("".concat(u,"-placeholder"))},c.createElement(Gc,{component:P,prefixCls:u},p));return c.createElement(ite.Provider,{value:w},M)}),yMe=rp(EMe),CMe=function(t,n){var r=n.ref,a=n.onScroll;return c.createElement(yMe,{ref:r,data:t,onScroll:a})};function TMe(e,t){var n=e.columns,r=e.scroll,a=e.sticky,i=e.prefixCls,o=i===void 0?rte:i,s=e.className,l=e.listItemHeight,u=e.components,d=e.onScroll,p=r||{},f=p.x,m=p.y;typeof f!="number"&&(f=1),typeof m!="number"&&(m=500);var g=Wt(function(S,_){return li(u,S)||_}),h=Wt(d),v=c.useMemo(function(){return{sticky:a,scrollY:m,listItemHeight:l,getComponent:g,onScroll:h}},[a,m,l,g,h]);return c.createElement(Kk.Provider,{value:v},c.createElement(ap,_e({},e,{className:ie(s,"".concat(o,"-virtual")),scroll:ee(ee({},r),{},{x:f}),components:ee(ee({},u),{},{body:CMe}),columns:n,internalHooks:vg,tailor:!0,ref:t})))}var xMe=c.forwardRef(TMe);function ote(e){return Vee(xMe,e)}ote();const RMe=e=>null,wMe=e=>null;var Xk=c.createContext(null),IMe=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,i=t.isEnd,o="".concat(n,"-indent-unit"),s=[],l=0;l=0&&n.splice(r,1),n}function es(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function Qk(e){return e.split("-")}function MMe(e,t){var n=[],r=Ua(t,e);function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(o){var s=o.key,l=o.children;n.push(s),a(l)})}return a(r.children),n}function LMe(e){if(e.parent){var t=Qk(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function kMe(e){var t=Qk(e.pos);return Number(t[t.length-1])===0}function F4(e,t,n,r,a,i,o,s,l,u){var d,p=e.clientX,f=e.clientY,m=e.target.getBoundingClientRect(),g=m.top,h=m.height,v=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-p),S=(v-12)/r,_=l.filter(function(A){var D;return(D=s[A])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),E=Ua(s,n.props.eventKey);if(f-1.5?i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:0})?I=0:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1,{dropPosition:I,dropLevelOffset:O,dropTargetKey:E.key,dropTargetPos:E.pos,dragOverNodeKey:w,dropContainerKey:I===0?null:((d=E.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:N}}function B4(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function Iy(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(gt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return bn(!1,"`checkedKeys` is not an array or an object"),null;return t}function ID(e,t){var n=new Set;function r(a){if(!n.has(a)){var i=Ua(t,a);if(i){n.add(a);var o=i.parent,s=i.node;s.disabled||o&&r(o.key)}}}return(e||[]).forEach(function(a){r(a)}),$e(n)}function PMe(e){const[t,n]=c.useState(null);return[c.useCallback((i,o,s)=>{const l=t??i,u=Math.min(l||0,i),d=Math.max(l||0,i),p=o.slice(u,d+1).map(g=>e(g)),f=p.some(g=>!s.has(g)),m=[];return p.forEach(g=>{f?(s.has(g)||m.push(g),s.add(g)):(s.delete(g),m.push(g))}),n(f?d:null),m},[t]),i=>{n(i)}]}const $s={},OD="SELECT_ALL",ND="SELECT_INVERT",AD="SELECT_NONE",U4=[],ste=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat($e(n),$e(ste(e,r[e]))))}),n},$Me=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:i,onChange:o,onSelect:s,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:p,columnWidth:f,type:m,selections:g,fixed:h,renderCell:v,hideSelectAll:S,checkStrictly:_=!0}=t||{},{prefixCls:E,data:y,pageData:C,getRecordByKey:T,getRowKey:x,expandType:R,childrenColumnName:w,locale:I,getPopupContainer:O}=e,k=Il(),[P,M]=PMe(q=>q),[N,A]=ln(r||a||U4,{value:r}),D=c.useRef(new Map),L=c.useCallback(q=>{if(n){const K=new Map;q.forEach(Z=>{let te=T(Z);!te&&D.current.has(Z)&&(te=D.current.get(Z)),K.set(Z,te)}),D.current=K}},[T,n]);c.useEffect(()=>{L(N)},[N]);const{keyEntities:$}=c.useMemo(()=>{if(_)return{keyEntities:null};let q=y;if(n){const K=new Set(y.map((te,se)=>x(te,se))),Z=Array.from(D.current).reduce((te,se)=>{let[ue,me]=se;return K.has(ue)?te:te.concat(me)},[]);q=[].concat($e(q),$e(Z))}return sS(q,{externalGetKey:x,childrenPropName:w})},[y,x,_,w,n]),F=c.useMemo(()=>ste(w,C),[w,C]),B=c.useMemo(()=>{const q=new Map;return F.forEach((K,Z)=>{const te=x(K,Z),se=(i?i(K):null)||{};q.set(te,se)}),q},[F,x,i]),z=c.useCallback(q=>{var K;return!!(!((K=B.get(x(q)))===null||K===void 0)&&K.disabled)},[B,x]),[U,j]=c.useMemo(()=>{if(_)return[N||[],[]];const{checkedKeys:q,halfCheckedKeys:K}=ms(N,!0,$,z);return[q||[],K]},[N,_,$,z]),G=c.useMemo(()=>{const q=m==="radio"?U.slice(0,1):U;return new Set(q)},[U,m]),J=c.useMemo(()=>m==="radio"?new Set:new Set(j),[j,m]);c.useEffect(()=>{t||A(U4)},[!!t]);const Y=c.useCallback((q,K)=>{let Z,te;L(q),n?(Z=q,te=q.map(se=>D.current.get(se))):(Z=[],te=[],q.forEach(se=>{const ue=T(se);ue!==void 0&&(Z.push(se),te.push(ue))})),A(Z),o==null||o(Z,te,{type:K})},[A,T,o,n]),X=c.useCallback((q,K,Z,te)=>{if(s){const se=Z.map(ue=>T(ue));s(T(q),K,se,te)}Y(Z,"single")},[s,T,Y]),V=c.useMemo(()=>!g||S?null:(g===!0?[OD,ND,AD]:g).map(K=>K===OD?{key:"all",text:I.selectionAll,onSelect(){Y(y.map((Z,te)=>x(Z,te)).filter(Z=>{const te=B.get(Z);return!(te!=null&&te.disabled)||G.has(Z)}),"all")}}:K===ND?{key:"invert",text:I.selectInvert,onSelect(){const Z=new Set(G);C.forEach((se,ue)=>{const me=x(se,ue),de=B.get(me);de!=null&&de.disabled||(Z.has(me)?Z.delete(me):Z.add(me))});const te=Array.from(Z);u&&(k.deprecated(!1,"onSelectInvert","onChange"),u(te)),Y(te,"invert")}}:K===AD?{key:"none",text:I.selectNone,onSelect(){d==null||d(),Y(Array.from(G).filter(Z=>{const te=B.get(Z);return te==null?void 0:te.disabled}),"none")}}:K).map(K=>Object.assign(Object.assign({},K),{onSelect:function(){for(var Z,te,se=arguments.length,ue=new Array(se),me=0;me{var K;if(!t)return q.filter(fe=>fe!==$s);let Z=$e(q);const te=new Set(G),se=F.map(x).filter(fe=>!B.get(fe).disabled),ue=se.every(fe=>te.has(fe)),me=se.some(fe=>te.has(fe)),de=()=>{const fe=[];ue?se.forEach(Ae=>{te.delete(Ae),fe.push(Ae)}):se.forEach(Ae=>{te.has(Ae)||(te.add(Ae),fe.push(Ae))});const ve=Array.from(te);l==null||l(!ue,ve.map(Ae=>T(Ae)),fe.map(Ae=>T(Ae))),Y(ve,"all"),M(null)};let Te,Ee;if(m!=="radio"){let fe;if(V){const Ne={getPopupContainer:O,items:V.map((Ie,xe)=>{const{key:ke,text:rt,onSelect:Me}=Ie;return{key:ke??xe,onClick:()=>{Me==null||Me(se)},label:rt}})};fe=c.createElement("div",{className:`${E}-selection-extra`},c.createElement(dS,{menu:Ne,getPopupContainer:O},c.createElement("span",null,c.createElement(Hb,null))))}const ve=F.map((Ne,Ie)=>{const xe=x(Ne,Ie),ke=B.get(xe)||{};return Object.assign({checked:te.has(xe)},ke)}).filter(Ne=>{let{disabled:Ie}=Ne;return Ie}),Ae=!!ve.length&&ve.length===F.length,ye=Ae&&ve.every(Ne=>{let{checked:Ie}=Ne;return Ie}),be=Ae&&ve.some(Ne=>{let{checked:Ie}=Ne;return Ie});Ee=c.createElement(Ts,{checked:Ae?ye:!!F.length&&ue,indeterminate:Ae?!ye&&be:!ue&&me,onChange:de,disabled:F.length===0||Ae,"aria-label":fe?"Custom selection":"Select all",skipGroup:!0}),Te=!S&&c.createElement("div",{className:`${E}-selection`},Ee,fe)}let ge;m==="radio"?ge=(fe,ve,Ae)=>{const ye=x(ve,Ae),be=te.has(ye);return{node:c.createElement(di,Object.assign({},B.get(ye),{checked:be,onClick:Ne=>Ne.stopPropagation(),onChange:Ne=>{te.has(ye)||X(ye,!0,[ye],Ne.nativeEvent)}})),checked:be}}:ge=(fe,ve,Ae)=>{var ye;const be=x(ve,Ae),Ne=te.has(be),Ie=J.has(be),xe=B.get(be);let ke;return R==="nest"?ke=Ie:ke=(ye=xe==null?void 0:xe.indeterminate)!==null&&ye!==void 0?ye:Ie,{node:c.createElement(Ts,Object.assign({},xe,{indeterminate:ke,checked:Ne,skipGroup:!0,onClick:rt=>rt.stopPropagation(),onChange:rt=>{let{nativeEvent:Me}=rt;const{shiftKey:Ce}=Me,De=se.findIndex(Ye=>Ye===be),Ue=U.some(Ye=>se.includes(Ye));if(Ce&&_&&Ue){const Ye=P(De,se,te),He=Array.from(te);p==null||p(!Ne,He.map(ze=>T(ze)),Ye.map(ze=>T(ze))),Y(He,"multiple")}else{const Ye=U;if(_){const He=Ne?To(Ye,be):es(Ye,be);X(be,!Ne,He,Me)}else{const He=ms([].concat($e(Ye),[be]),!0,$,z),{checkedKeys:ze,halfCheckedKeys:Xe}=He;let Be=ze;if(Ne){const Je=new Set(ze);Je.delete(be),Be=ms(Array.from(Je),{checked:!1,halfCheckedKeys:Xe},$,z).checkedKeys}X(be,!Ne,Be,Me)}}M(Ne?null:De)}})),checked:Ne}};const re=(fe,ve,Ae)=>{const{node:ye,checked:be}=ge(fe,ve,Ae);return v?v(be,ve,Ae,ye):ye};if(!Z.includes($s))if(Z.findIndex(fe=>{var ve;return((ve=fe[Rf])===null||ve===void 0?void 0:ve.columnType)==="EXPAND_COLUMN"})===0){const[fe,...ve]=Z;Z=[fe,$s].concat($e(ve))}else Z=[$s].concat($e(Z));const ne=Z.indexOf($s);Z=Z.filter((fe,ve)=>fe!==$s||ve===ne);const ae=Z[ne-1],le=Z[ne+1];let pe=h;pe===void 0&&((le==null?void 0:le.fixed)!==void 0?pe=le.fixed:(ae==null?void 0:ae.fixed)!==void 0&&(pe=ae.fixed)),pe&&ae&&((K=ae[Rf])===null||K===void 0?void 0:K.columnType)==="EXPAND_COLUMN"&&ae.fixed===void 0&&(ae.fixed=pe);const Re=ie(`${E}-selection-col`,{[`${E}-selection-col-with-dropdown`]:g&&m==="checkbox"}),Se=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Ee):t.columnTitle:Te,Pe={fixed:pe,width:f,className:`${E}-selection-column`,title:Se(),render:re,onCell:t.onCell,[Rf]:{className:Re}};return Z.map(fe=>fe===$s?Pe:fe)},[x,F,t,U,G,J,f,V,R,B,p,X,z]),G]};function FMe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function BMe(e,t){return c.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,i){return n[i]?n[i]:Reflect.get(a,i)}}):FMe(r,n)})}function UMe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:i,expandable:o}=t,s=`${n}-row-expand-icon`;return c.createElement("button",{type:"button",onClick:l=>{r(a,l),l.stopPropagation()},className:ie(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&i,[`${s}-collapsed`]:o&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function jMe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let i=r;if(a){const o=getComputedStyle(a),s=parseInt(o.borderLeftWidth,10),l=parseInt(o.borderRightWidth,10);i=r-s-l}return i}}const _l=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function ip(e,t){return t?`${t}-${e}`:`${e}`}const _S=(e,t)=>typeof e=="function"?e(t):e,zMe=(e,t)=>{const n=_S(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function HMe(e){const t=c.useRef(e),n=ek();return[()=>t.current,r=>{t.current=r,n()}]}function GMe(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:a.top=0,a.left=-n*r;break;case 1:a.bottom=0,a.left=-n*r;break;case 0:a.bottom=0,a.left=r;break}return c.createElement("div",{style:a})}function lte(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function VMe(e,t){var n=c.useState(!1),r=oe(n,2),a=r[0],i=r[1];Qt(function(){if(a)return e(),function(){t()}},[a]),Qt(function(){return i(!0),function(){i(!1)}},[])}var qMe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],cte=function(t,n){var r=t.className,a=t.style,i=t.motion,o=t.motionNodes,s=t.motionType,l=t.onMotionStart,u=t.onMotionEnd,d=t.active,p=t.treeNodeRequiredProps,f=Et(t,qMe),m=c.useState(!0),g=oe(m,2),h=g[0],v=g[1],S=c.useContext(Xk),_=S.prefixCls,E=o&&s!=="hide";Qt(function(){o&&E!==h&&v(E)},[o]);var y=function(){o&&l()},C=c.useRef(!1),T=function(){o&&!C.current&&(C.current=!0,u())};VMe(y,T);var x=function(w){E===w&&T()};return o?c.createElement(ta,_e({ref:n,visible:h},i,{motionAppear:s==="show",onVisibleChanged:x}),function(R,w){var I=R.className,O=R.style;return c.createElement("div",{ref:w,className:ie("".concat(_,"-treenode-motion"),I),style:O},o.map(function(k){var P=Object.assign({},(lte(k.data),k.data)),M=k.title,N=k.key,A=k.isStart,D=k.isEnd;delete P.children;var L=Tf(N,p);return c.createElement(wd,_e({},P,L,{title:M,active:d,data:k.data,key:N,isStart:A,isEnd:D}))}))}):c.createElement(wd,_e({domRef:n,className:r,style:a},f,{active:d}))};cte.displayName="MotionTreeNode";var WMe=c.forwardRef(cte);function YMe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(i,o){var s=new Map;i.forEach(function(u){s.set(u,!0)});var l=o.filter(function(u){return!s.has(u)});return l.length===1?l[0]:null}return n ").concat(t);return t}var dte=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,i=e.selectedKeys,o=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,p=e.disabled,f=e.dragging,m=e.dragOverNodeKey,g=e.dropPosition,h=e.motion,v=e.height,S=e.itemHeight,_=e.virtual,E=e.focusable,y=e.activeItem,C=e.focused,T=e.tabIndex,x=e.onKeyDown,R=e.onFocus,w=e.onBlur,I=e.onActiveChange,O=e.onListChangeStart,k=e.onListChangeEnd,P=Et(e,KMe),M=c.useRef(null),N=c.useRef(null);c.useImperativeHandle(t,function(){return{scrollTo:function(ge){M.current.scrollTo(ge)},getIndentWidth:function(){return N.current.offsetWidth}}});var A=c.useState(a),D=oe(A,2),L=D[0],$=D[1],F=c.useState(r),B=oe(F,2),z=B[0],U=B[1],j=c.useState(r),G=oe(j,2),J=G[0],Y=G[1],X=c.useState([]),V=oe(X,2),H=V[0],q=V[1],K=c.useState(null),Z=oe(K,2),te=Z[0],se=Z[1],ue=c.useRef(r);ue.current=r;function me(){var Ee=ue.current;U(Ee),Y(Ee),q([]),se(null),k()}Qt(function(){$(a);var Ee=YMe(L,a);if(Ee.key!==null)if(Ee.add){var ge=z.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),re=G4(j4(z,r,Ee.key),_,v,S),ne=z.slice();ne.splice(ge+1,0,H4),Y(ne),q(re),se("show")}else{var ae=r.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),le=G4(j4(r,z,Ee.key),_,v,S),pe=r.slice();pe.splice(ae+1,0,H4),Y(pe),q(le),se("hide")}else z!==r&&(U(r),Y(r))},[a,r]),c.useEffect(function(){f||me()},[f]);var de=h?J:r,Te={expandedKeys:a,selectedKeys:i,loadedKeys:s,loadingKeys:l,checkedKeys:o,halfCheckedKeys:u,dragOverNodeKey:m,dropPosition:g,keyEntities:d};return c.createElement(c.Fragment,null,C&&y&&c.createElement("span",{style:z4,"aria-live":"assertive"},QMe(y)),c.createElement("div",null,c.createElement("input",{style:z4,disabled:E===!1||p,tabIndex:E!==!1?T:null,onKeyDown:x,onFocus:R,onBlur:w,value:"",onChange:XMe,"aria-label":"for screen reader"})),c.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},c.createElement("div",{className:"".concat(n,"-indent")},c.createElement("div",{ref:N,className:"".concat(n,"-indent-unit")}))),c.createElement(Ub,_e({},P,{data:de,itemKey:V4,height:v,fullHeight:!1,virtual:_,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:M,onVisibleChange:function(ge){ge.every(function(re){return V4(re)!==Dc})&&me()}}),function(Ee){var ge=Ee.pos,re=Object.assign({},(lte(Ee.data),Ee.data)),ne=Ee.title,ae=Ee.key,le=Ee.isStart,pe=Ee.isEnd,Re=fg(ae,ge);delete re.key,delete re.children;var Se=Tf(Re,Te);return c.createElement(WMe,_e({},re,Se,{title:ne,active:!!y&&ae===y.key,pos:ge,data:Ee.data,isStart:le,isEnd:pe,motion:h,motionNodes:ae===Dc?H:null,motionType:te,onMotionStart:O,onMotionEnd:me,treeNodeRequiredProps:Te,onMouseMove:function(){I(null)}}))}))});dte.displayName="NodeList";var ZMe=10,bS=function(e){Si(n,e);var t=Wi(n);function n(){var r;Jn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o2&&arguments[2]!==void 0?arguments[2]:!1,p=r.state,f=p.dragChildrenKeys,m=p.dropPosition,g=p.dropTargetKey,h=p.dropTargetPos,v=p.dropAllowed;if(v){var S=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),g!==null){var _=ee(ee({},Tf(g,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===g,data:Ua(r.state.keyEntities,g).node}),E=f.indexOf(g)!==-1;bn(!E,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var y=Qk(h),C={event:s,node:Ar(_),dragNode:r.dragNode?Ar(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(f),dropToGap:m!==0,dropPosition:m+Number(y[y.length-1])};d||S==null||S(C),r.dragNode=null}}}),W(Ge(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),W(Ge(r),"triggerExpandActionExpand",function(s,l){var u=r.state,d=u.expandedKeys,p=u.flattenNodes,f=l.expanded,m=l.key,g=l.isLeaf;if(!(g||s.shiftKey||s.metaKey||s.ctrlKey)){var h=p.filter(function(S){return S.key===m})[0],v=Ar(ee(ee({},Tf(m,r.getTreeNodeRequiredProps())),{},{data:h.data}));r.setExpandedKeys(f?To(d,m):es(d,m)),r.onNodeExpand(s,v)}}),W(Ge(r),"onNodeClick",function(s,l){var u=r.props,d=u.onClick,p=u.expandAction;p==="click"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeDoubleClick",function(s,l){var u=r.props,d=u.onDoubleClick,p=u.expandAction;p==="doubleClick"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeSelect",function(s,l){var u=r.state.selectedKeys,d=r.state,p=d.keyEntities,f=d.fieldNames,m=r.props,g=m.onSelect,h=m.multiple,v=l.selected,S=l[f.key],_=!v;_?h?u=es(u,S):u=[S]:u=To(u,S);var E=u.map(function(y){var C=Ua(p,y);return C?C.node:null}).filter(function(y){return y});r.setUncontrolledState({selectedKeys:u}),g==null||g(u,{event:"select",selected:_,node:l,selectedNodes:E,nativeEvent:s.nativeEvent})}),W(Ge(r),"onNodeCheck",function(s,l,u){var d=r.state,p=d.keyEntities,f=d.checkedKeys,m=d.halfCheckedKeys,g=r.props,h=g.checkStrictly,v=g.onCheck,S=l.key,_,E={event:"check",node:l,checked:u,nativeEvent:s.nativeEvent};if(h){var y=u?es(f,S):To(f,S),C=To(m,S);_={checked:y,halfChecked:C},E.checkedNodes=y.map(function(O){return Ua(p,O)}).filter(function(O){return O}).map(function(O){return O.node}),r.setUncontrolledState({checkedKeys:y})}else{var T=ms([].concat($e(f),[S]),!0,p),x=T.checkedKeys,R=T.halfCheckedKeys;if(!u){var w=new Set(x);w.delete(S);var I=ms(Array.from(w),{checked:!1,halfCheckedKeys:R},p);x=I.checkedKeys,R=I.halfCheckedKeys}_=x,E.checkedNodes=[],E.checkedNodesPositions=[],E.halfCheckedKeys=R,x.forEach(function(O){var k=Ua(p,O);if(k){var P=k.node,M=k.pos;E.checkedNodes.push(P),E.checkedNodesPositions.push({node:P,pos:M})}}),r.setUncontrolledState({checkedKeys:x},!1,{halfCheckedKeys:R})}v==null||v(_,E)}),W(Ge(r),"onNodeLoad",function(s){var l,u=s.key,d=r.state.keyEntities,p=Ua(d,u);if(!(p!=null&&(l=p.children)!==null&&l!==void 0&&l.length)){var f=new Promise(function(m,g){r.setState(function(h){var v=h.loadedKeys,S=v===void 0?[]:v,_=h.loadingKeys,E=_===void 0?[]:_,y=r.props,C=y.loadData,T=y.onLoad;if(!C||S.indexOf(u)!==-1||E.indexOf(u)!==-1)return null;var x=C(s);return x.then(function(){var R=r.state.loadedKeys,w=es(R,u);T==null||T(w,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:w}),r.setState(function(I){return{loadingKeys:To(I.loadingKeys,u)}}),m()}).catch(function(R){if(r.setState(function(I){return{loadingKeys:To(I.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=ZMe){var w=r.state.loadedKeys;bn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:es(w,u)}),m()}g(R)}),{loadingKeys:es(E,u)}})});return f.catch(function(){}),f}}),W(Ge(r),"onNodeMouseEnter",function(s,l){var u=r.props.onMouseEnter;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeMouseLeave",function(s,l){var u=r.props.onMouseLeave;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeContextMenu",function(s,l){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:l}))}),W(Ge(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,u=new Array(l),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,p=!0,f={};Object.keys(s).forEach(function(m){if(m in r.props){p=!1;return}d=!0,f[m]=s[m]}),d&&(!l||p)&&r.setState(ee(ee({},f),u))}}),W(Ge(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return er(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,i=a.activeKey,o=a.itemScrollOffset,s=o===void 0?0:o;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,i=a.focused,o=a.flattenNodes,s=a.keyEntities,l=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,p=a.dropContainerKey,f=a.dropTargetKey,m=a.dropPosition,g=a.dragOverNodeKey,h=a.indent,v=this.props,S=v.prefixCls,_=v.className,E=v.style,y=v.showLine,C=v.focusable,T=v.tabIndex,x=T===void 0?0:T,R=v.selectable,w=v.showIcon,I=v.icon,O=v.switcherIcon,k=v.draggable,P=v.checkable,M=v.checkStrictly,N=v.disabled,A=v.motion,D=v.loadData,L=v.filterTreeNode,$=v.height,F=v.itemHeight,B=v.virtual,z=v.titleRender,U=v.dropIndicatorRender,j=v.onContextMenu,G=v.onScroll,J=v.direction,Y=v.rootClassName,X=v.rootStyle,V=Qn(this.props,{aria:!0,data:!0}),H;return k&&(gt(k)==="object"?H=k:typeof k=="function"?H={nodeDraggable:k}:H={}),c.createElement(Xk.Provider,{value:{prefixCls:S,selectable:R,showIcon:w,icon:I,switcherIcon:O,draggable:H,draggingNodeKey:l,checkable:P,checkStrictly:M,disabled:N,keyEntities:s,dropLevelOffset:d,dropContainerKey:p,dropTargetKey:f,dropPosition:m,dragOverNodeKey:g,indent:h,direction:J,dropIndicatorRender:U,loadData:D,filterTreeNode:L,titleRender:z,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c.createElement("div",{role:"tree",className:ie(S,_,Y,W(W(W({},"".concat(S,"-show-line"),y),"".concat(S,"-focused"),i),"".concat(S,"-active-focused"),u!==null)),style:X},c.createElement(dte,_e({ref:this.listRef,prefixCls:S,style:E,data:o,disabled:N,selectable:R,checkable:!!P,motion:A,dragging:l!==null,height:$,itemHeight:F,virtual:B,focusable:C,focused:i,tabIndex:x,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:j,onScroll:G},this.getTreeNodeRequiredProps(),V))))}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s={prevProps:a};function l(x){return!o&&x in a||o&&o[x]!==a[x]}var u,d=i.fieldNames;if(l("fieldNames")&&(d=Td(a.fieldNames),s.fieldNames=d),l("treeData")?u=a.treeData:l("children")&&(bn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=TJ(a.children)),u){s.treeData=u;var p=sS(u,{fieldNames:d});s.keyEntities=ee(W({},Dc,ute),p.keyEntities)}var f=s.keyEntities||i.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!o&&a.defaultExpandParent?ID(a.expandedKeys,f):a.expandedKeys;else if(!o&&a.defaultExpandAll){var m=ee({},f);delete m[Dc];var g=[];Object.keys(m).forEach(function(x){var R=m[x];R.children&&R.children.length&&g.push(R.key)}),s.expandedKeys=g}else!o&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?ID(a.defaultExpandedKeys,f):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var h=_y(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=h}if(a.selectable&&(l("selectedKeys")?s.selectedKeys=B4(a.selectedKeys,a):!o&&a.defaultSelectedKeys&&(s.selectedKeys=B4(a.defaultSelectedKeys,a))),a.checkable){var v;if(l("checkedKeys")?v=Iy(a.checkedKeys)||{}:!o&&a.defaultCheckedKeys?v=Iy(a.defaultCheckedKeys)||{}:u&&(v=Iy(a.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),v){var S=v,_=S.checkedKeys,E=_===void 0?[]:_,y=S.halfCheckedKeys,C=y===void 0?[]:y;if(!a.checkStrictly){var T=ms(E,!0,f);E=T.checkedKeys,C=T.halfCheckedKeys}s.checkedKeys=E,s.halfCheckedKeys=C}}return l("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(c.Component);W(bS,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:GMe,allowDrop:function(){return!0},expandAction:!1});W(bS,"TreeNode",wd);const JMe=new dn("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eLe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),tLe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Q(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),nLe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:i,nodeSelectedBg:o,nodeHoverBg:s}=t,l=t.paddingXS;return{[n]:Object.assign(Object.assign({},on(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},bs(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:JMe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Q(a)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:Q(i),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eLe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:Q(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${Q(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:Q(i),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{backgroundColor:o},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:Q(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:Q(i),userSelect:"none"},tLe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Q(t.calc(i).div(2).equal())} !important`}}}}})}},rLe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},pte=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),i=Ht(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[nLe(e,i),rLe(i)]},fte=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},aLe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},fte(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},iLe=cn("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:xk(`${n}-checkbox`,e)},pte(n,e),ng(e)]},aLe),q4=4;function oLe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:i="ltr"}=e,o=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",l={[o]:-n*a+q4,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[o]=a+q4;break}return ce.createElement("div",{style:l,className:`${r}-drop-indicator`})}const mte=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:i}=e,{isLeaf:o,expanded:s,loading:l}=r;if(l)return c.isValidElement(i)?i:c.createElement(Ss,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),o){if(!a)return null;if(typeof u!="boolean"&&u){const f=typeof u=="function"?u(r):u,m=`${t}-switcher-line-custom-icon`;return c.isValidElement(f)?Tr(f,{className:ie(f.props.className||"",m)}):f}return u?c.createElement(kee,{className:`${t}-switcher-line-icon`}):c.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,p=typeof n=="function"?n(r):n;return c.isValidElement(p)?Tr(p,{className:ie(p.props.className||"",d)}):p!==void 0?p:a?s?c.createElement(x1e,{className:`${t}-switcher-line-icon`}):c.createElement($ee,{className:`${t}-switcher-line-icon`}):c.createElement(ROe,{className:d})},gte=ce.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:i,tree:o}=ce.useContext(lt),{prefixCls:s,className:l,showIcon:u=!1,showLine:d,switcherIcon:p,switcherLoadingIcon:f,blockNode:m=!1,children:g,checkable:h=!1,selectable:v=!0,draggable:S,motion:_,style:E}=e,y=r("tree",s),C=r(),T=_??Object.assign(Object.assign({},Ed(C)),{motionAppear:!1}),x=Object.assign(Object.assign({},e),{checkable:h,selectable:v,showIcon:u,motion:T,blockNode:m,showLine:!!d,dropIndicatorRender:oLe}),[R,w,I]=iLe(y),[,O]=ia(),k=O.paddingXS/2+(((n=O.Tree)===null||n===void 0?void 0:n.titleHeight)||O.controlHeightSM),P=ce.useMemo(()=>{if(!S)return!1;let N={};switch(typeof S){case"function":N.nodeDraggable=S;break;case"object":N=Object.assign({},S);break}return N.icon!==!1&&(N.icon=N.icon||ce.createElement(QNe,null)),N},[S]),M=N=>ce.createElement(mte,{prefixCls:y,switcherIcon:p,switcherLoadingIcon:f,treeNodeProps:N,showLine:d});return R(ce.createElement(bS,Object.assign({itemHeight:k,ref:t,virtual:i},x,{style:Object.assign(Object.assign({},o==null?void 0:o.style),E),prefixCls:y,className:ie({[`${y}-icon-hide`]:!u,[`${y}-block-node`]:m,[`${y}-unselectable`]:!v,[`${y}-rtl`]:a==="rtl"},o==null?void 0:o.className,l,w,I),direction:a,checkable:h&&ce.createElement("span",{className:`${y}-checkbox-inner`}),selectable:v,switcherIcon:M,draggable:P}),g))}),W4=0,Oy=1,Y4=2;function Zk(e,t,n){const{key:r,children:a}=n;function i(o){const s=o[r],l=o[a];t(s,o)!==!1&&Zk(l||[],t,n)}e.forEach(i)}function sLe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:i}=e;const o=[];let s=W4;if(r&&r===a)return[r];if(!r||!a)return[];function l(u){return u===r||u===a}return Zk(t,u=>{if(s===Y4)return!1;if(l(u)){if(o.push(u),s===W4)s=Oy;else if(s===Oy)return s=Y4,!1}else s===Oy&&o.push(u);return n.includes(u)},Td(i)),o}function Ny(e,t,n){const r=$e(t),a=[];return Zk(e,(i,o)=>{const s=r.indexOf(i);return s!==-1&&(a.push(o),r.splice(s,1)),!!r.length},Td(n)),a}var K4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=K4(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const o=c.useRef(),s=c.useRef(),l=()=>{const{keyEntities:R}=sS(X4(i));let w;return n?w=Object.keys(R):r?w=ID(i.expandedKeys||a||[],R):w=i.expandedKeys||a||[],w},[u,d]=c.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[p,f]=c.useState(()=>l());c.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),c.useEffect(()=>{"expandedKeys"in i&&f(i.expandedKeys)},[i.expandedKeys]);const m=(R,w)=>{var I;return"expandedKeys"in i||f(R),(I=i.onExpand)===null||I===void 0?void 0:I.call(i,R,w)},g=(R,w)=>{var I;const{multiple:O,fieldNames:k}=i,{node:P,nativeEvent:M}=w,{key:N=""}=P,A=X4(i),D=Object.assign(Object.assign({},w),{selected:!0}),L=(M==null?void 0:M.ctrlKey)||(M==null?void 0:M.metaKey),$=M==null?void 0:M.shiftKey;let F;O&&L?(F=R,o.current=N,s.current=F,D.selectedNodes=Ny(A,F,k)):O&&$?(F=Array.from(new Set([].concat($e(s.current||[]),$e(sLe({treeData:A,expandedKeys:p,startKey:N,endKey:o.current,fieldNames:k}))))),D.selectedNodes=Ny(A,F,k)):(F=[N],o.current=N,s.current=F,D.selectedNodes=Ny(A,F,k)),(I=i.onSelect)===null||I===void 0||I.call(i,F,D),"selectedKeys"in i||d(F)},{getPrefixCls:h,direction:v}=c.useContext(lt),{prefixCls:S,className:_,showIcon:E=!0,expandAction:y="click"}=i,C=K4(i,["prefixCls","className","showIcon","expandAction"]),T=h("tree",S),x=ie(`${T}-directory`,{[`${T}-directory-rtl`]:v==="rtl"},_);return c.createElement(gte,Object.assign({icon:lLe,ref:t,blockNode:!0},C,{showIcon:E,expandAction:y,prefixCls:T,className:x,expandedKeys:p,selectedKeys:u,onSelect:g,onExpand:m}))},uLe=c.forwardRef(cLe),Jk=gte;Jk.DirectoryTree=uLe;Jk.TreeNode=wd;const Q4=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:i}=e;return n?c.createElement("div",{className:`${r}-filter-dropdown-search`},c.createElement(en,{prefix:c.createElement(Gb,null),placeholder:a.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},dLe=e=>{const{keyCode:t}=e;t===Fe.ENTER&&e.stopPropagation()},pLe=c.forwardRef((e,t)=>c.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:dLe,ref:t},e.children));function rd(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat($e(t),$e(rd(a))))}),t}function fLe(e){return e.some(t=>{let{children:n}=t;return n})}function hte(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function vte(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o}=e;return t.map((s,l)=>{const u=String(s.value);if(s.children)return{key:u||l,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:vte({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o})};const d=a?Ts:di,p={key:s.value!==void 0?u:l,label:c.createElement(c.Fragment,null,c.createElement(d,{checked:r.includes(u)}),c.createElement("span",null,s.text))};return i.trim()?typeof o=="function"?o(i,s)?p:null:hte(i,s.text)?p:null:p})}function Ay(e){return e||[]}const mLe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:i,dropdownPrefixCls:o,columnKey:s,filterOnClose:l,filterMultiple:u,filterMode:d="menu",filterSearch:p=!1,filterState:f,triggerFilter:m,locale:g,children:h,getPopupContainer:v,rootClassName:S}=e,{filterDropdownOpen:_,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:y,defaultFilteredValue:C,filterDropdownVisible:T,onFilterDropdownVisibleChange:x}=i,[R,w]=c.useState(!1),I=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),O=de=>{w(de),E==null||E(de),x==null||x(de)},k=(n=_??T)!==null&&n!==void 0?n:R,P=f==null?void 0:f.filteredKeys,[M,N]=HMe(Ay(P)),A=de=>{let{selectedKeys:Te}=de;N(Te)},D=(de,Te)=>{let{node:Ee,checked:ge}=Te;A(u?{selectedKeys:de}:{selectedKeys:ge&&Ee.key?[Ee.key]:[]})};c.useEffect(()=>{R&&A({selectedKeys:Ay(P)})},[P]);const[L,$]=c.useState([]),F=de=>{$(de)},[B,z]=c.useState(""),U=de=>{const{value:Te}=de.target;z(Te)};c.useEffect(()=>{R||z("")},[R]);const j=de=>{const Te=de!=null&&de.length?de:null;if(Te===null&&(!f||!f.filteredKeys)||Ui(Te,f==null?void 0:f.filteredKeys,!0))return null;m({column:i,key:s,filteredKeys:Te})},G=()=>{O(!1),j(M())},J=function(){let{confirm:de,closeDropdown:Te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};de&&j([]),Te&&O(!1),z(""),N(y?(C||[]).map(Ee=>String(Ee)):[])},Y=function(){let{closeDropdown:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};de&&O(!1),j(M())},X=(de,Te)=>{Te.source==="trigger"&&(de&&P!==void 0&&N(Ay(P)),O(de),!de&&!i.filterDropdown&&l&&G())},V=ie({[`${o}-menu-without-submenu`]:!fLe(i.filters||[])}),H=de=>{if(de.target.checked){const Te=rd(i==null?void 0:i.filters).map(Ee=>String(Ee));N(Te)}else N([])},q=de=>{let{filters:Te}=de;return(Te||[]).map((Ee,ge)=>{const re=String(Ee.value),ne={title:Ee.text,key:Ee.value!==void 0?re:String(ge)};return Ee.children&&(ne.children=q({filters:Ee.children})),ne})},K=de=>{var Te;return Object.assign(Object.assign({},de),{text:de.title,value:de.key,children:((Te=de.children)===null||Te===void 0?void 0:Te.map(Ee=>K(Ee)))||[]})};let Z;const{direction:te,renderEmpty:se}=c.useContext(lt);if(typeof i.filterDropdown=="function")Z=i.filterDropdown({prefixCls:`${o}-custom`,setSelectedKeys:de=>A({selectedKeys:de}),selectedKeys:M(),confirm:Y,clearFilters:J,filters:i.filters,visible:k,close:()=>{O(!1)}});else if(i.filterDropdown)Z=i.filterDropdown;else{const de=M()||[],Te=()=>{var ge;const re=(ge=se==null?void 0:se("Table.filter"))!==null&&ge!==void 0?ge:c.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return re;if(d==="tree")return c.createElement(c.Fragment,null,c.createElement(Q4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),c.createElement("div",{className:`${r}-filter-dropdown-tree`},u?c.createElement(Ts,{checked:de.length===rd(i.filters).length,indeterminate:de.length>0&&de.lengthtypeof p=="function"?p(B,K(le)):hte(B,le.title):void 0})));const ne=vte({filters:i.filters||[],filterSearch:p,prefixCls:a,filteredKeys:M(),filterMultiple:u,searchValue:B}),ae=ne.every(le=>le===null);return c.createElement(c.Fragment,null,c.createElement(Q4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),ae?re:c.createElement(zo,{selectable:!0,multiple:u,prefixCls:`${o}-menu`,className:V,onSelect:A,onDeselect:A,selectedKeys:de,getPopupContainer:v,openKeys:L,onOpenChange:F,items:ne}))},Ee=()=>y?Ui((C||[]).map(ge=>String(ge)),de,!0):de.length===0;Z=c.createElement(c.Fragment,null,Te(),c.createElement("div",{className:`${a}-dropdown-btns`},c.createElement(Rt,{type:"link",size:"small",disabled:Ee(),onClick:()=>J()},g.filterReset),c.createElement(Rt,{type:"primary",size:"small",onClick:G},g.filterConfirm)))}i.filterDropdown&&(Z=c.createElement(vZ,{selectable:void 0},Z));const ue=()=>c.createElement(pLe,{className:`${a}-dropdown`},Z);let me;return typeof i.filterIcon=="function"?me=i.filterIcon(I):i.filterIcon?me=i.filterIcon:me=c.createElement(NNe,null),c.createElement("div",{className:`${a}-column`},c.createElement("span",{className:`${r}-column-title`},h),c.createElement(dS,{dropdownRender:ue,trigger:["click"],open:k,onOpenChange:X,getPopupContainer:v,placement:te==="rtl"?"bottomLeft":"bottomRight",rootClassName:S},c.createElement("span",{role:"button",tabIndex:-1,className:ie(`${a}-trigger`,{active:I}),onClick:de=>{de.stopPropagation()}},me)))},MD=(e,t,n)=>{let r=[];return(e||[]).forEach((a,i)=>{var o;const s=ip(i,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let l=a.filteredValue;"filterDropdown"in a||(l=(o=l==null?void 0:l.map(String))!==null&&o!==void 0?o:l),r.push({column:a,key:_l(a,s),filteredKeys:l,forceFiltered:a.filtered})}else r.push({column:a,key:_l(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat($e(r),$e(MD(a.children,t,s))))}),r};function _te(e,t,n,r,a,i,o,s,l){return n.map((u,d)=>{const p=ip(d,s),{filterOnClose:f=!0,filterMultiple:m=!0,filterMode:g,filterSearch:h}=u;let v=u;if(v.filters||v.filterDropdown){const S=_l(v,p),_=r.find(E=>{let{key:y}=E;return S===y});v=Object.assign(Object.assign({},v),{title:E=>c.createElement(mLe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:S,filterState:_,filterOnClose:f,filterMultiple:m,filterMode:g,filterSearch:h,triggerFilter:i,locale:a,getPopupContainer:o,rootClassName:l},_S(u.title,E))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:_te(e,t,v.children,r,a,i,o,p,l)})),v})}const Z4=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:i}=n;const o=r,{filters:s,filterDropdown:l}=i;if(l)t[o]=a||null;else if(Array.isArray(a)){const u=rd(s);t[o]=u.filter(d=>a.includes(String(d)))}else t[o]=null}),t},LD=(e,t,n)=>t.reduce((a,i)=>{const{column:{onFilter:o,filters:s},filteredKeys:l}=i;return o&&l&&l.length?a.map(u=>Object.assign({},u)).filter(u=>l.some(d=>{const p=rd(s),f=p.findIndex(g=>String(g)===String(d)),m=f!==-1?p[f]:d;return u[n]&&(u[n]=LD(u[n],t,n)),o(m,u)})):a},e),bte=e=>e.flatMap(t=>"children"in t?[t].concat($e(bte(t.children||[]))):[t]),gLe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:i,locale:o,rootClassName:s}=e;Il();const l=c.useMemo(()=>bte(r||[]),[r]),[u,d]=c.useState(()=>MD(l,!0)),p=c.useMemo(()=>{const h=MD(l,!1);if(h.length===0)return h;let v=!0;if(h.forEach(S=>{let{filteredKeys:_}=S;_!==void 0&&(v=!1)}),v){const S=(l||[]).map((_,E)=>_l(_,ip(E)));return u.filter(_=>{let{key:E}=_;return S.includes(E)}).map(_=>{const E=l[S.findIndex(y=>y===_.key)];return Object.assign(Object.assign({},_),{column:Object.assign(Object.assign({},_.column),E),forceFiltered:E.filtered})})}return h},[l,u]),f=c.useMemo(()=>Z4(p),[p]),m=h=>{const v=p.filter(S=>{let{key:_}=S;return _!==h.key});v.push(h),d(v),a(Z4(v),v)};return[h=>_te(t,n,h,p,o,m,i,void 0,s),p,f]},hLe=(e,t,n)=>{const r=c.useRef({});function a(i){var o;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((p,f)=>{const m=n(p,f);l.set(m,p),p&&typeof p=="object"&&t in p&&u(p[t]||[])})};var s=u;const l=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:l,getRowKey:n}}return(o=r.current.kvMap)===null||o===void 0?void 0:o.get(i)}return[a]};var vLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const i=e[a];typeof i!="function"&&(n[a]=i)}),n}function bLe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,i=vLe(r,["total"]),[o,s]=c.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:Ste})),l=Cee(o,i,{total:a>0?a:e}),u=Math.ceil((a||e)/l.pageSize);l.current>u&&(l.current=u||1);const d=(f,m)=>{s({current:f??1,pageSize:m||l.pageSize})},p=(f,m)=>{var g;n&&((g=n.onChange)===null||g===void 0||g.call(n,f,m)),d(f,m),t(f,m||(l==null?void 0:l.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},l),{onChange:p}),d]}const Ev="ascend",Dy="descend",N_=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,J4=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,SLe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],kD=(e,t,n)=>{let r=[];const a=(i,o)=>{r.push({column:i,key:_l(i,o),multiplePriority:N_(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,o)=>{const s=ip(o,n);i.children?("sortOrder"in i&&a(i,s),r=[].concat($e(r),$e(kD(i.children,t,s)))):i.sorter&&("sortOrder"in i?a(i,s):t&&i.defaultSortOrder&&r.push({column:i,key:_l(i,s),multiplePriority:N_(i),sortOrder:i.defaultSortOrder}))}),r},Ete=(e,t,n,r,a,i,o,s)=>(t||[]).map((u,d)=>{const p=ip(d,s);let f=u;if(f.sorter){const m=f.sortDirections||a,g=f.showSorterTooltip===void 0?o:f.showSorterTooltip,h=_l(f,p),v=n.find(w=>{let{key:I}=w;return I===h}),S=v?v.sortOrder:null,_=SLe(m,S);let E;if(u.sortIcon)E=u.sortIcon({sortOrder:S});else{const w=m.includes(Ev)&&c.createElement(DOe,{className:ie(`${e}-column-sorter-up`,{active:S===Ev})}),I=m.includes(Dy)&&c.createElement(OOe,{className:ie(`${e}-column-sorter-down`,{active:S===Dy})});E=c.createElement("span",{className:ie(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(w&&I)})},c.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},w,I))}const{cancelSort:y,triggerAsc:C,triggerDesc:T}=i||{};let x=y;_===Dy?x=T:_===Ev&&(x=C);const R=typeof g=="object"?Object.assign({title:x},g):{title:x};f=Object.assign(Object.assign({},f),{className:ie(f.className,{[`${e}-column-sort`]:S}),title:w=>{const I=`${e}-column-sorters`,O=c.createElement("span",{className:`${e}-column-title`},_S(u.title,w)),k=c.createElement("div",{className:I},O,E);return g?typeof g!="boolean"&&(g==null?void 0:g.target)==="sorter-icon"?c.createElement("div",{className:`${I} ${e}-column-sorters-tooltip-target-sorter`},O,c.createElement(Jt,Object.assign({},R),E)):c.createElement(Jt,Object.assign({},R),k):k},onHeaderCell:w=>{var I;const O=((I=u.onHeaderCell)===null||I===void 0?void 0:I.call(u,w))||{},k=O.onClick,P=O.onKeyDown;O.onClick=A=>{r({column:u,key:h,sortOrder:_,multiplePriority:N_(u)}),k==null||k(A)},O.onKeyDown=A=>{A.keyCode===Fe.ENTER&&(r({column:u,key:h,sortOrder:_,multiplePriority:N_(u)}),P==null||P(A))};const M=zMe(u.title,{}),N=M==null?void 0:M.toString();return S?O["aria-sort"]=S==="ascend"?"ascending":"descending":O["aria-label"]=N||"",O.className=ie(O.className,`${e}-column-has-sorters`),O.tabIndex=0,u.ellipsis&&(O.title=(M??"").toString()),O}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:Ete(e,f.children,n,r,a,i,o,p)})),f}),eU=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tU=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(eU);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},eU(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},PD=(e,t,n)=>{const r=t.slice().sort((o,s)=>s.multiplePriority-o.multiplePriority),a=e.slice(),i=r.filter(o=>{let{column:{sorter:s},sortOrder:l}=o;return J4(s)&&l});return i.length?a.sort((o,s)=>{for(let l=0;l{const s=o[n];return s?Object.assign(Object.assign({},o),{[n]:PD(s,t,n)}):o}):a},ELe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:i,onSorterChange:o}=e,[s,l]=c.useState(kD(n,!0)),u=(h,v)=>{const S=[];return h.forEach((_,E)=>{const y=ip(E,v);if(S.push(_l(_,y)),Array.isArray(_.children)){const C=u(_.children,y);S.push.apply(S,$e(C))}}),S},d=c.useMemo(()=>{let h=!0;const v=kD(n,!1);if(!v.length){const y=u(n);return s.filter(C=>{let{key:T}=C;return y.includes(T)})}const S=[];function _(y){h?S.push(y):S.push(Object.assign(Object.assign({},y),{sortOrder:null}))}let E=null;return v.forEach(y=>{E===null?(_(y),y.sortOrder&&(y.multiplePriority===!1?h=!1:E=!0)):(E&&y.multiplePriority!==!1||(h=!1),_(y))}),S},[n,s]),p=c.useMemo(()=>{var h,v;const S=d.map(_=>{let{column:E,sortOrder:y}=_;return{column:E,order:y}});return{sortColumns:S,sortColumn:(h=S[0])===null||h===void 0?void 0:h.column,sortOrder:(v=S[0])===null||v===void 0?void 0:v.order}},[d]),f=h=>{let v;h.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?v=[h]:v=[].concat($e(d.filter(S=>{let{key:_}=S;return _!==h.key})),[h]),l(v),o(tU(v),v)};return[h=>Ete(t,h,d,f,r,a,i),d,p,()=>tU(d)]},yte=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=_S(r.title,t),"children"in a&&(a.children=yte(a.children,t)),a}),yLe=e=>[c.useCallback(n=>yte(n,e),[e])],CLe=ate((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),TLe=ote((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),xLe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:i,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:l}=e,u=`${Q(n)} ${r} ${a}`,d=(p,f,m)=>({[`&${t}-${p}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Q(l(f).mul(-1).equal())} - ${Q(l(l(m).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:X(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${X(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:X(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},gg(e)),bk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},lS(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},aIe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:X(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${X(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${X(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},iIe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:X(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),aIe(e)),rIe(e)),nIe(e)),tIe(e)),eIe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},oIe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Uo(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Es(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Es(e))}}}},wee=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},mg(e)),Iee=e=>Ht(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},fg(e)),sIe=sn("Pagination",e=>{const t=Iee(e);return[iIe(t),oIe(t)]},wee),lIe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},cIe=Wd(["Pagination","bordered"],e=>{const t=Iee(e);return[lIe(t)]},wee);var uIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:i,style:o,size:s,locale:l,selectComponentClass:u,responsive:d,showSizeChanger:p}=e,f=uIe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Yb(d),[,g]=ia(),{getPrefixCls:h,direction:v,pagination:S={}}=c.useContext(lt),b=h("pagination",n),[E,y,C]=sIe(b),T=p??S.showSizeChanger,x=c.useMemo(()=>{const N=c.createElement("span",{className:`${b}-item-ellipsis`},"•••"),A=c.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement(Fi,null):c.createElement(Nc,null)),D=c.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement(Nc,null):c.createElement(Fi,null)),L=c.createElement("a",{className:`${b}-item-link`},c.createElement("div",{className:`${b}-item-container`},v==="rtl"?c.createElement(f4,{className:`${b}-item-link-icon`}):c.createElement(p4,{className:`${b}-item-link-icon`}),N)),$=c.createElement("a",{className:`${b}-item-link`},c.createElement("div",{className:`${b}-item-container`},v==="rtl"?c.createElement(p4,{className:`${b}-item-link-icon`}):c.createElement(f4,{className:`${b}-item-link-icon`}),N));return{prevIcon:A,nextIcon:D,jumpPrevIcon:L,jumpNextIcon:$}},[v,b]),[R]=qo("Pagination",BK),w=Object.assign(Object.assign({},R),l),I=xr(s),O=I==="small"||!!(m&&!I&&d),k=h("select",r),P=ie({[`${b}-${t}`]:!!t,[`${b}-mini`]:O,[`${b}-rtl`]:v==="rtl",[`${b}-bordered`]:g.wireframe},S==null?void 0:S.className,a,i,y,C),M=Object.assign(Object.assign({},S==null?void 0:S.style),o);return E(c.createElement(c.Fragment,null,g.wireframe&&c.createElement(cIe,{prefixCls:b}),c.createElement(Jwe,Object.assign({},x,f,{style:M,prefixCls:b,selectPrefixCls:k,className:P,selectComponentClass:u||(O?xee:Ree),locale:w,showSizeChanger:T}))))},A_=100,Oee=A_/5,Nee=A_/2-Oee/2,Iy=Nee*2*Math.PI,h4=50,v4=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return c.createElement("circle",{className:ie(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:Nee,cx:h4,cy:h4,strokeWidth:Oee,style:n})},dIe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,i=`${a}-hidden`,[o,s]=c.useState(!1);Qt(()=>{t!==0&&s(!0)},[t!==0]);const l=Math.max(Math.min(t,100),0);if(!o)return null;const u={strokeDashoffset:`${Iy/4}`,strokeDasharray:`${Iy*l/100} ${Iy*(100-l)/100}`};return c.createElement("span",{className:ie(a,`${r}-progress`,l<=0&&i)},c.createElement("svg",{viewBox:`0 0 ${A_} ${A_}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},c.createElement(v4,{dotClassName:r,hasCircleCls:!0}),c.createElement(v4,{dotClassName:r,style:u})))};function pIe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,i=`${a}-hidden`;return c.createElement(c.Fragment,null,c.createElement("span",{className:ie(a,n>0&&i)},c.createElement("span",{className:ie(r,`${t}-dot-spin`)},[1,2,3,4].map(o=>c.createElement("i",{className:`${t}-dot-item`,key:o})))),c.createElement(dIe,{prefixCls:t,percent:n}))}function fIe(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&c.isValidElement(n)?Tr(n,{className:ie(n.props.className,a),percent:r}):c.createElement(pIe,{prefixCls:t,percent:r})}const mIe=new dn("antSpinMove",{to:{opacity:1}}),gIe=new dn("antRotate",{to:{transform:"rotate(405deg)"}}),hIe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},an(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:mIe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:gIe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},vIe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},_Ie=sn("Spin",e=>{const t=Ht(e,{spinDotDefault:e.colorTextDescription});return[hIe(t)]},vIe),bIe=200,_4=[[30,.05],[70,.03],[96,.01]];function SIe(e,t){const[n,r]=c.useState(0),a=c.useRef(),i=t==="auto";return c.useEffect(()=>(i&&e&&(r(0),a.current=setInterval(()=>{r(o=>{const s=100-o;for(let l=0;l<_4.length;l+=1){const[u,d]=_4[l];if(o<=u)return o+s*d}return o})},bIe)),()=>{clearInterval(a.current)}),[i,e]),i?n:t}var EIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:i,rootClassName:o,size:s="default",tip:l,wrapperClassName:u,style:d,children:p,fullscreen:f=!1,indicator:m,percent:g}=e,h=EIe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:S,spin:b}=c.useContext(lt),E=v("spin",n),[y,C,T]=_Ie(E),[x,R]=c.useState(()=>r&&!yIe(r,a)),w=SIe(x,g);c.useEffect(()=>{if(r){const A=m0e(a,()=>{R(!0)});return A(),()=>{var D;(D=A==null?void 0:A.cancel)===null||D===void 0||D.call(A)}}R(!1)},[a,r]);const I=c.useMemo(()=>typeof p<"u"&&!f,[p,f]),O=ie(E,b==null?void 0:b.className,{[`${E}-sm`]:s==="small",[`${E}-lg`]:s==="large",[`${E}-spinning`]:x,[`${E}-show-text`]:!!l,[`${E}-rtl`]:S==="rtl"},i,!f&&o,C,T),k=ie(`${E}-container`,{[`${E}-blur`]:x}),P=(t=m??(b==null?void 0:b.indicator))!==null&&t!==void 0?t:Aee,M=Object.assign(Object.assign({},b==null?void 0:b.style),d),N=c.createElement("div",Object.assign({},h,{style:M,className:O,"aria-live":"polite","aria-busy":x}),c.createElement(fIe,{prefixCls:E,indicator:P,percent:w}),l&&(I||f)?c.createElement("div",{className:`${E}-text`},l):null);return y(I?c.createElement("div",Object.assign({},h,{className:ie(`${E}-nested-loading`,u,C,T)}),x&&c.createElement("div",{key:"loading"},N),c.createElement("div",{className:k,key:"container"},p)):f?c.createElement("div",{className:ie(`${E}-fullscreen`,{[`${E}-fullscreen-show`]:x},o,C,T)},N):N)};Fk.setDefaultIndicator=e=>{Aee=e};const Bk=ce.createContext({});Bk.Consumer;var Dee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=Dee(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=c.useContext(lt),l=s("list",t),u=ie(`${l}-item-meta`,n),d=ce.createElement("div",{className:`${l}-item-meta-content`},a&&ce.createElement("h4",{className:`${l}-item-meta-title`},a),i&&ce.createElement("div",{className:`${l}-item-meta-description`},i));return ce.createElement("div",Object.assign({},o,{className:u}),r&&ce.createElement("div",{className:`${l}-item-meta-avatar`},r),(a||i)&&d)},TIe=ce.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:i,styles:o,className:s,classNames:l,colStyle:u}=e,d=Dee(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:f}=c.useContext(Bk),{getPrefixCls:m,list:g}=c.useContext(lt),h=x=>{var R,w;return ie((w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.classNames)===null||w===void 0?void 0:w[x],l==null?void 0:l[x])},v=x=>{var R,w;return Object.assign(Object.assign({},(w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.styles)===null||w===void 0?void 0:w[x]),o==null?void 0:o[x])},S=()=>{let x=!1;return c.Children.forEach(r,R=>{typeof R=="string"&&(x=!0)}),x&&c.Children.count(r)>1},b=()=>f==="vertical"?!!i:!S(),E=m("list",n),y=a&&a.length>0&&ce.createElement("ul",{className:ie(`${E}-item-action`,h("actions")),key:"actions",style:v("actions")},a.map((x,R)=>ce.createElement("li",{key:`${E}-item-action-${R}`},x,R!==a.length-1&&ce.createElement("em",{className:`${E}-item-action-split`})))),C=p?"div":"li",T=ce.createElement(C,Object.assign({},d,p?{}:{ref:t},{className:ie(`${E}-item`,{[`${E}-item-no-flex`]:!b()},s)}),f==="vertical"&&i?[ce.createElement("div",{className:`${E}-item-main`,key:"content"},r,y),ce.createElement("div",{className:ie(`${E}-item-extra`,h("extra")),key:"extra",style:v("extra")},i)]:[r,y,Tr(i,{key:"extra"})]);return p?ce.createElement(wn,{ref:t,flex:1,style:u},T):T}),id=TIe;id.Meta=CIe;const xIe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:i,itemPaddingLG:o,marginLG:s,borderRadiusLG:l}=e;return{[t]:{border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${X(a)} ${X(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},RIe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:i,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${X(o)}`}}}}}},wIe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:i,marginLG:o,padding:s,itemPadding:l,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:p,paddingXS:f,margin:m,colorText:g,colorTextDescription:h,motionDurationSlow:v,lineWidth:S,headerBg:b,footerBg:E,emptyTextPadding:y,metaMarginBottom:C,avatarMarginRight:T,titleMarginBottom:x,descriptionFontSize:R}=e;return{[t]:Object.assign(Object.assign({},an(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:E},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:g,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:T},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:g},[`${t}-item-meta-title`]:{margin:`0 0 ${X(e.marginXXS)} 0`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:g,transition:`all ${v}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,fontSize:R,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${X(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:S,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${X(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:m,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:x,color:g,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${X(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${X(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:p},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},IIe=e=>({contentWidth:220,itemPadding:`${X(e.paddingContentVertical)} 0`,itemPaddingSM:`${X(e.paddingContentVerticalSM)} ${X(e.paddingContentHorizontal)}`,itemPaddingLG:`${X(e.paddingContentVerticalLG)} ${X(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),OIe=sn("List",e=>{const t=Ht(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[wIe(t),xIe(t),RIe(t)]},IIe);var NIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(ge,re)=>{var ne;x(ge),w(re),t&&((ne=t==null?void 0:t[Ee])===null||ne===void 0||ne.call(t,ge,re))},A=N("onChange"),D=N("onShowSizeChange"),L=(Ee,ge)=>{if(!b)return null;let re;return typeof S=="function"?re=S(Ee):S?re=Ee[S]:re=Ee.key,re||(re=`list-item-${ge}`),c.createElement(c.Fragment,{key:re},b(Ee,ge))},$=()=>!!(d||t||h),F=I("list",n),[B,z,U]=OIe(F);let j=v;typeof j=="boolean"&&(j={spinning:j});const G=!!(j!=null&&j.spinning),J=xr(m);let Y="";switch(J){case"large":Y="lg";break;case"small":Y="sm";break}const Q=ie(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${Y}`]:Y,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:G,[`${F}-grid`]:!!p,[`${F}-something-after-last-item`]:$(),[`${F}-rtl`]:k==="rtl"},P==null?void 0:P.className,i,o,z,U),V=Tee(M,{total:f.length,current:T,pageSize:R},t||{}),H=Math.ceil(V.total/V.pageSize);V.current>H&&(V.current=H);const q=t&&c.createElement("div",{className:ie(`${F}-pagination`)},c.createElement($k,Object.assign({align:"end"},V,{onChange:A,onShowSizeChange:D})));let K=$e(f);t&&f.length>(V.current-1)*V.pageSize&&(K=$e(f).splice((V.current-1)*V.pageSize,V.pageSize));const Z=Object.keys(p||{}).some(Ee=>["xs","sm","md","lg","xl","xxl"].includes(Ee)),te=Yb(Z),se=c.useMemo(()=>{for(let Ee=0;Ee{if(!p)return;const Ee=se&&p[se]?p[se]:p.column;if(Ee)return{width:`${100/Ee}%`,maxWidth:`${100/Ee}%`}},[JSON.stringify(p),se]);let me=G&&c.createElement("div",{style:{minHeight:53}});if(K.length>0){const Ee=K.map((ge,re)=>L(ge,re));me=p?c.createElement(Oa,{gutter:p.gutter},c.Children.map(Ee,ge=>c.createElement("div",{key:ge==null?void 0:ge.key,style:ue},ge))):c.createElement("ul",{className:`${F}-items`},Ee)}else!l&&!G&&(me=c.createElement("div",{className:`${F}-empty-text`},(E==null?void 0:E.emptyText)||(O==null?void 0:O("List"))||c.createElement(Vb,{componentName:"List"})));const de=V.position||"bottom",Te=c.useMemo(()=>({grid:p,itemLayout:u}),[JSON.stringify(p),u]);return B(c.createElement(Bk.Provider,{value:Te},c.createElement("div",Object.assign({style:Object.assign(Object.assign({},P==null?void 0:P.style),s),className:Q},y),(de==="top"||de==="both")&&q,g&&c.createElement("div",{className:`${F}-header`},g),c.createElement(Fk,Object.assign({},j),me,l),h&&c.createElement("div",{className:`${F}-footer`},h),d||(de==="bottom"||de==="both")&&q)))}_l.Item=id;let Ai=null,ac=e=>e(),Sm=[],Em={};function b4(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=Em,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:a}}const AIe=ce.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=c.useContext(lt),i=Em.prefixCls||a("message"),o=c.useContext(Tve),[s,l]=IX(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.message));return ce.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return r(),s[d].apply(s,arguments)}}),{instance:u,sync:r}}),l}),DIe=ce.forwardRef((e,t)=>{const[n,r]=ce.useState(b4),a=()=>{r(b4)};ce.useEffect(a,[]);const i=gX(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),l=i.getTheme(),u=ce.createElement(AIe,{ref:t,sync:a,messageConfig:n});return ce.createElement(bo,{prefixCls:o,iconPrefixCls:s,theme:l},i.holderRender?i.holderRender(u):u)});function hS(){if(!Ai){const e=document.createDocumentFragment(),t={fragment:e};Ai=t,ac(()=>{UL(ce.createElement(DIe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,hS())})}}),e)});return}Ai.instance&&(Sm.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{ac(()=>{const r=Ai.instance.open(Object.assign(Object.assign({},Em),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":ac(()=>{Ai==null||Ai.instance.destroy(e.key)});break;default:ac(()=>{var r;const a=(r=Ai.instance)[t].apply(r,$e(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),Sm=[])}function MIe(e){Em=Object.assign(Object.assign({},Em),e),ac(()=>{var t;(t=Ai==null?void 0:Ai.sync)===null||t===void 0||t.call(Ai)})}function LIe(e){const t=BL(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:i=>{r=i}};return Sm.push(a),()=>{r?ac(()=>{r()}):a.skipped=!0}});return hS(),t}function kIe(e,t){const n=BL(r=>{let a;const i={type:e,args:t,resolve:r,setCloseFn:o=>{a=o}};return Sm.push(i),()=>{a?ac(()=>{a()}):i.skipped=!0}});return hS(),n}const PIe=e=>{Sm.push({type:"destroy",key:e}),hS()},$Ie=["success","info","warning","error","loading"],FIe={open:LIe,destroy:PIe,config:MIe,useMessage:ame,_InternalPanelDoNotUseOrYouWillBeFired:Xfe},Qe=FIe;$Ie.forEach(e=>{Qe[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:i,title:o,children:s,footer:l}=e,u=BIe(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=c.useContext(lt),p=d(),f=t||d("modal"),m=Hn(p),[g,h,v]=uQ(f,m),S=`${f}-confirm`;let b={};return i?b={closable:a??!1,title:"",footer:"",children:c.createElement(pQ,Object.assign({},e,{prefixCls:f,confirmPrefixCls:S,rootPrefixCls:p,content:s}))}:b={closable:a??!0,title:o,footer:l!==null&&c.createElement(oQ,Object.assign({},e)),children:s},g(c.createElement(VX,Object.assign({prefixCls:f,className:ie(h,`${f}-pure-panel`,i&&S,i&&`${S}-${i}`,n,v,m)},u,{closeIcon:iQ(f,r),closable:a},b)))},jIe=EQ(UIe);function Mee(e){return ig(hQ(e))}const Sn=dQ;Sn.useModal=Cve;Sn.info=function(t){return ig(vQ(t))};Sn.success=function(t){return ig(_Q(t))};Sn.error=function(t){return ig(bQ(t))};Sn.warning=Mee;Sn.warn=Mee;Sn.confirm=function(t){return ig(SQ(t))};Sn.destroyAll=function(){for(;nc.length;){const t=nc.pop();t&&t()}};Sn.config=_ve;Sn._InternalPanelDoNotUseOrYouWillBeFired=jIe;var zIe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},HIe=function(){var t=c.useRef([]),n=c.useRef(null);return c.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(i){if(i){a=!0;var o=i.style;o.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},S4=0,GIe=Jr();function VIe(){var e;return GIe?(e=S4,S4+=1):e="TEST_OR_SSR",e}const qIe=function(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_progress_".concat(VIe()))},[]),e||r};var E4=function(t){var n=t.bg,r=t.children;return c.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function y4(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var WIe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,i=e.radius,o=e.style,s=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=r&>(r)==="object",m=f?"#FFF":void 0,g=d/2,h=c.createElement("circle",{className:"".concat(n,"-circle-path"),r:i,cx:g,cy:g,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:s===0?0:1,style:o,ref:t});if(!f)return h;var v="".concat(a,"-conic"),S=p?"".concat(180+p/2,"deg"):"0deg",b=y4(r,(360-p)/360),E=y4(r,1),y="conic-gradient(from ".concat(S,", ").concat(b.join(", "),")"),C="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(E.join(", "),")");return c.createElement(c.Fragment,null,c.createElement("mask",{id:v},h),c.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},c.createElement(E4,{bg:C},c.createElement(E4,{bg:y}))))}),tf=100,Oy=function(t,n,r,a,i,o,s,l,u,d){var p=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,f=r/100*360*((360-o)/360),m=o===0?0:{bottom:0,top:180,left:90,right:-90}[s],g=(100-a)/100*n;u==="round"&&a!==100&&(g+=d/2,g>=n&&(g=n-.01));var h=tf/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:g+p,transform:"rotate(".concat(i+f+m,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},YIe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function C4(e){var t=e??[];return Array.isArray(t)?t:[t]}var KIe=function(t){var n=ee(ee({},zIe),t),r=n.id,a=n.prefixCls,i=n.steps,o=n.strokeWidth,s=n.trailWidth,l=n.gapDegree,u=l===void 0?0:l,d=n.gapPosition,p=n.trailColor,f=n.strokeLinecap,m=n.style,g=n.className,h=n.strokeColor,v=n.percent,S=yt(n,YIe),b=tf/2,E=qIe(r),y="".concat(E,"-gradient"),C=b-o/2,T=Math.PI*2*C,x=u>0?90+u/2:-90,R=T*((360-u)/360),w=gt(i)==="object"?i:{count:i,gap:2},I=w.count,O=w.gap,k=C4(v),P=C4(h),M=P.find(function(B){return B&>(B)==="object"}),N=M&>(M)==="object",A=N?"butt":f,D=Oy(T,R,0,100,x,u,d,p,A,o),L=HIe(),$=function(){var z=0;return k.map(function(U,j){var G=P[j]||P[P.length-1],J=Oy(T,R,z,U,x,u,d,G,A,o);return z+=U,c.createElement(WIe,{key:j,color:G,ptg:U,radius:C,prefixCls:a,gradientId:y,style:J,strokeLinecap:A,strokeWidth:o,gapDegree:u,ref:function(Q){L[j]=Q},size:tf})}).reverse()},F=function(){var z=Math.round(I*(k[0]/100)),U=100/I,j=0;return new Array(I).fill(null).map(function(G,J){var Y=J<=z-1?P[0]:p,Q=Y&>(Y)==="object"?"url(#".concat(y,")"):void 0,V=Oy(T,R,j,U,x,u,d,Y,"butt",o,O);return j+=(R-V.strokeDashoffset+O)*100/R,c.createElement("circle",{key:J,className:"".concat(a,"-circle-path"),r:C,cx:b,cy:b,stroke:Q,strokeWidth:o,opacity:1,style:V,ref:function(q){L[J]=q}})})};return c.createElement("svg",ve({className:ie("".concat(a,"-circle"),g),viewBox:"0 0 ".concat(tf," ").concat(tf),style:m,id:r,role:"presentation"},S),!I&&c.createElement("circle",{className:"".concat(a,"-circle-trail"),r:C,cx:b,cy:b,stroke:p,strokeLinecap:A,strokeWidth:s||o,style:D}),I?F():$())};function dl(e){return!e||e<0?0:e>100?100:e}function D_(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const XIe=e=>{let{percent:t,success:n,successPercent:r}=e;const a=dl(D_({success:n,successPercent:r}));return[a,dl(dl(t)-a)]},QIe=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||nd.green,n||null]},vS=(e,t,n)=>{var r,a,i,o;let s=-1,l=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,l=d??8):typeof e=="number"?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?l=u||(e==="small"?6:8):typeof e=="number"?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,l]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,l=(o=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&o!==void 0?o:120));return[s,l]},ZIe=3,JIe=e=>ZIe/e*100,eOe=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:i,width:o=120,type:s,children:l,success:u,size:d=o,steps:p}=e,[f,m]=vS(d,"circle");let{strokeWidth:g}=e;g===void 0&&(g=Math.max(JIe(f),6));const h={width:f,height:m,fontSize:f*.15+6},v=c.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),S=XIe(e),b=a||s==="dashboard"&&"bottom"||void 0,E=Object.prototype.toString.call(e.strokeColor)==="[object Object]",y=QIe({success:u,strokeColor:e.strokeColor}),C=ie(`${t}-inner`,{[`${t}-circle-gradient`]:E}),T=c.createElement(KIe,{steps:p,percent:p?S[1]:S,strokeWidth:g,trailWidth:g,strokeColor:p?y[1]:y,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:b}),x=f<=20,R=c.createElement("div",{className:C,style:h},T,!x&&l);return x?c.createElement(Jt,{title:l},R):R},M_="--progress-line-stroke-color",Lee="--progress-percent",T4=e=>{const t=e?"100%":"-100%";return new dn(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},tOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},an(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${M_})`]},height:"100%",width:`calc(1 / var(${Lee}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${X(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:T4(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:T4(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},nOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},rOe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},aOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},iOe=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),oOe=sn("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Ht(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[tOe(n),nOe(n),rOe(n),aOe(n)]},iOe);var sOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},cOe=(e,t)=>{const{from:n=nd.blue,to:r=nd.blue,direction:a=t==="rtl"?"to left":"to right"}=e,i=sOe(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=lOe(i),l=`linear-gradient(${a}, ${s})`;return{background:l,[M_]:l}}const o=`linear-gradient(${a}, ${n}, ${r})`;return{background:o,[M_]:o}},uOe=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:i,strokeColor:o,strokeLinecap:s="round",children:l,trailColor:u=null,percentPosition:d,success:p}=e,{align:f,type:m}=d,g=o&&typeof o!="string"?cOe(o,n):{[M_]:o,background:o},h=s==="square"||s==="butt"?0:void 0,v=a??[-1,i||(a==="small"?6:8)],[S,b]=vS(v,"line",{strokeWidth:i}),E={backgroundColor:u||void 0,borderRadius:h},y=Object.assign(Object.assign({width:`${dl(r)}%`,height:b,borderRadius:h},g),{[Lee]:dl(r)/100}),C=D_(e),T={width:`${dl(C)}%`,height:b,borderRadius:h,backgroundColor:p==null?void 0:p.strokeColor},x={width:S<0?"100%":S},R=c.createElement("div",{className:`${t}-inner`,style:E},c.createElement("div",{className:ie(`${t}-bg`,`${t}-bg-${m}`),style:y},m==="inner"&&l),C!==void 0&&c.createElement("div",{className:`${t}-success-bg`,style:T})),w=m==="outer"&&f==="start",I=m==="outer"&&f==="end";return m==="outer"&&f==="center"?c.createElement("div",{className:`${t}-layout-bottom`},R,l):c.createElement("div",{className:`${t}-outer`,style:x},w&&l,R,I&&l)},dOe=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:i,trailColor:o=null,prefixCls:s,children:l}=e,u=Math.round(n*(r/100)),p=t??[t==="small"?2:14,a],[f,m]=vS(p,"step",{steps:n,strokeWidth:a}),g=f/n,h=new Array(n);for(let v=0;v{const{prefixCls:n,className:r,rootClassName:a,steps:i,strokeColor:o,percent:s=0,size:l="default",showInfo:u=!0,type:d="line",status:p,format:f,style:m,percentPosition:g={}}=e,h=pOe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:S="outer"}=g,b=Array.isArray(o)?o[0]:o,E=typeof o=="string"||Array.isArray(o)?o:void 0,y=c.useMemo(()=>{if(b){const $=typeof b=="string"?b:Object.values(b)[0];return new on($).isLight()}return!1},[o]),C=c.useMemo(()=>{var $,F;const B=D_(e);return parseInt(B!==void 0?($=B??0)===null||$===void 0?void 0:$.toString():(F=s??0)===null||F===void 0?void 0:F.toString(),10)},[s,e.success,e.successPercent]),T=c.useMemo(()=>!fOe.includes(p)&&C>=100?"success":p||"normal",[p,C]),{getPrefixCls:x,direction:R,progress:w}=c.useContext(lt),I=x("progress",n),[O,k,P]=oOe(I),M=d==="line",N=M&&!i,A=c.useMemo(()=>{if(!u)return null;const $=D_(e);let F;const B=f||(U=>`${U}%`),z=M&&y&&S==="inner";return S==="inner"||f||T!=="exception"&&T!=="success"?F=B(dl(s),dl($)):T==="exception"?F=M?c.createElement(Bc,null):c.createElement(na,null):T==="success"&&(F=M?c.createElement(Xm,null):c.createElement(qb,null)),c.createElement("span",{className:ie(`${I}-text`,{[`${I}-text-bright`]:z,[`${I}-text-${v}`]:N,[`${I}-text-${S}`]:N}),title:typeof F=="string"?F:void 0},F)},[u,s,C,T,d,I,f]);let D;d==="line"?D=i?c.createElement(dOe,Object.assign({},e,{strokeColor:E,prefixCls:I,steps:typeof i=="object"?i.count:i}),A):c.createElement(uOe,Object.assign({},e,{strokeColor:b,prefixCls:I,direction:R,percentPosition:{align:v,type:S}}),A):(d==="circle"||d==="dashboard")&&(D=c.createElement(eOe,Object.assign({},e,{strokeColor:b,prefixCls:I,progressStatus:T}),A));const L=ie(I,`${I}-status-${T}`,{[`${I}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${I}-inline-circle`]:d==="circle"&&vS(l,"circle")[0]<=20,[`${I}-line`]:N,[`${I}-line-align-${v}`]:N,[`${I}-line-position-${S}`]:N,[`${I}-steps`]:i,[`${I}-show-info`]:u,[`${I}-${l}`]:typeof l=="string",[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,r,a,k,P);return O(c.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},w==null?void 0:w.style),m),className:L,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},An(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),D))});var mOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},gOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:mOe}))},hOe=c.forwardRef(gOe),vOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},_Oe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:vOe}))},bOe=c.forwardRef(_Oe),SOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},EOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:SOe}))},yOe=c.forwardRef(EOe),COe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},TOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:COe}))},xOe=c.forwardRef(TOe),ROe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},wOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:ROe}))},IOe=c.forwardRef(wOe),OOe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},NOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:OOe}))},AOe=c.forwardRef(NOe),DOe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},MOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:DOe}))},LOe=c.forwardRef(MOe),kOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},POe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:kOe}))},TD=c.forwardRef(POe),$Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"check-square",theme:"outlined"},FOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:$Oe}))},x4=c.forwardRef(FOe),BOe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},UOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:BOe}))},R4=c.forwardRef(UOe),jOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},zOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:jOe}))},HOe=c.forwardRef(zOe),GOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},VOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:GOe}))},xD=c.forwardRef(VOe),qOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},WOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:qOe}))},YOe=c.forwardRef(WOe),KOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},XOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:KOe}))},Uk=c.forwardRef(XOe),QOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},ZOe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:QOe}))},JOe=c.forwardRef(ZOe),e1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},t1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:e1e}))},n1e=c.forwardRef(t1e),r1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:r1e}))},kee=c.forwardRef(a1e),i1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:i1e}))},Od=c.forwardRef(o1e),s1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},l1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:s1e}))},Tv=c.forwardRef(l1e),c1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},u1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:c1e}))},d1e=c.forwardRef(u1e),p1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},f1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:p1e}))},jk=c.forwardRef(f1e),m1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},g1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:m1e}))},ym=c.forwardRef(g1e),h1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},v1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:h1e}))},_1e=c.forwardRef(v1e),b1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},S1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:b1e}))},E1e=c.forwardRef(S1e),y1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},C1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:y1e}))},Pee=c.forwardRef(C1e),T1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},x1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:T1e}))},R1e=c.forwardRef(x1e),w1e={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},I1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:w1e}))},O1e=c.forwardRef(I1e),N1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},A1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:N1e}))},D1e=c.forwardRef(A1e),M1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},L1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:M1e}))},k1e=c.forwardRef(L1e),P1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},$1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:P1e}))},RD=c.forwardRef($1e),F1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},B1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:F1e}))},zk=c.forwardRef(B1e),U1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},j1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:U1e}))},z1e=c.forwardRef(j1e),H1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},G1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:H1e}))},V1e=c.forwardRef(G1e),q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},W1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:q1e}))},$ee=c.forwardRef(W1e),Y1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},K1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Y1e}))},X1e=c.forwardRef(K1e),Q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Z1e=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:Q1e}))},J1e=c.forwardRef(Z1e),eNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},tNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:eNe}))},nNe=c.forwardRef(tNe),rNe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},aNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:rNe}))},Hk=c.forwardRef(aNe),iNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},oNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:iNe}))},Vu=c.forwardRef(oNe),sNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},lNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:sNe}))},cNe=c.forwardRef(lNe),uNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},dNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:uNe}))},pNe=c.forwardRef(dNe),fNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},mNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:fNe}))},gNe=c.forwardRef(mNe),hNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},vNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:hNe}))},_Ne=c.forwardRef(vNe),bNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},SNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:bNe}))},ENe=c.forwardRef(SNe),yNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},CNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:yNe}))},TNe=c.forwardRef(CNe),xNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},RNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:xNe}))},wNe=c.forwardRef(RNe),INe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},ONe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:INe}))},NNe=c.forwardRef(ONe),ANe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},DNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:ANe}))},MNe=c.forwardRef(DNe),LNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},kNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:LNe}))},w4=c.forwardRef(kNe),PNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},$Ne=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:PNe}))},FNe=c.forwardRef($Ne),BNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},UNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:BNe}))},jNe=c.forwardRef(UNe),zNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},HNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:zNe}))},I4=c.forwardRef(HNe),GNe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},VNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:GNe}))},qNe=c.forwardRef(VNe),WNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},YNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:WNe}))},ko=c.forwardRef(YNe),KNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},XNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:KNe}))},Fee=c.forwardRef(XNe),QNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},ZNe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:QNe}))},JNe=c.forwardRef(ZNe),eAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},tAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:eAe}))},O4=c.forwardRef(tAe),nAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},rAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:nAe}))},Gk=c.forwardRef(rAe),aAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},iAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:aAe}))},Bee=c.forwardRef(iAe),oAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},sAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:oAe}))},lAe=c.forwardRef(sAe),cAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},uAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:cAe}))},Vk=c.forwardRef(uAe),dAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},pAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:dAe}))},fAe=c.forwardRef(pAe),mAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},gAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:mAe}))},hAe=c.forwardRef(gAe),vAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},_Ae=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:vAe}))},Uee=c.forwardRef(_Ae),bAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},SAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:bAe}))},EAe=c.forwardRef(SAe),yAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},CAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:yAe}))},TAe=c.forwardRef(CAe),xAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},RAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:xAe}))},wAe=c.forwardRef(RAe),IAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},OAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:IAe}))},jee=c.forwardRef(OAe),NAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},AAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:NAe}))},DAe=c.forwardRef(AAe),MAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},LAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:MAe}))},kAe=c.forwardRef(LAe),PAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},$Ae=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:PAe}))},FAe=c.forwardRef($Ae),BAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},UAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:BAe}))},jAe=c.forwardRef(UAe),zAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},HAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:zAe}))},zee=c.forwardRef(HAe),GAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},VAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:GAe}))},Hee=c.forwardRef(VAe),qAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},WAe=function(t,n){return c.createElement(nt,ve({},t,{ref:n,icon:qAe}))},wD=c.forwardRef(WAe),YAe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function N4(e){return typeof e=="string"}function Gee(e){var t,n=e.className,r=e.prefixCls,a=e.style,i=e.active,o=e.status,s=e.iconPrefix,l=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,p=e.description,f=e.title,m=e.subTitle,g=e.progressDot,h=e.stepIcon,v=e.tailContent,S=e.icons,b=e.stepIndex,E=e.onStepClick,y=e.onClick,C=e.render,T=yt(e,YAe),x=!!E&&!d,R={};x&&(R.role="button",R.tabIndex=0,R.onClick=function(M){y==null||y(M),E(b)},R.onKeyDown=function(M){var N=M.which;(N===Fe.ENTER||N===Fe.SPACE)&&E(b)});var w=function(){var N,A,D=ie("".concat(r,"-icon"),"".concat(s,"icon"),(N={},W(N,"".concat(s,"icon-").concat(l),l&&N4(l)),W(N,"".concat(s,"icon-check"),!l&&o==="finish"&&(S&&!S.finish||!S)),W(N,"".concat(s,"icon-cross"),!l&&o==="error"&&(S&&!S.error||!S)),N)),L=c.createElement("span",{className:"".concat(r,"-icon-dot")});return g?typeof g=="function"?A=c.createElement("span",{className:"".concat(r,"-icon")},g(L,{index:u-1,status:o,title:f,description:p})):A=c.createElement("span",{className:"".concat(r,"-icon")},L):l&&!N4(l)?A=c.createElement("span",{className:"".concat(r,"-icon")},l):S&&S.finish&&o==="finish"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.finish):S&&S.error&&o==="error"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.error):l||o==="finish"||o==="error"?A=c.createElement("span",{className:D}):A=c.createElement("span",{className:"".concat(r,"-icon")},u),h&&(A=h({index:u-1,status:o,title:f,description:p,node:A})),A},I=o||"wait",O=ie("".concat(r,"-item"),"".concat(r,"-item-").concat(I),n,(t={},W(t,"".concat(r,"-item-custom"),l),W(t,"".concat(r,"-item-active"),i),W(t,"".concat(r,"-item-disabled"),d===!0),t)),k=ee({},a),P=c.createElement("div",ve({},T,{className:O,style:k}),c.createElement("div",ve({onClick:y},R,{className:"".concat(r,"-item-container")}),c.createElement("div",{className:"".concat(r,"-item-tail")},v),c.createElement("div",{className:"".concat(r,"-item-icon")},w()),c.createElement("div",{className:"".concat(r,"-item-content")},c.createElement("div",{className:"".concat(r,"-item-title")},f,m&&c.createElement("div",{title:typeof m=="string"?m:void 0,className:"".concat(r,"-item-subtitle")},m)),p&&c.createElement("div",{className:"".concat(r,"-item-description")},p))));return C&&(P=C(P)||null),P}var KAe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function qk(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,i=a===void 0?{}:a,o=e.className;e.children;var s=e.direction,l=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,p=e.labelPlacement,f=p===void 0?"horizontal":p,m=e.iconPrefix,g=m===void 0?"rc":m,h=e.status,v=h===void 0?"process":h,S=e.size,b=e.current,E=b===void 0?0:b,y=e.progressDot,C=y===void 0?!1:y,T=e.stepIcon,x=e.initial,R=x===void 0?0:x,w=e.icons,I=e.onChange,O=e.itemRender,k=e.items,P=k===void 0?[]:k,M=yt(e,KAe),N=d==="navigation",A=d==="inline",D=A||C,L=A?"horizontal":l,$=A?void 0:S,F=D?"vertical":f,B=ie(r,"".concat(r,"-").concat(L),o,(t={},W(t,"".concat(r,"-").concat($),$),W(t,"".concat(r,"-label-").concat(F),L==="horizontal"),W(t,"".concat(r,"-dot"),!!D),W(t,"".concat(r,"-navigation"),N),W(t,"".concat(r,"-inline"),A),t)),z=function(G){I&&E!==G&&I(G)},U=function(G,J){var Y=ee({},G),Q=R+J;return v==="error"&&J===E-1&&(Y.className="".concat(r,"-next-error")),Y.status||(Q===E?Y.status=v:Q{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:X(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},QAe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},ZAe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),o={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${X(i)} ${X(e.paddingXXS)} 0`,margin:`0 ${X(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${X(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${X(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${X(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-error":o,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${X(e.calc(n).div(2).equal())})`,top:0}},o),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},JAe=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${X(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},eDe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},_i),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${X(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${X(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${X(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${X(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},tDe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:i,marginXXS:o,lineWidthBold:s,lineWidth:l,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),p=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:i}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:o,insetInlineStart:e.calc(r).div(2).sub(l).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(l).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${X(d)} !important`,height:`${X(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${X(p)} !important`,height:`${X(p)} !important`}}}}},nDe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:i,motionDurationSlow:o}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${X(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${X(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:X(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${o}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(a).div(2).equal(),width:a,height:a,lineHeight:X(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${X(e.calc(i).add(e.paddingXS).equal())} 0 ${X(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},rDe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},aDe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${X(e.marginXS)}`,fontSize:r,lineHeight:X(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:X(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:X(n),transform:"none"}}}}},iDe=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:X(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${X(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${X(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${X(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${X(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:X(n)}}}}},oDe="wait",sDe="process",lDe="finish",cDe="error",Rh=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,i=`${e}DescriptionColor`,o=`${e}TailColor`,s=`${e}IconBgColor`,l=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[l],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[o]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[o]}}},uDe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},Es(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:X(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${X(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:X(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Rh(oDe,e)),Rh(sDe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Rh(lDe,e)),Rh(cDe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},dDe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},pDe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),uDe(e)),dDe(e)),XAe(e)),aDe(e)),iDe(e)),QAe(e)),JAe(e)),nDe(e)),eDe(e)),rDe(e)),tDe(e)),ZAe(e))}},fDe=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),mDe=sn("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:i,colorTextDescription:o,colorTextQuaternary:s,colorError:l,colorBorderSecondary:u,colorSplit:d}=e,p=Ht(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:o,waitDescriptionColor:o,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:a,finishDescriptionColor:o,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:l,errorDescriptionColor:l,errorTailColor:d,errorIconBgColor:l,errorIconBorderColor:l,errorDotColor:l,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[pDe(p)]},fDe);function gDe(e){return e.filter(t=>t)}function hDe(e,t){if(e)return e;const n=_r(t).map(r=>{if(c.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return gDe(n)}var vDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:i,items:o,responsive:s=!0,current:l=0,children:u,style:d}=e,p=vDe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:f}=Yb(s),{getPrefixCls:m,direction:g,steps:h}=c.useContext(lt),v=c.useMemo(()=>s&&f?"vertical":i,[f,i]),S=xr(n),b=m("steps",e.prefixCls),[E,y,C]=mDe(b),T=e.type==="inline",x=m("",e.iconPrefix),R=hDe(o,u),w=T?void 0:t,I=Object.assign(Object.assign({},h==null?void 0:h.style),d),O=ie(h==null?void 0:h.className,{[`${b}-rtl`]:g==="rtl",[`${b}-with-progress`]:w!==void 0},r,a,y,C),k={finish:c.createElement(qb,{className:`${b}-finish-icon`}),error:c.createElement(na,{className:`${b}-error-icon`})},P=N=>{let{node:A,status:D}=N;if(D==="process"&&w!==void 0){const L=S==="small"?32:40;return c.createElement("div",{className:`${b}-progress-icon`},c.createElement(_S,{type:"circle",percent:w,size:L,strokeWidth:4,format:()=>null}),A)}return A},M=(N,A)=>N.description?c.createElement(Jt,{title:N.description},A):A;return E(c.createElement(qk,Object.assign({icons:k},p,{style:I,current:l,size:S,items:R,itemRender:T?M:void 0,stepIcon:P,direction:v,prefixCls:b,iconPrefix:x,className:O})))};bg.Step=qk.Step;var _De=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Vee=c.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,i=e.className,o=e.checked,s=e.defaultChecked,l=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,f=e.onClick,m=e.onChange,g=e.onKeyDown,h=yt(e,_De),v=ln(!1,{value:o,defaultValue:s}),S=oe(v,2),b=S[0],E=S[1];function y(R,w){var I=b;return l||(I=R,E(I),m==null||m(I,w)),I}function C(R){R.which===Fe.LEFT?y(!1,R):R.which===Fe.RIGHT&&y(!0,R),g==null||g(R)}function T(R){var w=y(!b,R);f==null||f(w,R)}var x=ie(a,i,(n={},W(n,"".concat(a,"-checked"),b),W(n,"".concat(a,"-disabled"),l),n));return c.createElement("button",ve({},h,{type:"button",role:"switch","aria-checked":b,disabled:l,className:x,ref:t,onKeyDown:C,onClick:T}),u,c.createElement("span",{className:"".concat(a,"-inner")},c.createElement("span",{className:"".concat(a,"-inner-checked")},d),c.createElement("span",{className:"".concat(a,"-inner-unchecked")},p)))});Vee.displayName="Switch";const bDe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:i,innerMaxMarginSM:o,handleSizeSM:s,calc:l}=e,u=`${t}-inner`,d=X(l(s).add(l(r).mul(2)).equal()),p=X(l(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:X(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${p})`,marginInlineEnd:`calc(100% - ${d} + ${p})`},[`${u}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${p})`,marginInlineEnd:`calc(-100% + ${d} - ${p})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${X(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},SDe=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},EDe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:i,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(i).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${X(o(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},yDe=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:i,handleSize:o,calc:s}=e,l=`${t}-inner`,u=X(s(o).add(s(r).mul(2)).equal()),d=X(s(i).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},CDe=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},an(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:X(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Uo(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},TDe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,i=t*n,o=r/2,s=2,l=i-s*2,u=o-s*2;return{trackHeight:i,trackHeightSM:o,trackMinWidth:l*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:l,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new on("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},xDe=sn("Switch",e=>{const t=Ht(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[CDe(t),yDe(t),EDe(t),SDe(t),bDe(t)]},TDe);var RDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:i,className:o,rootClassName:s,style:l,checked:u,value:d,defaultChecked:p,defaultValue:f,onChange:m}=e,g=RDe(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,v]=ln(!1,{value:u??d,defaultValue:p??f}),{getPrefixCls:S,direction:b,switch:E}=c.useContext(lt),y=c.useContext(ea),C=(a??y)||i,T=S("switch",n),x=c.createElement("div",{className:`${T}-handle`},i&&c.createElement(jo,{className:`${T}-loading-icon`})),[R,w,I]=xDe(T),O=xr(r),k=ie(E==null?void 0:E.className,{[`${T}-small`]:O==="small",[`${T}-loading`]:i,[`${T}-rtl`]:b==="rtl"},o,s,w,I),P=Object.assign(Object.assign({},E==null?void 0:E.style),l),M=function(){v(arguments.length<=0?void 0:arguments[0]),m==null||m.apply(void 0,arguments)};return R(c.createElement(Jm,{component:"Switch"},c.createElement(Vee,Object.assign({},g,{checked:h,onChange:M,prefixCls:T,className:k,style:P,disabled:C,ref:t,loadingIcon:x}))))}),Fa=wDe;Fa.__ANT_SWITCH=!0;var zs={},Sg="rc-table-internal-hook";function Wk(e){var t=c.createContext(void 0),n=function(a){var i=a.value,o=a.children,s=c.useRef(i);s.current=i;var l=c.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=oe(l,1),d=u[0];return Qt(function(){Ur.unstable_batchedUpdates(function(){d.listeners.forEach(function(p){p(i)})})},[i]),c.createElement(t.Provider,{value:d},o)};return{Context:t,Provider:n,defaultValue:e}}function Ca(e,t){var n=Wt(typeof t=="function"?t:function(p){if(t===void 0)return p;if(!Array.isArray(t))return p[t];var f={};return t.forEach(function(m){f[m]=p[m]}),f}),r=c.useContext(e==null?void 0:e.Context),a=r||{},i=a.listeners,o=a.getValue,s=c.useRef();s.current=n(r?o():e==null?void 0:e.defaultValue);var l=c.useState({}),u=oe(l,2),d=u[1];return Qt(function(){if(!r)return;function p(f){var m=n(f);ji(s.current,m,!0)||d({})}return i.add(p),function(){i.delete(p)}},[r]),s.current}function IDe(){var e=c.createContext(null);function t(){return c.useContext(e)}function n(a,i){var o=mo(a),s=function(u,d){var p=o?{ref:d}:{},f=c.useRef(0),m=c.useRef(u),g=t();return g!==null?c.createElement(a,ve({},u,p)):((!i||i(m.current,u))&&(f.current+=1),m.current=u,c.createElement(e.Provider,{value:f.current},c.createElement(a,ve({},u,p))))};return o?c.forwardRef(s):s}function r(a,i){var o=mo(a),s=function(u,d){var p=o?{ref:d}:{};return t(),c.createElement(a,ve({},u,p))};return o?c.memo(c.forwardRef(s),i):c.memo(s,i)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Yk=IDe(),qee=Yk.makeImmutable,op=Yk.responseImmutable,ODe=Yk.useImmutableMark,Xa=Wk(),Wee=c.createContext({renderWithProps:!1}),NDe="RC_TABLE_KEY";function ADe(e){return e==null?[]:Array.isArray(e)?e:[e]}function bS(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},i=a.key,o=a.dataIndex,s=i||ADe(o).join("-")||NDe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function ID(e){return e!=null}function DDe(e){return e&>(e)==="object"&&!Array.isArray(e)&&!c.isValidElement(e)}function MDe(e,t,n,r,a,i){var o=c.useContext(Wee),s=ODe(),l=Il(function(){if(ID(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=li(e,u),p=d,f=void 0;if(a){var m=a(d,e,n);DDe(m)?(p=m.children,f=m.props,o.renderWithProps=!0):p=m}return[p,f]},[s,e,r,t,a,n],function(u,d){if(i){var p=oe(u,2),f=p[1],m=oe(d,2),g=m[1];return i(g,f)}return o.renderWithProps?!0:!ji(u,d,!0)});return l}function LDe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function kDe(e,t){return Ca(Xa,function(n){var r=LDe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var PDe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,i,o=n===!0?{showTitle:!0}:n;return o&&(o.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?i=a.toString():c.isValidElement(a)&&typeof a.props.children=="string"&&(i=a.props.children)),i};function $De(e){var t,n,r,a,i,o,s,l,u=e.component,d=e.children,p=e.ellipsis,f=e.scope,m=e.prefixCls,g=e.className,h=e.align,v=e.record,S=e.render,b=e.dataIndex,E=e.renderIndex,y=e.shouldCellUpdate,C=e.index,T=e.rowType,x=e.colSpan,R=e.rowSpan,w=e.fixLeft,I=e.fixRight,O=e.firstFixLeft,k=e.lastFixLeft,P=e.firstFixRight,M=e.lastFixRight,N=e.appendNode,A=e.additionalProps,D=A===void 0?{}:A,L=e.isSticky,$="".concat(m,"-cell"),F=Ca(Xa,["supportSticky","allColumnsFixedLeft","rowHoverable"]),B=F.supportSticky,z=F.allColumnsFixedLeft,U=F.rowHoverable,j=MDe(v,b,E,d,S,y),G=oe(j,2),J=G[0],Y=G[1],Q={},V=typeof w=="number"&&B,H=typeof I=="number"&&B;V&&(Q.position="sticky",Q.left=w),H&&(Q.position="sticky",Q.right=I);var q=(t=(n=(r=Y==null?void 0:Y.colSpan)!==null&&r!==void 0?r:D.colSpan)!==null&&n!==void 0?n:x)!==null&&t!==void 0?t:1,K=(a=(i=(o=Y==null?void 0:Y.rowSpan)!==null&&o!==void 0?o:D.rowSpan)!==null&&i!==void 0?i:R)!==null&&a!==void 0?a:1,Z=kDe(C,K),te=oe(Z,2),se=te[0],ue=te[1],me=Wt(function(ae){var le;v&&ue(C,C+K-1),D==null||(le=D.onMouseEnter)===null||le===void 0||le.call(D,ae)}),de=Wt(function(ae){var le;v&&ue(-1,-1),D==null||(le=D.onMouseLeave)===null||le===void 0||le.call(D,ae)});if(q===0||K===0)return null;var Te=(s=D.title)!==null&&s!==void 0?s:PDe({rowType:T,ellipsis:p,children:J}),Ee=ie($,g,(l={},W(l,"".concat($,"-fix-left"),V&&B),W(l,"".concat($,"-fix-left-first"),O&&B),W(l,"".concat($,"-fix-left-last"),k&&B),W(l,"".concat($,"-fix-left-all"),k&&z&&B),W(l,"".concat($,"-fix-right"),H&&B),W(l,"".concat($,"-fix-right-first"),P&&B),W(l,"".concat($,"-fix-right-last"),M&&B),W(l,"".concat($,"-ellipsis"),p),W(l,"".concat($,"-with-append"),N),W(l,"".concat($,"-fix-sticky"),(V||H)&&L&&B),W(l,"".concat($,"-row-hover"),!Y&&se),l),D.className,Y==null?void 0:Y.className),ge={};h&&(ge.textAlign=h);var re=ee(ee(ee(ee({},Q),D.style),ge),Y==null?void 0:Y.style),ne=J;return gt(ne)==="object"&&!Array.isArray(ne)&&!c.isValidElement(ne)&&(ne=null),p&&(k||P)&&(ne=c.createElement("span",{className:"".concat($,"-content")},ne)),c.createElement(u,ve({},Y,D,{className:Ee,style:re,title:Te,scope:f,onMouseEnter:U?me:void 0,onMouseLeave:U?de:void 0,colSpan:q!==1?q:null,rowSpan:K!==1?K:null}),N,ne)}const Gc=c.memo($De);function Kk(e,t,n,r,a){var i=n[e]||{},o=n[t]||{},s,l;i.fixed==="left"?s=r.left[a==="rtl"?t:e]:o.fixed==="right"&&(l=r.right[a==="rtl"?e:t]);var u=!1,d=!1,p=!1,f=!1,m=n[t+1],g=n[e-1],h=m&&!m.fixed||g&&!g.fixed||n.every(function(y){return y.fixed==="left"});if(a==="rtl"){if(s!==void 0){var v=g&&g.fixed==="left";f=!v&&h}else if(l!==void 0){var S=m&&m.fixed==="right";p=!S&&h}}else if(s!==void 0){var b=m&&m.fixed==="left";u=!b&&h}else if(l!==void 0){var E=g&&g.fixed==="right";d=!E&&h}return{fixLeft:s,fixRight:l,lastFixLeft:u,firstFixRight:d,lastFixRight:p,firstFixLeft:f,isSticky:r.isSticky}}var Yee=c.createContext({});function FDe(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,i=a===void 0?1:a,o=e.rowSpan,s=e.align,l=Ca(Xa,["prefixCls","direction"]),u=l.prefixCls,d=l.direction,p=c.useContext(Yee),f=p.scrollColumnIndex,m=p.stickyOffsets,g=p.flattenColumns,h=n+i-1,v=h+1===f?i+1:i,S=Kk(n,n+v-1,g,m,d);return c.createElement(Gc,ve({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:o,render:function(){return r}},S))}var BDe=["children"];function UDe(e){var t=e.children,n=yt(e,BDe);return c.createElement("tr",n,t)}function SS(e){var t=e.children;return t}SS.Row=UDe;SS.Cell=FDe;function jDe(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=Ca(Xa,"prefixCls"),i=r.length-1,o=r[i],s=c.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o!=null&&o.scrollbar?i:null}},[o,r,i,n]);return c.createElement(Yee.Provider,{value:s},c.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const wh=op(jDe);var Kee=SS;function zDe(e){return null}function HDe(e){return null}function Xee(e,t,n,r,a,i,o){e.push({record:t,indent:n,index:o});var s=i(t),l=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&l)for(var u=0;u1?O-1:0),P=1;P=1?C:""),style:ee(ee({},n),S==null?void 0:S.style)}),g.map(function(w,I){var O=w.render,k=w.dataIndex,P=w.className,M=ete(f,w,I,l,a),N=M.key,A=M.fixedInfo,D=M.appendCellNode,L=M.additionalCellProps;return c.createElement(Gc,ve({className:P,ellipsis:w.ellipsis,align:w.align,scope:w.rowScope,component:w.rowScope?p:d,prefixCls:m,key:N,record:r,index:a,renderIndex:i,dataIndex:k,render:O,shouldCellUpdate:w.shouldCellUpdate},A,{appendNode:D,additionalProps:L}))})),x;if(E&&(y.current||b)){var R=v(r,a,l+1,b);x=c.createElement(Jee,{expanded:b,className:ie("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(l+1),C),prefixCls:m,component:u,cellComponent:d,colSpan:g.length,isEmpty:!1},R)}return c.createElement(c.Fragment,null,T,x)}const VDe=op(GDe);function qDe(e){var t=e.columnKey,n=e.onColumnResize,r=c.useRef();return c.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),c.createElement(da,{data:t},c.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},c.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function WDe(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return c.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},c.createElement(da.Collection,{onBatchResize:function(i){i.forEach(function(o){var s=o.data,l=o.size;r(s,l.offsetWidth)})}},n.map(function(a){return c.createElement(qDe,{key:a,columnKey:a,onColumnResize:r})})))}function YDe(e){var t=e.data,n=e.measureColumnWidth,r=Ca(Xa,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,i=r.getComponent,o=r.onColumnResize,s=r.flattenColumns,l=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,p=r.emptyNode,f=Qee(t,d,u,l),m=c.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),h=i(["body","row"],"tr"),v=i(["body","cell"],"td"),S=i(["body","cell"],"th"),b;t.length?b=f.map(function(y,C){var T=y.record,x=y.indent,R=y.index,w=l(T,C);return c.createElement(VDe,{key:w,rowKey:w,record:T,index:C,renderIndex:R,rowComponent:h,cellComponent:v,scopeCellComponent:S,getRowKey:l,indent:x})}):b=c.createElement(Jee,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:h,cellComponent:v,colSpan:s.length,isEmpty:!0},p);var E=bS(s);return c.createElement(Wee.Provider,{value:m.current},c.createElement(g,{className:"".concat(a,"-tbody")},n&&c.createElement(WDe,{prefixCls:a,columnsKey:E,onColumnResize:o}),b))}const KDe=op(YDe);var XDe=["expandable"],If="RC_TABLE_INTERNAL_COL_DEFINE";function QDe(e){var t=e.expandable,n=yt(e,XDe),r;return"expandable"in e?r=ee(ee({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var ZDe=["columnType"];function tte(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=[],i=r||n.length,o=!1,s=i-1;s>=0;s-=1){var l=t[s],u=n&&n[s],d=u&&u[If];if(l||d||o){var p=d||{};p.columnType;var f=yt(p,ZDe);a.unshift(c.createElement("col",ve({key:s,style:{width:l}},f))),o=!0}}return c.createElement("colgroup",null,a)}var JDe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function eMe(e,t){return c.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:o,prefixCls:d,key:m[h]},S,{additionalProps:b,rowType:"header"}))}))};function rMe(e){var t=[];function n(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];var u=s,d=o.filter(Boolean).map(function(p){var f={key:p.key,className:p.className||"",children:p.title,column:p,colStart:u},m=1,g=p.children;return g&&g.length>0&&(m=n(g,u,l+1).reduce(function(h,v){return h+v},0),f.hasSubColumns=!0),"colSpan"in p&&(m=p.colSpan),"rowSpan"in p&&(f.rowSpan=p.rowSpan),f.colSpan=m,f.colEnd=f.colStart+m-1,t[l].push(f),u+=m,m});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(l){!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function iMe(e,t,n){return c.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(f){var m=M4(t,f.width);m?r+=m:a+=1});var i=Math.max(t,n),o=Math.max(i-r,a),s=a,l=o/a,u=0,d=e.map(function(f){var m=ee({},f),g=M4(t,m.width);if(g)m.width=g;else{var h=Math.floor(l);m.width=s===1?o:h,o-=h,s-=1}return u+=m.width,m});if(u0?ee(ee({},t),{},{children:nte(n)}):t})}function OD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&>(n)==="object"}).reduce(function(n,r,a){var i=r.fixed,o=i===!0?"left":i,s="".concat(t,"-").concat(a),l=r.children;return l&&l.length>0?[].concat($e(n),$e(OD(l,s).map(function(u){return ee({fixed:o},u)}))):[].concat($e(n),[ee(ee({key:s},r),{},{fixed:o})])},[])}function lMe(e){return e.map(function(t){var n=t.fixed,r=yt(t,sMe),a=n;return n==="left"?a="right":n==="right"&&(a="left"),ee({fixed:a},r)})}function cMe(e,t){var n=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,o=e.expandedKeys,s=e.columnTitle,l=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,p=e.rowExpandable,f=e.expandIconColumnIndex,m=e.direction,g=e.expandRowByClick,h=e.columnWidth,v=e.fixed,S=e.scrollWidth,b=e.clientWidth,E=c.useMemo(function(){var k=r||Xk(a)||[];return nte(k.slice())},[r,a]),y=c.useMemo(function(){if(i){var k,P=E.slice();if(!P.includes(zs)){var M=f||0;M>=0&&P.splice(M,0,zs)}var N=P.indexOf(zs);P=P.filter(function($,F){return $!==zs||F===N});var A=E[N],D;(v==="left"||v)&&!f?D="left":(v==="right"||v)&&f===E.length?D="right":D=A?A.fixed:null;var L=(k={},W(k,If,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),W(k,"title",s),W(k,"fixed",D),W(k,"className","".concat(n,"-row-expand-icon-cell")),W(k,"width",h),W(k,"render",function(F,B,z){var U=l(B,z),j=o.has(U),G=p?p(B):!0,J=d({prefixCls:n,expanded:j,expandable:G,record:B,onExpand:u});return g?c.createElement("span",{onClick:function(Q){return Q.stopPropagation()}},J):J}),k);return P.map(function($){return $===zs?L:$})}return E.filter(function($){return $!==zs})},[i,E,l,o,d,m]),C=c.useMemo(function(){var k=y;return t&&(k=t(k)),k.length||(k=[{render:function(){return null}}]),k},[t,y,m]),T=c.useMemo(function(){return m==="rtl"?lMe(OD(C)):OD(C)},[C,m,S]),x=c.useMemo(function(){for(var k=-1,P=T.length-1;P>=0;P-=1){var M=T[P].fixed;if(M==="left"||M===!0){k=P;break}}if(k>=0)for(var N=0;N<=k;N+=1){var A=T[N].fixed;if(A!=="left"&&A!==!0)return!0}var D=T.findIndex(function(F){var B=F.fixed;return B==="right"});if(D>=0)for(var L=D;L=p&&(L=p-f),o({scrollLeft:L/p*(d+2)}),b.current.x=M.pageX},O=function(){x.current=Gt(function(){if(i.current){var M=ED(i.current).top,N=M+i.current.offsetHeight,A=l===window?document.documentElement.scrollTop+window.innerHeight:ED(l).top+l.clientHeight;N-pB()<=A||M>=A-s?S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!0})}):S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!1})})}})},k=function(M){S(function(N){return ee(ee({},N),{},{scrollLeft:M/d*p||0})})};return c.useImperativeHandle(n,function(){return{setScrollLeft:k,checkScrollBarVisible:O}}),c.useEffect(function(){var P=Lo(document.body,"mouseup",R,!1),M=Lo(document.body,"mousemove",I,!1);return O(),function(){P.remove(),M.remove()}},[f,C]),c.useEffect(function(){var P=Lo(l,"scroll",O,!1),M=Lo(window,"resize",O,!1);return function(){P.remove(),M.remove()}},[l]),c.useEffect(function(){v.isHiddenScrollBar||S(function(P){var M=i.current;return M?ee(ee({},P),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):P})},[v.isHiddenScrollBar]),d<=p||!f||v.isHiddenScrollBar?null:c.createElement("div",{style:{height:pB(),width:p,bottom:s},className:"".concat(u,"-sticky-scroll")},c.createElement("div",{onMouseDown:w,ref:m,className:ie("".concat(u,"-sticky-scroll-bar"),W({},"".concat(u,"-sticky-scroll-bar-active"),C)),style:{width:"".concat(f,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))};const bMe=c.forwardRef(_Me);var ate="rc-table",SMe=[],EMe={};function yMe(){return"No Data"}function CMe(e,t){var n,r=ee({rowKey:"key",prefixCls:ate,emptyText:yMe},e),a=r.prefixCls,i=r.className,o=r.rowClassName,s=r.style,l=r.data,u=r.rowKey,d=r.scroll,p=r.tableLayout,f=r.direction,m=r.title,g=r.footer,h=r.summary,v=r.caption,S=r.id,b=r.showHeader,E=r.components,y=r.emptyText,C=r.onRow,T=r.onHeaderRow,x=r.onScroll,R=r.internalHooks,w=r.transformColumns,I=r.internalRefs,O=r.tailor,k=r.getContainerWidth,P=r.sticky,M=r.rowHoverable,N=M===void 0?!0:M,A=l||SMe,D=!!A.length,L=R===Sg,$=c.useCallback(function(ut,Pt){return li(E,ut)||Pt},[E]),F=c.useMemo(function(){return typeof u=="function"?u:function(ut){var Pt=ut&&ut[u];return Pt}},[u]),B=$(["body"]),z=gMe(),U=oe(z,3),j=U[0],G=U[1],J=U[2],Y=pMe(r,A,F),Q=oe(Y,6),V=Q[0],H=Q[1],q=Q[2],K=Q[3],Z=Q[4],te=Q[5],se=d==null?void 0:d.x,ue=c.useState(0),me=oe(ue,2),de=me[0],Te=me[1],Ee=cMe(ee(ee(ee({},r),V),{},{expandable:!!V.expandedRowRender,columnTitle:V.columnTitle,expandedKeys:q,getRowKey:F,onTriggerExpand:te,expandIcon:K,expandIconColumnIndex:V.expandIconColumnIndex,direction:f,scrollWidth:L&&O&&typeof se=="number"?se:null,clientWidth:de}),L?w:null),ge=oe(Ee,4),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ae??se,Re=c.useMemo(function(){return{columns:re,flattenColumns:ne}},[re,ne]),Se=c.useRef(),Pe=c.useRef(),fe=c.useRef(),_e=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:Se.current,scrollTo:function(Pt){var fn;if(fe.current instanceof HTMLElement){var ar=Pt.index,mn=Pt.top,$r=Pt.key;if(mn){var wr;(wr=fe.current)===null||wr===void 0||wr.scrollTo({top:mn})}else{var Sr,sa=$r??F(A[ar]);(Sr=fe.current.querySelector('[data-row-key="'.concat(sa,'"]')))===null||Sr===void 0||Sr.scrollIntoView()}}else(fn=fe.current)!==null&&fn!==void 0&&fn.scrollTo&&fe.current.scrollTo(Pt)}}});var Ae=c.useRef(),ye=c.useState(!1),be=oe(ye,2),Ne=be[0],we=be[1],xe=c.useState(!1),ke=oe(xe,2),at=ke[0],Me=ke[1],Ce=rte(new Map),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=bS(ne),ze=He.map(function(ut){return Ue.get(ut)}),Xe=c.useMemo(function(){return ze},[ze.join("_")]),Be=vMe(Xe,ne,f),Je=d&&ID(d.y),mt=d&&ID(pe)||!!V.fixed,pt=mt&&ne.some(function(ut){var Pt=ut.fixed;return Pt}),We=c.useRef(),Ve=hMe(P,a),Ze=Ve.isSticky,dt=Ve.offsetHeader,It=Ve.offsetSummary,Nt=Ve.offsetScroll,ht=Ve.stickyClassName,ct=Ve.container,ot=c.useMemo(function(){return h==null?void 0:h(A)},[h,A]),et=(Je||Ze)&&c.isValidElement(ot)&&ot.type===SS&&ot.props.fixed,vt,rt,bt;Je&&(rt={overflowY:"scroll",maxHeight:d.y}),mt&&(vt={overflowX:"auto"},Je||(rt={overflowY:"hidden"}),bt={width:pe===!0?"auto":pe,minWidth:"100%"});var Tt=c.useCallback(function(ut,Pt){Kd(Se.current)&&Ye(function(fn){if(fn.get(ut)!==Pt){var ar=new Map(fn);return ar.set(ut,Pt),ar}return fn})},[]),tt=mMe(),it=oe(tt,2),Ke=it[0],qe=it[1];function _t(ut,Pt){Pt&&(typeof Pt=="function"?Pt(ut):Pt.scrollLeft!==ut&&(Pt.scrollLeft=ut,Pt.scrollLeft!==ut&&setTimeout(function(){Pt.scrollLeft=ut},0)))}var Rt=Wt(function(ut){var Pt=ut.currentTarget,fn=ut.scrollLeft,ar=f==="rtl",mn=typeof fn=="number"?fn:Pt.scrollLeft,$r=Pt||EMe;if(!qe()||qe()===$r){var wr;Ke($r),_t(mn,Pe.current),_t(mn,fe.current),_t(mn,Ae.current),_t(mn,(wr=We.current)===null||wr===void 0?void 0:wr.setScrollLeft)}var Sr=Pt||Pe.current;if(Sr){var sa=Sr.scrollWidth,Ja=Sr.clientWidth;if(sa===Ja){we(!1),Me(!1);return}ar?(we(-mn0)):(we(mn>0),Me(mn1?v-M:0,A=ee(ee(ee({},R),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:N,pointerEvents:"auto"}),D=c.useMemo(function(){return p?k<=1:I===0||k===0||k>1},[k,I,p]);D?A.visibility="hidden":p&&(A.height=f==null?void 0:f(k));var L=D?function(){return null}:m,$={};return(k===0||I===0)&&($.rowSpan=1,$.colSpan=1),c.createElement(Gc,ve({className:ie(h,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:y,record:l,index:i,renderIndex:s,dataIndex:g,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:T,additionalProps:ee(ee({},x),{},{style:A},$)}))}var wMe=["data","index","className","rowKey","style","extra","getHeight"],IMe=c.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,i=e.rowKey,o=e.style,s=e.extra,l=e.getHeight,u=yt(e,wMe),d=n.record,p=n.indent,f=n.index,m=Ca(Xa,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=m.scrollX,h=m.flattenColumns,v=m.prefixCls,S=m.fixColumn,b=m.componentWidth,E=Ca(Qk,["getComponent"]),y=E.getComponent,C=Zee(d,i,r,p),T=y(["body","row"],"div"),x=y(["body","cell"],"div"),R=C.rowSupportExpand,w=C.expanded,I=C.rowProps,O=C.expandedRowRender,k=C.expandedRowClassName,P;if(R&&w){var M=O(d,r,p+1,w),N=k==null?void 0:k(d,r,p),A={};S&&(A={style:W({},"--virtual-width","".concat(b,"px"))});var D="".concat(v,"-expanded-row-cell");P=c.createElement(T,{className:ie("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(p+1),N)},c.createElement(Gc,{component:x,prefixCls:v,className:ie(D,W({},"".concat(D,"-fixed"),S)),additionalProps:A},M))}var L=ee(ee({},o),{},{width:g});s&&(L.position="absolute",L.pointerEvents="none");var $=c.createElement(T,ve({},I,u,{"data-row-key":i,ref:R?null:t,className:ie(a,"".concat(v,"-row"),I==null?void 0:I.className,W({},"".concat(v,"-row-extra"),s)),style:ee(ee({},L),I==null?void 0:I.style)}),h.map(function(F,B){return c.createElement(RMe,{key:B,component:x,rowInfo:C,column:F,colIndex:B,indent:p,index:r,renderIndex:f,record:d,inverse:s,getHeight:l})}));return R?c.createElement("div",{ref:t},$,P):$}),P4=op(IMe),OMe=c.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=Ca(Xa,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=a.flattenColumns,o=a.onColumnResize,s=a.getRowKey,l=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,p=a.emptyNode,f=a.scrollX,m=Ca(Qk),g=m.sticky,h=m.scrollY,v=m.listItemHeight,S=m.getComponent,b=m.onScroll,E=c.useRef(),y=Qee(n,d,l,s),C=c.useMemo(function(){var A=0;return i.map(function(D){var L=D.width,$=D.key;return A+=L,[$,L,A]})},[i]),T=c.useMemo(function(){return C.map(function(A){return A[2]})},[C]);c.useEffect(function(){C.forEach(function(A){var D=oe(A,2),L=D[0],$=D[1];o(L,$)})},[C]),c.useImperativeHandle(t,function(){var A={scrollTo:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo(L)}};return Object.defineProperty(A,"scrollLeft",{get:function(){var L;return((L=E.current)===null||L===void 0?void 0:L.getScrollInfo().x)||0},set:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo({left:L})}}),A});var x=function(D,L){var $,F=($=y[L])===null||$===void 0?void 0:$.record,B=D.onCell;if(B){var z,U=B(F,L);return(z=U==null?void 0:U.rowSpan)!==null&&z!==void 0?z:1}return 1},R=function(D){var L=D.start,$=D.end,F=D.getSize,B=D.offsetY;if($<0)return null;for(var z=i.filter(function(te){return x(te,L)===0}),U=L,j=function(se){if(z=z.filter(function(ue){return x(ue,se)===0}),!z.length)return U=se,1},G=L;G>=0&&!j(G);G-=1);for(var J=i.filter(function(te){return x(te,$)!==1}),Y=$,Q=function(se){if(J=J.filter(function(ue){return x(ue,se)!==1}),!J.length)return Y=Math.max(se-1,$),1},V=$;V1})&&H.push(se)},K=U;K<=Y;K+=1)q(K);var Z=H.map(function(te){var se=y[te],ue=s(se.record,te),me=function(Ee){var ge=te+Ee-1,re=s(y[ge].record,ge),ne=F(ue,re);return ne.bottom-ne.top},de=F(ue);return c.createElement(P4,{key:te,data:se,rowKey:ue,index:te,style:{top:-B+de.top},extra:!0,getHeight:me})});return Z},w=c.useMemo(function(){return{columnsOffset:T}},[T]),I="".concat(u,"-tbody"),O=S(["body","wrapper"]),k=S(["body","row"],"div"),P=S(["body","cell"],"div"),M;if(y.length){var N={};g&&(N.position="sticky",N.bottom=0,gt(g)==="object"&&g.offsetScroll&&(N.bottom=g.offsetScroll)),M=c.createElement(Gb,{fullHeight:!1,ref:E,prefixCls:"".concat(I,"-virtual"),styles:{horizontalScrollBar:N},className:I,height:h,itemHeight:v||24,data:y,itemKey:function(D){return s(D.record)},component:O,scrollWidth:f,onVirtualScroll:function(D){var L=D.x;r({scrollLeft:L})},onScroll:b,extraRender:R},function(A,D,L){var $=s(A.record,D);return c.createElement(P4,{data:A,rowKey:$,index:D,style:L.style})})}else M=c.createElement(k,{className:ie("".concat(u,"-placeholder"))},c.createElement(Gc,{component:P,prefixCls:u},p));return c.createElement(ote.Provider,{value:w},M)}),NMe=op(OMe),AMe=function(t,n){var r=n.ref,a=n.onScroll;return c.createElement(NMe,{ref:r,data:t,onScroll:a})};function DMe(e,t){var n=e.columns,r=e.scroll,a=e.sticky,i=e.prefixCls,o=i===void 0?ate:i,s=e.className,l=e.listItemHeight,u=e.components,d=e.onScroll,p=r||{},f=p.x,m=p.y;typeof f!="number"&&(f=1),typeof m!="number"&&(m=500);var g=Wt(function(S,b){return li(u,S)||b}),h=Wt(d),v=c.useMemo(function(){return{sticky:a,scrollY:m,listItemHeight:l,getComponent:g,onScroll:h}},[a,m,l,g,h]);return c.createElement(Qk.Provider,{value:v},c.createElement(sp,ve({},e,{className:ie(s,"".concat(o,"-virtual")),scroll:ee(ee({},r),{},{x:f}),components:ee(ee({},u),{},{body:AMe}),columns:n,internalHooks:Sg,tailor:!0,ref:t})))}var MMe=c.forwardRef(DMe);function ste(e){return qee(MMe,e)}ste();const LMe=e=>null,kMe=e=>null;var Zk=c.createContext(null),PMe=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,i=t.isEnd,o="".concat(n,"-indent-unit"),s=[],l=0;l=0&&n.splice(r,1),n}function ns(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function Jk(e){return e.split("-")}function jMe(e,t){var n=[],r=ja(t,e);function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(o){var s=o.key,l=o.children;n.push(s),a(l)})}return a(r.children),n}function zMe(e){if(e.parent){var t=Jk(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function HMe(e){var t=Jk(e.pos);return Number(t[t.length-1])===0}function B4(e,t,n,r,a,i,o,s,l,u){var d,p=e.clientX,f=e.clientY,m=e.target.getBoundingClientRect(),g=m.top,h=m.height,v=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-p),S=(v-12)/r,b=l.filter(function(A){var D;return(D=s[A])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),E=ja(s,n.props.eventKey);if(f-1.5?i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:0})?I=0:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1,{dropPosition:I,dropLevelOffset:O,dropTargetKey:E.key,dropTargetPos:E.pos,dragOverNodeKey:w,dropContainerKey:I===0?null:((d=E.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:N}}function U4(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function Ny(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(gt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return bn(!1,"`checkedKeys` is not an array or an object"),null;return t}function ND(e,t){var n=new Set;function r(a){if(!n.has(a)){var i=ja(t,a);if(i){n.add(a);var o=i.parent,s=i.node;s.disabled||o&&r(o.key)}}}return(e||[]).forEach(function(a){r(a)}),$e(n)}function GMe(e){const[t,n]=c.useState(null);return[c.useCallback((i,o,s)=>{const l=t??i,u=Math.min(l||0,i),d=Math.max(l||0,i),p=o.slice(u,d+1).map(g=>e(g)),f=p.some(g=>!s.has(g)),m=[];return p.forEach(g=>{f?(s.has(g)||m.push(g),s.add(g)):(s.delete(g),m.push(g))}),n(f?d:null),m},[t]),i=>{n(i)}]}const Fs={},AD="SELECT_ALL",DD="SELECT_INVERT",MD="SELECT_NONE",j4=[],lte=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat($e(n),$e(lte(e,r[e]))))}),n},VMe=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:i,onChange:o,onSelect:s,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:p,columnWidth:f,type:m,selections:g,fixed:h,renderCell:v,hideSelectAll:S,checkStrictly:b=!0}=t||{},{prefixCls:E,data:y,pageData:C,getRecordByKey:T,getRowKey:x,expandType:R,childrenColumnName:w,locale:I,getPopupContainer:O}=e,k=Ol(),[P,M]=GMe(q=>q),[N,A]=ln(r||a||j4,{value:r}),D=c.useRef(new Map),L=c.useCallback(q=>{if(n){const K=new Map;q.forEach(Z=>{let te=T(Z);!te&&D.current.has(Z)&&(te=D.current.get(Z)),K.set(Z,te)}),D.current=K}},[T,n]);c.useEffect(()=>{L(N)},[N]);const{keyEntities:$}=c.useMemo(()=>{if(b)return{keyEntities:null};let q=y;if(n){const K=new Set(y.map((te,se)=>x(te,se))),Z=Array.from(D.current).reduce((te,se)=>{let[ue,me]=se;return K.has(ue)?te:te.concat(me)},[]);q=[].concat($e(q),$e(Z))}return uS(q,{externalGetKey:x,childrenPropName:w})},[y,x,b,w,n]),F=c.useMemo(()=>lte(w,C),[w,C]),B=c.useMemo(()=>{const q=new Map;return F.forEach((K,Z)=>{const te=x(K,Z),se=(i?i(K):null)||{};q.set(te,se)}),q},[F,x,i]),z=c.useCallback(q=>{var K;return!!(!((K=B.get(x(q)))===null||K===void 0)&&K.disabled)},[B,x]),[U,j]=c.useMemo(()=>{if(b)return[N||[],[]];const{checkedKeys:q,halfCheckedKeys:K}=hs(N,!0,$,z);return[q||[],K]},[N,b,$,z]),G=c.useMemo(()=>{const q=m==="radio"?U.slice(0,1):U;return new Set(q)},[U,m]),J=c.useMemo(()=>m==="radio"?new Set:new Set(j),[j,m]);c.useEffect(()=>{t||A(j4)},[!!t]);const Y=c.useCallback((q,K)=>{let Z,te;L(q),n?(Z=q,te=q.map(se=>D.current.get(se))):(Z=[],te=[],q.forEach(se=>{const ue=T(se);ue!==void 0&&(Z.push(se),te.push(ue))})),A(Z),o==null||o(Z,te,{type:K})},[A,T,o,n]),Q=c.useCallback((q,K,Z,te)=>{if(s){const se=Z.map(ue=>T(ue));s(T(q),K,se,te)}Y(Z,"single")},[s,T,Y]),V=c.useMemo(()=>!g||S?null:(g===!0?[AD,DD,MD]:g).map(K=>K===AD?{key:"all",text:I.selectionAll,onSelect(){Y(y.map((Z,te)=>x(Z,te)).filter(Z=>{const te=B.get(Z);return!(te!=null&&te.disabled)||G.has(Z)}),"all")}}:K===DD?{key:"invert",text:I.selectInvert,onSelect(){const Z=new Set(G);C.forEach((se,ue)=>{const me=x(se,ue),de=B.get(me);de!=null&&de.disabled||(Z.has(me)?Z.delete(me):Z.add(me))});const te=Array.from(Z);u&&(k.deprecated(!1,"onSelectInvert","onChange"),u(te)),Y(te,"invert")}}:K===MD?{key:"none",text:I.selectNone,onSelect(){d==null||d(),Y(Array.from(G).filter(Z=>{const te=B.get(Z);return te==null?void 0:te.disabled}),"none")}}:K).map(K=>Object.assign(Object.assign({},K),{onSelect:function(){for(var Z,te,se=arguments.length,ue=new Array(se),me=0;me{var K;if(!t)return q.filter(fe=>fe!==Fs);let Z=$e(q);const te=new Set(G),se=F.map(x).filter(fe=>!B.get(fe).disabled),ue=se.every(fe=>te.has(fe)),me=se.some(fe=>te.has(fe)),de=()=>{const fe=[];ue?se.forEach(Ae=>{te.delete(Ae),fe.push(Ae)}):se.forEach(Ae=>{te.has(Ae)||(te.add(Ae),fe.push(Ae))});const _e=Array.from(te);l==null||l(!ue,_e.map(Ae=>T(Ae)),fe.map(Ae=>T(Ae))),Y(_e,"all"),M(null)};let Te,Ee;if(m!=="radio"){let fe;if(V){const Ne={getPopupContainer:O,items:V.map((we,xe)=>{const{key:ke,text:at,onSelect:Me}=we;return{key:ke??xe,onClick:()=>{Me==null||Me(se)},label:at}})};fe=c.createElement("div",{className:`${E}-selection-extra`},c.createElement(mS,{menu:Ne,getPopupContainer:O},c.createElement("span",null,c.createElement(Wb,null))))}const _e=F.map((Ne,we)=>{const xe=x(Ne,we),ke=B.get(xe)||{};return Object.assign({checked:te.has(xe)},ke)}).filter(Ne=>{let{disabled:we}=Ne;return we}),Ae=!!_e.length&&_e.length===F.length,ye=Ae&&_e.every(Ne=>{let{checked:we}=Ne;return we}),be=Ae&&_e.some(Ne=>{let{checked:we}=Ne;return we});Ee=c.createElement(xs,{checked:Ae?ye:!!F.length&&ue,indeterminate:Ae?!ye&&be:!ue&&me,onChange:de,disabled:F.length===0||Ae,"aria-label":fe?"Custom selection":"Select all",skipGroup:!0}),Te=!S&&c.createElement("div",{className:`${E}-selection`},Ee,fe)}let ge;m==="radio"?ge=(fe,_e,Ae)=>{const ye=x(_e,Ae),be=te.has(ye);return{node:c.createElement(di,Object.assign({},B.get(ye),{checked:be,onClick:Ne=>Ne.stopPropagation(),onChange:Ne=>{te.has(ye)||Q(ye,!0,[ye],Ne.nativeEvent)}})),checked:be}}:ge=(fe,_e,Ae)=>{var ye;const be=x(_e,Ae),Ne=te.has(be),we=J.has(be),xe=B.get(be);let ke;return R==="nest"?ke=we:ke=(ye=xe==null?void 0:xe.indeterminate)!==null&&ye!==void 0?ye:we,{node:c.createElement(xs,Object.assign({},xe,{indeterminate:ke,checked:Ne,skipGroup:!0,onClick:at=>at.stopPropagation(),onChange:at=>{let{nativeEvent:Me}=at;const{shiftKey:Ce}=Me,De=se.findIndex(Ye=>Ye===be),Ue=U.some(Ye=>se.includes(Ye));if(Ce&&b&&Ue){const Ye=P(De,se,te),He=Array.from(te);p==null||p(!Ne,He.map(ze=>T(ze)),Ye.map(ze=>T(ze))),Y(He,"multiple")}else{const Ye=U;if(b){const He=Ne?xo(Ye,be):ns(Ye,be);Q(be,!Ne,He,Me)}else{const He=hs([].concat($e(Ye),[be]),!0,$,z),{checkedKeys:ze,halfCheckedKeys:Xe}=He;let Be=ze;if(Ne){const Je=new Set(ze);Je.delete(be),Be=hs(Array.from(Je),{checked:!1,halfCheckedKeys:Xe},$,z).checkedKeys}Q(be,!Ne,Be,Me)}}M(Ne?null:De)}})),checked:Ne}};const re=(fe,_e,Ae)=>{const{node:ye,checked:be}=ge(fe,_e,Ae);return v?v(be,_e,Ae,ye):ye};if(!Z.includes(Fs))if(Z.findIndex(fe=>{var _e;return((_e=fe[If])===null||_e===void 0?void 0:_e.columnType)==="EXPAND_COLUMN"})===0){const[fe,..._e]=Z;Z=[fe,Fs].concat($e(_e))}else Z=[Fs].concat($e(Z));const ne=Z.indexOf(Fs);Z=Z.filter((fe,_e)=>fe!==Fs||_e===ne);const ae=Z[ne-1],le=Z[ne+1];let pe=h;pe===void 0&&((le==null?void 0:le.fixed)!==void 0?pe=le.fixed:(ae==null?void 0:ae.fixed)!==void 0&&(pe=ae.fixed)),pe&&ae&&((K=ae[If])===null||K===void 0?void 0:K.columnType)==="EXPAND_COLUMN"&&ae.fixed===void 0&&(ae.fixed=pe);const Re=ie(`${E}-selection-col`,{[`${E}-selection-col-with-dropdown`]:g&&m==="checkbox"}),Se=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Ee):t.columnTitle:Te,Pe={fixed:pe,width:f,className:`${E}-selection-column`,title:Se(),render:re,onCell:t.onCell,[If]:{className:Re}};return Z.map(fe=>fe===Fs?Pe:fe)},[x,F,t,U,G,J,f,V,R,B,p,Q,z]),G]};function qMe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function WMe(e,t){return c.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,i){return n[i]?n[i]:Reflect.get(a,i)}}):qMe(r,n)})}function YMe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:i,expandable:o}=t,s=`${n}-row-expand-icon`;return c.createElement("button",{type:"button",onClick:l=>{r(a,l),l.stopPropagation()},className:ie(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&i,[`${s}-collapsed`]:o&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function KMe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let i=r;if(a){const o=getComputedStyle(a),s=parseInt(o.borderLeftWidth,10),l=parseInt(o.borderRightWidth,10);i=r-s-l}return i}}const bl=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function lp(e,t){return t?`${t}-${e}`:`${e}`}const ES=(e,t)=>typeof e=="function"?e(t):e,XMe=(e,t)=>{const n=ES(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function QMe(e){const t=c.useRef(e),n=nk();return[()=>t.current,r=>{t.current=r,n()}]}function ZMe(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:a.top=0,a.left=-n*r;break;case 1:a.bottom=0,a.left=-n*r;break;case 0:a.bottom=0,a.left=r;break}return c.createElement("div",{style:a})}function cte(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function JMe(e,t){var n=c.useState(!1),r=oe(n,2),a=r[0],i=r[1];Qt(function(){if(a)return e(),function(){t()}},[a]),Qt(function(){return i(!0),function(){i(!1)}},[])}var eLe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ute=function(t,n){var r=t.className,a=t.style,i=t.motion,o=t.motionNodes,s=t.motionType,l=t.onMotionStart,u=t.onMotionEnd,d=t.active,p=t.treeNodeRequiredProps,f=yt(t,eLe),m=c.useState(!0),g=oe(m,2),h=g[0],v=g[1],S=c.useContext(Zk),b=S.prefixCls,E=o&&s!=="hide";Qt(function(){o&&E!==h&&v(E)},[o]);var y=function(){o&&l()},C=c.useRef(!1),T=function(){o&&!C.current&&(C.current=!0,u())};JMe(y,T);var x=function(w){E===w&&T()};return o?c.createElement(ta,ve({ref:n,visible:h},i,{motionAppear:s==="show",onVisibleChanged:x}),function(R,w){var I=R.className,O=R.style;return c.createElement("div",{ref:w,className:ie("".concat(b,"-treenode-motion"),I),style:O},o.map(function(k){var P=Object.assign({},(cte(k.data),k.data)),M=k.title,N=k.key,A=k.isStart,D=k.isEnd;delete P.children;var L=Rf(N,p);return c.createElement(Nd,ve({},P,L,{title:M,active:d,data:k.data,key:N,isStart:A,isEnd:D}))}))}):c.createElement(Nd,ve({domRef:n,className:r,style:a},f,{active:d}))};ute.displayName="MotionTreeNode";var tLe=c.forwardRef(ute);function nLe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(i,o){var s=new Map;i.forEach(function(u){s.set(u,!0)});var l=o.filter(function(u){return!s.has(u)});return l.length===1?l[0]:null}return n ").concat(t);return t}var pte=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,i=e.selectedKeys,o=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,p=e.disabled,f=e.dragging,m=e.dragOverNodeKey,g=e.dropPosition,h=e.motion,v=e.height,S=e.itemHeight,b=e.virtual,E=e.focusable,y=e.activeItem,C=e.focused,T=e.tabIndex,x=e.onKeyDown,R=e.onFocus,w=e.onBlur,I=e.onActiveChange,O=e.onListChangeStart,k=e.onListChangeEnd,P=yt(e,rLe),M=c.useRef(null),N=c.useRef(null);c.useImperativeHandle(t,function(){return{scrollTo:function(ge){M.current.scrollTo(ge)},getIndentWidth:function(){return N.current.offsetWidth}}});var A=c.useState(a),D=oe(A,2),L=D[0],$=D[1],F=c.useState(r),B=oe(F,2),z=B[0],U=B[1],j=c.useState(r),G=oe(j,2),J=G[0],Y=G[1],Q=c.useState([]),V=oe(Q,2),H=V[0],q=V[1],K=c.useState(null),Z=oe(K,2),te=Z[0],se=Z[1],ue=c.useRef(r);ue.current=r;function me(){var Ee=ue.current;U(Ee),Y(Ee),q([]),se(null),k()}Qt(function(){$(a);var Ee=nLe(L,a);if(Ee.key!==null)if(Ee.add){var ge=z.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),re=V4(z4(z,r,Ee.key),b,v,S),ne=z.slice();ne.splice(ge+1,0,G4),Y(ne),q(re),se("show")}else{var ae=r.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),le=V4(z4(r,z,Ee.key),b,v,S),pe=r.slice();pe.splice(ae+1,0,G4),Y(pe),q(le),se("hide")}else z!==r&&(U(r),Y(r))},[a,r]),c.useEffect(function(){f||me()},[f]);var de=h?J:r,Te={expandedKeys:a,selectedKeys:i,loadedKeys:s,loadingKeys:l,checkedKeys:o,halfCheckedKeys:u,dragOverNodeKey:m,dropPosition:g,keyEntities:d};return c.createElement(c.Fragment,null,C&&y&&c.createElement("span",{style:H4,"aria-live":"assertive"},iLe(y)),c.createElement("div",null,c.createElement("input",{style:H4,disabled:E===!1||p,tabIndex:E!==!1?T:null,onKeyDown:x,onFocus:R,onBlur:w,value:"",onChange:aLe,"aria-label":"for screen reader"})),c.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},c.createElement("div",{className:"".concat(n,"-indent")},c.createElement("div",{ref:N,className:"".concat(n,"-indent-unit")}))),c.createElement(Gb,ve({},P,{data:de,itemKey:q4,height:v,fullHeight:!1,virtual:b,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:M,onVisibleChange:function(ge){ge.every(function(re){return q4(re)!==Dc})&&me()}}),function(Ee){var ge=Ee.pos,re=Object.assign({},(cte(Ee.data),Ee.data)),ne=Ee.title,ae=Ee.key,le=Ee.isStart,pe=Ee.isEnd,Re=hg(ae,ge);delete re.key,delete re.children;var Se=Rf(Re,Te);return c.createElement(tLe,ve({},re,Se,{title:ne,active:!!y&&ae===y.key,pos:ge,data:Ee.data,isStart:le,isEnd:pe,motion:h,motionNodes:ae===Dc?H:null,motionType:te,onMotionStart:O,onMotionEnd:me,treeNodeRequiredProps:Te,onMouseMove:function(){I(null)}}))}))});pte.displayName="NodeList";var oLe=10,yS=function(e){Ei(n,e);var t=Yi(n);function n(){var r;er(this,n);for(var a=arguments.length,i=new Array(a),o=0;o2&&arguments[2]!==void 0?arguments[2]:!1,p=r.state,f=p.dragChildrenKeys,m=p.dropPosition,g=p.dropTargetKey,h=p.dropTargetPos,v=p.dropAllowed;if(v){var S=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),g!==null){var b=ee(ee({},Rf(g,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===g,data:ja(r.state.keyEntities,g).node}),E=f.indexOf(g)!==-1;bn(!E,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var y=Jk(h),C={event:s,node:Or(b),dragNode:r.dragNode?Or(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(f),dropToGap:m!==0,dropPosition:m+Number(y[y.length-1])};d||S==null||S(C),r.dragNode=null}}}),W(Ge(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),W(Ge(r),"triggerExpandActionExpand",function(s,l){var u=r.state,d=u.expandedKeys,p=u.flattenNodes,f=l.expanded,m=l.key,g=l.isLeaf;if(!(g||s.shiftKey||s.metaKey||s.ctrlKey)){var h=p.filter(function(S){return S.key===m})[0],v=Or(ee(ee({},Rf(m,r.getTreeNodeRequiredProps())),{},{data:h.data}));r.setExpandedKeys(f?xo(d,m):ns(d,m)),r.onNodeExpand(s,v)}}),W(Ge(r),"onNodeClick",function(s,l){var u=r.props,d=u.onClick,p=u.expandAction;p==="click"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeDoubleClick",function(s,l){var u=r.props,d=u.onDoubleClick,p=u.expandAction;p==="doubleClick"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeSelect",function(s,l){var u=r.state.selectedKeys,d=r.state,p=d.keyEntities,f=d.fieldNames,m=r.props,g=m.onSelect,h=m.multiple,v=l.selected,S=l[f.key],b=!v;b?h?u=ns(u,S):u=[S]:u=xo(u,S);var E=u.map(function(y){var C=ja(p,y);return C?C.node:null}).filter(function(y){return y});r.setUncontrolledState({selectedKeys:u}),g==null||g(u,{event:"select",selected:b,node:l,selectedNodes:E,nativeEvent:s.nativeEvent})}),W(Ge(r),"onNodeCheck",function(s,l,u){var d=r.state,p=d.keyEntities,f=d.checkedKeys,m=d.halfCheckedKeys,g=r.props,h=g.checkStrictly,v=g.onCheck,S=l.key,b,E={event:"check",node:l,checked:u,nativeEvent:s.nativeEvent};if(h){var y=u?ns(f,S):xo(f,S),C=xo(m,S);b={checked:y,halfChecked:C},E.checkedNodes=y.map(function(O){return ja(p,O)}).filter(function(O){return O}).map(function(O){return O.node}),r.setUncontrolledState({checkedKeys:y})}else{var T=hs([].concat($e(f),[S]),!0,p),x=T.checkedKeys,R=T.halfCheckedKeys;if(!u){var w=new Set(x);w.delete(S);var I=hs(Array.from(w),{checked:!1,halfCheckedKeys:R},p);x=I.checkedKeys,R=I.halfCheckedKeys}b=x,E.checkedNodes=[],E.checkedNodesPositions=[],E.halfCheckedKeys=R,x.forEach(function(O){var k=ja(p,O);if(k){var P=k.node,M=k.pos;E.checkedNodes.push(P),E.checkedNodesPositions.push({node:P,pos:M})}}),r.setUncontrolledState({checkedKeys:x},!1,{halfCheckedKeys:R})}v==null||v(b,E)}),W(Ge(r),"onNodeLoad",function(s){var l,u=s.key,d=r.state.keyEntities,p=ja(d,u);if(!(p!=null&&(l=p.children)!==null&&l!==void 0&&l.length)){var f=new Promise(function(m,g){r.setState(function(h){var v=h.loadedKeys,S=v===void 0?[]:v,b=h.loadingKeys,E=b===void 0?[]:b,y=r.props,C=y.loadData,T=y.onLoad;if(!C||S.indexOf(u)!==-1||E.indexOf(u)!==-1)return null;var x=C(s);return x.then(function(){var R=r.state.loadedKeys,w=ns(R,u);T==null||T(w,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:w}),r.setState(function(I){return{loadingKeys:xo(I.loadingKeys,u)}}),m()}).catch(function(R){if(r.setState(function(I){return{loadingKeys:xo(I.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=oLe){var w=r.state.loadedKeys;bn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:ns(w,u)}),m()}g(R)}),{loadingKeys:ns(E,u)}})});return f.catch(function(){}),f}}),W(Ge(r),"onNodeMouseEnter",function(s,l){var u=r.props.onMouseEnter;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeMouseLeave",function(s,l){var u=r.props.onMouseLeave;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeContextMenu",function(s,l){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:l}))}),W(Ge(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,u=new Array(l),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,p=!0,f={};Object.keys(s).forEach(function(m){if(m in r.props){p=!1;return}d=!0,f[m]=s[m]}),d&&(!l||p)&&r.setState(ee(ee({},f),u))}}),W(Ge(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return tr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,i=a.activeKey,o=a.itemScrollOffset,s=o===void 0?0:o;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,i=a.focused,o=a.flattenNodes,s=a.keyEntities,l=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,p=a.dropContainerKey,f=a.dropTargetKey,m=a.dropPosition,g=a.dragOverNodeKey,h=a.indent,v=this.props,S=v.prefixCls,b=v.className,E=v.style,y=v.showLine,C=v.focusable,T=v.tabIndex,x=T===void 0?0:T,R=v.selectable,w=v.showIcon,I=v.icon,O=v.switcherIcon,k=v.draggable,P=v.checkable,M=v.checkStrictly,N=v.disabled,A=v.motion,D=v.loadData,L=v.filterTreeNode,$=v.height,F=v.itemHeight,B=v.virtual,z=v.titleRender,U=v.dropIndicatorRender,j=v.onContextMenu,G=v.onScroll,J=v.direction,Y=v.rootClassName,Q=v.rootStyle,V=Jn(this.props,{aria:!0,data:!0}),H;return k&&(gt(k)==="object"?H=k:typeof k=="function"?H={nodeDraggable:k}:H={}),c.createElement(Zk.Provider,{value:{prefixCls:S,selectable:R,showIcon:w,icon:I,switcherIcon:O,draggable:H,draggingNodeKey:l,checkable:P,checkStrictly:M,disabled:N,keyEntities:s,dropLevelOffset:d,dropContainerKey:p,dropTargetKey:f,dropPosition:m,dragOverNodeKey:g,indent:h,direction:J,dropIndicatorRender:U,loadData:D,filterTreeNode:L,titleRender:z,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c.createElement("div",{role:"tree",className:ie(S,b,Y,W(W(W({},"".concat(S,"-show-line"),y),"".concat(S,"-focused"),i),"".concat(S,"-active-focused"),u!==null)),style:Q},c.createElement(pte,ve({ref:this.listRef,prefixCls:S,style:E,data:o,disabled:N,selectable:R,checkable:!!P,motion:A,dragging:l!==null,height:$,itemHeight:F,virtual:B,focusable:C,focused:i,tabIndex:x,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:j,onScroll:G},this.getTreeNodeRequiredProps(),V))))}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s={prevProps:a};function l(x){return!o&&x in a||o&&o[x]!==a[x]}var u,d=i.fieldNames;if(l("fieldNames")&&(d=wd(a.fieldNames),s.fieldNames=d),l("treeData")?u=a.treeData:l("children")&&(bn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=xJ(a.children)),u){s.treeData=u;var p=uS(u,{fieldNames:d});s.keyEntities=ee(W({},Dc,dte),p.keyEntities)}var f=s.keyEntities||i.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!o&&a.defaultExpandParent?ND(a.expandedKeys,f):a.expandedKeys;else if(!o&&a.defaultExpandAll){var m=ee({},f);delete m[Dc];var g=[];Object.keys(m).forEach(function(x){var R=m[x];R.children&&R.children.length&&g.push(R.key)}),s.expandedKeys=g}else!o&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?ND(a.defaultExpandedKeys,f):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var h=Ey(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=h}if(a.selectable&&(l("selectedKeys")?s.selectedKeys=U4(a.selectedKeys,a):!o&&a.defaultSelectedKeys&&(s.selectedKeys=U4(a.defaultSelectedKeys,a))),a.checkable){var v;if(l("checkedKeys")?v=Ny(a.checkedKeys)||{}:!o&&a.defaultCheckedKeys?v=Ny(a.defaultCheckedKeys)||{}:u&&(v=Ny(a.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),v){var S=v,b=S.checkedKeys,E=b===void 0?[]:b,y=S.halfCheckedKeys,C=y===void 0?[]:y;if(!a.checkStrictly){var T=hs(E,!0,f);E=T.checkedKeys,C=T.halfCheckedKeys}s.checkedKeys=E,s.halfCheckedKeys=C}}return l("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(c.Component);W(yS,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:ZMe,allowDrop:function(){return!0},expandAction:!1});W(yS,"TreeNode",Nd);const sLe=new dn("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),lLe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),cLe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${X(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),uLe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:i,nodeSelectedBg:o,nodeHoverBg:s}=t,l=t.paddingXS;return{[n]:Object.assign(Object.assign({},an(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Es(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:sLe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${X(a)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:X(i),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},lLe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:X(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${X(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:X(i),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{backgroundColor:o},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:X(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:X(i),userSelect:"none"},cLe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${X(t.calc(i).div(2).equal())} !important`}}}}})}},dLe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},fte=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),i=Ht(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[uLe(e,i),dLe(i)]},mte=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},pLe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},mte(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},fLe=sn("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:wk(`${n}-checkbox`,e)},fte(n,e),ag(e)]},pLe),W4=4;function mLe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:i="ltr"}=e,o=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",l={[o]:-n*a+W4,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[o]=a+W4;break}return ce.createElement("div",{style:l,className:`${r}-drop-indicator`})}const gte=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:i}=e,{isLeaf:o,expanded:s,loading:l}=r;if(l)return c.isValidElement(i)?i:c.createElement(jo,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),o){if(!a)return null;if(typeof u!="boolean"&&u){const f=typeof u=="function"?u(r):u,m=`${t}-switcher-line-custom-icon`;return c.isValidElement(f)?Tr(f,{className:ie(f.props.className||"",m)}):f}return u?c.createElement(Pee,{className:`${t}-switcher-line-icon`}):c.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,p=typeof n=="function"?n(r):n;return c.isValidElement(p)?Tr(p,{className:ie(p.props.className||"",d)}):p!==void 0?p:a?s?c.createElement(wNe,{className:`${t}-switcher-line-icon`}):c.createElement(Fee,{className:`${t}-switcher-line-icon`}):c.createElement(IOe,{className:d})},hte=ce.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:i,tree:o}=ce.useContext(lt),{prefixCls:s,className:l,showIcon:u=!1,showLine:d,switcherIcon:p,switcherLoadingIcon:f,blockNode:m=!1,children:g,checkable:h=!1,selectable:v=!0,draggable:S,motion:b,style:E}=e,y=r("tree",s),C=r(),T=b??Object.assign(Object.assign({},Td(C)),{motionAppear:!1}),x=Object.assign(Object.assign({},e),{checkable:h,selectable:v,showIcon:u,motion:T,blockNode:m,showLine:!!d,dropIndicatorRender:mLe}),[R,w,I]=fLe(y),[,O]=ia(),k=O.paddingXS/2+(((n=O.Tree)===null||n===void 0?void 0:n.titleHeight)||O.controlHeightSM),P=ce.useMemo(()=>{if(!S)return!1;let N={};switch(typeof S){case"function":N.nodeDraggable=S;break;case"object":N=Object.assign({},S);break}return N.icon!==!1&&(N.icon=N.icon||ce.createElement(J1e,null)),N},[S]),M=N=>ce.createElement(gte,{prefixCls:y,switcherIcon:p,switcherLoadingIcon:f,treeNodeProps:N,showLine:d});return R(ce.createElement(yS,Object.assign({itemHeight:k,ref:t,virtual:i},x,{style:Object.assign(Object.assign({},o==null?void 0:o.style),E),prefixCls:y,className:ie({[`${y}-icon-hide`]:!u,[`${y}-block-node`]:m,[`${y}-unselectable`]:!v,[`${y}-rtl`]:a==="rtl"},o==null?void 0:o.className,l,w,I),direction:a,checkable:h&&ce.createElement("span",{className:`${y}-checkbox-inner`}),selectable:v,switcherIcon:M,draggable:P}),g))}),Y4=0,Ay=1,K4=2;function eP(e,t,n){const{key:r,children:a}=n;function i(o){const s=o[r],l=o[a];t(s,o)!==!1&&eP(l||[],t,n)}e.forEach(i)}function gLe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:i}=e;const o=[];let s=Y4;if(r&&r===a)return[r];if(!r||!a)return[];function l(u){return u===r||u===a}return eP(t,u=>{if(s===K4)return!1;if(l(u)){if(o.push(u),s===Y4)s=Ay;else if(s===Ay)return s=K4,!1}else s===Ay&&o.push(u);return n.includes(u)},wd(i)),o}function Dy(e,t,n){const r=$e(t),a=[];return eP(e,(i,o)=>{const s=r.indexOf(i);return s!==-1&&(a.push(o),r.splice(s,1)),!!r.length},wd(n)),a}var X4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=X4(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const o=c.useRef(),s=c.useRef(),l=()=>{const{keyEntities:R}=uS(Q4(i));let w;return n?w=Object.keys(R):r?w=ND(i.expandedKeys||a||[],R):w=i.expandedKeys||a||[],w},[u,d]=c.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[p,f]=c.useState(()=>l());c.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),c.useEffect(()=>{"expandedKeys"in i&&f(i.expandedKeys)},[i.expandedKeys]);const m=(R,w)=>{var I;return"expandedKeys"in i||f(R),(I=i.onExpand)===null||I===void 0?void 0:I.call(i,R,w)},g=(R,w)=>{var I;const{multiple:O,fieldNames:k}=i,{node:P,nativeEvent:M}=w,{key:N=""}=P,A=Q4(i),D=Object.assign(Object.assign({},w),{selected:!0}),L=(M==null?void 0:M.ctrlKey)||(M==null?void 0:M.metaKey),$=M==null?void 0:M.shiftKey;let F;O&&L?(F=R,o.current=N,s.current=F,D.selectedNodes=Dy(A,F,k)):O&&$?(F=Array.from(new Set([].concat($e(s.current||[]),$e(gLe({treeData:A,expandedKeys:p,startKey:N,endKey:o.current,fieldNames:k}))))),D.selectedNodes=Dy(A,F,k)):(F=[N],o.current=N,s.current=F,D.selectedNodes=Dy(A,F,k)),(I=i.onSelect)===null||I===void 0||I.call(i,F,D),"selectedKeys"in i||d(F)},{getPrefixCls:h,direction:v}=c.useContext(lt),{prefixCls:S,className:b,showIcon:E=!0,expandAction:y="click"}=i,C=X4(i,["prefixCls","className","showIcon","expandAction"]),T=h("tree",S),x=ie(`${T}-directory`,{[`${T}-directory-rtl`]:v==="rtl"},b);return c.createElement(hte,Object.assign({icon:hLe,ref:t,blockNode:!0},C,{showIcon:E,expandAction:y,prefixCls:T,className:x,expandedKeys:p,selectedKeys:u,onSelect:g,onExpand:m}))},_Le=c.forwardRef(vLe),tP=hte;tP.DirectoryTree=_Le;tP.TreeNode=Nd;const Z4=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:i}=e;return n?c.createElement("div",{className:`${r}-filter-dropdown-search`},c.createElement(en,{prefix:c.createElement(cg,null),placeholder:a.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},bLe=e=>{const{keyCode:t}=e;t===Fe.ENTER&&e.stopPropagation()},SLe=c.forwardRef((e,t)=>c.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:bLe,ref:t},e.children));function od(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat($e(t),$e(od(a))))}),t}function ELe(e){return e.some(t=>{let{children:n}=t;return n})}function vte(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function _te(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o}=e;return t.map((s,l)=>{const u=String(s.value);if(s.children)return{key:u||l,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:_te({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o})};const d=a?xs:di,p={key:s.value!==void 0?u:l,label:c.createElement(c.Fragment,null,c.createElement(d,{checked:r.includes(u)}),c.createElement("span",null,s.text))};return i.trim()?typeof o=="function"?o(i,s)?p:null:vte(i,s.text)?p:null:p})}function My(e){return e||[]}const yLe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:i,dropdownPrefixCls:o,columnKey:s,filterOnClose:l,filterMultiple:u,filterMode:d="menu",filterSearch:p=!1,filterState:f,triggerFilter:m,locale:g,children:h,getPopupContainer:v,rootClassName:S}=e,{filterDropdownOpen:b,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:y,defaultFilteredValue:C,filterDropdownVisible:T,onFilterDropdownVisibleChange:x}=i,[R,w]=c.useState(!1),I=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),O=de=>{w(de),E==null||E(de),x==null||x(de)},k=(n=b??T)!==null&&n!==void 0?n:R,P=f==null?void 0:f.filteredKeys,[M,N]=QMe(My(P)),A=de=>{let{selectedKeys:Te}=de;N(Te)},D=(de,Te)=>{let{node:Ee,checked:ge}=Te;A(u?{selectedKeys:de}:{selectedKeys:ge&&Ee.key?[Ee.key]:[]})};c.useEffect(()=>{R&&A({selectedKeys:My(P)})},[P]);const[L,$]=c.useState([]),F=de=>{$(de)},[B,z]=c.useState(""),U=de=>{const{value:Te}=de.target;z(Te)};c.useEffect(()=>{R||z("")},[R]);const j=de=>{const Te=de!=null&&de.length?de:null;if(Te===null&&(!f||!f.filteredKeys)||ji(Te,f==null?void 0:f.filteredKeys,!0))return null;m({column:i,key:s,filteredKeys:Te})},G=()=>{O(!1),j(M())},J=function(){let{confirm:de,closeDropdown:Te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};de&&j([]),Te&&O(!1),z(""),N(y?(C||[]).map(Ee=>String(Ee)):[])},Y=function(){let{closeDropdown:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};de&&O(!1),j(M())},Q=(de,Te)=>{Te.source==="trigger"&&(de&&P!==void 0&&N(My(P)),O(de),!de&&!i.filterDropdown&&l&&G())},V=ie({[`${o}-menu-without-submenu`]:!ELe(i.filters||[])}),H=de=>{if(de.target.checked){const Te=od(i==null?void 0:i.filters).map(Ee=>String(Ee));N(Te)}else N([])},q=de=>{let{filters:Te}=de;return(Te||[]).map((Ee,ge)=>{const re=String(Ee.value),ne={title:Ee.text,key:Ee.value!==void 0?re:String(ge)};return Ee.children&&(ne.children=q({filters:Ee.children})),ne})},K=de=>{var Te;return Object.assign(Object.assign({},de),{text:de.title,value:de.key,children:((Te=de.children)===null||Te===void 0?void 0:Te.map(Ee=>K(Ee)))||[]})};let Z;const{direction:te,renderEmpty:se}=c.useContext(lt);if(typeof i.filterDropdown=="function")Z=i.filterDropdown({prefixCls:`${o}-custom`,setSelectedKeys:de=>A({selectedKeys:de}),selectedKeys:M(),confirm:Y,clearFilters:J,filters:i.filters,visible:k,close:()=>{O(!1)}});else if(i.filterDropdown)Z=i.filterDropdown;else{const de=M()||[],Te=()=>{var ge;const re=(ge=se==null?void 0:se("Table.filter"))!==null&&ge!==void 0?ge:c.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return re;if(d==="tree")return c.createElement(c.Fragment,null,c.createElement(Z4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),c.createElement("div",{className:`${r}-filter-dropdown-tree`},u?c.createElement(xs,{checked:de.length===od(i.filters).length,indeterminate:de.length>0&&de.lengthtypeof p=="function"?p(B,K(le)):vte(B,le.title):void 0})));const ne=_te({filters:i.filters||[],filterSearch:p,prefixCls:a,filteredKeys:M(),filterMultiple:u,searchValue:B}),ae=ne.every(le=>le===null);return c.createElement(c.Fragment,null,c.createElement(Z4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),ae?re:c.createElement(Go,{selectable:!0,multiple:u,prefixCls:`${o}-menu`,className:V,onSelect:A,onDeselect:A,selectedKeys:de,getPopupContainer:v,openKeys:L,onOpenChange:F,items:ne}))},Ee=()=>y?ji((C||[]).map(ge=>String(ge)),de,!0):de.length===0;Z=c.createElement(c.Fragment,null,Te(),c.createElement("div",{className:`${a}-dropdown-btns`},c.createElement(wt,{type:"link",size:"small",disabled:Ee(),onClick:()=>J()},g.filterReset),c.createElement(wt,{type:"primary",size:"small",onClick:G},g.filterConfirm)))}i.filterDropdown&&(Z=c.createElement(_Z,{selectable:void 0},Z));const ue=()=>c.createElement(SLe,{className:`${a}-dropdown`},Z);let me;return typeof i.filterIcon=="function"?me=i.filterIcon(I):i.filterIcon?me=i.filterIcon:me=c.createElement(D1e,null),c.createElement("div",{className:`${a}-column`},c.createElement("span",{className:`${r}-column-title`},h),c.createElement(mS,{dropdownRender:ue,trigger:["click"],open:k,onOpenChange:Q,getPopupContainer:v,placement:te==="rtl"?"bottomLeft":"bottomRight",rootClassName:S},c.createElement("span",{role:"button",tabIndex:-1,className:ie(`${a}-trigger`,{active:I}),onClick:de=>{de.stopPropagation()}},me)))},kD=(e,t,n)=>{let r=[];return(e||[]).forEach((a,i)=>{var o;const s=lp(i,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let l=a.filteredValue;"filterDropdown"in a||(l=(o=l==null?void 0:l.map(String))!==null&&o!==void 0?o:l),r.push({column:a,key:bl(a,s),filteredKeys:l,forceFiltered:a.filtered})}else r.push({column:a,key:bl(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat($e(r),$e(kD(a.children,t,s))))}),r};function bte(e,t,n,r,a,i,o,s,l){return n.map((u,d)=>{const p=lp(d,s),{filterOnClose:f=!0,filterMultiple:m=!0,filterMode:g,filterSearch:h}=u;let v=u;if(v.filters||v.filterDropdown){const S=bl(v,p),b=r.find(E=>{let{key:y}=E;return S===y});v=Object.assign(Object.assign({},v),{title:E=>c.createElement(yLe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:S,filterState:b,filterOnClose:f,filterMultiple:m,filterMode:g,filterSearch:h,triggerFilter:i,locale:a,getPopupContainer:o,rootClassName:l},ES(u.title,E))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:bte(e,t,v.children,r,a,i,o,p,l)})),v})}const J4=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:i}=n;const o=r,{filters:s,filterDropdown:l}=i;if(l)t[o]=a||null;else if(Array.isArray(a)){const u=od(s);t[o]=u.filter(d=>a.includes(String(d)))}else t[o]=null}),t},PD=(e,t,n)=>t.reduce((a,i)=>{const{column:{onFilter:o,filters:s},filteredKeys:l}=i;return o&&l&&l.length?a.map(u=>Object.assign({},u)).filter(u=>l.some(d=>{const p=od(s),f=p.findIndex(g=>String(g)===String(d)),m=f!==-1?p[f]:d;return u[n]&&(u[n]=PD(u[n],t,n)),o(m,u)})):a},e),Ste=e=>e.flatMap(t=>"children"in t?[t].concat($e(Ste(t.children||[]))):[t]),CLe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:i,locale:o,rootClassName:s}=e;Ol();const l=c.useMemo(()=>Ste(r||[]),[r]),[u,d]=c.useState(()=>kD(l,!0)),p=c.useMemo(()=>{const h=kD(l,!1);if(h.length===0)return h;let v=!0;if(h.forEach(S=>{let{filteredKeys:b}=S;b!==void 0&&(v=!1)}),v){const S=(l||[]).map((b,E)=>bl(b,lp(E)));return u.filter(b=>{let{key:E}=b;return S.includes(E)}).map(b=>{const E=l[S.findIndex(y=>y===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),E),forceFiltered:E.filtered})})}return h},[l,u]),f=c.useMemo(()=>J4(p),[p]),m=h=>{const v=p.filter(S=>{let{key:b}=S;return b!==h.key});v.push(h),d(v),a(J4(v),v)};return[h=>bte(t,n,h,p,o,m,i,void 0,s),p,f]},TLe=(e,t,n)=>{const r=c.useRef({});function a(i){var o;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((p,f)=>{const m=n(p,f);l.set(m,p),p&&typeof p=="object"&&t in p&&u(p[t]||[])})};var s=u;const l=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:l,getRowKey:n}}return(o=r.current.kvMap)===null||o===void 0?void 0:o.get(i)}return[a]};var xLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const i=e[a];typeof i!="function"&&(n[a]=i)}),n}function wLe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,i=xLe(r,["total"]),[o,s]=c.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:Ete})),l=Tee(o,i,{total:a>0?a:e}),u=Math.ceil((a||e)/l.pageSize);l.current>u&&(l.current=u||1);const d=(f,m)=>{s({current:f??1,pageSize:m||l.pageSize})},p=(f,m)=>{var g;n&&((g=n.onChange)===null||g===void 0||g.call(n,f,m)),d(f,m),t(f,m||(l==null?void 0:l.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},l),{onChange:p}),d]}const xv="ascend",Ly="descend",L_=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,eU=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,ILe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],$D=(e,t,n)=>{let r=[];const a=(i,o)=>{r.push({column:i,key:bl(i,o),multiplePriority:L_(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,o)=>{const s=lp(o,n);i.children?("sortOrder"in i&&a(i,s),r=[].concat($e(r),$e($D(i.children,t,s)))):i.sorter&&("sortOrder"in i?a(i,s):t&&i.defaultSortOrder&&r.push({column:i,key:bl(i,s),multiplePriority:L_(i),sortOrder:i.defaultSortOrder}))}),r},yte=(e,t,n,r,a,i,o,s)=>(t||[]).map((u,d)=>{const p=lp(d,s);let f=u;if(f.sorter){const m=f.sortDirections||a,g=f.showSorterTooltip===void 0?o:f.showSorterTooltip,h=bl(f,p),v=n.find(w=>{let{key:I}=w;return I===h}),S=v?v.sortOrder:null,b=ILe(m,S);let E;if(u.sortIcon)E=u.sortIcon({sortOrder:S});else{const w=m.includes(xv)&&c.createElement(LOe,{className:ie(`${e}-column-sorter-up`,{active:S===xv})}),I=m.includes(Ly)&&c.createElement(AOe,{className:ie(`${e}-column-sorter-down`,{active:S===Ly})});E=c.createElement("span",{className:ie(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(w&&I)})},c.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},w,I))}const{cancelSort:y,triggerAsc:C,triggerDesc:T}=i||{};let x=y;b===Ly?x=T:b===xv&&(x=C);const R=typeof g=="object"?Object.assign({title:x},g):{title:x};f=Object.assign(Object.assign({},f),{className:ie(f.className,{[`${e}-column-sort`]:S}),title:w=>{const I=`${e}-column-sorters`,O=c.createElement("span",{className:`${e}-column-title`},ES(u.title,w)),k=c.createElement("div",{className:I},O,E);return g?typeof g!="boolean"&&(g==null?void 0:g.target)==="sorter-icon"?c.createElement("div",{className:`${I} ${e}-column-sorters-tooltip-target-sorter`},O,c.createElement(Jt,Object.assign({},R),E)):c.createElement(Jt,Object.assign({},R),k):k},onHeaderCell:w=>{var I;const O=((I=u.onHeaderCell)===null||I===void 0?void 0:I.call(u,w))||{},k=O.onClick,P=O.onKeyDown;O.onClick=A=>{r({column:u,key:h,sortOrder:b,multiplePriority:L_(u)}),k==null||k(A)},O.onKeyDown=A=>{A.keyCode===Fe.ENTER&&(r({column:u,key:h,sortOrder:b,multiplePriority:L_(u)}),P==null||P(A))};const M=XMe(u.title,{}),N=M==null?void 0:M.toString();return S?O["aria-sort"]=S==="ascend"?"ascending":"descending":O["aria-label"]=N||"",O.className=ie(O.className,`${e}-column-has-sorters`),O.tabIndex=0,u.ellipsis&&(O.title=(M??"").toString()),O}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:yte(e,f.children,n,r,a,i,o,p)})),f}),tU=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},nU=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(tU);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},tU(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},FD=(e,t,n)=>{const r=t.slice().sort((o,s)=>s.multiplePriority-o.multiplePriority),a=e.slice(),i=r.filter(o=>{let{column:{sorter:s},sortOrder:l}=o;return eU(s)&&l});return i.length?a.sort((o,s)=>{for(let l=0;l{const s=o[n];return s?Object.assign(Object.assign({},o),{[n]:FD(s,t,n)}):o}):a},OLe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:i,onSorterChange:o}=e,[s,l]=c.useState($D(n,!0)),u=(h,v)=>{const S=[];return h.forEach((b,E)=>{const y=lp(E,v);if(S.push(bl(b,y)),Array.isArray(b.children)){const C=u(b.children,y);S.push.apply(S,$e(C))}}),S},d=c.useMemo(()=>{let h=!0;const v=$D(n,!1);if(!v.length){const y=u(n);return s.filter(C=>{let{key:T}=C;return y.includes(T)})}const S=[];function b(y){h?S.push(y):S.push(Object.assign(Object.assign({},y),{sortOrder:null}))}let E=null;return v.forEach(y=>{E===null?(b(y),y.sortOrder&&(y.multiplePriority===!1?h=!1:E=!0)):(E&&y.multiplePriority!==!1||(h=!1),b(y))}),S},[n,s]),p=c.useMemo(()=>{var h,v;const S=d.map(b=>{let{column:E,sortOrder:y}=b;return{column:E,order:y}});return{sortColumns:S,sortColumn:(h=S[0])===null||h===void 0?void 0:h.column,sortOrder:(v=S[0])===null||v===void 0?void 0:v.order}},[d]),f=h=>{let v;h.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?v=[h]:v=[].concat($e(d.filter(S=>{let{key:b}=S;return b!==h.key})),[h]),l(v),o(nU(v),v)};return[h=>yte(t,h,d,f,r,a,i),d,p,()=>nU(d)]},Cte=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=ES(r.title,t),"children"in a&&(a.children=Cte(a.children,t)),a}),NLe=e=>[c.useCallback(n=>Cte(n,e),[e])],ALe=ite((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),DLe=ste((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),MLe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:i,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:l}=e,u=`${X(n)} ${r} ${a}`,d=(p,f,m)=>({[`&${t}-${p}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${X(l(f).mul(-1).equal())} + ${X(l(l(m).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` > ${t}-content, > ${t}-header, > ${t}-body, > ${t}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Q(l(o).mul(-1).equal())} ${Q(l(l(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${X(l(o).mul(-1).equal())} ${X(l(l(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Q(n)} 0 ${Q(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},RLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},vi),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${X(n)} 0 ${X(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},LLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},_i),{wordBreak:"keep-all",[` &${t}-cell-fix-left-last, &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},wLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},ILe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:i,lineType:o,tableBorderColor:s,tableExpandIconBg:l,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:f,tableExpandedRowBg:m,paddingXXS:g,expandIconMarginTop:h,expandIconSize:v,expandIconHalfInner:S,expandIconScale:_,calc:E}=e,y=`${Q(a)} ${o} ${s}`,C=E(g).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},DL(e)),{position:"relative",float:"left",boxSizing:"border-box",width:v,height:v,padding:0,color:"inherit",lineHeight:Q(v),background:l,border:y,borderRadius:d,transform:`scale(${_})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:S,insetInlineEnd:C,insetInlineStart:C,height:a},"&::after":{top:C,bottom:C,insetInlineStart:S,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${Q(E(p).mul(-1).equal())} ${Q(E(f).mul(-1).equal())}`,padding:`${Q(p)} ${Q(f)}`}}}},OLe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:i,paddingXXS:o,paddingXS:s,colorText:l,lineWidth:u,lineType:d,tableBorderColor:p,headerIconColor:f,fontSizeSM:m,tablePaddingHorizontal:g,borderRadius:h,motionDurationSlow:v,colorTextDescription:S,colorPrimary:_,tableHeaderFilterActiveBg:E,colorTextDisabled:y,tableFilterDropdownBg:C,tableFilterDropdownHeight:T,controlItemBgHover:x,controlItemBgActive:R,boxShadowSecondary:w,filterDropdownMenuBg:I,calc:O}=e,k=`${n}-dropdown`,P=`${t}-filter-dropdown`,M=`${n}-tree`,N=`${Q(u)} ${d} ${p}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(o).mul(-1).equal(),marginInline:`${Q(o)} ${Q(O(g).div(2).mul(-1).equal())}`,padding:`0 ${Q(o)}`,color:f,fontSize:m,borderRadius:h,cursor:"pointer",transition:`all ${v}`,"&:hover":{color:S,background:E},"&.active":{color:_}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},on(e)),{minWidth:a,backgroundColor:C,borderRadius:h,boxShadow:w,overflow:"hidden",[`${k}-menu`]:{maxHeight:T,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:I,"&:empty::after":{display:"block",padding:`${Q(s)} 0`,color:y,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${Q(s)} 0`,paddingInline:s,[M]:{padding:0},[`${M}-treenode ${M}-node-content-wrapper:hover`]:{backgroundColor:x},[`${M}-treenode-checkbox-checked ${M}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:R}}},[`${P}-search`]:{padding:s,borderBottom:N,"&-input":{input:{minWidth:i},[r]:{color:y}}},[`${P}-checkall`]:{width:"100%",marginBottom:o,marginInlineStart:o},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Q(O(s).sub(u).equal())} ${Q(s)}`,overflow:"hidden",borderTop:N}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:l},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},NLe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:i,tableBg:o,zIndexTableSticky:s,calc:l}=e,u=r;return{[`${t}-wrapper`]:{[` + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},kLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},PLe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:i,lineType:o,tableBorderColor:s,tableExpandIconBg:l,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:f,tableExpandedRowBg:m,paddingXXS:g,expandIconMarginTop:h,expandIconSize:v,expandIconHalfInner:S,expandIconScale:b,calc:E}=e,y=`${X(a)} ${o} ${s}`,C=E(g).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},LL(e)),{position:"relative",float:"left",boxSizing:"border-box",width:v,height:v,padding:0,color:"inherit",lineHeight:X(v),background:l,border:y,borderRadius:d,transform:`scale(${b})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:S,insetInlineEnd:C,insetInlineStart:C,height:a},"&::after":{top:C,bottom:C,insetInlineStart:S,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${X(E(p).mul(-1).equal())} ${X(E(f).mul(-1).equal())}`,padding:`${X(p)} ${X(f)}`}}}},$Le=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:i,paddingXXS:o,paddingXS:s,colorText:l,lineWidth:u,lineType:d,tableBorderColor:p,headerIconColor:f,fontSizeSM:m,tablePaddingHorizontal:g,borderRadius:h,motionDurationSlow:v,colorTextDescription:S,colorPrimary:b,tableHeaderFilterActiveBg:E,colorTextDisabled:y,tableFilterDropdownBg:C,tableFilterDropdownHeight:T,controlItemBgHover:x,controlItemBgActive:R,boxShadowSecondary:w,filterDropdownMenuBg:I,calc:O}=e,k=`${n}-dropdown`,P=`${t}-filter-dropdown`,M=`${n}-tree`,N=`${X(u)} ${d} ${p}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(o).mul(-1).equal(),marginInline:`${X(o)} ${X(O(g).div(2).mul(-1).equal())}`,padding:`0 ${X(o)}`,color:f,fontSize:m,borderRadius:h,cursor:"pointer",transition:`all ${v}`,"&:hover":{color:S,background:E},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},an(e)),{minWidth:a,backgroundColor:C,borderRadius:h,boxShadow:w,overflow:"hidden",[`${k}-menu`]:{maxHeight:T,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:I,"&:empty::after":{display:"block",padding:`${X(s)} 0`,color:y,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${X(s)} 0`,paddingInline:s,[M]:{padding:0},[`${M}-treenode ${M}-node-content-wrapper:hover`]:{backgroundColor:x},[`${M}-treenode-checkbox-checked ${M}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:R}}},[`${P}-search`]:{padding:s,borderBottom:N,"&-input":{input:{minWidth:i},[r]:{color:y}}},[`${P}-checkall`]:{width:"100%",marginBottom:o,marginInlineStart:o},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${X(O(s).sub(u).equal())} ${X(s)}`,overflow:"hidden",borderTop:N}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:l},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},FLe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:i,tableBg:o,zIndexTableSticky:s,calc:l}=e,u=r;return{[`${t}-wrapper`]:{[` ${t}-cell-fix-left, ${t}-cell-fix-right `]:{position:"sticky !important",zIndex:i,background:o},[` @@ -419,11 +419,11 @@ html body { ${t}-cell-fix-left-last::after, ${t}-cell-fix-right-first::after, ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},ALe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${Q(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},DLe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${Q(n)} ${Q(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${Q(n)} ${Q(n)}`}}}}},MLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},LLe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:i,paddingXS:o,headerIconColor:s,headerIconHoverColor:l,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:p,tableRowHoverBg:f,tablePaddingHorizontal:m,calc:g}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:g(u).add(g(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).add(g(o).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},BLe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${X(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ULe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${X(n)} ${X(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${X(n)} ${X(n)}`}}}}},jLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},zLe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:i,paddingXS:o,headerIconColor:s,headerIconHoverColor:l,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:p,tableRowHoverBg:f,tablePaddingHorizontal:m,calc:g}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:g(u).add(g(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).add(g(o).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:g(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:Q(g(m).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:l}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:p}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},kLe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(i,o,s,l)=>({[`${t}${t}-${i}`]:{fontSize:l,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:g(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:X(g(m).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:l}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:p}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},HLe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(i,o,s,l)=>({[`${t}${t}-${i}`]:{fontSize:l,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -432,60 +432,68 @@ html body { ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${Q(o)} ${Q(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:Q(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${Q(r(o).mul(-1).equal())} ${Q(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:Q(r(o).mul(-1).equal()),marginInline:`${Q(r(n).sub(s).equal())} ${Q(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:Q(r(s).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},a("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),a("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},PLe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + `]:{padding:`${X(o)} ${X(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:X(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${X(r(o).mul(-1).equal())} ${X(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:X(r(o).mul(-1).equal()),marginInline:`${X(r(n).sub(s).equal())} ${X(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:X(r(s).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},a("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),a("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},GLe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},$Le=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:i,tableScrollBg:o,zIndexTableSticky:s,stickyScrollBarBorderRadius:l,lineWidth:u,lineType:d,tableBorderColor:p}=e,f=`${Q(u)} ${d} ${p}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Q(i)} !important`,zIndex:s,display:"flex",alignItems:"center",background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:l,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},nU=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,i=`${Q(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${Q(a(n).mul(-1).equal())} 0 ${r}`}}}},FLe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:i,calc:o}=e,s=`${Q(r)} ${a} ${i}`,l=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},VLe=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:i,tableScrollBg:o,zIndexTableSticky:s,stickyScrollBarBorderRadius:l,lineWidth:u,lineType:d,tableBorderColor:p}=e,f=`${X(u)} ${d} ${p}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${X(i)} !important`,zIndex:s,display:"flex",alignItems:"center",background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:l,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},rU=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,i=`${X(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${X(a(n).mul(-1).equal())} 0 ${r}`}}}},qLe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:i,calc:o}=e,s=`${X(r)} ${a} ${i}`,l=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` & > ${t}-row, & > div:not(${t}-row) > ${t}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${l}${l}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Q(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},BLe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:i,lineWidth:o,lineType:s,tableBorderColor:l,tableFontSize:u,tableBg:d,tableRadius:p,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:g,tableHeaderCellSplitColor:h,tableFooterTextColor:v,tableFooterBg:S,calc:_}=e,E=`${Q(o)} ${s} ${l}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},mo()),{[t]:Object.assign(Object.assign({},on(e)),{fontSize:u,background:d,borderRadius:`${Q(p)} ${Q(p)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${Q(p)} ${Q(p)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${l}${l}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${X(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},WLe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:i,lineWidth:o,lineType:s,tableBorderColor:l,tableFontSize:u,tableBg:d,tableRadius:p,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:g,tableHeaderCellSplitColor:h,tableFooterTextColor:v,tableFooterBg:S,calc:b}=e,E=`${X(o)} ${s} ${l}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},go()),{[t]:Object.assign(Object.assign({},an(e)),{fontSize:u,background:d,borderRadius:`${X(p)} ${X(p)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${X(p)} ${X(p)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${Q(r)} ${Q(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${Q(r)} ${Q(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:E,[` + `]:{position:"relative",padding:`${X(r)} ${X(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${X(r)} ${X(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:E,[` > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:Q(_(r).mul(-1).equal()),marginInline:`${Q(_(i).sub(a).equal())} - ${Q(_(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${Q(r)} ${Q(a)}`,color:v,background:S}})}},ULe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:i,controlItemBgActive:o,controlItemBgActiveHover:s,padding:l,paddingSM:u,paddingXS:d,colorBorderSecondary:p,borderRadiusLG:f,controlHeight:m,colorTextPlaceholder:g,fontSize:h,fontSizeSM:v,lineHeight:S,lineWidth:_,colorIcon:E,colorIconHover:y,opacityLoading:C,controlInteractiveSize:T}=e,x=new an(a).onBackground(n).toHexShortString(),R=new an(i).onBackground(n).toHexShortString(),w=new an(t).onBackground(n).toHexShortString(),I=new an(E),O=new an(y),k=T/2-_,P=k*2+_*3;return{headerBg:w,headerColor:r,headerSortActiveBg:x,headerSortHoverBg:R,bodySortBg:w,rowHoverBg:w,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:p,headerBorderRadius:f,footerBg:w,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:p,fixedHeaderSortActiveBg:x,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:g,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*S-_*3)/2-Math.ceil((v*1.4-_*3)/2),headerIconColor:I.clone().setAlpha(I.getAlpha()*C).toRgbString(),headerIconHoverColor:O.clone().setAlpha(O.getAlpha()*C).toRgbString(),expandIconHalfInner:k,expandIconSize:P,expandIconScale:T/P}},rU=2,jLe=cn("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:i,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:u,rowHoverBg:d,rowSelectedBg:p,rowSelectedHoverBg:f,rowExpandedBg:m,cellPaddingBlock:g,cellPaddingInline:h,cellPaddingBlockMD:v,cellPaddingInlineMD:S,cellPaddingBlockSM:_,cellPaddingInlineSM:E,borderColor:y,footerBg:C,footerColor:T,headerBorderRadius:x,cellFontSize:R,cellFontSizeMD:w,cellFontSizeSM:I,headerSplitColor:O,fixedHeaderSortActiveBg:k,headerFilterHoverBg:P,filterDropdownBg:M,expandIconBg:N,selectionColumnWidth:A,stickyScrollBarBg:D,calc:L}=e,$=Ht(e,{tableFontSize:R,tableBg:r,tableRadius:x,tablePaddingVertical:g,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:v,tablePaddingHorizontalMiddle:S,tablePaddingVerticalSmall:_,tablePaddingHorizontalSmall:E,tableBorderColor:y,tableHeaderTextColor:o,tableHeaderBg:i,tableFooterTextColor:T,tableFooterBg:C,tableHeaderCellSplitColor:O,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:u,tableFixedHeaderSortActiveBg:k,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:M,tableRowHoverBg:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:f,zIndexTableFixed:rU,zIndexTableSticky:L(rU).add(1).equal({unit:!1}),tableFontSizeMiddle:w,tableFontSizeSmall:I,tableSelectionColumnWidth:A,tableExpandIconBg:N,tableExpandColumnWidth:L(a).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:D,tableScrollThumbBgHover:t,tableScrollBg:n});return[BLe($),ALe($),nU($),PLe($),OLe($),xLe($),DLe($),ILe($),nU($),wLe($),LLe($),NLe($),$Le($),RLe($),kLe($),MLe($),FLe($)]},ULe,{unitless:{expandIconScale:!0}}),zLe=[],HLe=(e,t)=>{var n,r;const{prefixCls:a,className:i,rootClassName:o,style:s,size:l,bordered:u,dropdownPrefixCls:d,dataSource:p,pagination:f,rowSelection:m,rowKey:g="key",rowClassName:h,columns:v,children:S,childrenColumnName:_,onChange:E,getPopupContainer:y,loading:C,expandIcon:T,expandable:x,expandedRowRender:R,expandIconColumnIndex:w,indentSize:I,scroll:O,sortDirections:k,locale:P,showSorterTooltip:M={target:"full-header"},virtual:N}=e;Il();const A=c.useMemo(()=>v||Yk(S),[v,S]),D=c.useMemo(()=>A.some(ht=>ht.responsive),[A]),L=Vb(D),$=c.useMemo(()=>{const ht=new Set(Object.keys(L).filter(ct=>L[ct]));return A.filter(ct=>!ct.responsive||ct.responsive.some(ot=>ht.has(ot)))},[A,L]),F=An(e,["className","style","columns"]),{locale:B=zi,direction:z,table:U,renderEmpty:j,getPrefixCls:G,getPopupContainer:J}=c.useContext(lt),Y=xr(l),X=Object.assign(Object.assign({},B.Table),P),V=p||zLe,H=G("table",a),q=G("dropdown",d),[,K]=ia(),Z=Zn(H),[te,se,ue]=jLe(H,Z),me=Object.assign(Object.assign({childrenColumnName:_,expandIconColumnIndex:w},x),{expandIcon:(n=x==null?void 0:x.expandIcon)!==null&&n!==void 0?n:(r=U==null?void 0:U.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:de="children"}=me,Te=c.useMemo(()=>V.some(ht=>ht==null?void 0:ht[de])?"nest":R||x!=null&&x.expandedRowRender?"row":null,[V]),Ee={body:c.useRef()},ge=jMe(H),re=c.useRef(null),ne=c.useRef(null);BMe(t,()=>Object.assign(Object.assign({},ne.current),{nativeElement:re.current}));const ae=c.useMemo(()=>typeof g=="function"?g:ht=>ht==null?void 0:ht[g],[g]),[le]=hLe(V,de,ae),pe={},Re=function(ht,ct){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var et,vt,nt,bt;const Ct=Object.assign(Object.assign({},pe),ht);ot&&((et=pe.resetPagination)===null||et===void 0||et.call(pe),!((vt=Ct.pagination)===null||vt===void 0)&&vt.current&&(Ct.pagination.current=1),f&&((nt=f.onChange)===null||nt===void 0||nt.call(f,1,(bt=Ct.pagination)===null||bt===void 0?void 0:bt.pageSize))),O&&O.scrollToFirstRowOnChange!==!1&&Ee.body.current&&Ofe(0,{getContainer:()=>Ee.body.current}),E==null||E(Ct.pagination,Ct.filters,Ct.sorter,{currentDataSource:LD(PD(V,Ct.sorterStates,de),Ct.filterStates,de),action:ct})},Se=(ht,ct)=>{Re({sorter:ht,sorterStates:ct},"sort",!1)},[Pe,fe,ve,Ae]=ELe({prefixCls:H,mergedColumns:$,onSorterChange:Se,sortDirections:k||["ascend","descend"],tableLocale:X,showSorterTooltip:M}),ye=c.useMemo(()=>PD(V,fe,de),[V,fe]);pe.sorter=Ae(),pe.sorterStates=fe;const be=(ht,ct)=>{Re({filters:ht,filterStates:ct},"filter",!0)},[Ne,Ie,xe]=gLe({prefixCls:H,locale:X,dropdownPrefixCls:q,mergedColumns:$,onFilterChange:be,getPopupContainer:y||J,rootClassName:ie(o,Z)}),ke=LD(ye,Ie,de);pe.filters=xe,pe.filterStates=Ie;const rt=c.useMemo(()=>{const ht={};return Object.keys(xe).forEach(ct=>{xe[ct]!==null&&(ht[ct]=xe[ct])}),Object.assign(Object.assign({},ve),{filters:ht})},[ve,xe]),[Me]=yLe(rt),Ce=(ht,ct)=>{Re({pagination:Object.assign(Object.assign({},pe.pagination),{current:ht,pageSize:ct})},"paginate")},[De,Ue]=bLe(ke.length,Ce,f);pe.pagination=f===!1?{}:_Le(De,f),pe.resetPagination=Ue;const Ye=c.useMemo(()=>{if(f===!1||!De.pageSize)return ke;const{current:ht=1,total:ct,pageSize:ot=Ste}=De;return ke.lengthot?ke.slice((ht-1)*ot,ht*ot):ke:ke.slice((ht-1)*ot,ht*ot)},[!!f,ke,De==null?void 0:De.current,De==null?void 0:De.pageSize,De==null?void 0:De.total]),[He,ze]=$Me({prefixCls:H,data:ke,pageData:Ye,getRowKey:ae,getRecordByKey:le,expandType:Te,childrenColumnName:de,locale:X,getPopupContainer:y||J},m),Xe=(ht,ct,ot)=>{let et;return typeof h=="function"?et=ie(h(ht,ct,ot)):et=ie(h),ie({[`${H}-row-selected`]:ze.has(ae(ht,ct))},et)};me.__PARENT_RENDER_ICON__=me.expandIcon,me.expandIcon=me.expandIcon||T||UMe(X),Te==="nest"&&me.expandIconColumnIndex===void 0?me.expandIconColumnIndex=m?1:0:me.expandIconColumnIndex>0&&m&&(me.expandIconColumnIndex-=1),typeof me.indentSize!="number"&&(me.indentSize=typeof I=="number"?I:15);const Be=c.useCallback(ht=>Me(He(Ne(Pe(ht)))),[Pe,Ne,He]);let Je,mt;if(f!==!1&&(De!=null&&De.total)){let ht;De.size?ht=De.size:ht=Y==="small"||Y==="middle"?"small":void 0;const ct=vt=>c.createElement(kk,Object.assign({},De,{className:ie(`${H}-pagination ${H}-pagination-${vt}`,De.className),size:ht})),ot=z==="rtl"?"left":"right",{position:et}=De;if(et!==null&&Array.isArray(et)){const vt=et.find(Ct=>Ct.includes("top")),nt=et.find(Ct=>Ct.includes("bottom")),bt=et.every(Ct=>`${Ct}`=="none");!vt&&!nt&&!bt&&(mt=ct(ot)),vt&&(Je=ct(vt.toLowerCase().replace("top",""))),nt&&(mt=ct(nt.toLowerCase().replace("bottom","")))}else mt=ct(ot)}let pt;typeof C=="boolean"?pt={spinning:C}:typeof C=="object"&&(pt=Object.assign({spinning:!0},C));const We=ie(ue,Z,`${H}-wrapper`,U==null?void 0:U.className,{[`${H}-wrapper-rtl`]:z==="rtl"},i,o,se),Ve=Object.assign(Object.assign({},U==null?void 0:U.style),s),Ze=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(j==null?void 0:j("Table"))||c.createElement(jb,{componentName:"Table"}),dt=N?TLe:CLe,It={},Nt=c.useMemo(()=>{const{fontSize:ht,lineHeight:ct,padding:ot,paddingXS:et,paddingSM:vt}=K,nt=Math.floor(ht*ct);switch(Y){case"large":return ot*2+nt;case"small":return et*2+nt;default:return vt*2+nt}},[K,Y]);return N&&(It.listItemHeight=Nt),te(c.createElement("div",{ref:re,className:We,style:Ve},c.createElement(Pk,Object.assign({spinning:!1},pt),Je,c.createElement(dt,Object.assign({},It,F,{ref:ne,columns:$,direction:z,expandable:me,prefixCls:H,className:ie({[`${H}-middle`]:Y==="middle",[`${H}-small`]:Y==="small",[`${H}-bordered`]:u,[`${H}-empty`]:V.length===0},ue,Z,se),data:Ye,rowKey:ae,rowClassName:Xe,emptyText:Ze,internalHooks:vg,internalRefs:Ee,transformColumns:Be,getContainerWidth:ge})),mt)))},GLe=c.forwardRef(HLe),VLe=(e,t)=>{const n=c.useRef(0);return n.current+=1,c.createElement(GLe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Wa=c.forwardRef(VLe);Wa.SELECTION_COLUMN=$s;Wa.EXPAND_COLUMN=js;Wa.SELECTION_ALL=OD;Wa.SELECTION_INVERT=ND;Wa.SELECTION_NONE=AD;Wa.Column=RMe;Wa.ColumnGroup=wMe;Wa.Summary=Yee;const qLe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},on(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},eP=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Ht(e,{tagFontSize:a,tagLineHeight:Q(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},tP=e=>({defaultBg:new an(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Cte=cn("Tag",e=>{const t=eP(e);return qLe(t)},tP);var WLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,l=WLe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=c.useContext(lt),p=S=>{o==null||o(!i),s==null||s(S)},f=u("tag",n),[m,g,h]=Cte(f),v=ie(f,`${f}-checkable`,{[`${f}-checkable-checked`]:i},d==null?void 0:d.className,a,g,h);return m(c.createElement("span",Object.assign({},l,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:v,onClick:p})))}),KLe=e=>eX(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),XLe=Gd(["Tag","preset"],e=>{const t=eP(e);return KLe(t)},tP);function QLe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const xh=(e,t,n)=>{const r=QLe(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},ZLe=Gd(["Tag","status"],e=>{const t=eP(e);return[xh(t,"success","Success"),xh(t,"processing","Info"),xh(t,"error","Error"),xh(t,"warning","Warning")]},tP);var JLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:i,children:o,icon:s,color:l,onClose:u,bordered:d=!0,visible:p}=e,f=JLe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:g,tag:h}=c.useContext(lt),[v,S]=c.useState(!0),_=An(f,["closeIcon","closable"]);c.useEffect(()=>{p!==void 0&&S(p)},[p]);const E=QQ(l),y=$be(l),C=E||y,T=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},h==null?void 0:h.style),i),x=m("tag",n),[R,w,I]=Cte(x),O=ie(x,h==null?void 0:h.className,{[`${x}-${l}`]:C,[`${x}-has-color`]:l&&!C,[`${x}-hidden`]:!v,[`${x}-rtl`]:g==="rtl",[`${x}-borderless`]:!d},r,a,w,I),k=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&S(!1)},[,P]=qL(yd(e),yd(h),{closable:!1,closeIconRender:L=>{const $=c.createElement("span",{className:`${x}-close-icon`,onClick:k},L);return PL(L,$,F=>({onClick:B=>{var z;(z=F==null?void 0:F.onClick)===null||z===void 0||z.call(F,B),k(B)},className:ie(F==null?void 0:F.className,`${x}-close-icon`)}))}}),M=typeof f.onClick=="function"||o&&o.type==="a",N=s||null,A=N?c.createElement(c.Fragment,null,N,o&&c.createElement("span",null,o)):o,D=c.createElement("span",Object.assign({},_,{ref:t,className:O,style:T}),A,P,E&&c.createElement(XLe,{key:"preset",prefixCls:x}),y&&c.createElement(ZLe,{key:"status",prefixCls:x}));return R(M?c.createElement(Qm,{component:"Tag"},D):D)}),A_=eke;A_.CheckableTag=YLe;const tke=e=>{const t=e!=null&&e.algorithm?lm(e.algorithm):lm(Wm),n=Object.assign(Object.assign({},Sd),e==null?void 0:e.token);return EK(n,{override:e==null?void 0:e.token},t,AL)};function nke(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const rke=(e,t)=>{const n=t??Wm(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),nke(t??e)),qK(r)),{controlHeight:a}),VK(Object.assign(Object.assign({},n),{controlHeight:a})))},Qo=(e,t)=>new an(e).setAlpha(t).toRgbString(),fu=(e,t)=>new an(e).lighten(t).toHexString(),ake=e=>{const t=xc(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},ike=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Qo(r,.85),colorTextSecondary:Qo(r,.65),colorTextTertiary:Qo(r,.45),colorTextQuaternary:Qo(r,.25),colorFill:Qo(r,.18),colorFillSecondary:Qo(r,.12),colorFillTertiary:Qo(r,.08),colorFillQuaternary:Qo(r,.04),colorBgElevated:fu(n,12),colorBgContainer:fu(n,8),colorBgLayout:fu(n,0),colorBgSpotlight:fu(n,26),colorBgBlur:Qo(r,.04),colorBorder:fu(n,26),colorBorderSecondary:fu(n,19)}},oke=(e,t)=>{const n=Object.keys(wL).map(a=>{const i=xc(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((o,s,l)=>(o[`${a}-${l+1}`]=i[l],o[`${a}${l+1}`]=i[l],o),{})}).reduce((a,i)=>(a=Object.assign(Object.assign({},a),i),a),{}),r=t??Wm(e);return Object.assign(Object.assign(Object.assign({},r),n),GK(e,{generateColorPalettes:ake,generateNeutralColorPalettes:ike}))};function ske(){const[e,t,n]=ia();return{theme:e,token:t,hashId:n}}const Xa={defaultSeed:dm.token,useToken:ske,defaultAlgorithm:Wm,darkAlgorithm:oke,compactAlgorithm:rke,getDesignToken:tke,defaultConfig:dm,_internalContext:IL};var lke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=d=>{const{keyCode:p}=d;p===Fe.ENTER&&d.preventDefault()},r=d=>{const{keyCode:p}=d,{onClick:f}=e;p===Fe.ENTER&&f&&f()},{style:a,noStyle:i,disabled:o,tabIndex:s=0}=e,l=lke(e,["style","noStyle","disabled","tabIndex"]);let u={};return i||(u=Object.assign({},cke)),o&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),a),c.createElement("div",Object.assign({role:"button",tabIndex:s,ref:t},l,{onKeyDown:n,onKeyUp:r,style:u}))}),uke=function(e){var t=c.useRef({valueLabels:new Map});return c.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(i){var o,s=i.value,l=(o=i.label)!==null&&o!==void 0?o:n.get(s);return r.set(s,l),ee(ee({},i),{},{label:l})});return t.current.valueLabels=r,[a]},[e])},dke=function(e,t,n,r){return c.useMemo(function(){var a=e.map(function(l){var u=l.value;return u}),i=t.map(function(l){var u=l.value;return u}),o=a.filter(function(l){return!r[l]});if(n){var s=ms(a,!0,r);a=s.checkedKeys,i=s.halfCheckedKeys}return[Array.from(new Set([].concat($e(o),$e(a)))),i]},[e,t,n,r])};function pke(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function fke(e){var t=e||{},n=t.label,r=t.value,a=t.children,i=r||"value";return{_title:n?[n]:["title","label"],value:i,key:i,children:a||"children"}}function FD(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function mke(e,t){var n=[];function r(a){a.forEach(function(i){var o=i[t.children];o&&(n.push(i[t.value]),r(o))})}return r(e),n}function aU(e){return e==null}const gke=function(e,t){return c.useMemo(function(){var n=sS(e,{fieldNames:t,initWrapper:function(a){return ee(ee({},a),{},{valueEntities:new Map})},processEntity:function(a,i){var o=a.node[t.value];i.valueEntities.set(o,a)}});return n},[e,t])};var nP=function(){return null},hke=["children","value"];function Tte(e){return br(e).map(function(t){if(!c.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,i=a.children,o=a.value,s=Et(a,hke),l=ee({key:r,value:o},s),u=Tte(i);return u.length&&(l.children=u),l}).filter(function(t){return t})}function BD(e){if(!e)return e;var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function vke(e,t,n,r,a,i){var o=null,s=null;function l(){function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(m,g){var h="".concat(p,"-").concat(g),v=m[i.value],S=n.includes(v),_=u(m[i.children]||[],h,S),E=c.createElement(nP,m,_.map(function(C){return C.node}));if(t===v&&(o=E),S){var y={pos:h,node:E,children:_};return f||s.push(y),y}return null}).filter(function(m){return m})}s||(s=[],u(r),s.sort(function(d,p){var f=d.node.props.value,m=p.node.props.value,g=n.indexOf(f),h=n.indexOf(m);return g-h}))}Object.defineProperty(e,"triggerNode",{get:function(){return bn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return bn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),a?s:s.map(function(d){var p=d.node;return p})}})}const _ke=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,i=n.fieldNames,o=i.children;return c.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var l=t.toUpperCase();s=function(p,f){var m=f[r];return String(m).toUpperCase().includes(l)}}function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(f,m){var g=m[o],h=p||s(t,BD(m)),v=u(g||[],h);return(h||v.length)&&f.push(ee(ee({},m),{},W({isLeaf:void 0},o,v))),f},[])}return u(e)},[e,t,o,r,a])};function iU(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function bke(e,t){var n=t.id,r=t.pId,a=t.rootPId,i={},o=[],s=e.map(function(l){var u=ee({},l),d=u[n];return i[d]=u,u.key=u.key||d,u});return s.forEach(function(l){var u=l[r],d=i[u];d&&(d.children=d.children||[],d.children.push(l)),(u===a||!d&&a===null)&&o.push(l)}),o}function Ske(e,t,n){return c.useMemo(function(){return e?n?bke(e,ee({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:Tte(t)},[t,n,e])}var xte=c.createContext(null),Rte=c.createContext(null),Eke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},yke=function(t,n){var r=yQ(),a=r.prefixCls,i=r.multiple,o=r.searchValue,s=r.toggleOpen,l=r.open,u=r.notFoundContent,d=c.useContext(Rte),p=d.virtual,f=d.listHeight,m=d.listItemHeight,g=d.listItemScrollOffset,h=d.treeData,v=d.fieldNames,S=d.onSelect,_=d.dropdownMatchSelectWidth,E=d.treeExpandAction,y=d.treeTitleRender,C=d.onPopupScroll,T=c.useContext(xte),x=T.checkable,R=T.checkedKeys,w=T.halfCheckedKeys,I=T.treeExpandedKeys,O=T.treeDefaultExpandAll,k=T.treeDefaultExpandedKeys,P=T.onTreeExpand,M=T.treeIcon,N=T.showTreeIcon,A=T.switcherIcon,D=T.treeLine,L=T.treeNodeFilterProp,$=T.loadData,F=T.treeLoadedKeys,B=T.treeMotion,z=T.onTreeLoad,U=T.keyEntities,j=c.useRef(),G=wl(function(){return h},[l,h],function(Re,Se){return Se[0]&&Re[1]!==Se[1]}),J=c.useState(null),Y=oe(J,2),X=Y[0],V=Y[1],H=U[X],q=c.useMemo(function(){return x?{checked:R,halfChecked:w}:null},[x,R,w]);c.useEffect(function(){if(l&&!i&&R.length){var Re;(Re=j.current)===null||Re===void 0||Re.scrollTo({key:R[0]}),V(R[0])}},[l]);var K=String(o).toLowerCase(),Z=function(Se){return K?String(Se[L]).toLowerCase().includes(K):!1},te=c.useState(k),se=oe(te,2),ue=se[0],me=se[1],de=c.useState(null),Te=oe(de,2),Ee=Te[0],ge=Te[1],re=c.useMemo(function(){return I?$e(I):o?Ee:ue},[ue,Ee,I,o]);c.useEffect(function(){o&&ge(mke(h,v))},[o]);var ne=function(Se){me(Se),ge(Se),P&&P(Se)},ae=function(Se){Se.preventDefault()},le=function(Se,Pe){var fe=Pe.node;x&&FD(fe)||(S(fe.key,{selected:!R.includes(fe.key)}),i||s(!1))};if(c.useImperativeHandle(n,function(){var Re;return{scrollTo:(Re=j.current)===null||Re===void 0?void 0:Re.scrollTo,onKeyDown:function(Pe){var fe,ve=Pe.which;switch(ve){case Fe.UP:case Fe.DOWN:case Fe.LEFT:case Fe.RIGHT:(fe=j.current)===null||fe===void 0||fe.onKeyDown(Pe);break;case Fe.ENTER:{if(H){var Ae=(H==null?void 0:H.node)||{},ye=Ae.selectable,be=Ae.value;ye!==!1&&le(null,{node:{key:X},selected:!R.includes(be)})}break}case Fe.ESC:s(!1)}},onKeyUp:function(){}}}),G.length===0)return c.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ae},u);var pe={fieldNames:v};return F&&(pe.loadedKeys=F),re&&(pe.expandedKeys=re),c.createElement("div",{onMouseDown:ae},H&&l&&c.createElement("span",{style:Eke,"aria-live":"assertive"},H.node.value),c.createElement(bS,_e({ref:j,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:G,height:f,itemHeight:m,itemScrollOffset:g,virtual:p!==!1&&_!==!1,multiple:i,icon:M,showIcon:N,switcherIcon:A,showLine:D,loadData:o?null:$,motion:B,activeKey:X,checkable:x,checkStrictly:!0,checkedKeys:q,selectedKeys:x?[]:R,defaultExpandAll:O,titleRender:y},pe,{onActiveChange:V,onSelect:le,onCheck:le,onExpand:ne,onLoad:z,filterTreeNode:Z,expandAction:E,onScroll:C})))},Cke=c.forwardRef(yke),rP="SHOW_ALL",aP="SHOW_PARENT",SS="SHOW_CHILD";function oU(e,t,n,r){var a=new Set(e);return t===SS?e.filter(function(i){var o=n[i];return!(o&&o.children&&o.children.some(function(s){var l=s.node;return a.has(l[r.value])})&&o.children.every(function(s){var l=s.node;return FD(l)||a.has(l[r.value])}))}):t===aP?e.filter(function(i){var o=n[i],s=o?o.parent:null;return!(s&&!FD(s.node)&&a.has(s.key))}):e}var Tke=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function xke(e){return!e||gt(e)!=="object"}var Rke=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,i=e.value,o=e.defaultValue,s=e.onChange,l=e.onSelect,u=e.onDeselect,d=e.searchValue,p=e.inputValue,f=e.onSearch,m=e.autoClearSearchValue,g=m===void 0?!0:m,h=e.filterTreeNode,v=e.treeNodeFilterProp,S=v===void 0?"value":v,_=e.showCheckedStrategy,E=e.treeNodeLabelProp,y=e.multiple,C=e.treeCheckable,T=e.treeCheckStrictly,x=e.labelInValue,R=e.fieldNames,w=e.treeDataSimpleMode,I=e.treeData,O=e.children,k=e.loadData,P=e.treeLoadedKeys,M=e.onTreeLoad,N=e.treeDefaultExpandAll,A=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,L=e.onTreeExpand,$=e.treeExpandAction,F=e.virtual,B=e.listHeight,z=B===void 0?200:B,U=e.listItemHeight,j=U===void 0?20:U,G=e.listItemScrollOffset,J=G===void 0?0:G,Y=e.onDropdownVisibleChange,X=e.dropdownMatchSelectWidth,V=X===void 0?!0:X,H=e.treeLine,q=e.treeIcon,K=e.showTreeIcon,Z=e.switcherIcon,te=e.treeMotion,se=e.treeTitleRender,ue=e.onPopupScroll,me=Et(e,Tke),de=LQ(n),Te=C&&!T,Ee=C||T,ge=T||x,re=Ee||y,ne=ln(o,{value:i}),ae=oe(ne,2),le=ae[0],pe=ae[1],Re=c.useMemo(function(){return C?_||SS:rP},[_,C]),Se=c.useMemo(function(){return fke(R)},[JSON.stringify(R)]),Pe=ln("",{value:d!==void 0?d:p,postState:function(bt){return bt||""}}),fe=oe(Pe,2),ve=fe[0],Ae=fe[1],ye=function(bt){Ae(bt),f==null||f(bt)},be=Ske(I,O,w),Ne=gke(be,Se),Ie=Ne.keyEntities,xe=Ne.valueEntities,ke=c.useCallback(function(nt){var bt=[],Ct=[];return nt.forEach(function(tt){xe.has(tt)?Ct.push(tt):bt.push(tt)}),{missingRawValues:bt,existRawValues:Ct}},[xe]),rt=_ke(be,ve,{fieldNames:Se,treeNodeFilterProp:S,filterTreeNode:h}),Me=c.useCallback(function(nt){if(nt){if(E)return nt[E];for(var bt=Se._title,Ct=0;Ct{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${Q(e.paddingXS)} ${Q(e.calc(e.paddingXS).div(2).equal())}`},pte(n,Ht(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},xk(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Ike(e,t,n){return cn("TreeSelect",r=>{const a=Ht(r,{treePrefixCls:t});return[wke(a)]},fte)(e,n)}var Oke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:i,bordered:o=!0,className:s,rootClassName:l,treeCheckable:u,multiple:d,listHeight:p=256,listItemHeight:f=26,placement:m,notFoundContent:g,switcherIcon:h,treeLine:v,getPopupContainer:S,popupClassName:_,dropdownClassName:E,treeIcon:y=!1,transitionName:C,choiceTransitionName:T="",status:x,treeExpandAction:R,builtinPlacements:w,dropdownMatchSelectWidth:I,popupMatchSelectWidth:O,allowClear:k,variant:P,dropdownStyle:M,tagRender:N}=e,A=Oke(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:D,getPrefixCls:L,renderEmpty:$,direction:F,virtual:B,popupMatchSelectWidth:z,popupOverflow:U}=c.useContext(lt),j=L(),G=L("select",r),J=L("select-tree",r),Y=L("tree-select",r),{compactSize:X,compactItemClassnames:V}=ws(G,F),H=Zn(G),q=Zn(Y),[K,Z,te]=HQ(G,H),[se]=Ike(Y,J,q),[ue,me]=Uc("treeSelect",P,o),de=ie(_||E,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:F==="rtl"},l,te,H,q,Z),Te=!!(u||d),Ee=GQ(e.suffixIcon,e.showArrow),ge=(n=O??I)!==null&&n!==void 0?n:z,{status:re,hasFeedback:ne,isFormItemInput:ae,feedbackIcon:le}=c.useContext(Gr),pe=Nl(re,x),{suffixIcon:Re,removeIcon:Se,clearIcon:Pe}=JL(Object.assign(Object.assign({},A),{multiple:Te,showSuffixIcon:Ee,hasFeedback:ne,feedbackIcon:le,prefixCls:G,componentName:"TreeSelect"})),fe=k===!0?{clearIcon:Pe}:k;let ve;g!==void 0?ve=g:ve=($==null?void 0:$("Select"))||c.createElement(jb,{componentName:"Select"});const Ae=An(A,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),ye=c.useMemo(()=>m!==void 0?m:F==="rtl"?"bottomRight":"bottomLeft",[m,F]),be=xr(Ce=>{var De;return(De=a??X)!==null&&De!==void 0?De:Ce}),Ne=c.useContext(ea),Ie=i??Ne,xe=ie(!r&&Y,{[`${G}-lg`]:be==="large",[`${G}-sm`]:be==="small",[`${G}-rtl`]:F==="rtl",[`${G}-${ue}`]:me,[`${G}-in-form-item`]:ae},Cs(G,pe,ne),V,s,l,te,H,q,Z),ke=Ce=>c.createElement(mte,{prefixCls:J,switcherIcon:h,treeNodeProps:Ce,showLine:v}),[rt]=bo("SelectLike",M==null?void 0:M.zIndex),Me=c.createElement(_g,Object.assign({virtual:B,disabled:Ie},Ae,{dropdownMatchSelectWidth:ge,builtinPlacements:FQ(w,U),ref:t,prefixCls:G,className:xe,listHeight:p,listItemHeight:f,treeCheckable:u&&c.createElement("span",{className:`${G}-tree-checkbox-inner`}),treeLine:!!v,suffixIcon:Re,multiple:Te,placement:ye,removeIcon:Se,allowClear:fe,switcherIcon:ke,showTreeIcon:y,notFoundContent:ve,getPopupContainer:S||D,treeMotion:null,dropdownClassName:de,dropdownStyle:Object.assign(Object.assign({},M),{zIndex:rt}),choiceTransitionName:ya(j,"",T),transitionName:ya(j,"slide-up",C),treeExpandAction:R,tagRender:Te?N:void 0}));return K(se(Me))},Ake=c.forwardRef(Nke),Dl=Ake,Dke=ag(Dl);Dl.TreeNode=nP;Dl.SHOW_ALL=rP;Dl.SHOW_PARENT=aP;Dl.SHOW_CHILD=SS;Dl._InternalPanelDoNotUseOrYouWillBeFired=Dke;const Mke=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:i}=r;return{marginBottom:a,color:n,fontWeight:i,fontSize:e,lineHeight:t}},Lke=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + `]:{[t]:{marginBlock:X(b(r).mul(-1).equal()),marginInline:`${X(b(i).sub(a).equal())} + ${X(b(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${X(r)} ${X(a)}`,color:v,background:S}})}},YLe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:i,controlItemBgActive:o,controlItemBgActiveHover:s,padding:l,paddingSM:u,paddingXS:d,colorBorderSecondary:p,borderRadiusLG:f,controlHeight:m,colorTextPlaceholder:g,fontSize:h,fontSizeSM:v,lineHeight:S,lineWidth:b,colorIcon:E,colorIconHover:y,opacityLoading:C,controlInteractiveSize:T}=e,x=new on(a).onBackground(n).toHexShortString(),R=new on(i).onBackground(n).toHexShortString(),w=new on(t).onBackground(n).toHexShortString(),I=new on(E),O=new on(y),k=T/2-b,P=k*2+b*3;return{headerBg:w,headerColor:r,headerSortActiveBg:x,headerSortHoverBg:R,bodySortBg:w,rowHoverBg:w,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:p,headerBorderRadius:f,footerBg:w,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:p,fixedHeaderSortActiveBg:x,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:g,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*S-b*3)/2-Math.ceil((v*1.4-b*3)/2),headerIconColor:I.clone().setAlpha(I.getAlpha()*C).toRgbString(),headerIconHoverColor:O.clone().setAlpha(O.getAlpha()*C).toRgbString(),expandIconHalfInner:k,expandIconSize:P,expandIconScale:T/P}},aU=2,KLe=sn("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:i,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:u,rowHoverBg:d,rowSelectedBg:p,rowSelectedHoverBg:f,rowExpandedBg:m,cellPaddingBlock:g,cellPaddingInline:h,cellPaddingBlockMD:v,cellPaddingInlineMD:S,cellPaddingBlockSM:b,cellPaddingInlineSM:E,borderColor:y,footerBg:C,footerColor:T,headerBorderRadius:x,cellFontSize:R,cellFontSizeMD:w,cellFontSizeSM:I,headerSplitColor:O,fixedHeaderSortActiveBg:k,headerFilterHoverBg:P,filterDropdownBg:M,expandIconBg:N,selectionColumnWidth:A,stickyScrollBarBg:D,calc:L}=e,$=Ht(e,{tableFontSize:R,tableBg:r,tableRadius:x,tablePaddingVertical:g,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:v,tablePaddingHorizontalMiddle:S,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:E,tableBorderColor:y,tableHeaderTextColor:o,tableHeaderBg:i,tableFooterTextColor:T,tableFooterBg:C,tableHeaderCellSplitColor:O,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:u,tableFixedHeaderSortActiveBg:k,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:M,tableRowHoverBg:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:f,zIndexTableFixed:aU,zIndexTableSticky:L(aU).add(1).equal({unit:!1}),tableFontSizeMiddle:w,tableFontSizeSmall:I,tableSelectionColumnWidth:A,tableExpandIconBg:N,tableExpandColumnWidth:L(a).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:D,tableScrollThumbBgHover:t,tableScrollBg:n});return[WLe($),BLe($),rU($),GLe($),$Le($),MLe($),ULe($),PLe($),rU($),kLe($),zLe($),FLe($),VLe($),LLe($),HLe($),jLe($),qLe($)]},YLe,{unitless:{expandIconScale:!0}}),XLe=[],QLe=(e,t)=>{var n,r;const{prefixCls:a,className:i,rootClassName:o,style:s,size:l,bordered:u,dropdownPrefixCls:d,dataSource:p,pagination:f,rowSelection:m,rowKey:g="key",rowClassName:h,columns:v,children:S,childrenColumnName:b,onChange:E,getPopupContainer:y,loading:C,expandIcon:T,expandable:x,expandedRowRender:R,expandIconColumnIndex:w,indentSize:I,scroll:O,sortDirections:k,locale:P,showSorterTooltip:M={target:"full-header"},virtual:N}=e;Ol();const A=c.useMemo(()=>v||Xk(S),[v,S]),D=c.useMemo(()=>A.some(ht=>ht.responsive),[A]),L=Yb(D),$=c.useMemo(()=>{const ht=new Set(Object.keys(L).filter(ct=>L[ct]));return A.filter(ct=>!ct.responsive||ct.responsive.some(ot=>ht.has(ot)))},[A,L]),F=An(e,["className","style","columns"]),{locale:B=Hi,direction:z,table:U,renderEmpty:j,getPrefixCls:G,getPopupContainer:J}=c.useContext(lt),Y=xr(l),Q=Object.assign(Object.assign({},B.Table),P),V=p||XLe,H=G("table",a),q=G("dropdown",d),[,K]=ia(),Z=Hn(H),[te,se,ue]=KLe(H,Z),me=Object.assign(Object.assign({childrenColumnName:b,expandIconColumnIndex:w},x),{expandIcon:(n=x==null?void 0:x.expandIcon)!==null&&n!==void 0?n:(r=U==null?void 0:U.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:de="children"}=me,Te=c.useMemo(()=>V.some(ht=>ht==null?void 0:ht[de])?"nest":R||x!=null&&x.expandedRowRender?"row":null,[V]),Ee={body:c.useRef()},ge=KMe(H),re=c.useRef(null),ne=c.useRef(null);WMe(t,()=>Object.assign(Object.assign({},ne.current),{nativeElement:re.current}));const ae=c.useMemo(()=>typeof g=="function"?g:ht=>ht==null?void 0:ht[g],[g]),[le]=TLe(V,de,ae),pe={},Re=function(ht,ct){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var et,vt,rt,bt;const Tt=Object.assign(Object.assign({},pe),ht);ot&&((et=pe.resetPagination)===null||et===void 0||et.call(pe),!((vt=Tt.pagination)===null||vt===void 0)&&vt.current&&(Tt.pagination.current=1),f&&((rt=f.onChange)===null||rt===void 0||rt.call(f,1,(bt=Tt.pagination)===null||bt===void 0?void 0:bt.pageSize))),O&&O.scrollToFirstRowOnChange!==!1&&Ee.body.current&&Afe(0,{getContainer:()=>Ee.body.current}),E==null||E(Tt.pagination,Tt.filters,Tt.sorter,{currentDataSource:PD(FD(V,Tt.sorterStates,de),Tt.filterStates,de),action:ct})},Se=(ht,ct)=>{Re({sorter:ht,sorterStates:ct},"sort",!1)},[Pe,fe,_e,Ae]=OLe({prefixCls:H,mergedColumns:$,onSorterChange:Se,sortDirections:k||["ascend","descend"],tableLocale:Q,showSorterTooltip:M}),ye=c.useMemo(()=>FD(V,fe,de),[V,fe]);pe.sorter=Ae(),pe.sorterStates=fe;const be=(ht,ct)=>{Re({filters:ht,filterStates:ct},"filter",!0)},[Ne,we,xe]=CLe({prefixCls:H,locale:Q,dropdownPrefixCls:q,mergedColumns:$,onFilterChange:be,getPopupContainer:y||J,rootClassName:ie(o,Z)}),ke=PD(ye,we,de);pe.filters=xe,pe.filterStates=we;const at=c.useMemo(()=>{const ht={};return Object.keys(xe).forEach(ct=>{xe[ct]!==null&&(ht[ct]=xe[ct])}),Object.assign(Object.assign({},_e),{filters:ht})},[_e,xe]),[Me]=NLe(at),Ce=(ht,ct)=>{Re({pagination:Object.assign(Object.assign({},pe.pagination),{current:ht,pageSize:ct})},"paginate")},[De,Ue]=wLe(ke.length,Ce,f);pe.pagination=f===!1?{}:RLe(De,f),pe.resetPagination=Ue;const Ye=c.useMemo(()=>{if(f===!1||!De.pageSize)return ke;const{current:ht=1,total:ct,pageSize:ot=Ete}=De;return ke.lengthot?ke.slice((ht-1)*ot,ht*ot):ke:ke.slice((ht-1)*ot,ht*ot)},[!!f,ke,De==null?void 0:De.current,De==null?void 0:De.pageSize,De==null?void 0:De.total]),[He,ze]=VMe({prefixCls:H,data:ke,pageData:Ye,getRowKey:ae,getRecordByKey:le,expandType:Te,childrenColumnName:de,locale:Q,getPopupContainer:y||J},m),Xe=(ht,ct,ot)=>{let et;return typeof h=="function"?et=ie(h(ht,ct,ot)):et=ie(h),ie({[`${H}-row-selected`]:ze.has(ae(ht,ct))},et)};me.__PARENT_RENDER_ICON__=me.expandIcon,me.expandIcon=me.expandIcon||T||YMe(Q),Te==="nest"&&me.expandIconColumnIndex===void 0?me.expandIconColumnIndex=m?1:0:me.expandIconColumnIndex>0&&m&&(me.expandIconColumnIndex-=1),typeof me.indentSize!="number"&&(me.indentSize=typeof I=="number"?I:15);const Be=c.useCallback(ht=>Me(He(Ne(Pe(ht)))),[Pe,Ne,He]);let Je,mt;if(f!==!1&&(De!=null&&De.total)){let ht;De.size?ht=De.size:ht=Y==="small"||Y==="middle"?"small":void 0;const ct=vt=>c.createElement($k,Object.assign({},De,{className:ie(`${H}-pagination ${H}-pagination-${vt}`,De.className),size:ht})),ot=z==="rtl"?"left":"right",{position:et}=De;if(et!==null&&Array.isArray(et)){const vt=et.find(Tt=>Tt.includes("top")),rt=et.find(Tt=>Tt.includes("bottom")),bt=et.every(Tt=>`${Tt}`=="none");!vt&&!rt&&!bt&&(mt=ct(ot)),vt&&(Je=ct(vt.toLowerCase().replace("top",""))),rt&&(mt=ct(rt.toLowerCase().replace("bottom","")))}else mt=ct(ot)}let pt;typeof C=="boolean"?pt={spinning:C}:typeof C=="object"&&(pt=Object.assign({spinning:!0},C));const We=ie(ue,Z,`${H}-wrapper`,U==null?void 0:U.className,{[`${H}-wrapper-rtl`]:z==="rtl"},i,o,se),Ve=Object.assign(Object.assign({},U==null?void 0:U.style),s),Ze=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(j==null?void 0:j("Table"))||c.createElement(Vb,{componentName:"Table"}),dt=N?DLe:ALe,It={},Nt=c.useMemo(()=>{const{fontSize:ht,lineHeight:ct,padding:ot,paddingXS:et,paddingSM:vt}=K,rt=Math.floor(ht*ct);switch(Y){case"large":return ot*2+rt;case"small":return et*2+rt;default:return vt*2+rt}},[K,Y]);return N&&(It.listItemHeight=Nt),te(c.createElement("div",{ref:re,className:We,style:Ve},c.createElement(Fk,Object.assign({spinning:!1},pt),Je,c.createElement(dt,Object.assign({},It,F,{ref:ne,columns:$,direction:z,expandable:me,prefixCls:H,className:ie({[`${H}-middle`]:Y==="middle",[`${H}-small`]:Y==="small",[`${H}-bordered`]:u,[`${H}-empty`]:V.length===0},ue,Z,se),data:Ye,rowKey:ae,rowClassName:Xe,emptyText:Ze,internalHooks:Sg,internalRefs:Ee,transformColumns:Be,getContainerWidth:ge})),mt)))},ZLe=c.forwardRef(QLe),JLe=(e,t)=>{const n=c.useRef(0);return n.current+=1,c.createElement(ZLe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Ya=c.forwardRef(JLe);Ya.SELECTION_COLUMN=Fs;Ya.EXPAND_COLUMN=zs;Ya.SELECTION_ALL=AD;Ya.SELECTION_INVERT=DD;Ya.SELECTION_NONE=MD;Ya.Column=LMe;Ya.ColumnGroup=kMe;Ya.Summary=Kee;const eke=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},an(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},nP=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Ht(e,{tagFontSize:a,tagLineHeight:X(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},rP=e=>({defaultBg:new on(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Tte=sn("Tag",e=>{const t=nP(e);return eke(t)},rP);var tke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,l=tke(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=c.useContext(lt),p=S=>{o==null||o(!i),s==null||s(S)},f=u("tag",n),[m,g,h]=Tte(f),v=ie(f,`${f}-checkable`,{[`${f}-checkable-checked`]:i},d==null?void 0:d.className,a,g,h);return m(c.createElement("span",Object.assign({},l,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:v,onClick:p})))}),rke=e=>tX(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),ake=Wd(["Tag","preset"],e=>{const t=nP(e);return rke(t)},rP);function ike(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Ih=(e,t,n)=>{const r=ike(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},oke=Wd(["Tag","status"],e=>{const t=nP(e);return[Ih(t,"success","Success"),Ih(t,"processing","Info"),Ih(t,"error","Error"),Ih(t,"warning","Warning")]},rP);var ske=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:i,children:o,icon:s,color:l,onClose:u,bordered:d=!0,visible:p}=e,f=ske(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:g,tag:h}=c.useContext(lt),[v,S]=c.useState(!0),b=An(f,["closeIcon","closable"]);c.useEffect(()=>{p!==void 0&&S(p)},[p]);const E=ZQ(l),y=Bbe(l),C=E||y,T=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},h==null?void 0:h.style),i),x=m("tag",n),[R,w,I]=Tte(x),O=ie(x,h==null?void 0:h.className,{[`${x}-${l}`]:C,[`${x}-has-color`]:l&&!C,[`${x}-hidden`]:!v,[`${x}-rtl`]:g==="rtl",[`${x}-borderless`]:!d},r,a,w,I),k=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&S(!1)},[,P]=YL(xd(e),xd(h),{closable:!1,closeIconRender:L=>{const $=c.createElement("span",{className:`${x}-close-icon`,onClick:k},L);return FL(L,$,F=>({onClick:B=>{var z;(z=F==null?void 0:F.onClick)===null||z===void 0||z.call(F,B),k(B)},className:ie(F==null?void 0:F.className,`${x}-close-icon`)}))}}),M=typeof f.onClick=="function"||o&&o.type==="a",N=s||null,A=N?c.createElement(c.Fragment,null,N,o&&c.createElement("span",null,o)):o,D=c.createElement("span",Object.assign({},b,{ref:t,className:O,style:T}),A,P,E&&c.createElement(ake,{key:"preset",prefixCls:x}),y&&c.createElement(oke,{key:"status",prefixCls:x}));return R(M?c.createElement(Jm,{component:"Tag"},D):D)}),k_=lke;k_.CheckableTag=nke;const cke=e=>{const t=e!=null&&e.algorithm?um(e.algorithm):um(Km),n=Object.assign(Object.assign({},Cd),e==null?void 0:e.token);return yK(n,{override:e==null?void 0:e.token},t,ML)};function uke(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const dke=(e,t)=>{const n=t??Km(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),uke(t??e)),WK(r)),{controlHeight:a}),qK(Object.assign(Object.assign({},n),{controlHeight:a})))},Jo=(e,t)=>new on(e).setAlpha(t).toRgbString(),gu=(e,t)=>new on(e).lighten(t).toHexString(),pke=e=>{const t=xc(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},fke=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Jo(r,.85),colorTextSecondary:Jo(r,.65),colorTextTertiary:Jo(r,.45),colorTextQuaternary:Jo(r,.25),colorFill:Jo(r,.18),colorFillSecondary:Jo(r,.12),colorFillTertiary:Jo(r,.08),colorFillQuaternary:Jo(r,.04),colorBgElevated:gu(n,12),colorBgContainer:gu(n,8),colorBgLayout:gu(n,0),colorBgSpotlight:gu(n,26),colorBgBlur:Jo(r,.04),colorBorder:gu(n,26),colorBorderSecondary:gu(n,19)}},mke=(e,t)=>{const n=Object.keys(OL).map(a=>{const i=xc(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((o,s,l)=>(o[`${a}-${l+1}`]=i[l],o[`${a}${l+1}`]=i[l],o),{})}).reduce((a,i)=>(a=Object.assign(Object.assign({},a),i),a),{}),r=t??Km(e);return Object.assign(Object.assign(Object.assign({},r),n),VK(e,{generateColorPalettes:pke,generateNeutralColorPalettes:fke}))};function gke(){const[e,t,n]=ia();return{theme:e,token:t,hashId:n}}const ka={defaultSeed:fm.token,useToken:gke,defaultAlgorithm:Km,darkAlgorithm:mke,compactAlgorithm:dke,getDesignToken:cke,defaultConfig:fm,_internalContext:NL},hke=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},an(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${X(e.itemHeadSize)})`,borderInlineStart:`${X(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${X(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate, + &${t}-right, + &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${X(e.marginXXS)})`,width:`calc(50% - ${X(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${X(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, + ${t}-item-head, + ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${X(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${X(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending + ${t}-item-last + ${t}-item-tail`]:{display:"block",height:`calc(100% - ${X(e.margin)})`,borderInlineStart:`${X(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse + ${t}-item-last + ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${X(e.margin)})`,borderInlineStart:`${X(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${X(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${X(e.marginSM)})`,width:`calc(50% - ${X(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},vke=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3,dotBg:e.colorBgContainer,itemPaddingBottom:e.padding*1.25}),_ke=sn("Timeline",e=>{const t=Ht(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[hke(t)]},vke);var bke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,color:r="blue",dot:a,pending:i=!1,position:o,label:s,children:l}=e,u=bke(e,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:d}=c.useContext(lt),p=d("timeline",t),f=ie(`${p}-item`,{[`${p}-item-pending`]:i},n),m=/blue|red|green|gray/.test(r||"")?void 0:r,g=ie(`${p}-item-head`,{[`${p}-item-head-custom`]:!!a,[`${p}-item-head-${r}`]:!m});return c.createElement("li",Object.assign({},u,{className:f}),s&&c.createElement("div",{className:`${p}-item-label`},s),c.createElement("div",{className:`${p}-item-tail`}),c.createElement("div",{className:g,style:{borderColor:m,color:m}},a),c.createElement("div",{className:`${p}-item-content`},l))};var iU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,pending:r=!1,children:a,items:i,rootClassName:o,reverse:s=!1,direction:l,hashId:u,pendingDot:d,mode:p=""}=e,f=iU(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const m=(C,T)=>p==="alternate"?C==="right"?`${t}-item-right`:C==="left"?`${t}-item-left`:T%2===0?`${t}-item-left`:`${t}-item-right`:p==="left"?`${t}-item-left`:p==="right"?`${t}-item-right`:C==="right"?`${t}-item-right`:"",g=$e(i||[]),h=typeof r=="boolean"?null:r;r&&g.push({pending:!!r,dot:d||c.createElement(jo,null),children:h}),s&&g.reverse();const v=g.length,S=`${t}-item-last`,b=g.filter(C=>!!C).map((C,T)=>{var x;const R=T===v-2?S:"",w=T===v-1?S:"",{className:I}=C,O=iU(C,["className"]);return c.createElement(xte,Object.assign({},O,{className:ie([I,!s&&r?R:w,m((x=C==null?void 0:C.position)!==null&&x!==void 0?x:"",T)]),key:(C==null?void 0:C.key)||T}))}),E=g.some(C=>!!(C!=null&&C.label)),y=ie(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${p}`]:!!p&&!E,[`${t}-label`]:E,[`${t}-rtl`]:l==="rtl"},n,o,u);return c.createElement("ul",Object.assign({},f,{className:y}),b)};function Eke(e,t){return e&&Array.isArray(e)?e:_r(t).map(n=>{var r,a;return Object.assign({children:(a=(r=n==null?void 0:n.props)===null||r===void 0?void 0:r.children)!==null&&a!==void 0?a:""},n.props)})}var yke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,timeline:r}=c.useContext(lt),{prefixCls:a,children:i,items:o,className:s,style:l}=e,u=yke(e,["prefixCls","children","items","className","style"]),d=t("timeline",a),p=Hn(d),[f,m,g]=_ke(d,p),h=Eke(o,i);return f(c.createElement(Ske,Object.assign({},u,{className:ie(r==null?void 0:r.className,s,g,p),style:Object.assign(Object.assign({},r==null?void 0:r.style),l),prefixCls:d,direction:n,items:h,hashId:m})))};Rte.Item=xte;var Cke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=d=>{const{keyCode:p}=d;p===Fe.ENTER&&d.preventDefault()},r=d=>{const{keyCode:p}=d,{onClick:f}=e;p===Fe.ENTER&&f&&f()},{style:a,noStyle:i,disabled:o,tabIndex:s=0}=e,l=Cke(e,["style","noStyle","disabled","tabIndex"]);let u={};return i||(u=Object.assign({},Tke)),o&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),a),c.createElement("div",Object.assign({role:"button",tabIndex:s,ref:t},l,{onKeyDown:n,onKeyUp:r,style:u}))}),xke=function(e){var t=c.useRef({valueLabels:new Map});return c.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(i){var o,s=i.value,l=(o=i.label)!==null&&o!==void 0?o:n.get(s);return r.set(s,l),ee(ee({},i),{},{label:l})});return t.current.valueLabels=r,[a]},[e])},Rke=function(e,t,n,r){return c.useMemo(function(){var a=e.map(function(l){var u=l.value;return u}),i=t.map(function(l){var u=l.value;return u}),o=a.filter(function(l){return!r[l]});if(n){var s=hs(a,!0,r);a=s.checkedKeys,i=s.halfCheckedKeys}return[Array.from(new Set([].concat($e(o),$e(a)))),i]},[e,t,n,r])};function wke(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function Ike(e){var t=e||{},n=t.label,r=t.value,a=t.children,i=r||"value";return{_title:n?[n]:["title","label"],value:i,key:i,children:a||"children"}}function UD(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function Oke(e,t){var n=[];function r(a){a.forEach(function(i){var o=i[t.children];o&&(n.push(i[t.value]),r(o))})}return r(e),n}function oU(e){return e==null}const Nke=function(e,t){return c.useMemo(function(){var n=uS(e,{fieldNames:t,initWrapper:function(a){return ee(ee({},a),{},{valueEntities:new Map})},processEntity:function(a,i){var o=a.node[t.value];i.valueEntities.set(o,a)}});return n},[e,t])};var aP=function(){return null},Ake=["children","value"];function wte(e){return _r(e).map(function(t){if(!c.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,i=a.children,o=a.value,s=yt(a,Ake),l=ee({key:r,value:o},s),u=wte(i);return u.length&&(l.children=u),l}).filter(function(t){return t})}function jD(e){if(!e)return e;var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function Dke(e,t,n,r,a,i){var o=null,s=null;function l(){function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(m,g){var h="".concat(p,"-").concat(g),v=m[i.value],S=n.includes(v),b=u(m[i.children]||[],h,S),E=c.createElement(aP,m,b.map(function(C){return C.node}));if(t===v&&(o=E),S){var y={pos:h,node:E,children:b};return f||s.push(y),y}return null}).filter(function(m){return m})}s||(s=[],u(r),s.sort(function(d,p){var f=d.node.props.value,m=p.node.props.value,g=n.indexOf(f),h=n.indexOf(m);return g-h}))}Object.defineProperty(e,"triggerNode",{get:function(){return bn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return bn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),a?s:s.map(function(d){var p=d.node;return p})}})}const Mke=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,i=n.fieldNames,o=i.children;return c.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var l=t.toUpperCase();s=function(p,f){var m=f[r];return String(m).toUpperCase().includes(l)}}function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(f,m){var g=m[o],h=p||s(t,jD(m)),v=u(g||[],h);return(h||v.length)&&f.push(ee(ee({},m),{},W({isLeaf:void 0},o,v))),f},[])}return u(e)},[e,t,o,r,a])};function sU(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function Lke(e,t){var n=t.id,r=t.pId,a=t.rootPId,i={},o=[],s=e.map(function(l){var u=ee({},l),d=u[n];return i[d]=u,u.key=u.key||d,u});return s.forEach(function(l){var u=l[r],d=i[u];d&&(d.children=d.children||[],d.children.push(l)),(u===a||!d&&a===null)&&o.push(l)}),o}function kke(e,t,n){return c.useMemo(function(){return e?n?Lke(e,ee({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:wte(t)},[t,n,e])}var Ite=c.createContext(null),Ote=c.createContext(null),Pke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},$ke=function(t,n){var r=CQ(),a=r.prefixCls,i=r.multiple,o=r.searchValue,s=r.toggleOpen,l=r.open,u=r.notFoundContent,d=c.useContext(Ote),p=d.virtual,f=d.listHeight,m=d.listItemHeight,g=d.listItemScrollOffset,h=d.treeData,v=d.fieldNames,S=d.onSelect,b=d.dropdownMatchSelectWidth,E=d.treeExpandAction,y=d.treeTitleRender,C=d.onPopupScroll,T=c.useContext(Ite),x=T.checkable,R=T.checkedKeys,w=T.halfCheckedKeys,I=T.treeExpandedKeys,O=T.treeDefaultExpandAll,k=T.treeDefaultExpandedKeys,P=T.onTreeExpand,M=T.treeIcon,N=T.showTreeIcon,A=T.switcherIcon,D=T.treeLine,L=T.treeNodeFilterProp,$=T.loadData,F=T.treeLoadedKeys,B=T.treeMotion,z=T.onTreeLoad,U=T.keyEntities,j=c.useRef(),G=Il(function(){return h},[l,h],function(Re,Se){return Se[0]&&Re[1]!==Se[1]}),J=c.useState(null),Y=oe(J,2),Q=Y[0],V=Y[1],H=U[Q],q=c.useMemo(function(){return x?{checked:R,halfChecked:w}:null},[x,R,w]);c.useEffect(function(){if(l&&!i&&R.length){var Re;(Re=j.current)===null||Re===void 0||Re.scrollTo({key:R[0]}),V(R[0])}},[l]);var K=String(o).toLowerCase(),Z=function(Se){return K?String(Se[L]).toLowerCase().includes(K):!1},te=c.useState(k),se=oe(te,2),ue=se[0],me=se[1],de=c.useState(null),Te=oe(de,2),Ee=Te[0],ge=Te[1],re=c.useMemo(function(){return I?$e(I):o?Ee:ue},[ue,Ee,I,o]);c.useEffect(function(){o&&ge(Oke(h,v))},[o]);var ne=function(Se){me(Se),ge(Se),P&&P(Se)},ae=function(Se){Se.preventDefault()},le=function(Se,Pe){var fe=Pe.node;x&&UD(fe)||(S(fe.key,{selected:!R.includes(fe.key)}),i||s(!1))};if(c.useImperativeHandle(n,function(){var Re;return{scrollTo:(Re=j.current)===null||Re===void 0?void 0:Re.scrollTo,onKeyDown:function(Pe){var fe,_e=Pe.which;switch(_e){case Fe.UP:case Fe.DOWN:case Fe.LEFT:case Fe.RIGHT:(fe=j.current)===null||fe===void 0||fe.onKeyDown(Pe);break;case Fe.ENTER:{if(H){var Ae=(H==null?void 0:H.node)||{},ye=Ae.selectable,be=Ae.value;ye!==!1&&le(null,{node:{key:Q},selected:!R.includes(be)})}break}case Fe.ESC:s(!1)}},onKeyUp:function(){}}}),G.length===0)return c.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ae},u);var pe={fieldNames:v};return F&&(pe.loadedKeys=F),re&&(pe.expandedKeys=re),c.createElement("div",{onMouseDown:ae},H&&l&&c.createElement("span",{style:Pke,"aria-live":"assertive"},H.node.value),c.createElement(yS,ve({ref:j,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:G,height:f,itemHeight:m,itemScrollOffset:g,virtual:p!==!1&&b!==!1,multiple:i,icon:M,showIcon:N,switcherIcon:A,showLine:D,loadData:o?null:$,motion:B,activeKey:Q,checkable:x,checkStrictly:!0,checkedKeys:q,selectedKeys:x?[]:R,defaultExpandAll:O,titleRender:y},pe,{onActiveChange:V,onSelect:le,onCheck:le,onExpand:ne,onLoad:z,filterTreeNode:Z,expandAction:E,onScroll:C})))},Fke=c.forwardRef($ke),iP="SHOW_ALL",oP="SHOW_PARENT",CS="SHOW_CHILD";function lU(e,t,n,r){var a=new Set(e);return t===CS?e.filter(function(i){var o=n[i];return!(o&&o.children&&o.children.some(function(s){var l=s.node;return a.has(l[r.value])})&&o.children.every(function(s){var l=s.node;return UD(l)||a.has(l[r.value])}))}):t===oP?e.filter(function(i){var o=n[i],s=o?o.parent:null;return!(s&&!UD(s.node)&&a.has(s.key))}):e}var Bke=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function Uke(e){return!e||gt(e)!=="object"}var jke=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,i=e.value,o=e.defaultValue,s=e.onChange,l=e.onSelect,u=e.onDeselect,d=e.searchValue,p=e.inputValue,f=e.onSearch,m=e.autoClearSearchValue,g=m===void 0?!0:m,h=e.filterTreeNode,v=e.treeNodeFilterProp,S=v===void 0?"value":v,b=e.showCheckedStrategy,E=e.treeNodeLabelProp,y=e.multiple,C=e.treeCheckable,T=e.treeCheckStrictly,x=e.labelInValue,R=e.fieldNames,w=e.treeDataSimpleMode,I=e.treeData,O=e.children,k=e.loadData,P=e.treeLoadedKeys,M=e.onTreeLoad,N=e.treeDefaultExpandAll,A=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,L=e.onTreeExpand,$=e.treeExpandAction,F=e.virtual,B=e.listHeight,z=B===void 0?200:B,U=e.listItemHeight,j=U===void 0?20:U,G=e.listItemScrollOffset,J=G===void 0?0:G,Y=e.onDropdownVisibleChange,Q=e.dropdownMatchSelectWidth,V=Q===void 0?!0:Q,H=e.treeLine,q=e.treeIcon,K=e.showTreeIcon,Z=e.switcherIcon,te=e.treeMotion,se=e.treeTitleRender,ue=e.onPopupScroll,me=yt(e,Bke),de=kQ(n),Te=C&&!T,Ee=C||T,ge=T||x,re=Ee||y,ne=ln(o,{value:i}),ae=oe(ne,2),le=ae[0],pe=ae[1],Re=c.useMemo(function(){return C?b||CS:iP},[b,C]),Se=c.useMemo(function(){return Ike(R)},[JSON.stringify(R)]),Pe=ln("",{value:d!==void 0?d:p,postState:function(bt){return bt||""}}),fe=oe(Pe,2),_e=fe[0],Ae=fe[1],ye=function(bt){Ae(bt),f==null||f(bt)},be=kke(I,O,w),Ne=Nke(be,Se),we=Ne.keyEntities,xe=Ne.valueEntities,ke=c.useCallback(function(rt){var bt=[],Tt=[];return rt.forEach(function(tt){xe.has(tt)?Tt.push(tt):bt.push(tt)}),{missingRawValues:bt,existRawValues:Tt}},[xe]),at=Mke(be,_e,{fieldNames:Se,treeNodeFilterProp:S,filterTreeNode:h}),Me=c.useCallback(function(rt){if(rt){if(E)return rt[E];for(var bt=Se._title,Tt=0;Tt{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${X(e.paddingXS)} ${X(e.calc(e.paddingXS).div(2).equal())}`},fte(n,Ht(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},wk(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Hke(e,t,n){return sn("TreeSelect",r=>{const a=Ht(r,{treePrefixCls:t});return[zke(a)]},mte)(e,n)}var Gke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:i,bordered:o=!0,className:s,rootClassName:l,treeCheckable:u,multiple:d,listHeight:p=256,listItemHeight:f=26,placement:m,notFoundContent:g,switcherIcon:h,treeLine:v,getPopupContainer:S,popupClassName:b,dropdownClassName:E,treeIcon:y=!1,transitionName:C,choiceTransitionName:T="",status:x,treeExpandAction:R,builtinPlacements:w,dropdownMatchSelectWidth:I,popupMatchSelectWidth:O,allowClear:k,variant:P,dropdownStyle:M,tagRender:N}=e,A=Gke(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:D,getPrefixCls:L,renderEmpty:$,direction:F,virtual:B,popupMatchSelectWidth:z,popupOverflow:U}=c.useContext(lt),j=L(),G=L("select",r),J=L("select-tree",r),Y=L("tree-select",r),{compactSize:Q,compactItemClassnames:V}=Is(G,F),H=Hn(G),q=Hn(Y),[K,Z,te]=GQ(G,H),[se]=Hke(Y,J,q),[ue,me]=Uc("treeSelect",P,o),de=ie(b||E,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:F==="rtl"},l,te,H,q,Z),Te=!!(u||d),Ee=VQ(e.suffixIcon,e.showArrow),ge=(n=O??I)!==null&&n!==void 0?n:z,{status:re,hasFeedback:ne,isFormItemInput:ae,feedbackIcon:le}=c.useContext(Gr),pe=Al(re,x),{suffixIcon:Re,removeIcon:Se,clearIcon:Pe}=tk(Object.assign(Object.assign({},A),{multiple:Te,showSuffixIcon:Ee,hasFeedback:ne,feedbackIcon:le,prefixCls:G,componentName:"TreeSelect"})),fe=k===!0?{clearIcon:Pe}:k;let _e;g!==void 0?_e=g:_e=($==null?void 0:$("Select"))||c.createElement(Vb,{componentName:"Select"});const Ae=An(A,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),ye=c.useMemo(()=>m!==void 0?m:F==="rtl"?"bottomRight":"bottomLeft",[m,F]),be=xr(Ce=>{var De;return(De=a??Q)!==null&&De!==void 0?De:Ce}),Ne=c.useContext(ea),we=i??Ne,xe=ie(!r&&Y,{[`${G}-lg`]:be==="large",[`${G}-sm`]:be==="small",[`${G}-rtl`]:F==="rtl",[`${G}-${ue}`]:me,[`${G}-in-form-item`]:ae},Ts(G,pe,ne),V,s,l,te,H,q,Z),ke=Ce=>c.createElement(gte,{prefixCls:J,switcherIcon:h,treeNodeProps:Ce,showLine:v}),[at]=So("SelectLike",M==null?void 0:M.zIndex),Me=c.createElement(Eg,Object.assign({virtual:B,disabled:we},Ae,{dropdownMatchSelectWidth:ge,builtinPlacements:BQ(w,U),ref:t,prefixCls:G,className:xe,listHeight:p,listItemHeight:f,treeCheckable:u&&c.createElement("span",{className:`${G}-tree-checkbox-inner`}),treeLine:!!v,suffixIcon:Re,multiple:Te,placement:ye,removeIcon:Se,allowClear:fe,switcherIcon:ke,showTreeIcon:y,notFoundContent:_e,getPopupContainer:S||D,treeMotion:null,dropdownClassName:de,dropdownStyle:Object.assign(Object.assign({},M),{zIndex:at}),choiceTransitionName:ya(j,"",T),transitionName:ya(j,"slide-up",C),treeExpandAction:R,tagRender:Te?N:void 0}));return K(se(Me))},qke=c.forwardRef(Vke),Ml=qke,Wke=og(Ml);Ml.TreeNode=aP;Ml.SHOW_ALL=iP;Ml.SHOW_PARENT=oP;Ml.SHOW_CHILD=CS;Ml._InternalPanelDoNotUseOrYouWillBeFired=Wke;const Yke=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:i}=r;return{marginBottom:a,color:n,fontWeight:i,fontSize:e,lineHeight:t}},Kke=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` h${r}&, div&-h${r}, div&-h${r} > textarea, h${r} - `]=Mke(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},kke=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},DL(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Pke=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:p_[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),$ke=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${Q(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Fke=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Bke=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Uke=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},Lke(e)),{[` + `]=Yke(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},Xke=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},LL(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Qke=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:h_[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Zke=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${X(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Jke=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),ePe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),tPe=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},Kke(e)),{[` & + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t} - `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),Pke(e)),kke(e)),{[` + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),Qke(e)),Xke(e)),{[` ${t}-expand, ${t}-collapse, ${t}-edit, ${t}-copy - `]:Object.assign(Object.assign({},DL(e)),{marginInlineStart:e.marginXXS})}),$ke(e)),Fke(e)),Bke()),{"&-rtl":{direction:"rtl"}})}},jke=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),wte=cn("Typography",e=>[Uke(e)],jke),zke=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:i,maxLength:o,autoSize:s=!0,value:l,onSave:u,onCancel:d,onEnd:p,component:f,enterIcon:m=c.createElement(hNe,null)}=e,g=c.useRef(null),h=c.useRef(!1),v=c.useRef(),[S,_]=c.useState(l);c.useEffect(()=>{_(l)},[l]),c.useEffect(()=>{var M;if(!((M=g.current)===null||M===void 0)&&M.resizableTextArea){const{textArea:N}=g.current.resizableTextArea;N.focus();const{length:A}=N.value;N.setSelectionRange(A,A)}},[]);const E=M=>{let{target:N}=M;_(N.value.replace(/[\n\r]/g,""))},y=()=>{h.current=!0},C=()=>{h.current=!1},T=M=>{let{keyCode:N}=M;h.current||(v.current=N)},x=()=>{u(S.trim())},R=M=>{let{keyCode:N,ctrlKey:A,altKey:D,metaKey:L,shiftKey:$}=M;v.current!==N||h.current||A||D||L||$||(N===Fe.ENTER?(x(),p==null||p()):N===Fe.ESC&&d())},w=()=>{x()},[I,O,k]=wte(t),P=ie(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${f}`]:!!f},r,O,k);return I(c.createElement("div",{className:P,style:a},c.createElement(BJ,{ref:g,maxLength:o,value:S,onChange:E,onKeyDown:T,onKeyUp:R,onCompositionStart:y,onCompositionEnd:C,onBlur:w,"aria-label":n,rows:1,autoSize:s}),m!==null?Tr(m,{className:`${t}-edit-content-confirm`}):null))};var Hke=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var p=sU[t.format]||sU.default;window.clipboardData.setData(p,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),o.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),r=qke("message"in t?t.message:Vke),window.prompt(r,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),s&&document.body.removeChild(s),a()}return l}var Yke=Wke;const Kke=xa(Yke);var Xke=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})};const Qke=e=>{let{copyConfig:t,children:n}=e;const[r,a]=c.useState(!1),[i,o]=c.useState(!1),s=c.useRef(null),l=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),c.useEffect(()=>l,[]);const d=Wt(p=>Xke(void 0,void 0,void 0,function*(){var f;p==null||p.preventDefault(),p==null||p.stopPropagation(),o(!0);try{const m=typeof t.text=="function"?yield t.text():t.text;Kke(m||String(n)||"",u),o(!1),a(!0),l(),s.current=setTimeout(()=>{a(!1)},3e3),(f=t.onCopy)===null||f===void 0||f.call(t,p)}catch(m){throw o(!1),m}}));return{copied:r,copyLoading:i,onClick:d}};function My(e,t){return c.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const Zke=e=>{const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current},Jke=(e,t,n)=>c.useMemo(()=>e===!0?{title:t??n}:c.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var ePe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:i,setContentRef:o,children:s,direction:l,style:u}=e,d=ePe(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:f,typography:m}=c.useContext(lt),g=l??f,h=o?aa(t,o):t,v=p("typography",n),[S,_,E]=wte(v),y=ie(v,m==null?void 0:m.className,{[`${v}-rtl`]:g==="rtl"},a,i,_,E),C=Object.assign(Object.assign({},m==null?void 0:m.style),u);return S(c.createElement(r,Object.assign({className:y,style:C,ref:h},d),s))});function lU(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Ly(e,t,n){return e===!0||e===void 0?t:e||n&&t}function tPe(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const iP=e=>["string","number"].includes(typeof e),nPe=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:i,icon:o,tabIndex:s,onCopy:l,loading:u}=e;const d=lU(i),p=lU(o),{copied:f,copy:m}=r??{},g=n?f:m,h=Ly(d[n?1:0],g),v=typeof h=="string"?h:g;return c.createElement(Jt,{title:h},c.createElement($D,{className:ie(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:l,"aria-label":v,tabIndex:s},n?Ly(p[1],c.createElement(zb,null),!0):Ly(p[0],u?c.createElement(Ss,null):c.createElement(Lee,null),!0)))},Rh=c.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=c.useRef(null);return c.useImperativeHandle(t,()=>({isExceed:()=>{const i=a.current;return i.scrollHeight>i.clientHeight},getHeight:()=>a.current.clientHeight})),c.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}),rPe=e=>e.reduce((t,n)=>t+(iP(n)?String(n).length:1),0);function cU(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=l}return e}const ky=0,Py=1,$y=2,Fy=3,uU=4,wh={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function aPe(e){const{enableMeasure:t,width:n,text:r,children:a,rows:i,expanded:o,miscDeps:s,onEllipsis:l}=e,u=c.useMemo(()=>br(r),[r]),d=c.useMemo(()=>rPe(u),[r]),p=c.useMemo(()=>a(u,!1),[r]),[f,m]=c.useState(null),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=c.useRef(null),_=c.useRef(null),[E,y]=c.useState(!1),[C,T]=c.useState(ky),[x,R]=c.useState(0),[w,I]=c.useState(null);Qt(()=>{T(t&&n&&d?Py:ky)},[n,r,i,t,u]),Qt(()=>{var M,N,A,D;if(C===Py){T($y);const L=h.current&&getComputedStyle(h.current).whiteSpace;I(L)}else if(C===$y){const L=!!(!((M=v.current)===null||M===void 0)&&M.isExceed());T(L?Fy:uU),m(L?[0,d]:null),y(L);const $=((N=v.current)===null||N===void 0?void 0:N.getHeight())||0,F=i===1?0:((A=S.current)===null||A===void 0?void 0:A.getHeight())||0,B=((D=_.current)===null||D===void 0?void 0:D.getHeight())||0,z=Math.max($,F+B);R(z+1),l(L)}},[C]);const O=f?Math.ceil((f[0]+f[1])/2):0;Qt(()=>{var M;const[N,A]=f||[0,0];if(N!==A){const L=(((M=g.current)===null||M===void 0?void 0:M.getHeight())||0)>x;let $=O;A-N===1&&($=L?N:A),m(L?[N,$]:[$,A])}},[f,O]);const k=c.useMemo(()=>{if(!t)return a(u,!1);if(C!==Fy||!f||f[0]!==f[1]){const M=a(u,!1);return[uU,ky].includes(C)?M:c.createElement("span",{style:Object.assign(Object.assign({},wh),{WebkitLineClamp:i})},M)}return a(o?u:cU(u,f[0]),E)},[o,C,f,u].concat($e(s))),P={width:n,margin:0,padding:0,whiteSpace:w==="nowrap"?"normal":"inherit"};return c.createElement(c.Fragment,null,k,C===$y&&c.createElement(c.Fragment,null,c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:i}),ref:v},p),c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:i-1}),ref:S},p),c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:1}),ref:_},a([],!0))),C===Fy&&f&&f[0]!==f[1]&&c.createElement(Rh,{style:Object.assign(Object.assign({},P),{top:400}),ref:g},a(cU(u,O),!0)),C===Py&&c.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}const iPe=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:c.createElement(Jt,Object.assign({open:n?void 0:!1},a),r)};var oPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,style:i,type:o,disabled:s,children:l,ellipsis:u,editable:d,copyable:p,component:f,title:m}=e,g=oPe(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:h,direction:v}=c.useContext(lt),[S]=Go("Text"),_=c.useRef(null),E=c.useRef(null),y=h("typography",r),C=An(g,["mark","code","delete","underline","strong","keyboard","italic"]),[T,x]=My(d),[R,w]=ln(!1,{value:x.editing}),{triggerType:I=["icon"]}=x,O=Ie=>{var xe;Ie&&((xe=x.onStart)===null||xe===void 0||xe.call(x)),w(Ie)},k=Zke(R);Qt(()=>{var Ie;!R&&k&&((Ie=E.current)===null||Ie===void 0||Ie.focus())},[R]);const P=Ie=>{Ie==null||Ie.preventDefault(),O(!0)},M=Ie=>{var xe;(xe=x.onChange)===null||xe===void 0||xe.call(x,Ie),O(!1)},N=()=>{var Ie;(Ie=x.onCancel)===null||Ie===void 0||Ie.call(x),O(!1)},[A,D]=My(p),{copied:L,copyLoading:$,onClick:F}=Qke({copyConfig:D,children:l}),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,X]=c.useState(!1),[V,H]=c.useState(!0),[q,K]=My(u,{expandable:!1,symbol:Ie=>Ie?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Z,te]=ln(K.defaultExpanded||!1,{value:K.expanded}),se=q&&(!Z||K.expandable==="collapsible"),{rows:ue=1}=K,me=c.useMemo(()=>se&&(K.suffix!==void 0||K.onEllipsis||K.expandable||T||A),[se,K,T,A]);Qt(()=>{q&&!me&&(z(tD("webkitLineClamp")),j(tD("textOverflow")))},[me,q]);const[de,Te]=c.useState(se),Ee=c.useMemo(()=>me?!1:ue===1?U:B,[me,U,B]);Qt(()=>{Te(Ee&&se)},[Ee,se]);const ge=se&&(de?Y:G),re=se&&ue===1&&de,ne=se&&ue>1&&de,ae=(Ie,xe)=>{var ke;te(xe.expanded),(ke=K.onExpand)===null||ke===void 0||ke.call(K,Ie,xe)},[le,pe]=c.useState(0),Re=Ie=>{let{offsetWidth:xe}=Ie;pe(xe)},Se=Ie=>{var xe;J(Ie),G!==Ie&&((xe=K.onEllipsis)===null||xe===void 0||xe.call(K,Ie))};c.useEffect(()=>{const Ie=_.current;if(q&&de&&Ie){const xe=tPe(Ie);Y!==xe&&X(xe)}},[q,de,l,ne,V,le]),c.useEffect(()=>{const Ie=_.current;if(typeof IntersectionObserver>"u"||!Ie||!de||!se)return;const xe=new IntersectionObserver(()=>{H(!!Ie.offsetParent)});return xe.observe(Ie),()=>{xe.disconnect()}},[de,se]);const Pe=Jke(K.tooltip,x.text,l),fe=c.useMemo(()=>{if(!(!q||de))return[x.text,l,m,Pe.title].find(iP)},[q,de,m,Pe.title,ge]);if(R)return c.createElement(zke,{value:(n=x.text)!==null&&n!==void 0?n:typeof l=="string"?l:"",onSave:M,onCancel:N,onEnd:x.onEnd,prefixCls:y,className:a,style:i,direction:v,component:f,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});const ve=()=>{const{expandable:Ie,symbol:xe}=K;return Ie?c.createElement($D,{key:"expand",className:`${y}-${Z?"collapse":"expand"}`,onClick:ke=>ae(ke,{expanded:!Z}),"aria-label":Z?S.collapse:S==null?void 0:S.expand},typeof xe=="function"?xe(Z):xe):null},Ae=()=>{if(!T)return;const{icon:Ie,tooltip:xe,tabIndex:ke}=x,rt=br(xe)[0]||(S==null?void 0:S.edit),Me=typeof rt=="string"?rt:"";return I.includes("icon")?c.createElement(Jt,{key:"edit",title:xe===!1?"":rt},c.createElement($D,{ref:E,className:`${y}-edit`,onClick:P,"aria-label":Me,tabIndex:ke},Ie||c.createElement(Sm,{role:"button"}))):null},ye=()=>A?c.createElement(nPe,Object.assign({key:"copy"},D,{prefixCls:y,copied:L,locale:S,onCopy:F,loading:$,iconOnly:l==null})):null,be=Ie=>[Ie&&ve(),Ae(),ye()],Ne=Ie=>[Ie&&!Z&&c.createElement("span",{"aria-hidden":!0,key:"ellipsis"},lPe),K.suffix,be(Ie)];return c.createElement(da,{onResize:Re,disabled:!se},Ie=>c.createElement(iPe,{tooltipProps:Pe,enableEllipsis:se,isEllipsis:ge},c.createElement(Ite,Object.assign({className:ie({[`${y}-${o}`]:o,[`${y}-disabled`]:s,[`${y}-ellipsis`]:q,[`${y}-ellipsis-single-line`]:re,[`${y}-ellipsis-multiple-line`]:ne},a),prefixCls:r,style:Object.assign(Object.assign({},i),{WebkitLineClamp:ne?ue:void 0}),component:f,ref:aa(Ie,_,t),direction:v,onClick:I.includes("text")?P:void 0,"aria-label":fe==null?void 0:fe.toString(),title:m},C),c.createElement(aPe,{enableMeasure:se&&!de,text:l,rows:ue,width:le,onEllipsis:Se,expanded:Z,miscDeps:[L,Z,$,T,A]},(xe,ke)=>sPe(e,c.createElement(c.Fragment,null,xe.length>0&&ke&&!Z&&fe?c.createElement("span",{key:"show-content","aria-hidden":!0},xe):xe,Ne(ke)))))))});var cPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=cPe(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,c.createElement(ES,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),dPe=c.forwardRef((e,t)=>c.createElement(ES,Object.assign({ref:t},e,{component:"div"})));var pPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=pPe(e,["ellipsis"]);const a=c.useMemo(()=>n&&typeof n=="object"?An(n,["expandable","rows"]):n,[n]);return c.createElement(ES,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},mPe=c.forwardRef(fPe);var gPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=gPe(e,["level"]),a=hPe.includes(n)?`h${n}`:"h1";return c.createElement(ES,Object.assign({ref:t},r,{component:a}))}),wn=Ite;wn.Text=mPe;wn.Link=uPe;wn.Title=vPe;wn.Paragraph=dPe;const By=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return n.some(function(o){var s=o.trim();if(/^\*(\/\*)?$/.test(o))return!0;if(s.charAt(0)==="."){var l=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(p){return l.endsWith(p)})}return/\/\*$/.test(s)?i===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(bn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function _Pe(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function dU(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function bPe(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(i){i.total>0&&(i.percent=i.loaded/i.total*100),e.onProgress(i)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var i=e.data[a];if(Array.isArray(i)){i.forEach(function(o){n.append("".concat(a,"[]"),o)});return}n.append(a,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(i){e.onError(i)},t.onload=function(){return t.status<200||t.status>=300?e.onError(_Pe(e,t),dU(t)):e.onSuccess(dU(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var SPe=function(){var e=ci(zn().mark(function t(n,r){var a,i,o,s,l,u,d,p;return zn().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:u=function(){return u=ci(zn().mark(function h(v){return zn().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.abrupt("return",new Promise(function(E){v.file(function(y){r(y)?(v.fullPath&&!y.webkitRelativePath&&(Object.defineProperties(y,{webkitRelativePath:{writable:!0}}),y.webkitRelativePath=v.fullPath.replace(/^\//,""),Object.defineProperties(y,{webkitRelativePath:{writable:!1}})),E(y)):E(null)})}));case 1:case"end":return _.stop()}},h)})),u.apply(this,arguments)},l=function(h){return u.apply(this,arguments)},s=function(){return s=ci(zn().mark(function h(v){var S,_,E,y,C;return zn().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:S=v.createReader(),_=[];case 2:return x.next=5,new Promise(function(R){S.readEntries(R,function(){return R([])})});case 5:if(E=x.sent,y=E.length,y){x.next=9;break}return x.abrupt("break",12);case 9:for(C=0;C{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${Q(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${Q(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + `]:Object.assign(Object.assign({},LL(e)),{marginInlineStart:e.marginXXS})}),Zke(e)),Jke(e)),ePe()),{"&-rtl":{direction:"rtl"}})}},nPe=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Nte=sn("Typography",e=>[tPe(e)],nPe),rPe=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:i,maxLength:o,autoSize:s=!0,value:l,onSave:u,onCancel:d,onEnd:p,component:f,enterIcon:m=c.createElement(_1e,null)}=e,g=c.useRef(null),h=c.useRef(!1),v=c.useRef(),[S,b]=c.useState(l);c.useEffect(()=>{b(l)},[l]),c.useEffect(()=>{var M;if(!((M=g.current)===null||M===void 0)&&M.resizableTextArea){const{textArea:N}=g.current.resizableTextArea;N.focus();const{length:A}=N.value;N.setSelectionRange(A,A)}},[]);const E=M=>{let{target:N}=M;b(N.value.replace(/[\n\r]/g,""))},y=()=>{h.current=!0},C=()=>{h.current=!1},T=M=>{let{keyCode:N}=M;h.current||(v.current=N)},x=()=>{u(S.trim())},R=M=>{let{keyCode:N,ctrlKey:A,altKey:D,metaKey:L,shiftKey:$}=M;v.current!==N||h.current||A||D||L||$||(N===Fe.ENTER?(x(),p==null||p()):N===Fe.ESC&&d())},w=()=>{x()},[I,O,k]=Nte(t),P=ie(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${f}`]:!!f},r,O,k);return I(c.createElement("div",{className:P,style:a},c.createElement(UJ,{ref:g,maxLength:o,value:S,onChange:E,onKeyDown:T,onKeyUp:R,onCompositionStart:y,onCompositionEnd:C,onBlur:w,"aria-label":n,rows:1,autoSize:s}),m!==null?Tr(m,{className:`${t}-edit-content-confirm`}):null))};var aPe=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var p=cU[t.format]||cU.default;window.clipboardData.setData(p,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),o.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),r=sPe("message"in t?t.message:oPe),window.prompt(r,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),s&&document.body.removeChild(s),a()}return l}var cPe=lPe;const uPe=xa(cPe);var dPe=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})};const pPe=e=>{let{copyConfig:t,children:n}=e;const[r,a]=c.useState(!1),[i,o]=c.useState(!1),s=c.useRef(null),l=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),c.useEffect(()=>l,[]);const d=Wt(p=>dPe(void 0,void 0,void 0,function*(){var f;p==null||p.preventDefault(),p==null||p.stopPropagation(),o(!0);try{const m=typeof t.text=="function"?yield t.text():t.text;uPe(m||String(n)||"",u),o(!1),a(!0),l(),s.current=setTimeout(()=>{a(!1)},3e3),(f=t.onCopy)===null||f===void 0||f.call(t,p)}catch(m){throw o(!1),m}}));return{copied:r,copyLoading:i,onClick:d}};function ky(e,t){return c.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const fPe=e=>{const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current},mPe=(e,t,n)=>c.useMemo(()=>e===!0?{title:t??n}:c.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var gPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:i,setContentRef:o,children:s,direction:l,style:u}=e,d=gPe(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:f,typography:m}=c.useContext(lt),g=l??f,h=o?aa(t,o):t,v=p("typography",n),[S,b,E]=Nte(v),y=ie(v,m==null?void 0:m.className,{[`${v}-rtl`]:g==="rtl"},a,i,b,E),C=Object.assign(Object.assign({},m==null?void 0:m.style),u);return S(c.createElement(r,Object.assign({className:y,style:C,ref:h},d),s))});function uU(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Py(e,t,n){return e===!0||e===void 0?t:e||n&&t}function hPe(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const sP=e=>["string","number"].includes(typeof e),vPe=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:i,icon:o,tabIndex:s,onCopy:l,loading:u}=e;const d=uU(i),p=uU(o),{copied:f,copy:m}=r??{},g=n?f:m,h=Py(d[n?1:0],g),v=typeof h=="string"?h:g;return c.createElement(Jt,{title:h},c.createElement(BD,{className:ie(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:l,"aria-label":v,tabIndex:s},n?Py(p[1],c.createElement(qb,null),!0):Py(p[0],u?c.createElement(jo,null):c.createElement(kee,null),!0)))},Oh=c.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=c.useRef(null);return c.useImperativeHandle(t,()=>({isExceed:()=>{const i=a.current;return i.scrollHeight>i.clientHeight},getHeight:()=>a.current.clientHeight})),c.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}),_Pe=e=>e.reduce((t,n)=>t+(sP(n)?String(n).length:1),0);function dU(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=l}return e}const $y=0,Fy=1,By=2,Uy=3,pU=4,Nh={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function bPe(e){const{enableMeasure:t,width:n,text:r,children:a,rows:i,expanded:o,miscDeps:s,onEllipsis:l}=e,u=c.useMemo(()=>_r(r),[r]),d=c.useMemo(()=>_Pe(u),[r]),p=c.useMemo(()=>a(u,!1),[r]),[f,m]=c.useState(null),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=c.useRef(null),b=c.useRef(null),[E,y]=c.useState(!1),[C,T]=c.useState($y),[x,R]=c.useState(0),[w,I]=c.useState(null);Qt(()=>{T(t&&n&&d?Fy:$y)},[n,r,i,t,u]),Qt(()=>{var M,N,A,D;if(C===Fy){T(By);const L=h.current&&getComputedStyle(h.current).whiteSpace;I(L)}else if(C===By){const L=!!(!((M=v.current)===null||M===void 0)&&M.isExceed());T(L?Uy:pU),m(L?[0,d]:null),y(L);const $=((N=v.current)===null||N===void 0?void 0:N.getHeight())||0,F=i===1?0:((A=S.current)===null||A===void 0?void 0:A.getHeight())||0,B=((D=b.current)===null||D===void 0?void 0:D.getHeight())||0,z=Math.max($,F+B);R(z+1),l(L)}},[C]);const O=f?Math.ceil((f[0]+f[1])/2):0;Qt(()=>{var M;const[N,A]=f||[0,0];if(N!==A){const L=(((M=g.current)===null||M===void 0?void 0:M.getHeight())||0)>x;let $=O;A-N===1&&($=L?N:A),m(L?[N,$]:[$,A])}},[f,O]);const k=c.useMemo(()=>{if(!t)return a(u,!1);if(C!==Uy||!f||f[0]!==f[1]){const M=a(u,!1);return[pU,$y].includes(C)?M:c.createElement("span",{style:Object.assign(Object.assign({},Nh),{WebkitLineClamp:i})},M)}return a(o?u:dU(u,f[0]),E)},[o,C,f,u].concat($e(s))),P={width:n,margin:0,padding:0,whiteSpace:w==="nowrap"?"normal":"inherit"};return c.createElement(c.Fragment,null,k,C===By&&c.createElement(c.Fragment,null,c.createElement(Oh,{style:Object.assign(Object.assign(Object.assign({},P),Nh),{WebkitLineClamp:i}),ref:v},p),c.createElement(Oh,{style:Object.assign(Object.assign(Object.assign({},P),Nh),{WebkitLineClamp:i-1}),ref:S},p),c.createElement(Oh,{style:Object.assign(Object.assign(Object.assign({},P),Nh),{WebkitLineClamp:1}),ref:b},a([],!0))),C===Uy&&f&&f[0]!==f[1]&&c.createElement(Oh,{style:Object.assign(Object.assign({},P),{top:400}),ref:g},a(dU(u,O),!0)),C===Fy&&c.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}const SPe=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:c.createElement(Jt,Object.assign({open:n?void 0:!1},a),r)};var EPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,style:i,type:o,disabled:s,children:l,ellipsis:u,editable:d,copyable:p,component:f,title:m}=e,g=EPe(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:h,direction:v}=c.useContext(lt),[S]=qo("Text"),b=c.useRef(null),E=c.useRef(null),y=h("typography",r),C=An(g,["mark","code","delete","underline","strong","keyboard","italic"]),[T,x]=ky(d),[R,w]=ln(!1,{value:x.editing}),{triggerType:I=["icon"]}=x,O=we=>{var xe;we&&((xe=x.onStart)===null||xe===void 0||xe.call(x)),w(we)},k=fPe(R);Qt(()=>{var we;!R&&k&&((we=E.current)===null||we===void 0||we.focus())},[R]);const P=we=>{we==null||we.preventDefault(),O(!0)},M=we=>{var xe;(xe=x.onChange)===null||xe===void 0||xe.call(x,we),O(!1)},N=()=>{var we;(we=x.onCancel)===null||we===void 0||we.call(x),O(!1)},[A,D]=ky(p),{copied:L,copyLoading:$,onClick:F}=pPe({copyConfig:D,children:l}),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,Q]=c.useState(!1),[V,H]=c.useState(!0),[q,K]=ky(u,{expandable:!1,symbol:we=>we?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Z,te]=ln(K.defaultExpanded||!1,{value:K.expanded}),se=q&&(!Z||K.expandable==="collapsible"),{rows:ue=1}=K,me=c.useMemo(()=>se&&(K.suffix!==void 0||K.onEllipsis||K.expandable||T||A),[se,K,T,A]);Qt(()=>{q&&!me&&(z(nD("webkitLineClamp")),j(nD("textOverflow")))},[me,q]);const[de,Te]=c.useState(se),Ee=c.useMemo(()=>me?!1:ue===1?U:B,[me,U,B]);Qt(()=>{Te(Ee&&se)},[Ee,se]);const ge=se&&(de?Y:G),re=se&&ue===1&&de,ne=se&&ue>1&&de,ae=(we,xe)=>{var ke;te(xe.expanded),(ke=K.onExpand)===null||ke===void 0||ke.call(K,we,xe)},[le,pe]=c.useState(0),Re=we=>{let{offsetWidth:xe}=we;pe(xe)},Se=we=>{var xe;J(we),G!==we&&((xe=K.onEllipsis)===null||xe===void 0||xe.call(K,we))};c.useEffect(()=>{const we=b.current;if(q&&de&&we){const xe=hPe(we);Y!==xe&&Q(xe)}},[q,de,l,ne,V,le]),c.useEffect(()=>{const we=b.current;if(typeof IntersectionObserver>"u"||!we||!de||!se)return;const xe=new IntersectionObserver(()=>{H(!!we.offsetParent)});return xe.observe(we),()=>{xe.disconnect()}},[de,se]);const Pe=mPe(K.tooltip,x.text,l),fe=c.useMemo(()=>{if(!(!q||de))return[x.text,l,m,Pe.title].find(sP)},[q,de,m,Pe.title,ge]);if(R)return c.createElement(rPe,{value:(n=x.text)!==null&&n!==void 0?n:typeof l=="string"?l:"",onSave:M,onCancel:N,onEnd:x.onEnd,prefixCls:y,className:a,style:i,direction:v,component:f,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});const _e=()=>{const{expandable:we,symbol:xe}=K;return we?c.createElement(BD,{key:"expand",className:`${y}-${Z?"collapse":"expand"}`,onClick:ke=>ae(ke,{expanded:!Z}),"aria-label":Z?S.collapse:S==null?void 0:S.expand},typeof xe=="function"?xe(Z):xe):null},Ae=()=>{if(!T)return;const{icon:we,tooltip:xe,tabIndex:ke}=x,at=_r(xe)[0]||(S==null?void 0:S.edit),Me=typeof at=="string"?at:"";return I.includes("icon")?c.createElement(Jt,{key:"edit",title:xe===!1?"":at},c.createElement(BD,{ref:E,className:`${y}-edit`,onClick:P,"aria-label":Me,tabIndex:ke},we||c.createElement(ym,{role:"button"}))):null},ye=()=>A?c.createElement(vPe,Object.assign({key:"copy"},D,{prefixCls:y,copied:L,locale:S,onCopy:F,loading:$,iconOnly:l==null})):null,be=we=>[we&&_e(),Ae(),ye()],Ne=we=>[we&&!Z&&c.createElement("span",{"aria-hidden":!0,key:"ellipsis"},CPe),K.suffix,be(we)];return c.createElement(da,{onResize:Re,disabled:!se},we=>c.createElement(SPe,{tooltipProps:Pe,enableEllipsis:se,isEllipsis:ge},c.createElement(Ate,Object.assign({className:ie({[`${y}-${o}`]:o,[`${y}-disabled`]:s,[`${y}-ellipsis`]:q,[`${y}-ellipsis-single-line`]:re,[`${y}-ellipsis-multiple-line`]:ne},a),prefixCls:r,style:Object.assign(Object.assign({},i),{WebkitLineClamp:ne?ue:void 0}),component:f,ref:aa(we,b,t),direction:v,onClick:I.includes("text")?P:void 0,"aria-label":fe==null?void 0:fe.toString(),title:m},C),c.createElement(bPe,{enableMeasure:se&&!de,text:l,rows:ue,width:le,onEllipsis:Se,expanded:Z,miscDeps:[L,Z,$,T,A]},(xe,ke)=>yPe(e,c.createElement(c.Fragment,null,xe.length>0&&ke&&!Z&&fe?c.createElement("span",{key:"show-content","aria-hidden":!0},xe):xe,Ne(ke)))))))});var TPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=TPe(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,c.createElement(TS,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),RPe=c.forwardRef((e,t)=>c.createElement(TS,Object.assign({ref:t},e,{component:"div"})));var wPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=wPe(e,["ellipsis"]);const a=c.useMemo(()=>n&&typeof n=="object"?An(n,["expandable","rows"]):n,[n]);return c.createElement(TS,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},OPe=c.forwardRef(IPe);var NPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=NPe(e,["level"]),a=APe.includes(n)?`h${n}`:"h1";return c.createElement(TS,Object.assign({ref:t},r,{component:a}))}),Tn=Ate;Tn.Text=OPe;Tn.Link=xPe;Tn.Title=DPe;Tn.Paragraph=RPe;const jy=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return n.some(function(o){var s=o.trim();if(/^\*(\/\*)?$/.test(o))return!0;if(s.charAt(0)==="."){var l=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(p){return l.endsWith(p)})}return/\/\*$/.test(s)?i===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(bn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function MPe(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function fU(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function LPe(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(i){i.total>0&&(i.percent=i.loaded/i.total*100),e.onProgress(i)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var i=e.data[a];if(Array.isArray(i)){i.forEach(function(o){n.append("".concat(a,"[]"),o)});return}n.append(a,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(i){e.onError(i)},t.onload=function(){return t.status<200||t.status>=300?e.onError(MPe(e,t),fU(t)):e.onSuccess(fU(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var kPe=function(){var e=ci(zn().mark(function t(n,r){var a,i,o,s,l,u,d,p;return zn().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:u=function(){return u=ci(zn().mark(function h(v){return zn().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",new Promise(function(E){v.file(function(y){r(y)?(v.fullPath&&!y.webkitRelativePath&&(Object.defineProperties(y,{webkitRelativePath:{writable:!0}}),y.webkitRelativePath=v.fullPath.replace(/^\//,""),Object.defineProperties(y,{webkitRelativePath:{writable:!1}})),E(y)):E(null)})}));case 1:case"end":return b.stop()}},h)})),u.apply(this,arguments)},l=function(h){return u.apply(this,arguments)},s=function(){return s=ci(zn().mark(function h(v){var S,b,E,y,C;return zn().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:S=v.createReader(),b=[];case 2:return x.next=5,new Promise(function(R){S.readEntries(R,function(){return R([])})});case 5:if(E=x.sent,y=E.length,y){x.next=9;break}return x.abrupt("break",12);case 9:for(C=0;C{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${X(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${X(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${t}-disabled):hover, &-hover:not(${t}-disabled) - `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${Q(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, + `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${X(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, p${t}-text, p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},RPe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:i,calc:o}=e,s=`${t}-list-item`,l=`${s}-actions`,u=`${s}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},mo()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:o(e.lineHeight).mul(a).equal(),marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:Object.assign(Object.assign({},vi),{padding:`0 ${Q(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{whiteSpace:"nowrap",[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + `]:{color:e.colorTextDisabled}}}}}},jPe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:i,calc:o}=e,s=`${t}-list-item`,l=`${s}-actions`,u=`${s}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},go()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:o(e.lineHeight).mul(a).equal(),marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:Object.assign(Object.assign({},_i),{padding:`0 ${X(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{whiteSpace:"nowrap",[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` ${u}:focus-visible, &.picture ${u} - `]:{opacity:1},[`${u}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${s}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:o(a).add(e.paddingXS).equal(),fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${s}:hover ${u}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${r}`]:{color:e.colorError},[l]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},wPe=e=>{const{componentCls:t}=e,n=new dn("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new dn("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:WL(e)},n,r]},IPe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` + `]:{opacity:1},[`${u}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${s}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:o(a).add(e.paddingXS).equal(),fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${s}:hover ${u}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${r}`]:{color:e.colorError},[l]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},zPe=e=>{const{componentCls:t}=e,n=new dn("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new dn("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:KL(e)},n,r]},HPe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` ${o}${o}-picture, ${o}${o}-picture-card, ${o}${o}-picture-circle - `]:{[s]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},vi),{width:r,height:r,lineHeight:Q(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${Q(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${bd[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${bd.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},OPe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`,l=e.uploadPicCardSize;return{[` + `]:{[s]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${X(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},_i),{width:r,height:r,lineHeight:X(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${X(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${yd[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${yd.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},GPe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`,l=e.uploadPicCardSize;return{[` ${t}-wrapper${t}-picture-card-wrapper, ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},mo()),{display:"block",[`${t}${t}-select`]:{width:l,height:l,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${Q(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:"inline-block",width:l,height:l,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` + `]:Object.assign(Object.assign({},go()),{display:"block",[`${t}${t}-select`]:{width:l,height:l,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${X(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:"inline-block",width:l,height:l,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${X(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${X(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${Q(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},NPe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},APe=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},on(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},DPe=e=>({actionsColor:e.colorTextDescription}),MPe=cn("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:i}=e,o=Ht(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(a).mul(2.55).equal()});return[APe(o),xPe(o),IPe(o),OPe(o),RPe(o),wPe(o),NPe(o),ng(o)]},DPe);function Ih(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Oh(e,t){const n=$e(t),r=n.findIndex(a=>{let{uid:i}=a;return i===e.uid});return r===-1?n.push(e):n[r]=e,n}function zy(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function LPe(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const kPe=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Ote=e=>e.indexOf("image/")===0,PPe=e=>{if(e.type&&!e.thumbUrl)return Ote(e.type);const t=e.thumbUrl||e.url||"",n=kPe(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Ls=200;function $Pe(e){return new Promise(t=>{if(!e.type||!Ote(e.type)){t("");return}const n=document.createElement("canvas");n.width=Ls,n.height=Ls,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ls}px; height: ${Ls}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:i,height:o}=a;let s=Ls,l=Ls,u=0,d=0;i>o?(l=o*(Ls/i),d=-(l-s)/2):(s=i*(Ls/o),u=-(s-l)/2),r.drawImage(a,u,d,s,l);const p=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(p)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const i=new FileReader;i.onload=()=>{i.result&&typeof i.result=="string"&&(a.src=i.result)},i.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const i=new FileReader;i.onload=()=>{i.result&&t(i.result)},i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const FPe=c.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:i,listType:o,file:s,items:l,progress:u,iconRender:d,actionIconRender:p,itemRender:f,isImgUrl:m,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,previewIcon:S,removeIcon:_,downloadIcon:E,extra:y,onPreview:C,onDownload:T,onClose:x}=e;var R,w;const{status:I}=s,[O,k]=c.useState(I);c.useEffect(()=>{I!=="removed"&&k(I)},[I]);const[P,M]=c.useState(!1);c.useEffect(()=>{const Z=setTimeout(()=>{M(!0)},300);return()=>{clearTimeout(Z)}},[]);const N=d(s);let A=c.createElement("div",{className:`${n}-icon`},N);if(o==="picture"||o==="picture-card"||o==="picture-circle")if(O==="uploading"||!s.thumbUrl&&!s.url){const Z=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:O!=="uploading"});A=c.createElement("div",{className:Z},N)}else{const Z=m!=null&&m(s)?c.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):N,te=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:m&&!m(s)});A=c.createElement("a",{className:te,onClick:se=>C(s,se),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Z)}const D=ie(`${n}-list-item`,`${n}-list-item-${O}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,$=h?p((typeof _=="function"?_(s):_)||c.createElement(Rd,null),()=>x(s),n,i.removeFile,!0):null,F=v&&O==="done"?p((typeof E=="function"?E(s):E)||c.createElement(Bk,null),()=>T(s),n,i.downloadFile):null,B=o!=="picture-card"&&o!=="picture-circle"&&c.createElement("span",{key:"download-delete",className:ie(`${n}-list-item-actions`,{picture:o==="picture"})},F,$),z=typeof y=="function"?y(s):y,U=z&&c.createElement("span",{className:`${n}-list-item-extra`},z),j=ie(`${n}-list-item-name`),G=s.url?c.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:j,title:s.name},L,{href:s.url,onClick:Z=>C(s,Z)}),s.name,U):c.createElement("span",{key:"view",className:j,onClick:Z=>C(s,Z),title:s.name},s.name,U),J=g&&(s.url||s.thumbUrl)?c.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Z=>C(s,Z),title:i.previewFile},typeof S=="function"?S(s):S||c.createElement(uS,null)):null,Y=(o==="picture-card"||o==="picture-circle")&&O!=="uploading"&&c.createElement("span",{className:`${n}-list-item-actions`},J,O==="done"&&F,$),{getPrefixCls:X}=c.useContext(lt),V=X(),H=c.createElement("div",{className:D},A,G,B,Y,P&&c.createElement(ta,{motionName:`${V}-fade`,visible:O==="uploading",motionDeadline:2e3},Z=>{let{className:te}=Z;const se="percent"in s?c.createElement(gS,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return c.createElement("div",{className:ie(`${n}-list-item-progress`,te)},se)})),q=s.response&&typeof s.response=="string"?s.response:((R=s.error)===null||R===void 0?void 0:R.statusText)||((w=s.error)===null||w===void 0?void 0:w.message)||i.uploadError,K=O==="error"?c.createElement(Jt,{title:q,getPopupContainer:Z=>Z.parentNode},H):H;return c.createElement("div",{className:ie(`${n}-list-item-container`,r),style:a,ref:t},f?f(K,s,l,{download:T.bind(null,s),preview:C.bind(null,s),remove:x.bind(null,s)}):K)}),BPe=(e,t)=>{const{listType:n="text",previewFile:r=$Pe,onPreview:a,onDownload:i,onRemove:o,locale:s,iconRender:l,isImageUrl:u=PPe,prefixCls:d,items:p=[],showPreviewIcon:f=!0,showRemoveIcon:m=!0,showDownloadIcon:g=!1,removeIcon:h,previewIcon:v,downloadIcon:S,extra:_,progress:E={size:[-1,2],showInfo:!1},appendAction:y,appendActionVisible:C=!0,itemRender:T,disabled:x}=e,R=ek(),[w,I]=c.useState(!1);c.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(p||[]).forEach(j=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(j.originFileObj instanceof File||j.originFileObj instanceof Blob)||j.thumbUrl!==void 0||(j.thumbUrl="",r&&r(j.originFileObj).then(G=>{j.thumbUrl=G||"",R()}))})},[n,p,r]),c.useEffect(()=>{I(!0)},[]);const O=(j,G)=>{if(a)return G==null||G.preventDefault(),a(j)},k=j=>{typeof i=="function"?i(j):j.url&&window.open(j.url)},P=j=>{o==null||o(j)},M=j=>{if(l)return l(j,n);const G=j.status==="uploading",J=u!=null&&u(j)?c.createElement(j1e,null):c.createElement(wNe,null);let Y=G?c.createElement(Ss,null):c.createElement(P1e,null);return n==="picture"?Y=G?c.createElement(Ss,null):J:(n==="picture-card"||n==="picture-circle")&&(Y=G?s.uploading:J),Y},N=(j,G,J,Y,X)=>{const V={type:"text",size:"small",title:Y,onClick:H=>{var q,K;G(),c.isValidElement(j)&&((K=(q=j.props).onClick)===null||K===void 0||K.call(q,H))},className:`${J}-list-item-action`};if(X&&(V.disabled=x),c.isValidElement(j)){const H=Tr(j,Object.assign(Object.assign({},j.props),{onClick:()=>{}}));return c.createElement(Rt,Object.assign({},V,{icon:H}))}return c.createElement(Rt,Object.assign({},V),c.createElement("span",null,j))};c.useImperativeHandle(t,()=>({handlePreview:O,handleDownload:k}));const{getPrefixCls:A}=c.useContext(lt),D=A("upload",d),L=A(),$=ie(`${D}-list`,`${D}-list-${n}`),F=$e(p.map(j=>({key:j.uid,file:j})));let z={motionDeadline:2e3,motionName:`${D}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:F,motionAppear:w};const U=c.useMemo(()=>{const j=Object.assign({},Ed(L));return delete j.onAppearEnd,delete j.onEnterEnd,delete j.onLeaveEnd,j},[L]);return n!=="picture-card"&&n!=="picture-circle"&&(z=Object.assign(Object.assign({},U),z)),c.createElement("div",{className:$},c.createElement(LL,Object.assign({},z,{component:!1}),j=>{let{key:G,file:J,className:Y,style:X}=j;return c.createElement(FPe,{key:G,locale:s,prefixCls:D,className:Y,style:X,file:J,items:p,progress:E,listType:n,isImgUrl:u,showPreviewIcon:f,showRemoveIcon:m,showDownloadIcon:g,removeIcon:h,previewIcon:v,downloadIcon:S,extra:_,iconRender:M,actionIconRender:N,itemRender:T,onPreview:O,onDownload:k,onClose:P})}),y&&c.createElement(ta,Object.assign({},z,{visible:C,forceRender:!0}),j=>{let{className:G,style:J}=j;return Tr(y,Y=>({className:ie(Y.className,G),style:Object.assign(Object.assign(Object.assign({},J),{pointerEvents:G?"none":void 0}),Y.style)}))}))},UPe=c.forwardRef(BPe);var jPe=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,[])).next())})};const ef=`__LIST_IGNORE_${Date.now()}__`,zPe=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:i=!0,listType:o="text",onPreview:s,onDownload:l,onChange:u,onDrop:d,previewFile:p,disabled:f,locale:m,iconRender:g,isImageUrl:h,progress:v,prefixCls:S,className:_,type:E="select",children:y,style:C,itemRender:T,maxCount:x,data:R={},multiple:w=!1,hasControlInside:I=!0,action:O="",accept:k="",supportServerRender:P=!0,rootClassName:M}=e,N=c.useContext(ea),A=f??N,[D,L]=ln(r||[],{value:n,postState:be=>be??[]}),[$,F]=c.useState("drop"),B=c.useRef(null),z=c.useRef(null);c.useMemo(()=>{const be=Date.now();(n||[]).forEach((Ne,Ie)=>{!Ne.uid&&!Object.isFrozen(Ne)&&(Ne.uid=`__AUTO__${be}_${Ie}__`)})},[n]);const U=(be,Ne,Ie)=>{let xe=$e(Ne),ke=!1;x===1?xe=xe.slice(-1):x&&(ke=xe.length>x,xe=xe.slice(0,x)),Ur.flushSync(()=>{L(xe)});const rt={file:be,fileList:xe};Ie&&(rt.event=Ie),(!ke||be.status==="removed"||xe.some(Me=>Me.uid===be.uid))&&Ur.flushSync(()=>{u==null||u(rt)})},j=(be,Ne)=>jPe(void 0,void 0,void 0,function*(){const{beforeUpload:Ie,transformFile:xe}=e;let ke=be;if(Ie){const rt=yield Ie(be,Ne);if(rt===!1)return!1;if(delete be[ef],rt===ef)return Object.defineProperty(be,ef,{value:!0,configurable:!0}),!1;typeof rt=="object"&&rt&&(ke=rt)}return xe&&(ke=yield xe(ke)),ke}),G=be=>{const Ne=be.filter(ke=>!ke.file[ef]);if(!Ne.length)return;const Ie=Ne.map(ke=>Ih(ke.file));let xe=$e(D);Ie.forEach(ke=>{xe=Oh(ke,xe)}),Ie.forEach((ke,rt)=>{let Me=ke;if(Ne[rt].parsedFile)ke.status="uploading";else{const{originFileObj:Ce}=ke;let De;try{De=new File([Ce],Ce.name,{type:Ce.type})}catch{De=new Blob([Ce],{type:Ce.type}),De.name=Ce.name,De.lastModifiedDate=new Date,De.lastModified=new Date().getTime()}De.uid=ke.uid,Me=De}U(Me,xe)})},J=(be,Ne,Ie)=>{try{typeof be=="string"&&(be=JSON.parse(be))}catch{}if(!zy(Ne,D))return;const xe=Ih(Ne);xe.status="done",xe.percent=100,xe.response=be,xe.xhr=Ie;const ke=Oh(xe,D);U(xe,ke)},Y=(be,Ne)=>{if(!zy(Ne,D))return;const Ie=Ih(Ne);Ie.status="uploading",Ie.percent=be.percent;const xe=Oh(Ie,D);U(Ie,xe,be)},X=(be,Ne,Ie)=>{if(!zy(Ie,D))return;const xe=Ih(Ie);xe.error=be,xe.response=Ne,xe.status="error";const ke=Oh(xe,D);U(xe,ke)},V=be=>{let Ne;Promise.resolve(typeof a=="function"?a(be):a).then(Ie=>{var xe;if(Ie===!1)return;const ke=LPe(be,D);ke&&(Ne=Object.assign(Object.assign({},be),{status:"removed"}),D==null||D.forEach(rt=>{const Me=Ne.uid!==void 0?"uid":"name";rt[Me]===Ne[Me]&&!Object.isFrozen(rt)&&(rt.status="removed")}),(xe=B.current)===null||xe===void 0||xe.abort(Ne),U(Ne,ke))})},H=be=>{F(be.type),be.type==="drop"&&(d==null||d(be))};c.useImperativeHandle(t,()=>({onBatchStart:G,onSuccess:J,onProgress:Y,onError:X,fileList:D,upload:B.current,nativeElement:z.current}));const{getPrefixCls:q,direction:K,upload:Z}=c.useContext(lt),te=q("upload",S),se=Object.assign(Object.assign({onBatchStart:G,onError:X,onProgress:Y,onSuccess:J},e),{data:R,multiple:w,action:O,accept:k,supportServerRender:P,prefixCls:te,disabled:A,beforeUpload:j,onChange:void 0,hasControlInside:I});delete se.className,delete se.style,(!y||A)&&delete se.id;const ue=`${te}-wrapper`,[me,de,Te]=MPe(te,ue),[Ee]=Go("Upload",zi.Upload),{showRemoveIcon:ge,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,extra:Re}=typeof i=="boolean"?{}:i,Se=typeof ge>"u"?!A:!!ge,Pe=(be,Ne)=>i?c.createElement(UPe,{prefixCls:te,listType:o,items:D,previewFile:p,onPreview:s,onDownload:l,onRemove:V,showRemoveIcon:Se,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,iconRender:g,extra:Re,locale:Object.assign(Object.assign({},Ee),m),isImageUrl:h,progress:v,appendAction:be,appendActionVisible:Ne,itemRender:T,disabled:A}):be,fe=ie(ue,_,M,de,Te,Z==null?void 0:Z.className,{[`${te}-rtl`]:K==="rtl",[`${te}-picture-card-wrapper`]:o==="picture-card",[`${te}-picture-circle-wrapper`]:o==="picture-circle"}),ve=Object.assign(Object.assign({},Z==null?void 0:Z.style),C);if(E==="drag"){const be=ie(de,te,`${te}-drag`,{[`${te}-drag-uploading`]:D.some(Ne=>Ne.status==="uploading"),[`${te}-drag-hover`]:$==="dragover",[`${te}-disabled`]:A,[`${te}-rtl`]:K==="rtl"});return me(c.createElement("span",{className:fe,ref:z},c.createElement("div",{className:be,style:ve,onDrop:H,onDragOver:H,onDragLeave:H},c.createElement(UD,Object.assign({},se,{ref:B,className:`${te}-btn`}),c.createElement("div",{className:`${te}-drag-container`},y))),Pe()))}const Ae=ie(te,`${te}-select`,{[`${te}-disabled`]:A}),ye=c.createElement("div",{className:Ae,style:y?void 0:{display:"none"}},c.createElement(UD,Object.assign({},se,{ref:B})));return me(o==="picture-card"||o==="picture-circle"?c.createElement("span",{className:fe,ref:z},Pe(ye,!!y)):c.createElement("span",{className:fe,ref:z},ye,Pe()))},Nte=c.forwardRef(zPe);var HPe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,i=HPe(e,["style","height","hasControlInside"]);return c.createElement(Nte,Object.assign({ref:t,hasControlInside:a},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),bg=Nte;bg.Dragger=GPe;bg.LIST_IGNORE=ef;/** + `]:{zIndex:10,width:r,margin:`0 ${X(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${X(i(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${X(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},VPe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},qPe=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},an(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},WPe=e=>({actionsColor:e.colorTextDescription}),YPe=sn("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:i}=e,o=Ht(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(a).mul(2.55).equal()});return[qPe(o),UPe(o),HPe(o),GPe(o),jPe(o),zPe(o),VPe(o),ag(o)]},WPe);function Ah(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Dh(e,t){const n=$e(t),r=n.findIndex(a=>{let{uid:i}=a;return i===e.uid});return r===-1?n.push(e):n[r]=e,n}function Gy(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function KPe(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const XPe=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Dte=e=>e.indexOf("image/")===0,QPe=e=>{if(e.type&&!e.thumbUrl)return Dte(e.type);const t=e.thumbUrl||e.url||"",n=XPe(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},ks=200;function ZPe(e){return new Promise(t=>{if(!e.type||!Dte(e.type)){t("");return}const n=document.createElement("canvas");n.width=ks,n.height=ks,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${ks}px; height: ${ks}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:i,height:o}=a;let s=ks,l=ks,u=0,d=0;i>o?(l=o*(ks/i),d=-(l-s)/2):(s=i*(ks/o),u=-(s-l)/2),r.drawImage(a,u,d,s,l);const p=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(p)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const i=new FileReader;i.onload=()=>{i.result&&typeof i.result=="string"&&(a.src=i.result)},i.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const i=new FileReader;i.onload=()=>{i.result&&t(i.result)},i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const JPe=c.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:i,listType:o,file:s,items:l,progress:u,iconRender:d,actionIconRender:p,itemRender:f,isImgUrl:m,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,previewIcon:S,removeIcon:b,downloadIcon:E,extra:y,onPreview:C,onDownload:T,onClose:x}=e;var R,w;const{status:I}=s,[O,k]=c.useState(I);c.useEffect(()=>{I!=="removed"&&k(I)},[I]);const[P,M]=c.useState(!1);c.useEffect(()=>{const Z=setTimeout(()=>{M(!0)},300);return()=>{clearTimeout(Z)}},[]);const N=d(s);let A=c.createElement("div",{className:`${n}-icon`},N);if(o==="picture"||o==="picture-card"||o==="picture-circle")if(O==="uploading"||!s.thumbUrl&&!s.url){const Z=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:O!=="uploading"});A=c.createElement("div",{className:Z},N)}else{const Z=m!=null&&m(s)?c.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):N,te=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:m&&!m(s)});A=c.createElement("a",{className:te,onClick:se=>C(s,se),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Z)}const D=ie(`${n}-list-item`,`${n}-list-item-${O}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,$=h?p((typeof b=="function"?b(s):b)||c.createElement(Od,null),()=>x(s),n,i.removeFile,!0):null,F=v&&O==="done"?p((typeof E=="function"?E(s):E)||c.createElement(jk,null),()=>T(s),n,i.downloadFile):null,B=o!=="picture-card"&&o!=="picture-circle"&&c.createElement("span",{key:"download-delete",className:ie(`${n}-list-item-actions`,{picture:o==="picture"})},F,$),z=typeof y=="function"?y(s):y,U=z&&c.createElement("span",{className:`${n}-list-item-extra`},z),j=ie(`${n}-list-item-name`),G=s.url?c.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:j,title:s.name},L,{href:s.url,onClick:Z=>C(s,Z)}),s.name,U):c.createElement("span",{key:"view",className:j,onClick:Z=>C(s,Z),title:s.name},s.name,U),J=g&&(s.url||s.thumbUrl)?c.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Z=>C(s,Z),title:i.previewFile},typeof S=="function"?S(s):S||c.createElement(fS,null)):null,Y=(o==="picture-card"||o==="picture-circle")&&O!=="uploading"&&c.createElement("span",{className:`${n}-list-item-actions`},J,O==="done"&&F,$),{getPrefixCls:Q}=c.useContext(lt),V=Q(),H=c.createElement("div",{className:D},A,G,B,Y,P&&c.createElement(ta,{motionName:`${V}-fade`,visible:O==="uploading",motionDeadline:2e3},Z=>{let{className:te}=Z;const se="percent"in s?c.createElement(_S,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return c.createElement("div",{className:ie(`${n}-list-item-progress`,te)},se)})),q=s.response&&typeof s.response=="string"?s.response:((R=s.error)===null||R===void 0?void 0:R.statusText)||((w=s.error)===null||w===void 0?void 0:w.message)||i.uploadError,K=O==="error"?c.createElement(Jt,{title:q,getPopupContainer:Z=>Z.parentNode},H):H;return c.createElement("div",{className:ie(`${n}-list-item-container`,r),style:a,ref:t},f?f(K,s,l,{download:T.bind(null,s),preview:C.bind(null,s),remove:x.bind(null,s)}):K)}),e2e=(e,t)=>{const{listType:n="text",previewFile:r=ZPe,onPreview:a,onDownload:i,onRemove:o,locale:s,iconRender:l,isImageUrl:u=QPe,prefixCls:d,items:p=[],showPreviewIcon:f=!0,showRemoveIcon:m=!0,showDownloadIcon:g=!1,removeIcon:h,previewIcon:v,downloadIcon:S,extra:b,progress:E={size:[-1,2],showInfo:!1},appendAction:y,appendActionVisible:C=!0,itemRender:T,disabled:x}=e,R=nk(),[w,I]=c.useState(!1);c.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(p||[]).forEach(j=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(j.originFileObj instanceof File||j.originFileObj instanceof Blob)||j.thumbUrl!==void 0||(j.thumbUrl="",r&&r(j.originFileObj).then(G=>{j.thumbUrl=G||"",R()}))})},[n,p,r]),c.useEffect(()=>{I(!0)},[]);const O=(j,G)=>{if(a)return G==null||G.preventDefault(),a(j)},k=j=>{typeof i=="function"?i(j):j.url&&window.open(j.url)},P=j=>{o==null||o(j)},M=j=>{if(l)return l(j,n);const G=j.status==="uploading",J=u!=null&&u(j)?c.createElement(qNe,null):c.createElement(O1e,null);let Y=G?c.createElement(jo,null):c.createElement(jNe,null);return n==="picture"?Y=G?c.createElement(jo,null):J:(n==="picture-card"||n==="picture-circle")&&(Y=G?s.uploading:J),Y},N=(j,G,J,Y,Q)=>{const V={type:"text",size:"small",title:Y,onClick:H=>{var q,K;G(),c.isValidElement(j)&&((K=(q=j.props).onClick)===null||K===void 0||K.call(q,H))},className:`${J}-list-item-action`};if(Q&&(V.disabled=x),c.isValidElement(j)){const H=Tr(j,Object.assign(Object.assign({},j.props),{onClick:()=>{}}));return c.createElement(wt,Object.assign({},V,{icon:H}))}return c.createElement(wt,Object.assign({},V),c.createElement("span",null,j))};c.useImperativeHandle(t,()=>({handlePreview:O,handleDownload:k}));const{getPrefixCls:A}=c.useContext(lt),D=A("upload",d),L=A(),$=ie(`${D}-list`,`${D}-list-${n}`),F=$e(p.map(j=>({key:j.uid,file:j})));let z={motionDeadline:2e3,motionName:`${D}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:F,motionAppear:w};const U=c.useMemo(()=>{const j=Object.assign({},Td(L));return delete j.onAppearEnd,delete j.onEnterEnd,delete j.onLeaveEnd,j},[L]);return n!=="picture-card"&&n!=="picture-circle"&&(z=Object.assign(Object.assign({},U),z)),c.createElement("div",{className:$},c.createElement(PL,Object.assign({},z,{component:!1}),j=>{let{key:G,file:J,className:Y,style:Q}=j;return c.createElement(JPe,{key:G,locale:s,prefixCls:D,className:Y,style:Q,file:J,items:p,progress:E,listType:n,isImgUrl:u,showPreviewIcon:f,showRemoveIcon:m,showDownloadIcon:g,removeIcon:h,previewIcon:v,downloadIcon:S,extra:b,iconRender:M,actionIconRender:N,itemRender:T,onPreview:O,onDownload:k,onClose:P})}),y&&c.createElement(ta,Object.assign({},z,{visible:C,forceRender:!0}),j=>{let{className:G,style:J}=j;return Tr(y,Y=>({className:ie(Y.className,G),style:Object.assign(Object.assign(Object.assign({},J),{pointerEvents:G?"none":void 0}),Y.style)}))}))},t2e=c.forwardRef(e2e);var n2e=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,[])).next())})};const nf=`__LIST_IGNORE_${Date.now()}__`,r2e=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:i=!0,listType:o="text",onPreview:s,onDownload:l,onChange:u,onDrop:d,previewFile:p,disabled:f,locale:m,iconRender:g,isImageUrl:h,progress:v,prefixCls:S,className:b,type:E="select",children:y,style:C,itemRender:T,maxCount:x,data:R={},multiple:w=!1,hasControlInside:I=!0,action:O="",accept:k="",supportServerRender:P=!0,rootClassName:M}=e,N=c.useContext(ea),A=f??N,[D,L]=ln(r||[],{value:n,postState:be=>be??[]}),[$,F]=c.useState("drop"),B=c.useRef(null),z=c.useRef(null);c.useMemo(()=>{const be=Date.now();(n||[]).forEach((Ne,we)=>{!Ne.uid&&!Object.isFrozen(Ne)&&(Ne.uid=`__AUTO__${be}_${we}__`)})},[n]);const U=(be,Ne,we)=>{let xe=$e(Ne),ke=!1;x===1?xe=xe.slice(-1):x&&(ke=xe.length>x,xe=xe.slice(0,x)),Ur.flushSync(()=>{L(xe)});const at={file:be,fileList:xe};we&&(at.event=we),(!ke||be.status==="removed"||xe.some(Me=>Me.uid===be.uid))&&Ur.flushSync(()=>{u==null||u(at)})},j=(be,Ne)=>n2e(void 0,void 0,void 0,function*(){const{beforeUpload:we,transformFile:xe}=e;let ke=be;if(we){const at=yield we(be,Ne);if(at===!1)return!1;if(delete be[nf],at===nf)return Object.defineProperty(be,nf,{value:!0,configurable:!0}),!1;typeof at=="object"&&at&&(ke=at)}return xe&&(ke=yield xe(ke)),ke}),G=be=>{const Ne=be.filter(ke=>!ke.file[nf]);if(!Ne.length)return;const we=Ne.map(ke=>Ah(ke.file));let xe=$e(D);we.forEach(ke=>{xe=Dh(ke,xe)}),we.forEach((ke,at)=>{let Me=ke;if(Ne[at].parsedFile)ke.status="uploading";else{const{originFileObj:Ce}=ke;let De;try{De=new File([Ce],Ce.name,{type:Ce.type})}catch{De=new Blob([Ce],{type:Ce.type}),De.name=Ce.name,De.lastModifiedDate=new Date,De.lastModified=new Date().getTime()}De.uid=ke.uid,Me=De}U(Me,xe)})},J=(be,Ne,we)=>{try{typeof be=="string"&&(be=JSON.parse(be))}catch{}if(!Gy(Ne,D))return;const xe=Ah(Ne);xe.status="done",xe.percent=100,xe.response=be,xe.xhr=we;const ke=Dh(xe,D);U(xe,ke)},Y=(be,Ne)=>{if(!Gy(Ne,D))return;const we=Ah(Ne);we.status="uploading",we.percent=be.percent;const xe=Dh(we,D);U(we,xe,be)},Q=(be,Ne,we)=>{if(!Gy(we,D))return;const xe=Ah(we);xe.error=be,xe.response=Ne,xe.status="error";const ke=Dh(xe,D);U(xe,ke)},V=be=>{let Ne;Promise.resolve(typeof a=="function"?a(be):a).then(we=>{var xe;if(we===!1)return;const ke=KPe(be,D);ke&&(Ne=Object.assign(Object.assign({},be),{status:"removed"}),D==null||D.forEach(at=>{const Me=Ne.uid!==void 0?"uid":"name";at[Me]===Ne[Me]&&!Object.isFrozen(at)&&(at.status="removed")}),(xe=B.current)===null||xe===void 0||xe.abort(Ne),U(Ne,ke))})},H=be=>{F(be.type),be.type==="drop"&&(d==null||d(be))};c.useImperativeHandle(t,()=>({onBatchStart:G,onSuccess:J,onProgress:Y,onError:Q,fileList:D,upload:B.current,nativeElement:z.current}));const{getPrefixCls:q,direction:K,upload:Z}=c.useContext(lt),te=q("upload",S),se=Object.assign(Object.assign({onBatchStart:G,onError:Q,onProgress:Y,onSuccess:J},e),{data:R,multiple:w,action:O,accept:k,supportServerRender:P,prefixCls:te,disabled:A,beforeUpload:j,onChange:void 0,hasControlInside:I});delete se.className,delete se.style,(!y||A)&&delete se.id;const ue=`${te}-wrapper`,[me,de,Te]=YPe(te,ue),[Ee]=qo("Upload",Hi.Upload),{showRemoveIcon:ge,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,extra:Re}=typeof i=="boolean"?{}:i,Se=typeof ge>"u"?!A:!!ge,Pe=(be,Ne)=>i?c.createElement(t2e,{prefixCls:te,listType:o,items:D,previewFile:p,onPreview:s,onDownload:l,onRemove:V,showRemoveIcon:Se,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,iconRender:g,extra:Re,locale:Object.assign(Object.assign({},Ee),m),isImageUrl:h,progress:v,appendAction:be,appendActionVisible:Ne,itemRender:T,disabled:A}):be,fe=ie(ue,b,M,de,Te,Z==null?void 0:Z.className,{[`${te}-rtl`]:K==="rtl",[`${te}-picture-card-wrapper`]:o==="picture-card",[`${te}-picture-circle-wrapper`]:o==="picture-circle"}),_e=Object.assign(Object.assign({},Z==null?void 0:Z.style),C);if(E==="drag"){const be=ie(de,te,`${te}-drag`,{[`${te}-drag-uploading`]:D.some(Ne=>Ne.status==="uploading"),[`${te}-drag-hover`]:$==="dragover",[`${te}-disabled`]:A,[`${te}-rtl`]:K==="rtl"});return me(c.createElement("span",{className:fe,ref:z},c.createElement("div",{className:be,style:_e,onDrop:H,onDragOver:H,onDragLeave:H},c.createElement(zD,Object.assign({},se,{ref:B,className:`${te}-btn`}),c.createElement("div",{className:`${te}-drag-container`},y))),Pe()))}const Ae=ie(te,`${te}-select`,{[`${te}-disabled`]:A}),ye=c.createElement("div",{className:Ae,style:y?void 0:{display:"none"}},c.createElement(zD,Object.assign({},se,{ref:B})));return me(o==="picture-card"||o==="picture-circle"?c.createElement("span",{className:fe,ref:z},Pe(ye,!!y)):c.createElement("span",{className:fe,ref:z},ye,Pe()))},Mte=c.forwardRef(r2e);var a2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,i=a2e(e,["style","height","hasControlInside"]);return c.createElement(Mte,Object.assign({ref:t,hasControlInside:a},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),yg=Mte;yg.Dragger=i2e;yg.LIST_IGNORE=nf;/** * @remix-run/router v1.19.2 * * Copyright (c) Remix Software Inc. @@ -494,7 +502,7 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Em(){return Em=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ate(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function qPe(){return Math.random().toString(36).substr(2,8)}function fU(e,t){return{usr:e.state,key:e.key,idx:t}}function jD(e,t,n,r){return n===void 0&&(n=null),Em({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?op(t):t,{state:n,key:t&&t.key||r||qPe()})}function D_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function op(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function WPe(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s=Zs.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(Em({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function p(){s=Zs.Pop;let v=d(),S=v==null?null:v-u;u=v,l&&l({action:s,location:h.location,delta:S})}function f(v,S){s=Zs.Push;let _=jD(h.location,v,S);u=d()+1;let E=fU(_,u),y=h.createHref(_);try{o.pushState(E,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(y)}i&&l&&l({action:s,location:h.location,delta:1})}function m(v,S){s=Zs.Replace;let _=jD(h.location,v,S);u=d();let E=fU(_,u),y=h.createHref(_);o.replaceState(E,"",y),i&&l&&l({action:s,location:h.location,delta:0})}function g(v){let S=a.location.origin!=="null"?a.location.origin:a.location.href,_=typeof v=="string"?v:D_(v);return _=_.replace(/ $/,"%20"),kr(S,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,S)}let h={get action(){return s},get location(){return e(a,o)},listen(v){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(pU,p),l=v,()=>{a.removeEventListener(pU,p),l=null}},createHref(v){return t(a,v)},createURL:g,encodeLocation(v){let S=g(v);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:f,replace:m,go(v){return o.go(v)}};return h}var mU;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(mU||(mU={}));function YPe(e,t,n){return n===void 0&&(n="/"),KPe(e,t,n,!1)}function KPe(e,t,n,r){let a=typeof t=="string"?op(t):t,i=oP(a.pathname||"/",n);if(i==null)return null;let o=Dte(e);XPe(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(kr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=dl([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(kr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dte(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:r2e(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let l of Mte(i.path))a(i,o,l)}),t}function Mte(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=Mte(r.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),a&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function XPe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:a2e(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const QPe=/^:[\w-]+$/,ZPe=3,JPe=2,e2e=1,t2e=10,n2e=-2,gU=e=>e==="*";function r2e(e,t){let n=e.split("/"),r=n.length;return n.some(gU)&&(r+=n2e),t&&(r+=JPe),n.filter(a=>!gU(a)).reduce((a,i)=>a+(QPe.test(i)?ZPe:i===""?e2e:t2e),r)}function a2e(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function i2e(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:m}=d;if(f==="*"){let h=s[p]||"";o=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const g=s[p];return m&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function o2e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ate(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function s2e(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ate(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function oP(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function l2e(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?op(e):e;return{pathname:n?n.startsWith("/")?n:c2e(n,t):t,search:p2e(r),hash:f2e(a)}}function c2e(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Hy(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function u2e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Lte(e,t){let n=u2e(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kte(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=op(e):(a=Em({},e),kr(!a.pathname||!a.pathname.includes("?"),Hy("?","pathname","search",a)),kr(!a.pathname||!a.pathname.includes("#"),Hy("#","pathname","hash",a)),kr(!a.search||!a.search.includes("#"),Hy("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),p-=1;a.pathname=f.join("/")}s=p>=0?t[p]:"/"}let l=l2e(a,s),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const dl=e=>e.join("/").replace(/\/\/+/g,"/"),d2e=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),p2e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,f2e=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function m2e(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pte=["post","put","patch","delete"];new Set(Pte);const g2e=["get",...Pte];new Set(g2e);/** + */function Cm(){return Cm=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Lte(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function s2e(){return Math.random().toString(36).substr(2,8)}function gU(e,t){return{usr:e.state,key:e.key,idx:t}}function HD(e,t,n,r){return n===void 0&&(n=null),Cm({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?cp(t):t,{state:n,key:t&&t.key||r||s2e()})}function P_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function cp(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function l2e(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s=Js.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(Cm({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function p(){s=Js.Pop;let v=d(),S=v==null?null:v-u;u=v,l&&l({action:s,location:h.location,delta:S})}function f(v,S){s=Js.Push;let b=HD(h.location,v,S);u=d()+1;let E=gU(b,u),y=h.createHref(b);try{o.pushState(E,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(y)}i&&l&&l({action:s,location:h.location,delta:1})}function m(v,S){s=Js.Replace;let b=HD(h.location,v,S);u=d();let E=gU(b,u),y=h.createHref(b);o.replaceState(E,"",y),i&&l&&l({action:s,location:h.location,delta:0})}function g(v){let S=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof v=="string"?v:P_(v);return b=b.replace(/ $/,"%20"),Mr(S,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,S)}let h={get action(){return s},get location(){return e(a,o)},listen(v){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(mU,p),l=v,()=>{a.removeEventListener(mU,p),l=null}},createHref(v){return t(a,v)},createURL:g,encodeLocation(v){let S=g(v);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:f,replace:m,go(v){return o.go(v)}};return h}var hU;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(hU||(hU={}));function c2e(e,t,n){return n===void 0&&(n="/"),u2e(e,t,n,!1)}function u2e(e,t,n,r){let a=typeof t=="string"?cp(t):t,i=lP(a.pathname||"/",n);if(i==null)return null;let o=kte(e);d2e(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Mr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=pl([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(Mr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kte(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:_2e(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let l of Pte(i.path))a(i,o,l)}),t}function Pte(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=Pte(r.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),a&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function d2e(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:b2e(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const p2e=/^:[\w-]+$/,f2e=3,m2e=2,g2e=1,h2e=10,v2e=-2,vU=e=>e==="*";function _2e(e,t){let n=e.split("/"),r=n.length;return n.some(vU)&&(r+=v2e),t&&(r+=m2e),n.filter(a=>!vU(a)).reduce((a,i)=>a+(p2e.test(i)?f2e:i===""?g2e:h2e),r)}function b2e(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function S2e(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:m}=d;if(f==="*"){let h=s[p]||"";o=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const g=s[p];return m&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function E2e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Lte(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function y2e(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lte(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lP(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function C2e(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?cp(e):e;return{pathname:n?n.startsWith("/")?n:T2e(n,t):t,search:w2e(r),hash:I2e(a)}}function T2e(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Vy(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function x2e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $te(e,t){let n=x2e(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Fte(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=cp(e):(a=Cm({},e),Mr(!a.pathname||!a.pathname.includes("?"),Vy("?","pathname","search",a)),Mr(!a.pathname||!a.pathname.includes("#"),Vy("#","pathname","hash",a)),Mr(!a.search||!a.search.includes("#"),Vy("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),p-=1;a.pathname=f.join("/")}s=p>=0?t[p]:"/"}let l=C2e(a,s),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const pl=e=>e.join("/").replace(/\/\/+/g,"/"),R2e=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),w2e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,I2e=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function O2e(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Bte=["post","put","patch","delete"];new Set(Bte);const N2e=["get",...Bte];new Set(N2e);/** * React Router v6.26.2 * * Copyright (c) Remix Software Inc. @@ -503,7 +511,7 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ym(){return ym=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),c.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=kte(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:dl([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,o,i,e])}function Bte(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=c.useContext(Vc),{matches:a}=c.useContext(qc),{pathname:i}=Vo(),o=JSON.stringify(Lte(a,r.v7_relativeSplatPath));return c.useMemo(()=>kte(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function b2e(e,t){return S2e(e,t)}function S2e(e,t,n,r){Sg()||kr(!1);let{navigator:a}=c.useContext(Vc),{matches:i}=c.useContext(qc),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Vo(),d;if(t){var p;let v=typeof t=="string"?op(t):t;l==="/"||(p=v.pathname)!=null&&p.startsWith(l)||kr(!1),d=v}else d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let v=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let g=YPe(e,{pathname:m}),h=x2e(g&&g.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:dl([l,a.encodeLocation?a.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:dl([l,a.encodeLocation?a.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&h?c.createElement(yS.Provider,{value:{location:ym({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Zs.Pop}},h):h}function E2e(){let e=O2e(),t=m2e(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:a},n):null,null)}const y2e=c.createElement(E2e,null);class C2e extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?c.createElement(qc.Provider,{value:this.props.routeContext},c.createElement($te.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function T2e(e){let{routeContext:t,match:n,children:r}=e,a=c.useContext(sP);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(qc.Provider,{value:t},r)}function x2e(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=o.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||kr(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,p,f)=>{let m,g=!1,h=null,v=null;n&&(m=s&&p.route.id?s[p.route.id]:void 0,h=p.route.errorElement||y2e,l&&(u<0&&f===0?(g=!0,v=null):u===f&&(g=!0,v=p.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,f+1)),_=()=>{let E;return m?E=h:g?E=v:p.route.Component?E=c.createElement(p.route.Component,null):p.route.element?E=p.route.element:E=d,c.createElement(T2e,{match:p,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:E})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?c.createElement(C2e,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:_(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):_()},null)}var Ute=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ute||{}),M_=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(M_||{});function R2e(e){let t=c.useContext(sP);return t||kr(!1),t}function w2e(e){let t=c.useContext(h2e);return t||kr(!1),t}function I2e(e){let t=c.useContext(qc);return t||kr(!1),t}function jte(e){let t=I2e(),n=t.matches[t.matches.length-1];return n.route.id||kr(!1),n.route.id}function O2e(){var e;let t=c.useContext($te),n=w2e(M_.UseRouteError),r=jte(M_.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function N2e(){let{router:e}=R2e(Ute.UseNavigateStable),t=jte(M_.UseNavigateStable),n=c.useRef(!1);return Fte(()=>{n.current=!0}),c.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,ym({fromRouteId:t},i)))},[e,t])}function Nn(e){kr(!1)}function A2e(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Zs.Pop,navigator:i,static:o=!1,future:s}=e;Sg()&&kr(!1);let l=t.replace(/^\/*/,"/"),u=c.useMemo(()=>({basename:l,navigator:i,static:o,future:ym({v7_relativeSplatPath:!1},s)}),[l,s,i,o]);typeof r=="string"&&(r=op(r));let{pathname:d="/",search:p="",hash:f="",state:m=null,key:g="default"}=r,h=c.useMemo(()=>{let v=oP(d,l);return v==null?null:{location:{pathname:v,search:p,hash:f,state:m,key:g},navigationType:a}},[l,d,p,f,m,g,a]);return h==null?null:c.createElement(Vc.Provider,{value:u},c.createElement(yS.Provider,{children:n,value:h}))}function D2e(e){let{children:t,location:n}=e;return b2e(zD(t),n)}new Promise(()=>{});function zD(e,t){t===void 0&&(t=[]);let n=[];return c.Children.forEach(e,(r,a)=>{if(!c.isValidElement(r))return;let i=[...t,a];if(r.type===c.Fragment){n.push.apply(n,zD(r.props.children,i));return}r.type!==Nn&&kr(!1),!r.props.index||!r.props.children||kr(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=zD(r.props.children,i)),n.push(o)}),n}/** + */function Tm(){return Tm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),c.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=Fte(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:pl([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,o,i,e])}function zte(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=c.useContext(Vc),{matches:a}=c.useContext(qc),{pathname:i}=Wo(),o=JSON.stringify($te(a,r.v7_relativeSplatPath));return c.useMemo(()=>Fte(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function L2e(e,t){return k2e(e,t)}function k2e(e,t,n,r){Cg()||Mr(!1);let{navigator:a}=c.useContext(Vc),{matches:i}=c.useContext(qc),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Wo(),d;if(t){var p;let v=typeof t=="string"?cp(t):t;l==="/"||(p=v.pathname)!=null&&p.startsWith(l)||Mr(!1),d=v}else d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let v=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let g=c2e(e,{pathname:m}),h=U2e(g&&g.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:pl([l,a.encodeLocation?a.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:pl([l,a.encodeLocation?a.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&h?c.createElement(xS.Provider,{value:{location:Tm({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Js.Pop}},h):h}function P2e(){let e=G2e(),t=O2e(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:a},n):null,null)}const $2e=c.createElement(P2e,null);class F2e extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?c.createElement(qc.Provider,{value:this.props.routeContext},c.createElement(Ute.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B2e(e){let{routeContext:t,match:n,children:r}=e,a=c.useContext(cP);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(qc.Provider,{value:t},r)}function U2e(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=o.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||Mr(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,p,f)=>{let m,g=!1,h=null,v=null;n&&(m=s&&p.route.id?s[p.route.id]:void 0,h=p.route.errorElement||$2e,l&&(u<0&&f===0?(g=!0,v=null):u===f&&(g=!0,v=p.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,f+1)),b=()=>{let E;return m?E=h:g?E=v:p.route.Component?E=c.createElement(p.route.Component,null):p.route.element?E=p.route.element:E=d,c.createElement(B2e,{match:p,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:E})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?c.createElement(F2e,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:b(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):b()},null)}var Hte=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Hte||{}),$_=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}($_||{});function j2e(e){let t=c.useContext(cP);return t||Mr(!1),t}function z2e(e){let t=c.useContext(A2e);return t||Mr(!1),t}function H2e(e){let t=c.useContext(qc);return t||Mr(!1),t}function Gte(e){let t=H2e(),n=t.matches[t.matches.length-1];return n.route.id||Mr(!1),n.route.id}function G2e(){var e;let t=c.useContext(Ute),n=z2e($_.UseRouteError),r=Gte($_.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function V2e(){let{router:e}=j2e(Hte.UseNavigateStable),t=Gte($_.UseNavigateStable),n=c.useRef(!1);return jte(()=>{n.current=!0}),c.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Tm({fromRouteId:t},i)))},[e,t])}function Nn(e){Mr(!1)}function q2e(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Js.Pop,navigator:i,static:o=!1,future:s}=e;Cg()&&Mr(!1);let l=t.replace(/^\/*/,"/"),u=c.useMemo(()=>({basename:l,navigator:i,static:o,future:Tm({v7_relativeSplatPath:!1},s)}),[l,s,i,o]);typeof r=="string"&&(r=cp(r));let{pathname:d="/",search:p="",hash:f="",state:m=null,key:g="default"}=r,h=c.useMemo(()=>{let v=lP(d,l);return v==null?null:{location:{pathname:v,search:p,hash:f,state:m,key:g},navigationType:a}},[l,d,p,f,m,g,a]);return h==null?null:c.createElement(Vc.Provider,{value:u},c.createElement(xS.Provider,{children:n,value:h}))}function W2e(e){let{children:t,location:n}=e;return L2e(GD(t),n)}new Promise(()=>{});function GD(e,t){t===void 0&&(t=[]);let n=[];return c.Children.forEach(e,(r,a)=>{if(!c.isValidElement(r))return;let i=[...t,a];if(r.type===c.Fragment){n.push.apply(n,GD(r.props.children,i));return}r.type!==Nn&&Mr(!1),!r.props.index||!r.props.children||Mr(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=GD(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.26.2 * * Copyright (c) Remix Software Inc. @@ -512,86 +520,86 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function L2e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function k2e(e,t){return e.button===0&&(!t||t==="_self")&&!L2e(e)}const P2e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],$2e="6";try{window.__reactRouterVersion=$2e}catch{}const F2e="startTransition",vU=zm[F2e];function B2e(e){let{basename:t,children:n,future:r,window:a}=e,i=c.useRef();i.current==null&&(i.current=VPe({window:a,v5Compat:!0}));let o=i.current,[s,l]=c.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=c.useCallback(p=>{u&&vU?vU(()=>l(p)):l(p)},[l,u]);return c.useLayoutEffect(()=>o.listen(d),[o,d]),c.createElement(A2e,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const U2e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",j2e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wt=c.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:s,target:l,to:u,preventScrollReset:d,unstable_viewTransition:p}=t,f=M2e(t,P2e),{basename:m}=c.useContext(Vc),g,h=!1;if(typeof u=="string"&&j2e.test(u)&&(g=u,U2e))try{let E=new URL(window.location.href),y=u.startsWith("//")?new URL(E.protocol+u):new URL(u),C=oP(y.pathname,m);y.origin===E.origin&&C!=null?u=C+y.search+y.hash:h=!0}catch{}let v=v2e(u,{relative:a}),S=z2e(u,{replace:o,state:s,target:l,preventScrollReset:d,relative:a,unstable_viewTransition:p});function _(E){r&&r(E),E.defaultPrevented||S(E)}return c.createElement("a",HD({},f,{href:g||v,onClick:h||i?r:_,ref:n,target:l}))});var _U;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_U||(_U={}));var bU;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bU||(bU={}));function z2e(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,l=lP(),u=Vo(),d=Bte(e,{relative:o});return c.useCallback(p=>{if(k2e(p,n)){p.preventDefault();let f=r!==void 0?r:D_(u)===D_(d);l(e,{replace:f,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s})}},[u,l,d,r,a,n,e,i,o,s])}const zte="/web/assets/logo-aw46LCqE.png",H2e=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"},Hte=ce.createContext(void 0),CS=()=>{const e=c.useContext(Hte);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},SU=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},G2e=({children:e})=>{const{t}=$t(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),[l,u]=c.useState([]),d=(p,f,m)=>{if(console.log("Play audio: "+p),!H2e()&&p.includes("?ogg"))Sn.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const g=document.getElementById("globalAudioPlayer");g.src=p,f?(r(f.picture),i(f.series||f.episode?f.series:SU(decodeURI(p).replace("500304E0",t("audio.unknownSource")))),s(f.episode)):(r(decodeURI(p).includes(".taf?")?"/img_unknown.png":zte),i(""),s(SU(decodeURI(p)))),u(m||[0]),g.play()}};return b.jsx(Hte.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:o,songTracks:l},children:e})},V2e=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(jee)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(s1e)}],q2e=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Qb,{width:200,children:b.jsx(zo,{mode:"inline",style:{height:"100%",borderRight:0},items:V2e})}),b.jsxs(Ho,{style:{padding:"0 24px 24px"},children:[b.jsxs(Zd,{style:{margin:"16px 0"},children:[b.jsx(nd,{children:"Home"}),b.jsx(nd,{children:"List"}),b.jsx(nd,{children:"App"})]}),b.jsxs(yee,{style:{padding:24,margin:0,minHeight:280},children:[b.jsx("p",{children:e("welcome.title")}),b.jsx("p",{children:"Sample datepicker from ant design:"}),b.jsx(np,{})]})]})]})};var za=function(){return za=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?Kr(sp,--Hi):0,Od--,Mr===10&&(Od=1,xS--),Mr}function uo(){return Mr=Hi2||VD(Mr)>3?"":" "}function n$e(e,t){for(;--t&&uo()&&!(Mr<48||Mr>102||Mr>57&&Mr<65||Mr>70&&Mr<97););return wS(e,Cv()+(t<6&&gc()==32&&uo()==32))}function qD(e){for(;uo();)switch(Mr){case e:return Hi;case 34:case 39:e!==34&&e!==39&&qD(Mr);break;case 40:e===41&&qD(e);break;case 92:uo();break}return Hi}function r$e(e,t){for(;uo()&&e+Mr!==57;)if(e+Mr===84&&gc()===47)break;return"/*"+wS(t,Hi-1)+"*"+uP(e===47?e:uo())}function a$e(e){for(;!VD(gc());)uo();return wS(e,Hi)}function i$e(e){return e$e(Tv("",null,null,null,[""],e=J2e(e),0,[0],e))}function Tv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,_=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=_,_=uo()){case 40:if(g!=108&&Kr(x,p-1)==58){yv(x+=un(Gy(_),"&","&\f"),"&\f",qte(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=Gy(_);break;case 9:case 10:case 13:case 32:x+=t$e(g);break;case 92:x+=n$e(Cv()-1,7);continue;case 47:switch(gc()){case 42:case 47:tf(o$e(r$e(uo(),Cv()),t,n,l),l);break;default:x+="/"}break;case 123*h:s[u++]=wo(x)*S;case 125*h:case 59:case 0:switch(_){case 0:case 125:v=0;case 59+d:S==-1&&(x=un(x,/\f/g,"")),m>0&&wo(x)-p&&tf(m>32?CU(x+";",r,n,p-1,l):CU(un(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(tf(T=yU(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),_===123)if(d===0)Tv(x,t,T,T,y,i,p,s,C);else switch(f===99&&Kr(x,3)===110?100:f){case 100:case 108:case 109:case 115:Tv(e,T,T,r&&tf(yU(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:Tv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+wo(x),m=g;default:if(h<1){if(_==123)--h;else if(_==125&&h++==0&&Z2e()==125)continue}switch(x+=uP(_),_*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(wo(x)-1)*S,S=1;break;case 64:gc()===45&&(x+=Gy(uo())),f=gc(),d=p=wo(E=x+=a$e(Cv())),_++;break;case 45:g===45&&wo(x)==2&&(h=0)}}return i}function yU(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=Yte(m),h=0,v=0,S=0;h0?m[_]+" "+E:un(E,/&\f/g,m[_])))&&(l[S++]=y);return RS(e,t,n,a===0?TS:s,l,u,d,p)}function o$e(e,t,n,r){return RS(e,t,n,Gte,uP(Q2e()),Id(e,2,-2),0,r)}function CU(e,t,n,r,a){return RS(e,t,n,cP,Id(e,0,r),Id(e,r+1,-1),r,a)}function Xte(e,t,n){switch(K2e(e,t)){case 5103:return Dn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dn+e+e;case 4789:return wf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+e+wf+e+ir+e+e;case 5936:switch(Kr(e,t+11)){case 114:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Dn+e+ir+e+e;case 6165:return Dn+e+ir+"flex-"+e+e;case 5187:return Dn+e+un(e,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+ir+"flex-$1$2")+e;case 5443:return Dn+e+ir+"flex-item-"+un(e,/flex-|-self/g,"")+(ns(e,/flex-|baseline/)?"":ir+"grid-row-"+un(e,/flex-|-self/g,""))+e;case 4675:return Dn+e+ir+"flex-line-pack"+un(e,/align-content|flex-|-self/g,"")+e;case 5548:return Dn+e+ir+un(e,"shrink","negative")+e;case 5292:return Dn+e+ir+un(e,"basis","preferred-size")+e;case 6060:return Dn+"box-"+un(e,"-grow","")+Dn+e+ir+un(e,"grow","positive")+e;case 4554:return Dn+un(e,/([^-])(transform)/g,"$1"+Dn+"$2")+e;case 6187:return un(un(un(e,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),e,"")+e;case 5495:case 3959:return un(e,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return un(un(e,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+ir+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+e+e;case 4200:if(!ns(e,/flex-|baseline/))return ir+"grid-column-align"+Id(e,t)+e;break;case 2592:case 3360:return ir+un(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,ns(r.props,/grid-\w+-end/)})?~yv(e+(n=n[t].value),"span",0)?e:ir+un(e,"-start","")+e+ir+"grid-row-span:"+(~yv(n,"span",0)?ns(n,/\d+/):+ns(n,/\d+/)-+ns(e,/\d+/))+";":ir+un(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ns(r.props,/grid-\w+-start/)})?e:ir+un(un(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return un(e,/(.+)-inline(.+)/,Dn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(wo(e)-1-t>6)switch(Kr(e,t+1)){case 109:if(Kr(e,t+4)!==45)break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+wf+(Kr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~yv(e,"stretch",0)?Xte(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,i,o,s,l,u){return ir+a+":"+i+u+(o?ir+a+"-span:"+(s?l:+l-+i)+u:"")+e});case 4949:if(Kr(e,t+6)===121)return un(e,":",":"+Dn)+e;break;case 6444:switch(Kr(e,Kr(e,14)===45?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Dn+(Kr(e,14)===45?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+ir+"$2box$3")+e;case 100:return un(e,":",":"+ir)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function k_(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case cP:e.return=Xte(e.value,e.length,n);return;case Vte:return k_([Fs(e,{value:un(e.value,"@","@"+Dn)})],r);case TS:if(e.length)return X2e(n=e.props,function(a){switch(ns(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":mu(Fs(e,{props:[un(a,/:(read-\w+)/,":"+wf+"$1")]})),mu(Fs(e,{props:[a]})),GD(e,{props:EU(n,r)});break;case"::placeholder":mu(Fs(e,{props:[un(a,/:(plac\w+)/,":"+Dn+"input-$1")]})),mu(Fs(e,{props:[un(a,/:(plac\w+)/,":"+wf+"$1")]})),mu(Fs(e,{props:[un(a,/:(plac\w+)/,ir+"input-$1")]})),mu(Fs(e,{props:[a]})),GD(e,{props:EU(n,r)});break}return""})}}var d$e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ai={},Nd=typeof process<"u"&&ai!==void 0&&(ai.REACT_APP_SC_ATTR||ai.SC_ATTR)||"data-styled",Qte="active",Zte="data-styled-version",IS="6.1.13",dP=`/*!sc*/ -`,P_=typeof window<"u"&&"HTMLElement"in window,p$e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==""?ai.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ai.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.SC_DISABLE_SPEEDY!==void 0&&ai.SC_DISABLE_SPEEDY!==""&&ai.SC_DISABLE_SPEEDY!=="false"&&ai.SC_DISABLE_SPEEDY),OS=Object.freeze([]),Ad=Object.freeze({});function f$e(e,t,n){return n===void 0&&(n=Ad),e.theme!==n.theme&&e.theme||t||n.theme}var Jte=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),m$e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,g$e=/(^-|-$)/g;function TU(e){return e.replace(m$e,"-").replace(g$e,"")}var h$e=/(a)(d)/gi,Nh=52,xU=function(e){return String.fromCharCode(e+(e>25?39:97))};function WD(e){var t,n="";for(t=Math.abs(e);t>Nh;t=t/Nh|0)n=xU(t%Nh)+n;return(xU(t%Nh)+n).replace(h$e,"$1-$2")}var Vy,ene=5381,Hu=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tne=function(e){return Hu(ene,e)};function v$e(e){return WD(tne(e)>>>0)}function _$e(e){return e.displayName||e.name||"Component"}function qy(e){return typeof e=="string"&&!0}var nne=typeof Symbol=="function"&&Symbol.for,rne=nne?Symbol.for("react.memo"):60115,b$e=nne?Symbol.for("react.forward_ref"):60112,S$e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},E$e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ane={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},y$e=((Vy={})[b$e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vy[rne]=ane,Vy);function RU(e){return("type"in(t=e)&&t.type.$$typeof)===rne?ane:"$$typeof"in e?y$e[e.$$typeof]:S$e;var t}var C$e=Object.defineProperty,T$e=Object.getOwnPropertyNames,wU=Object.getOwnPropertySymbols,x$e=Object.getOwnPropertyDescriptor,R$e=Object.getPrototypeOf,IU=Object.prototype;function ine(e,t,n){if(typeof t!="string"){if(IU){var r=R$e(t);r&&r!==IU&&ine(e,r,n)}var a=T$e(t);wU&&(a=a.concat(wU(t)));for(var i=RU(e),o=RU(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var w$e=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,i=a;t>=i;)if((i<<=1)<0)throw Eg(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=a;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),i=a+r,o=a;o=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(v+="".concat(S,","))}),l+="".concat(g).concat(h,'{content:"').concat(v,'"}').concat(dP)},d=0;d0?".".concat(t):f},d=l.slice();d.push(function(f){f.type===TS&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(F$e,n).replace(r,u))}),o.prefix&&d.push(u$e),d.push(s$e);var p=function(f,m,g,h){m===void 0&&(m=""),g===void 0&&(g=""),h===void 0&&(h="&"),t=h,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var v=f.replace(B$e,""),S=i$e(g||m?"".concat(g," ").concat(m," { ").concat(v," }"):v);o.namespace&&(S=lne(S,o.namespace));var _=[];return k_(S,l$e(d.concat(c$e(function(E){return _.push(E)})))),_};return p.hash=l.length?l.reduce(function(f,m){return m.name||Eg(15),Hu(f,m.name)},ene).toString():"",p}var j$e=new sne,KD=U$e(),cne=ce.createContext({shouldForwardProp:void 0,styleSheet:j$e,stylis:KD});cne.Consumer;ce.createContext(void 0);function DU(){return c.useContext(cne)}var z$e=function(){function e(t,n){var r=this;this.inject=function(a,i){i===void 0&&(i=KD);var o=r.name+i.hash;a.hasNameForId(r.id,o)||a.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,fP(this,function(){throw Eg(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=KD),this.name+t.hash},e}(),H$e=function(e){return e>="A"&&e<="Z"};function MU(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}a=ic(a,o),this.staticRulesId=o}else{for(var l=Hu(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(u,".".concat(m),void 0,this.componentId)),a=ic(a,m)}}return a},e}(),pne=ce.createContext(void 0);pne.Consumer;var Wy={};function W$e(e,t,n){var r=pP(e),a=e,i=!qy(e),o=t.attrs,s=o===void 0?OS:o,l=t.componentId,u=l===void 0?function(y,C){var T=typeof y!="string"?"sc":TU(y);Wy[T]=(Wy[T]||0)+1;var x="".concat(T,"-").concat(v$e(IS+T+Wy[T]));return C?"".concat(C,"-").concat(x):x}(t.displayName,t.parentComponentId):l,d=t.displayName,p=d===void 0?function(y){return qy(y)?"styled.".concat(y):"Styled(".concat(_$e(y),")")}(e):d,f=t.displayName&&t.componentId?"".concat(TU(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,g=t.shouldForwardProp;if(r&&a.shouldForwardProp){var h=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(y,C){return h(y,C)&&v(y,C)}}else g=h}var S=new q$e(n,f,r?a.componentStyle:void 0);function _(y,C){return function(T,x,R){var w=T.attrs,I=T.componentStyle,O=T.defaultProps,k=T.foldedComponentIds,P=T.styledComponentId,M=T.target,N=ce.useContext(pne),A=DU(),D=T.shouldForwardProp||A.shouldForwardProp,L=f$e(x,N,O)||Ad,$=function(G,J,Y){for(var X,V=za(za({},J),{className:void 0,theme:Y}),H=0;HK$e().token,yg=ka(zo)` + */function VD(){return VD=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function K2e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function X2e(e,t){return e.button===0&&(!t||t==="_self")&&!K2e(e)}const Q2e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Z2e="6";try{window.__reactRouterVersion=Z2e}catch{}const J2e="startTransition",bU=Gm[J2e];function e$e(e){let{basename:t,children:n,future:r,window:a}=e,i=c.useRef();i.current==null&&(i.current=o2e({window:a,v5Compat:!0}));let o=i.current,[s,l]=c.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=c.useCallback(p=>{u&&bU?bU(()=>l(p)):l(p)},[l,u]);return c.useLayoutEffect(()=>o.listen(d),[o,d]),c.createElement(q2e,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const t$e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",n$e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,St=c.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:s,target:l,to:u,preventScrollReset:d,unstable_viewTransition:p}=t,f=Y2e(t,Q2e),{basename:m}=c.useContext(Vc),g,h=!1;if(typeof u=="string"&&n$e.test(u)&&(g=u,t$e))try{let E=new URL(window.location.href),y=u.startsWith("//")?new URL(E.protocol+u):new URL(u),C=lP(y.pathname,m);y.origin===E.origin&&C!=null?u=C+y.search+y.hash:h=!0}catch{}let v=D2e(u,{relative:a}),S=r$e(u,{replace:o,state:s,target:l,preventScrollReset:d,relative:a,unstable_viewTransition:p});function b(E){r&&r(E),E.defaultPrevented||S(E)}return c.createElement("a",VD({},f,{href:g||v,onClick:h||i?r:b,ref:n,target:l}))});var SU;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(SU||(SU={}));var EU;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(EU||(EU={}));function r$e(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,l=uP(),u=Wo(),d=zte(e,{relative:o});return c.useCallback(p=>{if(X2e(p,n)){p.preventDefault();let f=r!==void 0?r:P_(u)===P_(d);l(e,{replace:f,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s})}},[u,l,d,r,a,n,e,i,o,s])}const Vte="/web/assets/logo-aw46LCqE.png",a$e=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"};function hi(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const qte=ce.createContext(void 0),RS=()=>{const e=c.useContext(qte);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},yU=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},i$e=({children:e})=>{const{t}=$t(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),[l,u]=c.useState([]),d=(p,f,m)=>{if(console.log("Play audio: "+p),/\/....04E0\?|(\?ogg)/.test(p)&&!a$e())Sn.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const v=document.getElementById("globalAudioPlayer");v.src=p,f?(r(f.picture),i(f.series||f.episode?f.series:yU(decodeURI(p).replace("500304E0",t("audio.unknownSource")))),s(f.episode)):(r(decodeURI(p).includes(".taf?")?"/img_unknown.png":Vte),i(""),s(yU(decodeURI(p)))),u(m||[0]),v.play()}};return _.jsx(qte.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:o,songTracks:l},children:e})},o$e=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(zee)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(cNe)}],s$e=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(eS,{width:200,children:_.jsx(Go,{mode:"inline",style:{height:"100%",borderRight:0},items:o$e})}),_.jsxs(Vo,{style:{padding:"0 24px 24px"},children:[_.jsxs(tp,{style:{margin:"16px 0"},children:[_.jsx(id,{children:"Home"}),_.jsx(id,{children:"List"}),_.jsx(id,{children:"App"})]}),_.jsxs(Cee,{style:{padding:24,margin:0,minHeight:280},children:[_.jsx("p",{children:e("welcome.title")}),_.jsx("p",{children:"Sample datepicker from ant design:"}),_.jsx(ip,{})]})]})]})};var Ha=function(){return Ha=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?Kr(up,--Gi):0,Dd--,Ar===10&&(Dd=1,IS--),Ar}function po(){return Ar=Gi2||WD(Ar)>3?"":" "}function v$e(e,t){for(;--t&&po()&&!(Ar<48||Ar>102||Ar>57&&Ar<65||Ar>70&&Ar<97););return NS(e,wv()+(t<6&&gc()==32&&po()==32))}function YD(e){for(;po();)switch(Ar){case e:return Gi;case 34:case 39:e!==34&&e!==39&&YD(Ar);break;case 40:e===41&&YD(e);break;case 92:po();break}return Gi}function _$e(e,t){for(;po()&&e+Ar!==57;)if(e+Ar===84&&gc()===47)break;return"/*"+NS(t,Gi-1)+"*"+pP(e===47?e:po())}function b$e(e){for(;!WD(gc());)po();return NS(e,Gi)}function S$e(e){return g$e(Iv("",null,null,null,[""],e=m$e(e),0,[0],e))}function Iv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,b=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=b,b=po()){case 40:if(g!=108&&Kr(x,p-1)==58){Rv(x+=un(qy(b),"&","&\f"),"&\f",Kte(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=qy(b);break;case 9:case 10:case 13:case 32:x+=h$e(g);break;case 92:x+=v$e(wv()-1,7);continue;case 47:switch(gc()){case 42:case 47:rf(E$e(_$e(po(),wv()),t,n,l),l);break;default:x+="/"}break;case 123*h:s[u++]=Io(x)*S;case 125*h:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+d:S==-1&&(x=un(x,/\f/g,"")),m>0&&Io(x)-p&&rf(m>32?xU(x+";",r,n,p-1,l):xU(un(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(rf(T=TU(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),b===123)if(d===0)Iv(x,t,T,T,y,i,p,s,C);else switch(f===99&&Kr(x,3)===110?100:f){case 100:case 108:case 109:case 115:Iv(e,T,T,r&&rf(TU(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:Iv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+Io(x),m=g;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&f$e()==125)continue}switch(x+=pP(b),b*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(Io(x)-1)*S,S=1;break;case 64:gc()===45&&(x+=qy(po())),f=gc(),d=p=Io(E=x+=b$e(wv())),b++;break;case 45:g===45&&Io(x)==2&&(h=0)}}return i}function TU(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=Qte(m),h=0,v=0,S=0;h0?m[b]+" "+E:un(E,/&\f/g,m[b])))&&(l[S++]=y);return OS(e,t,n,a===0?wS:s,l,u,d,p)}function E$e(e,t,n,r){return OS(e,t,n,Wte,pP(p$e()),Ad(e,2,-2),0,r)}function xU(e,t,n,r,a){return OS(e,t,n,dP,Ad(e,0,r),Ad(e,r+1,-1),r,a)}function Jte(e,t,n){switch(u$e(e,t)){case 5103:return Dn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dn+e+e;case 4789:return Of+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+e+Of+e+sr+e+e;case 5936:switch(Kr(e,t+11)){case 114:return Dn+e+sr+un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dn+e+sr+un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dn+e+sr+un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Dn+e+sr+e+e;case 6165:return Dn+e+sr+"flex-"+e+e;case 5187:return Dn+e+un(e,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+sr+"flex-$1$2")+e;case 5443:return Dn+e+sr+"flex-item-"+un(e,/flex-|-self/g,"")+(as(e,/flex-|baseline/)?"":sr+"grid-row-"+un(e,/flex-|-self/g,""))+e;case 4675:return Dn+e+sr+"flex-line-pack"+un(e,/align-content|flex-|-self/g,"")+e;case 5548:return Dn+e+sr+un(e,"shrink","negative")+e;case 5292:return Dn+e+sr+un(e,"basis","preferred-size")+e;case 6060:return Dn+"box-"+un(e,"-grow","")+Dn+e+sr+un(e,"grow","positive")+e;case 4554:return Dn+un(e,/([^-])(transform)/g,"$1"+Dn+"$2")+e;case 6187:return un(un(un(e,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),e,"")+e;case 5495:case 3959:return un(e,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return un(un(e,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+sr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+e+e;case 4200:if(!as(e,/flex-|baseline/))return sr+"grid-column-align"+Ad(e,t)+e;break;case 2592:case 3360:return sr+un(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,as(r.props,/grid-\w+-end/)})?~Rv(e+(n=n[t].value),"span",0)?e:sr+un(e,"-start","")+e+sr+"grid-row-span:"+(~Rv(n,"span",0)?as(n,/\d+/):+as(n,/\d+/)-+as(e,/\d+/))+";":sr+un(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return as(r.props,/grid-\w+-start/)})?e:sr+un(un(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return un(e,/(.+)-inline(.+)/,Dn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Io(e)-1-t>6)switch(Kr(e,t+1)){case 109:if(Kr(e,t+4)!==45)break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+Of+(Kr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rv(e,"stretch",0)?Jte(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,i,o,s,l,u){return sr+a+":"+i+u+(o?sr+a+"-span:"+(s?l:+l-+i)+u:"")+e});case 4949:if(Kr(e,t+6)===121)return un(e,":",":"+Dn)+e;break;case 6444:switch(Kr(e,Kr(e,14)===45?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Dn+(Kr(e,14)===45?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+sr+"$2box$3")+e;case 100:return un(e,":",":"+sr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function B_(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case dP:e.return=Jte(e.value,e.length,n);return;case Yte:return B_([Bs(e,{value:un(e.value,"@","@"+Dn)})],r);case wS:if(e.length)return d$e(n=e.props,function(a){switch(as(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":hu(Bs(e,{props:[un(a,/:(read-\w+)/,":"+Of+"$1")]})),hu(Bs(e,{props:[a]})),qD(e,{props:CU(n,r)});break;case"::placeholder":hu(Bs(e,{props:[un(a,/:(plac\w+)/,":"+Dn+"input-$1")]})),hu(Bs(e,{props:[un(a,/:(plac\w+)/,":"+Of+"$1")]})),hu(Bs(e,{props:[un(a,/:(plac\w+)/,sr+"input-$1")]})),hu(Bs(e,{props:[a]})),qD(e,{props:CU(n,r)});break}return""})}}var R$e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ai={},Md=typeof process<"u"&&ai!==void 0&&(ai.REACT_APP_SC_ATTR||ai.SC_ATTR)||"data-styled",ene="active",tne="data-styled-version",AS="6.1.13",fP=`/*!sc*/ +`,U_=typeof window<"u"&&"HTMLElement"in window,w$e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==""?ai.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ai.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.SC_DISABLE_SPEEDY!==void 0&&ai.SC_DISABLE_SPEEDY!==""&&ai.SC_DISABLE_SPEEDY!=="false"&&ai.SC_DISABLE_SPEEDY),DS=Object.freeze([]),Ld=Object.freeze({});function I$e(e,t,n){return n===void 0&&(n=Ld),e.theme!==n.theme&&e.theme||t||n.theme}var nne=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,N$e=/(^-|-$)/g;function RU(e){return e.replace(O$e,"-").replace(N$e,"")}var A$e=/(a)(d)/gi,Mh=52,wU=function(e){return String.fromCharCode(e+(e>25?39:97))};function KD(e){var t,n="";for(t=Math.abs(e);t>Mh;t=t/Mh|0)n=wU(t%Mh)+n;return(wU(t%Mh)+n).replace(A$e,"$1-$2")}var Wy,rne=5381,qu=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ane=function(e){return qu(rne,e)};function D$e(e){return KD(ane(e)>>>0)}function M$e(e){return e.displayName||e.name||"Component"}function Yy(e){return typeof e=="string"&&!0}var ine=typeof Symbol=="function"&&Symbol.for,one=ine?Symbol.for("react.memo"):60115,L$e=ine?Symbol.for("react.forward_ref"):60112,k$e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},P$e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},sne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$$e=((Wy={})[L$e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Wy[one]=sne,Wy);function IU(e){return("type"in(t=e)&&t.type.$$typeof)===one?sne:"$$typeof"in e?$$e[e.$$typeof]:k$e;var t}var F$e=Object.defineProperty,B$e=Object.getOwnPropertyNames,OU=Object.getOwnPropertySymbols,U$e=Object.getOwnPropertyDescriptor,j$e=Object.getPrototypeOf,NU=Object.prototype;function lne(e,t,n){if(typeof t!="string"){if(NU){var r=j$e(t);r&&r!==NU&&lne(e,r,n)}var a=B$e(t);OU&&(a=a.concat(OU(t)));for(var i=IU(e),o=IU(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var z$e=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,i=a;t>=i;)if((i<<=1)<0)throw Tg(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=a;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),i=a+r,o=a;o=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(v+="".concat(S,","))}),l+="".concat(g).concat(h,'{content:"').concat(v,'"}').concat(fP)},d=0;d0?".".concat(t):f},d=l.slice();d.push(function(f){f.type===wS&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(J$e,n).replace(r,u))}),o.prefix&&d.push(x$e),d.push(y$e);var p=function(f,m,g,h){m===void 0&&(m=""),g===void 0&&(g=""),h===void 0&&(h="&"),t=h,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var v=f.replace(eFe,""),S=S$e(g||m?"".concat(g," ").concat(m," { ").concat(v," }"):v);o.namespace&&(S=dne(S,o.namespace));var b=[];return B_(S,C$e(d.concat(T$e(function(E){return b.push(E)})))),b};return p.hash=l.length?l.reduce(function(f,m){return m.name||Tg(15),qu(f,m.name)},rne).toString():"",p}var nFe=new une,QD=tFe(),pne=ce.createContext({shouldForwardProp:void 0,styleSheet:nFe,stylis:QD});pne.Consumer;ce.createContext(void 0);function LU(){return c.useContext(pne)}var rFe=function(){function e(t,n){var r=this;this.inject=function(a,i){i===void 0&&(i=QD);var o=r.name+i.hash;a.hasNameForId(r.id,o)||a.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,gP(this,function(){throw Tg(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=QD),this.name+t.hash},e}(),aFe=function(e){return e>="A"&&e<="Z"};function kU(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}a=ic(a,o),this.staticRulesId=o}else{for(var l=qu(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(u,".".concat(m),void 0,this.componentId)),a=ic(a,m)}}return a},e}(),gne=ce.createContext(void 0);gne.Consumer;var Ky={};function lFe(e,t,n){var r=mP(e),a=e,i=!Yy(e),o=t.attrs,s=o===void 0?DS:o,l=t.componentId,u=l===void 0?function(y,C){var T=typeof y!="string"?"sc":RU(y);Ky[T]=(Ky[T]||0)+1;var x="".concat(T,"-").concat(D$e(AS+T+Ky[T]));return C?"".concat(C,"-").concat(x):x}(t.displayName,t.parentComponentId):l,d=t.displayName,p=d===void 0?function(y){return Yy(y)?"styled.".concat(y):"Styled(".concat(M$e(y),")")}(e):d,f=t.displayName&&t.componentId?"".concat(RU(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,g=t.shouldForwardProp;if(r&&a.shouldForwardProp){var h=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(y,C){return h(y,C)&&v(y,C)}}else g=h}var S=new sFe(n,f,r?a.componentStyle:void 0);function b(y,C){return function(T,x,R){var w=T.attrs,I=T.componentStyle,O=T.defaultProps,k=T.foldedComponentIds,P=T.styledComponentId,M=T.target,N=ce.useContext(gne),A=LU(),D=T.shouldForwardProp||A.shouldForwardProp,L=I$e(x,N,O)||Ld,$=function(G,J,Y){for(var Q,V=Ha(Ha({},J),{className:void 0,theme:Y}),H=0;HuFe().token,xg=Pa(Go)` height: 100%; border-right: 0; -`,Bn=ka(Qb)` +`,Bn=Pa(eS)` width: 200px; @media (max-width: 768px) { display: none; margin: 8px; } -`,Un=ka(Ho)` +`,Un=Pa(Vo)` padding: 0 24px 24px; -`,Q$e=ka(Zd)` +`,pFe=Pa(tp)` margin: 16px 0; -`,Pn=ka(Ho.Content)` +`,Pn=Pa(Vo.Content)` padding: 24px; margin: 0; min-height: 280px; - background: ${()=>X$e().colorBgContainer}; -`,In=ka.span` + background: ${()=>dFe().colorBgContainer}; +`,In=Pa.span` @media (min-width: 768px) { display: none; } -`,Tm=ka.span` +`,Rm=Pa.span` @media (max-width: 768px) { display: none; } -`;ka(nd)` +`;Pa(id)` padding: 10px; -`;const jn=({items:e})=>{const{t}=$t();return c.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),b.jsx(Q$e,{items:e})},Z$e="http://localhost".replace(/\/+$/,"");class mne{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Z$e}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||hne}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const J$e=new mne,W_=class W_{constructor(t=J$e){Bl(this,"middleware");Bl(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const i of this.middleware)i.pre&&(r=await i.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(i){for(const o of this.middleware)o.onError&&(a=await o.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:i,response:a?a.clone():void 0})||a);if(a===void 0)throw i instanceof Error?new rFe(i,"The request failed and the interceptors did not return an alternative response"):i}for(const i of this.middleware)i.post&&(a=await i.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?W_.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),i=await this.fetchApi(r,a);if(i&&i.status>=200&&i.status<300)return i;throw new nFe(i,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const i=typeof n=="function"?n:async()=>n,o={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...o,...await i({init:o,context:t})},l={...s,body:tFe(s.body)||s.body instanceof URLSearchParams||eFe(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:l}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};Bl(W_,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let xm=W_;function eFe(e){return typeof Blob<"u"&&e instanceof Blob}function tFe(e){return typeof FormData<"u"&&e instanceof FormData}class nFe extends Error{constructor(n,r){super(r);Bl(this,"name","ResponseError");this.response=n}}class rFe extends Error{constructor(n,r){super(r);Bl(this,"name","FetchError");this.cause=n}}class aFe extends Error{constructor(n,r){super(r);Bl(this,"name","RequiredError");this.field=n}}function gne(e,t){const n=e[t];return n!=null}function hne(e,t=""){return Object.keys(e).map(n=>vne(n,e[n],t)).filter(n=>n.length>0).join("&")}function vne(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(i=>encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return vne(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?hne(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function iFe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class rs{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class oFe{constructor(t){this.raw=t}async value(){}}class F_{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class _ne extends xm{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new rs(a):new F_(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class sFe extends xm{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new rs(a):new F_(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function lFe(e){return cFe(e)}function cFe(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function uFe(e){return dFe(e)}function dFe(e,t){return e==null?e:{options:gne(e,"options")?e.options.map(lFe):void 0}}function pFe(e){return fFe(e)}function fFe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function mFe(e){return gFe(e)}function gFe(e,t){return e==null?e:{stats:gne(e,"stats")?e.stats.map(pFe):void 0}}class xn extends xm{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new rs(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new rs(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new rs(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,l,u)=>l===u.findIndex(d=>d.ruid===s.ruid&&d.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new rs(r,a=>uFe(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new aFe("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new oFe(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new rs(n,r=>mFe(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new rs(n):new F_(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},i={},s=iFe([{contentType:"multipart/form-data"}]);let l,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?l=new FormData:l=new URLSearchParams,t.filename&&t.filename.forEach(f=>{l.append("filename",f)});const p=await this.request({path:d,method:"POST",headers:i,query:a,body:l},r);return this.isJsonMime(p.headers.get("content-type"))?new rs(p):new F_(p)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a&&a!=="0"?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,i,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,i,o);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},i={},o=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:i,query:a},r);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudContentJson(t,n,r,a,i={}){const o=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,i);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudRaw(t,n,r,a,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const o=s=>new Blob([s],{type:"text/plain"});try{const s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:i,body:o((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,i={}){try{const o=await fetch(""+t,{method:"POST",body:n});if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}catch(o){return o.response?o.response:o instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:o.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:o}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const vn=()=>new mne({basePath:""}),hFe=new xn(vn()),vFe=new _ne(vn()),_Fe=async(e=!0)=>{try{if((await(await hFe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){Qe.error(Op("settings.restartFailed"));return}}catch{Qe.error(Op("settings.restartFailed"));return}const t=Qe.loading(Op("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await vFe.v1TimeGet()).length===10){t(),Qe.success(Op("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),Qe.error(Op("settings.restartFailed"))},bFe=new xn(vn()),Md=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=Qe.useMessage(),i=async()=>{await _Fe(!0),n("")},o=u=>{const d=new URL(u),p=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${p}`},s=async()=>{const u=Qe.loading(e("settings.toniesJsonReloadInProgress"),0);try{const p=await(await bFe.apiGetTeddyCloudApiRaw("/api/toniesJsonReload")).text();n(""),p.toString()!=="OK"?(u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})):(u(),r.open({type:"success",content:e("settings.toniesJsonReloadSuccessful")}))}catch{u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})}},l=[{key:"general",label:b.jsx(wt,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:ce.createElement(Hk),title:e("settings.general.navigationTitle")},{key:"certificates",label:b.jsx(wt,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:ce.createElement(zk),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:b.jsx(wt,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:ce.createElement(TNe),title:e("settings.rtnl.navigationTitle")},{key:"reload_toniesJson",label:b.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonReload")}),onClick:s,icon:ce.createElement(Uee),title:e("settings.toniesJsonReload")},{key:"restart_server",label:b.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:i,icon:ce.createElement(Y1e),title:e("settings.restartServer")},{key:"legacy",label:b.jsx(wt,{to:`${o(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:ce.createElement(YNe),title:e("settings.legacyGui")}];return b.jsxs(b.Fragment,{children:[a,b.jsx(yg,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:l})]})};var SFe=function(t){return EFe(t)&&!yFe(t)};function EFe(e){return!!e&&typeof e=="object"}function yFe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||xFe(e)}var CFe=typeof Symbol=="function"&&Symbol.for,TFe=CFe?Symbol.for("react.element"):60103;function xFe(e){return e.$$typeof===TFe}function RFe(e){return Array.isArray(e)?[]:{}}function B_(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Rm(RFe(e),e,t):e}function wFe(e,t,n){return e.concat(t).map(function(r){return B_(r,n)})}function IFe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=B_(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=B_(t[a],n):r[a]=Rm(e[a],t[a],n)}),r}function Rm(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||wFe,n.isMergeableObject=n.isMergeableObject||SFe;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):IFe(e,t,n):B_(t,n)}Rm.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Rm(r,a,n)},{})};var QD=Rm,bne=typeof global=="object"&&global&&global.Object===Object&&global,OFe=typeof self=="object"&&self&&self.Object===Object&&self,qo=bne||OFe||Function("return this")(),bl=qo.Symbol,Sne=Object.prototype,NFe=Sne.hasOwnProperty,AFe=Sne.toString,Up=bl?bl.toStringTag:void 0;function DFe(e){var t=NFe.call(e,Up),n=e[Up];try{e[Up]=void 0;var r=!0}catch{}var a=AFe.call(e);return r&&(t?e[Up]=n:delete e[Up]),a}var MFe=Object.prototype,LFe=MFe.toString;function kFe(e){return LFe.call(e)}var PFe="[object Null]",$Fe="[object Undefined]",PU=bl?bl.toStringTag:void 0;function Wc(e){return e==null?e===void 0?$Fe:PFe:PU&&PU in Object(e)?DFe(e):kFe(e)}function Ene(e,t){return function(n){return e(t(n))}}var mP=Ene(Object.getPrototypeOf,Object);function Yc(e){return e!=null&&typeof e=="object"}var FFe="[object Object]",BFe=Function.prototype,UFe=Object.prototype,yne=BFe.toString,jFe=UFe.hasOwnProperty,zFe=yne.call(Object);function $U(e){if(!Yc(e)||Wc(e)!=FFe)return!1;var t=mP(e);if(t===null)return!0;var n=jFe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&yne.call(n)==zFe}function HFe(){this.__data__=[],this.size=0}function Cne(e,t){return e===t||e!==e&&t!==t}function NS(e,t){for(var n=e.length;n--;)if(Cne(e[n][0],t))return n;return-1}var GFe=Array.prototype,VFe=GFe.splice;function qFe(e){var t=this.__data__,n=NS(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():VFe.call(t,n,1),--this.size,!0}function WFe(e){var t=this.__data__,n=NS(t,e);return n<0?void 0:t[n][1]}function YFe(e){return NS(this.__data__,e)>-1}function KFe(e,t){var n=this.__data__,r=NS(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Is(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=KBe}var XBe="[object Arguments]",QBe="[object Array]",ZBe="[object Boolean]",JBe="[object Date]",e3e="[object Error]",t3e="[object Function]",n3e="[object Map]",r3e="[object Number]",a3e="[object Object]",i3e="[object RegExp]",o3e="[object Set]",s3e="[object String]",l3e="[object WeakMap]",c3e="[object ArrayBuffer]",u3e="[object DataView]",d3e="[object Float32Array]",p3e="[object Float64Array]",f3e="[object Int8Array]",m3e="[object Int16Array]",g3e="[object Int32Array]",h3e="[object Uint8Array]",v3e="[object Uint8ClampedArray]",_3e="[object Uint16Array]",b3e="[object Uint32Array]",or={};or[d3e]=or[p3e]=or[f3e]=or[m3e]=or[g3e]=or[h3e]=or[v3e]=or[_3e]=or[b3e]=!0;or[XBe]=or[QBe]=or[c3e]=or[ZBe]=or[u3e]=or[JBe]=or[e3e]=or[t3e]=or[n3e]=or[r3e]=or[a3e]=or[i3e]=or[o3e]=or[s3e]=or[l3e]=!1;function S3e(e){return Yc(e)&&Nne(e.length)&&!!or[Wc(e)]}function gP(e){return function(t){return e(t)}}var Ane=typeof fi=="object"&&fi&&!fi.nodeType&&fi,If=Ane&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,E3e=If&&If.exports===Ane,Ky=E3e&&bne.process,Ld=function(){try{var e=If&&If.require&&If.require("util").types;return e||Ky&&Ky.binding&&Ky.binding("util")}catch{}}(),HU=Ld&&Ld.isTypedArray,y3e=HU?gP(HU):S3e,C3e=Object.prototype,T3e=C3e.hasOwnProperty;function Dne(e,t){var n=Tg(e),r=!n&&zBe(e),a=!n&&!r&&One(e),i=!n&&!r&&!a&&y3e(e),o=n||r||a||i,s=o?FBe(e.length,String):[],l=s.length;for(var u in e)(t||T3e.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||YBe(u,l)))&&s.push(u);return s}var x3e=Object.prototype;function hP(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||x3e;return e===n}var R3e=Ene(Object.keys,Object),w3e=Object.prototype,I3e=w3e.hasOwnProperty;function O3e(e){if(!hP(e))return R3e(e);var t=[];for(var n in Object(e))I3e.call(e,n)&&n!="constructor"&&t.push(n);return t}function Mne(e){return e!=null&&Nne(e.length)&&!Tne(e)}function vP(e){return Mne(e)?Dne(e):O3e(e)}function N3e(e,t){return e&&DS(t,vP(t),e)}function A3e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var D3e=Object.prototype,M3e=D3e.hasOwnProperty;function L3e(e){if(!Cg(e))return A3e(e);var t=hP(e),n=[];for(var r in e)r=="constructor"&&(t||!M3e.call(e,r))||n.push(r);return n}function _P(e){return Mne(e)?Dne(e,!0):L3e(e)}function k3e(e,t){return e&&DS(t,_P(t),e)}var Lne=typeof fi=="object"&&fi&&!fi.nodeType&&fi,GU=Lne&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,P3e=GU&&GU.exports===Lne,VU=P3e?qo.Buffer:void 0,qU=VU?VU.allocUnsafe:void 0;function $3e(e,t){if(t)return e.slice();var n=e.length,r=qU?qU(n):new e.constructor(n);return e.copy(r),r}function kne(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{const{t}=$t();return c.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),_.jsx(pFe,{items:e})},fFe="http://localhost".replace(/\/+$/,"");class vne{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:fFe}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||bne}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const mFe=new vne,Q_=class Q_{constructor(t=mFe){Bl(this,"middleware");Bl(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const i of this.middleware)i.pre&&(r=await i.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(i){for(const o of this.middleware)o.onError&&(a=await o.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:i,response:a?a.clone():void 0})||a);if(a===void 0)throw i instanceof Error?new _Fe(i,"The request failed and the interceptors did not return an alternative response"):i}for(const i of this.middleware)i.post&&(a=await i.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?Q_.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),i=await this.fetchApi(r,a);if(i&&i.status>=200&&i.status<300)return i;throw new vFe(i,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const i=typeof n=="function"?n:async()=>n,o={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...o,...await i({init:o,context:t})},l={...s,body:hFe(s.body)||s.body instanceof URLSearchParams||gFe(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:l}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};Bl(Q_,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let wm=Q_;function gFe(e){return typeof Blob<"u"&&e instanceof Blob}function hFe(e){return typeof FormData<"u"&&e instanceof FormData}class vFe extends Error{constructor(n,r){super(r);Bl(this,"name","ResponseError");this.response=n}}class _Fe extends Error{constructor(n,r){super(r);Bl(this,"name","FetchError");this.cause=n}}class bFe extends Error{constructor(n,r){super(r);Bl(this,"name","RequiredError");this.field=n}}function _ne(e,t){const n=e[t];return n!=null}function bne(e,t=""){return Object.keys(e).map(n=>Sne(n,e[n],t)).filter(n=>n.length>0).join("&")}function Sne(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(i=>encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return Sne(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?bne(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function SFe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class is{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class EFe{constructor(t){this.raw=t}async value(){}}class z_{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class Ene extends wm{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new is(a):new z_(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class yFe extends wm{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new is(a):new z_(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function CFe(e){return TFe(e)}function TFe(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function xFe(e){return RFe(e)}function RFe(e,t){return e==null?e:{options:_ne(e,"options")?e.options.map(CFe):void 0}}function wFe(e){return IFe(e)}function IFe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function OFe(e){return NFe(e)}function NFe(e,t){return e==null?e:{stats:_ne(e,"stats")?e.stats.map(wFe):void 0}}class xn extends wm{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new is(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new is(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new is(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,l,u)=>l===u.findIndex(d=>d.ruid===s.ruid&&d.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new is(r,a=>xFe(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new bFe("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new EFe(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new is(n,r=>OFe(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new is(n):new z_(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},i={},s=SFe([{contentType:"multipart/form-data"}]);let l,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?l=new FormData:l=new URLSearchParams,t.filename&&t.filename.forEach(f=>{l.append("filename",f)});const p=await this.request({path:d,method:"POST",headers:i,query:a,body:l},r);return this.isJsonMime(p.headers.get("content-type"))?new is(p):new z_(p)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a&&a!=="0"?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,i,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,i,o);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},i={},o=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:i,query:a},r);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudContentJson(t,n,r,a,i={}){const o=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,i);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudRaw(t,n,r,a,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const o=s=>new Blob([s],{type:"text/plain"});try{const s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:i,body:o((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,i={}){try{const o=await fetch(""+t,{method:"POST",body:n});if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}catch(o){return o.response?o.response:o instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:o.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:o}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const vn=()=>new vne({basePath:""}),AFe=new xn(vn()),DFe=new Ene(vn()),MFe=async(e=!0)=>{try{if((await(await AFe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){Qe.error(Ap("settings.restartFailed"));return}}catch{Qe.error(Ap("settings.restartFailed"));return}const t=Qe.loading(Ap("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await DFe.v1TimeGet()).length===10){t(),Qe.success(Ap("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),Qe.error(Ap("settings.restartFailed"))},LFe=new xn(vn()),Pd=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=Qe.useMessage(),i=async()=>{await MFe(!0),n("")},o=u=>{const d=new URL(u),p=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${p}`},s=async()=>{const u=Qe.loading(e("settings.toniesJsonReloadInProgress"),0);try{const p=await(await LFe.apiGetTeddyCloudApiRaw("/api/toniesJsonReload")).text();n(""),p.toString()!=="OK"?(u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})):(u(),r.open({type:"success",content:e("settings.toniesJsonReloadSuccessful")}))}catch{u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})}},l=[{key:"general",label:_.jsx(St,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:ce.createElement(Vk),title:e("settings.general.navigationTitle")},{key:"certificates",label:_.jsx(St,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:ce.createElement(Gk),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:_.jsx(St,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:ce.createElement(R1e),title:e("settings.rtnl.navigationTitle")},{key:"reload_toniesJson",label:_.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonReload")}),onClick:s,icon:ce.createElement(jee),title:e("settings.toniesJsonReload")},{key:"restart_server",label:_.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:i,icon:ce.createElement(JNe),title:e("settings.restartServer")},{key:"legacy",label:_.jsx(St,{to:`${o(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:ce.createElement(X1e),title:e("settings.legacyGui")}];return _.jsxs(_.Fragment,{children:[a,_.jsx(xg,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:l})]})};var kFe=function(t){return PFe(t)&&!$Fe(t)};function PFe(e){return!!e&&typeof e=="object"}function $Fe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||UFe(e)}var FFe=typeof Symbol=="function"&&Symbol.for,BFe=FFe?Symbol.for("react.element"):60103;function UFe(e){return e.$$typeof===BFe}function jFe(e){return Array.isArray(e)?[]:{}}function H_(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Im(jFe(e),e,t):e}function zFe(e,t,n){return e.concat(t).map(function(r){return H_(r,n)})}function HFe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=H_(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=H_(t[a],n):r[a]=Im(e[a],t[a],n)}),r}function Im(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||zFe,n.isMergeableObject=n.isMergeableObject||kFe;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):HFe(e,t,n):H_(t,n)}Im.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Im(r,a,n)},{})};var JD=Im,yne=typeof global=="object"&&global&&global.Object===Object&&global,GFe=typeof self=="object"&&self&&self.Object===Object&&self,Yo=yne||GFe||Function("return this")(),Sl=Yo.Symbol,Cne=Object.prototype,VFe=Cne.hasOwnProperty,qFe=Cne.toString,zp=Sl?Sl.toStringTag:void 0;function WFe(e){var t=VFe.call(e,zp),n=e[zp];try{e[zp]=void 0;var r=!0}catch{}var a=qFe.call(e);return r&&(t?e[zp]=n:delete e[zp]),a}var YFe=Object.prototype,KFe=YFe.toString;function XFe(e){return KFe.call(e)}var QFe="[object Null]",ZFe="[object Undefined]",FU=Sl?Sl.toStringTag:void 0;function Wc(e){return e==null?e===void 0?ZFe:QFe:FU&&FU in Object(e)?WFe(e):XFe(e)}function Tne(e,t){return function(n){return e(t(n))}}var hP=Tne(Object.getPrototypeOf,Object);function Yc(e){return e!=null&&typeof e=="object"}var JFe="[object Object]",eBe=Function.prototype,tBe=Object.prototype,xne=eBe.toString,nBe=tBe.hasOwnProperty,rBe=xne.call(Object);function BU(e){if(!Yc(e)||Wc(e)!=JFe)return!1;var t=hP(e);if(t===null)return!0;var n=nBe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&xne.call(n)==rBe}function aBe(){this.__data__=[],this.size=0}function Rne(e,t){return e===t||e!==e&&t!==t}function MS(e,t){for(var n=e.length;n--;)if(Rne(e[n][0],t))return n;return-1}var iBe=Array.prototype,oBe=iBe.splice;function sBe(e){var t=this.__data__,n=MS(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():oBe.call(t,n,1),--this.size,!0}function lBe(e){var t=this.__data__,n=MS(t,e);return n<0?void 0:t[n][1]}function cBe(e){return MS(this.__data__,e)>-1}function uBe(e,t){var n=this.__data__,r=MS(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Os(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=u3e}var d3e="[object Arguments]",p3e="[object Array]",f3e="[object Boolean]",m3e="[object Date]",g3e="[object Error]",h3e="[object Function]",v3e="[object Map]",_3e="[object Number]",b3e="[object Object]",S3e="[object RegExp]",E3e="[object Set]",y3e="[object String]",C3e="[object WeakMap]",T3e="[object ArrayBuffer]",x3e="[object DataView]",R3e="[object Float32Array]",w3e="[object Float64Array]",I3e="[object Int8Array]",O3e="[object Int16Array]",N3e="[object Int32Array]",A3e="[object Uint8Array]",D3e="[object Uint8ClampedArray]",M3e="[object Uint16Array]",L3e="[object Uint32Array]",lr={};lr[R3e]=lr[w3e]=lr[I3e]=lr[O3e]=lr[N3e]=lr[A3e]=lr[D3e]=lr[M3e]=lr[L3e]=!0;lr[d3e]=lr[p3e]=lr[T3e]=lr[f3e]=lr[x3e]=lr[m3e]=lr[g3e]=lr[h3e]=lr[v3e]=lr[_3e]=lr[b3e]=lr[S3e]=lr[E3e]=lr[y3e]=lr[C3e]=!1;function k3e(e){return Yc(e)&&Mne(e.length)&&!!lr[Wc(e)]}function vP(e){return function(t){return e(t)}}var Lne=typeof fi=="object"&&fi&&!fi.nodeType&&fi,Nf=Lne&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,P3e=Nf&&Nf.exports===Lne,Qy=P3e&&yne.process,$d=function(){try{var e=Nf&&Nf.require&&Nf.require("util").types;return e||Qy&&Qy.binding&&Qy.binding("util")}catch{}}(),VU=$d&&$d.isTypedArray,$3e=VU?vP(VU):k3e,F3e=Object.prototype,B3e=F3e.hasOwnProperty;function kne(e,t){var n=wg(e),r=!n&&r3e(e),a=!n&&!r&&Dne(e),i=!n&&!r&&!a&&$3e(e),o=n||r||a||i,s=o?JBe(e.length,String):[],l=s.length;for(var u in e)(t||B3e.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||c3e(u,l)))&&s.push(u);return s}var U3e=Object.prototype;function _P(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||U3e;return e===n}var j3e=Tne(Object.keys,Object),z3e=Object.prototype,H3e=z3e.hasOwnProperty;function G3e(e){if(!_P(e))return j3e(e);var t=[];for(var n in Object(e))H3e.call(e,n)&&n!="constructor"&&t.push(n);return t}function Pne(e){return e!=null&&Mne(e.length)&&!wne(e)}function bP(e){return Pne(e)?kne(e):G3e(e)}function V3e(e,t){return e&&kS(t,bP(t),e)}function q3e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var W3e=Object.prototype,Y3e=W3e.hasOwnProperty;function K3e(e){if(!Rg(e))return q3e(e);var t=_P(e),n=[];for(var r in e)r=="constructor"&&(t||!Y3e.call(e,r))||n.push(r);return n}function SP(e){return Pne(e)?kne(e,!0):K3e(e)}function X3e(e,t){return e&&kS(t,SP(t),e)}var $ne=typeof fi=="object"&&fi&&!fi.nodeType&&fi,qU=$ne&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,Q3e=qU&&qU.exports===$ne,WU=Q3e?Yo.Buffer:void 0,YU=WU?WU.allocUnsafe:void 0;function Z3e(e,t){if(t)return e.slice();var n=e.length,r=YU?YU(n):new e.constructor(n);return e.copy(r),r}function Fne(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var HS=c.createContext(void 0);HS.displayName="FormikContext";var AUe=HS.Provider;HS.Consumer;function Qne(){var e=c.useContext(HS);return e}var Oi=function(t){return typeof t=="function"},xg=function(t){return t!==null&&typeof t=="object"},DUe=function(t){return String(Math.floor(Number(t)))===t},Xy=function(t){return Object.prototype.toString.call(t)==="[object String]"},MUe=function(t){return c.Children.count(t)===0},Qy=function(t){return xg(t)&&Oi(t.then)};function ri(e,t,n,r){r===void 0&&(r=0);for(var a=Vne(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function Zne(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?ne.map(function(le){return I(le,ri(re,le))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ae).then(function(le){return le.reduce(function(pe,Re,Se){return Re==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Re&&(pe=vc(pe,ne[Se],Re)),pe},{})})},[I]),k=c.useCallback(function(re){return Promise.all([O(re),f.validationSchema?w(re):{},f.validate?R(re):{}]).then(function(ne){var ae=ne[0],le=ne[1],pe=ne[2],Re=QD.all([ae,le,pe],{arrayMerge:FUe});return Re})},[f.validate,f.validationSchema,O,R,w]),P=xi(function(re){return re===void 0&&(re=T.values),x({type:"SET_ISVALIDATING",payload:!0}),k(re).then(function(ne){return S.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:ne})),ne})});c.useEffect(function(){o&&S.current===!0&&Kl(m.current,f.initialValues)&&P(m.current)},[o,P]);var M=c.useCallback(function(re){var ne=re&&re.values?re.values:m.current,ae=re&&re.errors?re.errors:g.current?g.current:f.initialErrors||{},le=re&&re.touched?re.touched:h.current?h.current:f.initialTouched||{},pe=re&&re.status?re.status:v.current?v.current:f.initialStatus;m.current=ne,g.current=ae,h.current=le,v.current=pe;var Re=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!re&&!!re.isSubmitting,errors:ae,touched:le,status:pe,values:ne,isValidating:!!re&&!!re.isValidating,submitCount:re&&re.submitCount&&typeof re.submitCount=="number"?re.submitCount:0}})};if(f.onReset){var Se=f.onReset(T.values,Z);Qy(Se)?Se.then(Re):Re()}else Re()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);c.useEffect(function(){S.current===!0&&!Kl(m.current,f.initialValues)&&u&&(m.current=f.initialValues,M(),o&&P(m.current))},[u,f.initialValues,M,o,P]),c.useEffect(function(){u&&S.current===!0&&!Kl(g.current,f.initialErrors)&&(g.current=f.initialErrors||Hl,x({type:"SET_ERRORS",payload:f.initialErrors||Hl}))},[u,f.initialErrors]),c.useEffect(function(){u&&S.current===!0&&!Kl(h.current,f.initialTouched)&&(h.current=f.initialTouched||Mh,x({type:"SET_TOUCHED",payload:f.initialTouched||Mh}))},[u,f.initialTouched]),c.useEffect(function(){u&&S.current===!0&&!Kl(v.current,f.initialStatus)&&(v.current=f.initialStatus,x({type:"SET_STATUS",payload:f.initialStatus}))},[u,f.initialStatus,f.initialTouched]);var N=xi(function(re){if(_.current[re]&&Oi(_.current[re].validate)){var ne=ri(T.values,re),ae=_.current[re].validate(ne);return Qy(ae)?(x({type:"SET_ISVALIDATING",payload:!0}),ae.then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:le}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:re,value:ae}}),Promise.resolve(ae))}else if(f.validationSchema)return x({type:"SET_ISVALIDATING",payload:!0}),w(T.values,re).then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ri(le,re)}}),x({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),A=c.useCallback(function(re,ne){var ae=ne.validate;_.current[re]={validate:ae}},[]),D=c.useCallback(function(re){delete _.current[re]},[]),L=xi(function(re,ne){x({type:"SET_TOUCHED",payload:re});var ae=ne===void 0?a:ne;return ae?P(T.values):Promise.resolve()}),$=c.useCallback(function(re){x({type:"SET_ERRORS",payload:re})},[]),F=xi(function(re,ne){var ae=Oi(re)?re(T.values):re;x({type:"SET_VALUES",payload:ae});var le=ne===void 0?n:ne;return le?P(ae):Promise.resolve()}),B=c.useCallback(function(re,ne){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ne}})},[]),z=xi(function(re,ne,ae){x({type:"SET_FIELD_VALUE",payload:{field:re,value:ne}});var le=ae===void 0?n:ae;return le?P(vc(T.values,re,ne)):Promise.resolve()}),U=c.useCallback(function(re,ne){var ae=ne,le=re,pe;if(!Xy(re)){re.persist&&re.persist();var Re=re.target?re.target:re.currentTarget,Se=Re.type,Pe=Re.name,fe=Re.id,ve=Re.value,Ae=Re.checked,ye=Re.outerHTML,be=Re.options,Ne=Re.multiple;ae=ne||Pe||fe,le=/number|range/.test(Se)?(pe=parseFloat(ve),isNaN(pe)?"":pe):/checkbox/.test(Se)?UUe(ri(T.values,ae),Ae,ve):be&&Ne?BUe(be):ve}ae&&z(ae,le)},[z,T.values]),j=xi(function(re){if(Xy(re))return function(ne){return U(ne,re)};U(re)}),G=xi(function(re,ne,ae){ne===void 0&&(ne=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:re,value:ne}});var le=ae===void 0?a:ae;return le?P(T.values):Promise.resolve()}),J=c.useCallback(function(re,ne){re.persist&&re.persist();var ae=re.target,le=ae.name,pe=ae.id,Re=ae.outerHTML,Se=ne||le||pe;G(Se,!0)},[G]),Y=xi(function(re){if(Xy(re))return function(ne){return J(ne,re)};J(re)}),X=c.useCallback(function(re){Oi(re)?x({type:"SET_FORMIK_STATE",payload:re}):x({type:"SET_FORMIK_STATE",payload:function(){return re}})},[]),V=c.useCallback(function(re){x({type:"SET_STATUS",payload:re})},[]),H=c.useCallback(function(re){x({type:"SET_ISSUBMITTING",payload:re})},[]),q=xi(function(){return x({type:"SUBMIT_ATTEMPT"}),P().then(function(re){var ne=re instanceof Error,ae=!ne&&Object.keys(re).length===0;if(ae){var le;try{if(le=te(),le===void 0)return}catch(pe){throw pe}return Promise.resolve(le).then(function(pe){return S.current&&x({type:"SUBMIT_SUCCESS"}),pe}).catch(function(pe){if(S.current)throw x({type:"SUBMIT_FAILURE"}),pe})}else if(S.current&&(x({type:"SUBMIT_FAILURE"}),ne))throw re})}),K=xi(function(re){re&&re.preventDefault&&Oi(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Oi(re.stopPropagation)&&re.stopPropagation(),q().catch(function(ne){console.warn("Warning: An unhandled error was caught from submitForm()",ne)})}),Z={resetForm:M,validateForm:P,validateField:N,setErrors:$,setFieldError:B,setFieldTouched:G,setFieldValue:z,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,setFormikState:X,submitForm:q},te=xi(function(){return d(T.values,Z)}),se=xi(function(re){re&&re.preventDefault&&Oi(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Oi(re.stopPropagation)&&re.stopPropagation(),M()}),ue=c.useCallback(function(re){return{value:ri(T.values,re),error:ri(T.errors,re),touched:!!ri(T.touched,re),initialValue:ri(m.current,re),initialTouched:!!ri(h.current,re),initialError:ri(g.current,re)}},[T.errors,T.touched,T.values]),me=c.useCallback(function(re){return{setValue:function(ae,le){return z(re,ae,le)},setTouched:function(ae,le){return G(re,ae,le)},setError:function(ae){return B(re,ae)}}},[z,G,B]),de=c.useCallback(function(re){var ne=xg(re),ae=ne?re.name:re,le=ri(T.values,ae),pe={name:ae,value:le,onChange:j,onBlur:Y};if(ne){var Re=re.type,Se=re.value,Pe=re.as,fe=re.multiple;Re==="checkbox"?Se===void 0?pe.checked=!!le:(pe.checked=!!(Array.isArray(le)&&~le.indexOf(Se)),pe.value=Se):Re==="radio"?(pe.checked=le===Se,pe.value=Se):Pe==="select"&&fe&&(pe.value=pe.value||[],pe.multiple=!0)}return pe},[Y,j,T.values]),Te=c.useMemo(function(){return!Kl(m.current,T.values)},[m.current,T.values]),Ee=c.useMemo(function(){return typeof s<"u"?Te?T.errors&&Object.keys(T.errors).length===0:s!==!1&&Oi(s)?s(f):s:T.errors&&Object.keys(T.errors).length===0},[s,Te,T.errors,f]),ge=qr({},T,{initialValues:m.current,initialErrors:g.current,initialTouched:h.current,initialStatus:v.current,handleBlur:Y,handleChange:j,handleReset:se,handleSubmit:K,resetForm:M,setErrors:$,setFormikState:X,setFieldTouched:G,setFieldValue:z,setFieldError:B,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,submitForm:q,validateForm:P,validateField:N,isValid:Ee,dirty:Te,unregisterField:D,registerField:A,getFieldProps:de,getFieldMeta:ue,getFieldHelpers:me,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return ge}function Jne(e){var t=kUe(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return c.useImperativeHandle(i,function(){return t}),c.createElement(AUe,{value:t},n?c.createElement(n,t):a?a(t):r?Oi(r)?r(t):MUe(r)?null:c.Children.only(r):null)}function PUe(e){var t={};if(e.inner){if(e.inner.length===0)return vc(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;ri(t,o.path)||(t=vc(t,o.path,o.message))}}return t}function $Ue(e,t,n,r){n===void 0&&(n=!1);var a=rM(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function rM(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||$U(a)?rM(a):a!==""?a:void 0}):$U(e[r])?t[r]=rM(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function FUe(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(i);r[o]=l?QD(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=QD(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function BUe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function UUe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var jUe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?c.useLayoutEffect:c.useEffect;function xi(e){var t=c.useRef(e);return jUe(function(){t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=$t(),{name:n,label:r,valueConverter:a,description:i,overlayed:o,overlayId:s,...l}=e,[u,d,{setValue:p}]=GS(n),[f,m]=c.useState(o),g=!!(d.touched&&d.error),h=d.touched&&d.error&&t(d.error),v=d.touched&&d.error?"error":void 0,S=a?a.fromValueToBoolean(d.value):d.value,_=new xn(vn()),E=T=>{try{_.apiPostTeddyCloudSetting(n,u.value,s,!T).then(()=>{y(),T?Qe.success(t("settings.overlayEnabled")):(C(),Qe.success(t("settings.overlayDisabled")))}).catch(x=>{Qe.error(`Error while ${T?"saving":"resetting"} config: ${x}`)})}catch(x){Qe.error(`Error while sending data to server: ${x}`)}},y=async()=>{try{await _.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},C=async()=>{try{const x=await(await _.apiGetTeddyCloudSettingRaw(n)).text(),R=x===""||a==null?void 0:a.fromValueToBoolean(x);p(R);const w=a?a.fromValueToBoolean(x):x;p(w)}catch(T){Qe.error(`Error fetching field value: ${T}`)}};return b.jsxs(mg,{help:g?h:void 0,validateStatus:v,label:r,tooltip:i,children:[b.jsx($a,{...l,...u,checked:S,disabled:!f&&f!==void 0,onChange:T=>{try{_.apiPostTeddyCloudSetting(n,T,s).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(x=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}p(T)}}),f===void 0?"":b.jsx(Ts,{checked:f,style:{marginLeft:"16px"},onChange:T=>{m(T.target.checked),E(T.target.checked)},children:t("settings.overlayed")})]})},GUe=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=GS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=new xn(vn()),S=x=>{try{v.apiPostTeddyCloudSetting(n,l.value,o,!x).then(()=>{C(),x?Qe.success(t("settings.overlayEnabled")):(y(),Qe.success(t("settings.overlayDisabled")))}).catch(R=>{Qe.error(`Error while ${x?"saving":"resetting"} config: ${R}`)})}catch(R){Qe.error(`Error while sending data to server: ${R}`)}},_=x=>{const R=async()=>{await v.apiTriggerWriteConfigGet()};try{v.apiPostTeddyCloudSetting(n,l.value,o).then(()=>{R(),Qe.success(t("settings.saved"))}).catch(w=>{Qe.error("Error while sending data to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(l.value||"")},E=x=>{_()},y=()=>{try{v.apiGetTeddyCloudSettingRaw(n).then(x=>x.text()).then(x=>{d.setValue(x)}).catch(x=>{Qe.error(`Error fetching field value: ${x}`)})}catch(x){Qe.error(`Error fetching field value: ${x}`)}},C=async()=>{try{await v.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},T=[b.jsx(rAe,{disabled:!p,style:{cursor:p||p===void 0?"pointer":"default",margin:p!==void 0?"0 16px 0 0":"0"},onClick:E},"saveIcon"),p===void 0?"":b.jsx(Ts,{checked:p,onChange:x=>{f(x.target.checked),S(x.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return b.jsx(mg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:b.jsx(en,{...s,...l,addonAfter:T,disabled:!p&&p!==void 0})})},u6=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=GS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=p===void 0?"":b.jsx(Ts,{checked:p,onChange:C=>{f(C.target.checked),_(C.target.checked)},children:t("settings.overlayed")}),S=new xn(vn()),_=C=>{try{S.apiPostTeddyCloudSetting(n,l.value,o,!C).then(()=>{y(),C?Qe.success(t("settings.overlayEnabled")):(E(),Qe.success(t("settings.overlayDisabled")))}).catch(T=>{Qe.error(`Error while ${C?"saving":"resetting"} config: ${T}`)})}catch(T){Qe.error(`Error while sending data to server: ${T}`)}},E=()=>{try{S.apiGetTeddyCloudSettingRaw(n).then(C=>C.text()).then(C=>{d.setValue(C===""?void 0:Number(C))}).catch(C=>{Qe.error(`Error fetching field value: ${C}`)})}catch(C){Qe.error(`Error fetching field value: ${C}`)}},y=async()=>{try{await S.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}};return b.jsx(mg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:b.jsx(PJ,{...s,...l,addonAfter:v,disabled:!p&&p!==void 0,onChange:C=>{try{S.apiPostTeddyCloudSetting(n,C,o).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(T=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(C===null?void 0:Number(C))},onBlur:()=>d.setTouched(!0)})})},ere=({option:e,noOverlay:t,overlayId:n})=>{const{type:r,iD:a,description:i,label:o,shortname:s,value:l,overlayed:u}=e,[d,p]=c.useState(""),[f,m,{setValue:g}]=GS(a);c.useEffect(()=>{p(l),g(l)},[g,l]);const h=t?void 0:u;return b.jsxs("div",{children:[r==="bool"&&b.jsx(HUe,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="int"&&b.jsx(u6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="uint"&&b.jsx(u6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="string"&&b.jsx(GUe,{name:a,label:o,description:i,overlayed:h,overlayId:n})]},a)},Lh=new xn(vn()),VUe=()=>{var u;const{t:e}=$t(),[t,n]=c.useState(),[r,a]=c.useState(""),[i,o]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const p=await Lh.apiGetTeddyCloudSettingRaw("core.settings_level");if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);const f=await p.json();a(f.toString())}catch(p){console.error("Error fetching settings level: ",p)}})()},[]),c.useEffect(()=>{(async()=>{var f,m;o(!0);const p=await Lh.apiGetIndexGet("");(f=p==null?void 0:p.options)!=null&&f.length&&((m=p==null?void 0:p.options)==null?void 0:m.length)>0&&n(p),o(!1)})()},[r]);const s=async()=>{try{await Lh.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},l=async d=>{try{Lh.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{Qe.error("Error while sending data to server.")}};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.title")}),b.jsx(Xn,{message:e("settings.information"),description:b.jsxs("div",{children:[e("settings.hint")," ",b.jsx(wt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),b.jsx(Xn,{message:e("settings.warning"),description:b.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),b.jsx(Qr,{children:e("settings.title")}),b.jsx(Jne,{initialValues:{test:"test"},onSubmit:d=>{},children:b.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(u=t==null?void 0:t.options)==null?void 0:u.map((d,p,f)=>{if(d.iD.includes("core.settings_level"))return null;const m=d.iD.split("."),g=f[p-1]?f[p-1].iD.split("."):[];return b.jsxs(ce.Fragment,{children:[m.slice(0,-1).map((h,v)=>g[v]!==h?v===0?b.jsxs("h3",{style:{marginLeft:`${v*20}px`,marginBottom:"10px"},children:["Category ",h]},`category-${h}`):b.jsxs("h4",{style:{marginLeft:`${v*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",h]},`category-${h}`):null),b.jsx(ere,{option:d,noOverlay:!0},d.iD)]},p)})})}),b.jsx(Qr,{children:e("settings.levelLabel")}),b.jsxs(di.Group,{value:r,onChange:d=>l(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[b.jsx(di.Button,{value:"1",children:"Basic"},"1"),b.jsx(di.Button,{value:"2",children:"Detail"},"2"),b.jsx(di.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function d6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Gu(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var Zy={};function WUe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Zy[t]||(Zy[t]=qUe(e)),Zy[t]}function YUe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=WUe(r);return a.reduce(function(i,o){return Gu(Gu({},i),n[o])},t)}function p6(e){return e.join(" ")}function KUe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return tre({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function tre(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,d=t.value;if(l==="text")return d;if(u){var p=KUe(n,i),f;if(!i)f=Gu(Gu({},s),{},{className:p6(s.className)});else{var m=Object.keys(n).reduce(function(S,_){return _.split(".").forEach(function(E){S.includes(E)||S.push(E)}),S},[]),g=s.className&&s.className.includes("token")?["token"]:[],h=s.className&&g.concat(s.className.filter(function(S){return!m.includes(S)}));f=Gu(Gu({},s),{},{className:p6(h)||void 0,style:YUe(s.className,Object.assign({},s.style,a),n)})}var v=p(t.children);return ce.createElement(u,_e({key:o},f),v)}}const XUe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var QUe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function f6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Io(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return wv({children:C,lineNumber:T,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:x,showLineNumbers:r,wrapLongLines:l})}function h(C,T){if(r&&T&&a){var x=rre(s,T,o);C.unshift(nre(T,x))}return C}function v(C,T){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||x.length>0?g(C,T,x):h(C,T)}for(var S=function(){var T=d[m],x=T.children[0].value,R=JUe(x);if(R){var w=x.split(` + */var oa=typeof Symbol=="function"&&Symbol.for,xP=oa?Symbol.for("react.element"):60103,RP=oa?Symbol.for("react.portal"):60106,PS=oa?Symbol.for("react.fragment"):60107,$S=oa?Symbol.for("react.strict_mode"):60108,FS=oa?Symbol.for("react.profiler"):60114,BS=oa?Symbol.for("react.provider"):60109,US=oa?Symbol.for("react.context"):60110,wP=oa?Symbol.for("react.async_mode"):60111,jS=oa?Symbol.for("react.concurrent_mode"):60111,zS=oa?Symbol.for("react.forward_ref"):60112,HS=oa?Symbol.for("react.suspense"):60113,FUe=oa?Symbol.for("react.suspense_list"):60120,GS=oa?Symbol.for("react.memo"):60115,VS=oa?Symbol.for("react.lazy"):60116,BUe=oa?Symbol.for("react.block"):60121,UUe=oa?Symbol.for("react.fundamental"):60117,jUe=oa?Symbol.for("react.responder"):60118,zUe=oa?Symbol.for("react.scope"):60119;function yi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xP:switch(e=e.type,e){case wP:case jS:case PS:case FS:case $S:case HS:return e;default:switch(e=e&&e.$$typeof,e){case US:case zS:case VS:case GS:case BS:return e;default:return t}}case RP:return t}}}function Xne(e){return yi(e)===jS}$n.AsyncMode=wP;$n.ConcurrentMode=jS;$n.ContextConsumer=US;$n.ContextProvider=BS;$n.Element=xP;$n.ForwardRef=zS;$n.Fragment=PS;$n.Lazy=VS;$n.Memo=GS;$n.Portal=RP;$n.Profiler=FS;$n.StrictMode=$S;$n.Suspense=HS;$n.isAsyncMode=function(e){return Xne(e)||yi(e)===wP};$n.isConcurrentMode=Xne;$n.isContextConsumer=function(e){return yi(e)===US};$n.isContextProvider=function(e){return yi(e)===BS};$n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xP};$n.isForwardRef=function(e){return yi(e)===zS};$n.isFragment=function(e){return yi(e)===PS};$n.isLazy=function(e){return yi(e)===VS};$n.isMemo=function(e){return yi(e)===GS};$n.isPortal=function(e){return yi(e)===RP};$n.isProfiler=function(e){return yi(e)===FS};$n.isStrictMode=function(e){return yi(e)===$S};$n.isSuspense=function(e){return yi(e)===HS};$n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===PS||e===jS||e===FS||e===$S||e===HS||e===FUe||typeof e=="object"&&e!==null&&(e.$$typeof===VS||e.$$typeof===GS||e.$$typeof===BS||e.$$typeof===US||e.$$typeof===zS||e.$$typeof===UUe||e.$$typeof===jUe||e.$$typeof===zUe||e.$$typeof===BUe)};$n.typeOf=yi;Kne.exports=$n;var HUe=Kne.exports,Qne=HUe,GUe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},VUe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zne={};Zne[Qne.ForwardRef]=GUe;Zne[Qne.Memo]=VUe;function qr(){return qr=Object.assign||function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}var qS=c.createContext(void 0);qS.displayName="FormikContext";var qUe=qS.Provider;qS.Consumer;function ere(){var e=c.useContext(qS);return e}var Ni=function(t){return typeof t=="function"},Ig=function(t){return t!==null&&typeof t=="object"},WUe=function(t){return String(Math.floor(Number(t)))===t},Zy=function(t){return Object.prototype.toString.call(t)==="[object String]"},YUe=function(t){return c.Children.count(t)===0},Jy=function(t){return Ig(t)&&Ni(t.then)};function ri(e,t,n,r){r===void 0&&(r=0);for(var a=Yne(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function tre(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?ne.map(function(le){return I(le,ri(re,le))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ae).then(function(le){return le.reduce(function(pe,Re,Se){return Re==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Re&&(pe=vc(pe,ne[Se],Re)),pe},{})})},[I]),k=c.useCallback(function(re){return Promise.all([O(re),f.validationSchema?w(re):{},f.validate?R(re):{}]).then(function(ne){var ae=ne[0],le=ne[1],pe=ne[2],Re=JD.all([ae,le,pe],{arrayMerge:JUe});return Re})},[f.validate,f.validationSchema,O,R,w]),P=Ri(function(re){return re===void 0&&(re=T.values),x({type:"SET_ISVALIDATING",payload:!0}),k(re).then(function(ne){return S.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:ne})),ne})});c.useEffect(function(){o&&S.current===!0&&Kl(m.current,f.initialValues)&&P(m.current)},[o,P]);var M=c.useCallback(function(re){var ne=re&&re.values?re.values:m.current,ae=re&&re.errors?re.errors:g.current?g.current:f.initialErrors||{},le=re&&re.touched?re.touched:h.current?h.current:f.initialTouched||{},pe=re&&re.status?re.status:v.current?v.current:f.initialStatus;m.current=ne,g.current=ae,h.current=le,v.current=pe;var Re=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!re&&!!re.isSubmitting,errors:ae,touched:le,status:pe,values:ne,isValidating:!!re&&!!re.isValidating,submitCount:re&&re.submitCount&&typeof re.submitCount=="number"?re.submitCount:0}})};if(f.onReset){var Se=f.onReset(T.values,Z);Jy(Se)?Se.then(Re):Re()}else Re()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);c.useEffect(function(){S.current===!0&&!Kl(m.current,f.initialValues)&&u&&(m.current=f.initialValues,M(),o&&P(m.current))},[u,f.initialValues,M,o,P]),c.useEffect(function(){u&&S.current===!0&&!Kl(g.current,f.initialErrors)&&(g.current=f.initialErrors||Hl,x({type:"SET_ERRORS",payload:f.initialErrors||Hl}))},[u,f.initialErrors]),c.useEffect(function(){u&&S.current===!0&&!Kl(h.current,f.initialTouched)&&(h.current=f.initialTouched||Ph,x({type:"SET_TOUCHED",payload:f.initialTouched||Ph}))},[u,f.initialTouched]),c.useEffect(function(){u&&S.current===!0&&!Kl(v.current,f.initialStatus)&&(v.current=f.initialStatus,x({type:"SET_STATUS",payload:f.initialStatus}))},[u,f.initialStatus,f.initialTouched]);var N=Ri(function(re){if(b.current[re]&&Ni(b.current[re].validate)){var ne=ri(T.values,re),ae=b.current[re].validate(ne);return Jy(ae)?(x({type:"SET_ISVALIDATING",payload:!0}),ae.then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:le}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:re,value:ae}}),Promise.resolve(ae))}else if(f.validationSchema)return x({type:"SET_ISVALIDATING",payload:!0}),w(T.values,re).then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ri(le,re)}}),x({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),A=c.useCallback(function(re,ne){var ae=ne.validate;b.current[re]={validate:ae}},[]),D=c.useCallback(function(re){delete b.current[re]},[]),L=Ri(function(re,ne){x({type:"SET_TOUCHED",payload:re});var ae=ne===void 0?a:ne;return ae?P(T.values):Promise.resolve()}),$=c.useCallback(function(re){x({type:"SET_ERRORS",payload:re})},[]),F=Ri(function(re,ne){var ae=Ni(re)?re(T.values):re;x({type:"SET_VALUES",payload:ae});var le=ne===void 0?n:ne;return le?P(ae):Promise.resolve()}),B=c.useCallback(function(re,ne){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ne}})},[]),z=Ri(function(re,ne,ae){x({type:"SET_FIELD_VALUE",payload:{field:re,value:ne}});var le=ae===void 0?n:ae;return le?P(vc(T.values,re,ne)):Promise.resolve()}),U=c.useCallback(function(re,ne){var ae=ne,le=re,pe;if(!Zy(re)){re.persist&&re.persist();var Re=re.target?re.target:re.currentTarget,Se=Re.type,Pe=Re.name,fe=Re.id,_e=Re.value,Ae=Re.checked,ye=Re.outerHTML,be=Re.options,Ne=Re.multiple;ae=ne||Pe||fe,le=/number|range/.test(Se)?(pe=parseFloat(_e),isNaN(pe)?"":pe):/checkbox/.test(Se)?t6e(ri(T.values,ae),Ae,_e):be&&Ne?e6e(be):_e}ae&&z(ae,le)},[z,T.values]),j=Ri(function(re){if(Zy(re))return function(ne){return U(ne,re)};U(re)}),G=Ri(function(re,ne,ae){ne===void 0&&(ne=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:re,value:ne}});var le=ae===void 0?a:ae;return le?P(T.values):Promise.resolve()}),J=c.useCallback(function(re,ne){re.persist&&re.persist();var ae=re.target,le=ae.name,pe=ae.id,Re=ae.outerHTML,Se=ne||le||pe;G(Se,!0)},[G]),Y=Ri(function(re){if(Zy(re))return function(ne){return J(ne,re)};J(re)}),Q=c.useCallback(function(re){Ni(re)?x({type:"SET_FORMIK_STATE",payload:re}):x({type:"SET_FORMIK_STATE",payload:function(){return re}})},[]),V=c.useCallback(function(re){x({type:"SET_STATUS",payload:re})},[]),H=c.useCallback(function(re){x({type:"SET_ISSUBMITTING",payload:re})},[]),q=Ri(function(){return x({type:"SUBMIT_ATTEMPT"}),P().then(function(re){var ne=re instanceof Error,ae=!ne&&Object.keys(re).length===0;if(ae){var le;try{if(le=te(),le===void 0)return}catch(pe){throw pe}return Promise.resolve(le).then(function(pe){return S.current&&x({type:"SUBMIT_SUCCESS"}),pe}).catch(function(pe){if(S.current)throw x({type:"SUBMIT_FAILURE"}),pe})}else if(S.current&&(x({type:"SUBMIT_FAILURE"}),ne))throw re})}),K=Ri(function(re){re&&re.preventDefault&&Ni(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Ni(re.stopPropagation)&&re.stopPropagation(),q().catch(function(ne){console.warn("Warning: An unhandled error was caught from submitForm()",ne)})}),Z={resetForm:M,validateForm:P,validateField:N,setErrors:$,setFieldError:B,setFieldTouched:G,setFieldValue:z,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,setFormikState:Q,submitForm:q},te=Ri(function(){return d(T.values,Z)}),se=Ri(function(re){re&&re.preventDefault&&Ni(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Ni(re.stopPropagation)&&re.stopPropagation(),M()}),ue=c.useCallback(function(re){return{value:ri(T.values,re),error:ri(T.errors,re),touched:!!ri(T.touched,re),initialValue:ri(m.current,re),initialTouched:!!ri(h.current,re),initialError:ri(g.current,re)}},[T.errors,T.touched,T.values]),me=c.useCallback(function(re){return{setValue:function(ae,le){return z(re,ae,le)},setTouched:function(ae,le){return G(re,ae,le)},setError:function(ae){return B(re,ae)}}},[z,G,B]),de=c.useCallback(function(re){var ne=Ig(re),ae=ne?re.name:re,le=ri(T.values,ae),pe={name:ae,value:le,onChange:j,onBlur:Y};if(ne){var Re=re.type,Se=re.value,Pe=re.as,fe=re.multiple;Re==="checkbox"?Se===void 0?pe.checked=!!le:(pe.checked=!!(Array.isArray(le)&&~le.indexOf(Se)),pe.value=Se):Re==="radio"?(pe.checked=le===Se,pe.value=Se):Pe==="select"&&fe&&(pe.value=pe.value||[],pe.multiple=!0)}return pe},[Y,j,T.values]),Te=c.useMemo(function(){return!Kl(m.current,T.values)},[m.current,T.values]),Ee=c.useMemo(function(){return typeof s<"u"?Te?T.errors&&Object.keys(T.errors).length===0:s!==!1&&Ni(s)?s(f):s:T.errors&&Object.keys(T.errors).length===0},[s,Te,T.errors,f]),ge=qr({},T,{initialValues:m.current,initialErrors:g.current,initialTouched:h.current,initialStatus:v.current,handleBlur:Y,handleChange:j,handleReset:se,handleSubmit:K,resetForm:M,setErrors:$,setFormikState:Q,setFieldTouched:G,setFieldValue:z,setFieldError:B,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,submitForm:q,validateForm:P,validateField:N,isValid:Ee,dirty:Te,unregisterField:D,registerField:A,getFieldProps:de,getFieldMeta:ue,getFieldHelpers:me,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return ge}function nre(e){var t=XUe(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return c.useImperativeHandle(i,function(){return t}),c.createElement(qUe,{value:t},n?c.createElement(n,t):a?a(t):r?Ni(r)?r(t):YUe(r)?null:c.Children.only(r):null)}function QUe(e){var t={};if(e.inner){if(e.inner.length===0)return vc(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;ri(t,o.path)||(t=vc(t,o.path,o.message))}}return t}function ZUe(e,t,n,r){n===void 0&&(n=!1);var a=iM(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function iM(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||BU(a)?iM(a):a!==""?a:void 0}):BU(e[r])?t[r]=iM(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function JUe(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(i);r[o]=l?JD(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=JD(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function e6e(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function t6e(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var n6e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?c.useLayoutEffect:c.useEffect;function Ri(e){var t=c.useRef(e);return n6e(function(){t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=$t(),{name:n,label:r,valueConverter:a,description:i,overlayed:o,overlayId:s,...l}=e,[u,d,{setValue:p}]=WS(n),[f,m]=c.useState(o),g=!!(d.touched&&d.error),h=d.touched&&d.error&&t(d.error),v=d.touched&&d.error?"error":void 0,S=a?a.fromValueToBoolean(d.value):d.value,b=new xn(vn()),E=T=>{try{b.apiPostTeddyCloudSetting(n,u.value,s,!T).then(()=>{y(),T?Qe.success(t("settings.overlayEnabled")):(C(),Qe.success(t("settings.overlayDisabled")))}).catch(x=>{Qe.error(`Error while ${T?"saving":"resetting"} config: ${x}`)})}catch(x){Qe.error(`Error while sending data to server: ${x}`)}},y=async()=>{try{await b.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},C=async()=>{try{const x=await(await b.apiGetTeddyCloudSettingRaw(n)).text(),R=x===""||a==null?void 0:a.fromValueToBoolean(x);p(R);const w=a?a.fromValueToBoolean(x):x;p(w)}catch(T){Qe.error(`Error fetching field value: ${T}`)}};return _.jsxs(vg,{help:g?h:void 0,validateStatus:v,label:r,tooltip:i,children:[_.jsx(Fa,{...l,...u,checked:S,disabled:!f&&f!==void 0,onChange:T=>{try{b.apiPostTeddyCloudSetting(n,T,s).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(x=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}p(T)}}),f===void 0?"":_.jsx(xs,{checked:f,style:{marginLeft:"16px"},onChange:T=>{m(T.target.checked),E(T.target.checked)},children:t("settings.overlayed")})]})},i6e=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=WS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=new xn(vn()),S=x=>{try{v.apiPostTeddyCloudSetting(n,l.value,o,!x).then(()=>{C(),x?Qe.success(t("settings.overlayEnabled")):(y(),Qe.success(t("settings.overlayDisabled")))}).catch(R=>{Qe.error(`Error while ${x?"saving":"resetting"} config: ${R}`)})}catch(R){Qe.error(`Error while sending data to server: ${R}`)}},b=x=>{const R=async()=>{await v.apiTriggerWriteConfigGet()};try{v.apiPostTeddyCloudSetting(n,l.value,o).then(()=>{R(),Qe.success(t("settings.saved"))}).catch(w=>{Qe.error("Error while sending data to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(l.value||"")},E=x=>{b()},y=()=>{try{v.apiGetTeddyCloudSettingRaw(n).then(x=>x.text()).then(x=>{d.setValue(x)}).catch(x=>{Qe.error(`Error fetching field value: ${x}`)})}catch(x){Qe.error(`Error fetching field value: ${x}`)}},C=async()=>{try{await v.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},T=[_.jsx(lAe,{disabled:!p,style:{cursor:p||p===void 0?"pointer":"default",margin:p!==void 0?"0 16px 0 0":"0"},onClick:E},"saveIcon"),p===void 0?"":_.jsx(xs,{checked:p,onChange:x=>{f(x.target.checked),S(x.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return _.jsx(vg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:_.jsx(en,{...s,...l,addonAfter:T,disabled:!p&&p!==void 0})})},p6=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=WS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=p===void 0?"":_.jsx(xs,{checked:p,onChange:C=>{f(C.target.checked),b(C.target.checked)},children:t("settings.overlayed")}),S=new xn(vn()),b=C=>{try{S.apiPostTeddyCloudSetting(n,l.value,o,!C).then(()=>{y(),C?Qe.success(t("settings.overlayEnabled")):(E(),Qe.success(t("settings.overlayDisabled")))}).catch(T=>{Qe.error(`Error while ${C?"saving":"resetting"} config: ${T}`)})}catch(T){Qe.error(`Error while sending data to server: ${T}`)}},E=()=>{try{S.apiGetTeddyCloudSettingRaw(n).then(C=>C.text()).then(C=>{d.setValue(C===""?void 0:Number(C))}).catch(C=>{Qe.error(`Error fetching field value: ${C}`)})}catch(C){Qe.error(`Error fetching field value: ${C}`)}},y=async()=>{try{await S.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}};return _.jsx(vg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:_.jsx($J,{...s,...l,addonAfter:v,disabled:!p&&p!==void 0,onChange:C=>{try{S.apiPostTeddyCloudSetting(n,C,o).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(T=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(C===null?void 0:Number(C))},onBlur:()=>d.setTouched(!0)})})},rre=({option:e,noOverlay:t,overlayId:n})=>{const{type:r,iD:a,description:i,label:o,shortname:s,value:l,overlayed:u}=e,[d,p]=c.useState(""),[f,m,{setValue:g}]=WS(a);c.useEffect(()=>{p(l),g(l)},[g,l]);const h=t?void 0:u;return _.jsxs("div",{children:[r==="bool"&&_.jsx(a6e,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="int"&&_.jsx(p6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="uint"&&_.jsx(p6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="string"&&_.jsx(i6e,{name:a,label:o,description:i,overlayed:h,overlayId:n})]},a)},$h=new xn(vn()),o6e=()=>{var u;const{t:e}=$t(),[t,n]=c.useState(),[r,a]=c.useState(""),[i,o]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const p=await $h.apiGetTeddyCloudSettingRaw("core.settings_level");if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);const f=await p.json();a(f.toString())}catch(p){console.error("Error fetching settings level: ",p)}})()},[]),c.useEffect(()=>{(async()=>{var f,m;o(!0);const p=await $h.apiGetIndexGet("");(f=p==null?void 0:p.options)!=null&&f.length&&((m=p==null?void 0:p.options)==null?void 0:m.length)>0&&n(p),o(!1)})()},[r]);const s=async()=>{try{await $h.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},l=async d=>{try{$h.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{Qe.error("Error while sending data to server.")}};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Pd,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Pd,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("settings.title")}),_.jsx(Zn,{message:e("settings.information"),description:_.jsxs("div",{children:[e("settings.hint")," ",_.jsx(St,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),_.jsx(Zn,{message:e("settings.warning"),description:_.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),_.jsx(Qr,{children:e("settings.title")}),_.jsx(nre,{initialValues:{test:"test"},onSubmit:d=>{},children:_.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(u=t==null?void 0:t.options)==null?void 0:u.map((d,p,f)=>{if(d.iD.includes("core.settings_level"))return null;const m=d.iD.split("."),g=f[p-1]?f[p-1].iD.split("."):[];return _.jsxs(ce.Fragment,{children:[m.slice(0,-1).map((h,v)=>g[v]!==h?v===0?_.jsxs("h3",{style:{marginLeft:`${v*20}px`,marginBottom:"10px"},children:["Category ",h]},`category-${h}`):_.jsxs("h4",{style:{marginLeft:`${v*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",h]},`category-${h}`):null),_.jsx(rre,{option:d,noOverlay:!0},d.iD)]},p)})})}),_.jsx(Qr,{children:e("settings.levelLabel")}),_.jsxs(di.Group,{value:r,onChange:d=>l(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[_.jsx(di.Button,{value:"1",children:"Basic"},"1"),_.jsx(di.Button,{value:"2",children:"Detail"},"2"),_.jsx(di.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function f6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Wu(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var eC={};function l6e(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return eC[t]||(eC[t]=s6e(e)),eC[t]}function c6e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=l6e(r);return a.reduce(function(i,o){return Wu(Wu({},i),n[o])},t)}function m6(e){return e.join(" ")}function u6e(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return are({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function are(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,d=t.value;if(l==="text")return d;if(u){var p=u6e(n,i),f;if(!i)f=Wu(Wu({},s),{},{className:m6(s.className)});else{var m=Object.keys(n).reduce(function(S,b){return b.split(".").forEach(function(E){S.includes(E)||S.push(E)}),S},[]),g=s.className&&s.className.includes("token")?["token"]:[],h=s.className&&g.concat(s.className.filter(function(S){return!m.includes(S)}));f=Wu(Wu({},s),{},{className:m6(h)||void 0,style:c6e(s.className,Object.assign({},s.style,a),n)})}var v=p(t.children);return ce.createElement(u,ve({key:o},f),v)}}const d6e=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var p6e=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function g6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return Av({children:C,lineNumber:T,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:x,showLineNumbers:r,wrapLongLines:l})}function h(C,T){if(r&&T&&a){var x=ore(s,T,o);C.unshift(ire(T,x))}return C}function v(C,T){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||x.length>0?g(C,T,x):h(C,T)}for(var S=function(){var T=d[m],x=T.children[0].value,R=m6e(x);if(R){var w=x.split(` `);w.forEach(function(I,O){var k=r&&p.length+i,P={type:"text",value:"".concat(I,` -`)};if(O===0){var M=d.slice(f+1,m).concat(wv({children:[P],className:T.properties.className})),N=v(M,k);p.push(N)}else if(O===w.length-1){var A=d[m+1]&&d[m+1].children&&d[m+1].children[0],D={type:"text",value:"".concat(I)};if(A){var L=wv({children:[D],className:T.properties.className});d.splice(m+1,0,L)}else{var $=[D],F=v($,k,T.properties.className);p.push(F)}}else{var B=[P],z=v(B,k,T.properties.className);p.push(z)}}),f=m}m++};m/g,">").replace(/"/g,""").replace(/'/g,"'")}function Js(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const a in r)n[a]=r[a]}),n}const l6e="",g6=e=>!!e.kind;class c6e{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=ad(t)}openNode(t){if(!g6(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){g6(t)&&(this.buffer+=l6e)}value(){return this.buffer}span(t){this.buffer+=``}}class wP{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{wP._collapse(n)}))}}class u6e extends wP{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.kind=n,r.sublanguage=!0,this.add(r)}toHTML(){return new c6e(this,this.options).value()}finalize(){return!0}}function d6e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Om(e){return e?typeof e=="string"?e:e.source:null}function p6e(...e){return e.map(n=>Om(n)).join("")}function f6e(...e){return"("+e.map(n=>Om(n)).join("|")+")"}function m6e(e){return new RegExp(e.toString()+"|").exec("").length-1}function g6e(e,t){const n=e&&e.exec(t);return n&&n.index===0}const h6e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function v6e(e,t="|"){let n=0;return e.map(r=>{n+=1;const a=n;let i=Om(r),o="";for(;i.length>0;){const s=h6e.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const _6e=/\b\B/,lre="[a-zA-Z]\\w*",IP="[a-zA-Z_]\\w*",OP="\\b\\d+(\\.\\d+)?",cre="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ure="\\b(0b[01]+)",b6e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",S6e=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=p6e(t,/.*\b/,e.binary,/\b.*/)),Js({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Nm={begin:"\\\\[\\s\\S]",relevance:0},E6e={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Nm]},y6e={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Nm]},dre={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},VS=function(e,t,n={}){const r=Js({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(dre),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},C6e=VS("//","$"),T6e=VS("/\\*","\\*/"),x6e=VS("#","$"),R6e={className:"number",begin:OP,relevance:0},w6e={className:"number",begin:cre,relevance:0},I6e={className:"number",begin:ure,relevance:0},O6e={className:"number",begin:OP+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},N6e={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Nm,{begin:/\[/,end:/\]/,relevance:0,contains:[Nm]}]}]},A6e={className:"title",begin:lre,relevance:0},D6e={className:"title",begin:IP,relevance:0},M6e={begin:"\\.\\s*"+IP,relevance:0},L6e=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var kh=Object.freeze({__proto__:null,MATCH_NOTHING_RE:_6e,IDENT_RE:lre,UNDERSCORE_IDENT_RE:IP,NUMBER_RE:OP,C_NUMBER_RE:cre,BINARY_NUMBER_RE:ure,RE_STARTERS_RE:b6e,SHEBANG:S6e,BACKSLASH_ESCAPE:Nm,APOS_STRING_MODE:E6e,QUOTE_STRING_MODE:y6e,PHRASAL_WORDS_MODE:dre,COMMENT:VS,C_LINE_COMMENT_MODE:C6e,C_BLOCK_COMMENT_MODE:T6e,HASH_COMMENT_MODE:x6e,NUMBER_MODE:R6e,C_NUMBER_MODE:w6e,BINARY_NUMBER_MODE:I6e,CSS_NUMBER_MODE:O6e,REGEXP_MODE:N6e,TITLE_MODE:A6e,UNDERSCORE_TITLE_MODE:D6e,METHOD_GUARD:M6e,END_SAME_AS_BEGIN:L6e});function k6e(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function P6e(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=k6e,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function $6e(e,t){Array.isArray(e.illegal)&&(e.illegal=f6e(...e.illegal))}function F6e(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function B6e(e,t){e.relevance===void 0&&(e.relevance=1)}const U6e=["of","and","for","in","not","or","if","then","parent","list","value"],j6e="keyword";function pre(e,t,n=j6e){const r={};return typeof e=="string"?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach(function(i){Object.assign(r,pre(e[i],t,i))}),r;function a(i,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[i,z6e(l[0],l[1])]})}}function z6e(e,t){return t?Number(t):H6e(e)?0:1}function H6e(e){return U6e.includes(e.toLowerCase())}function G6e(e,{plugins:t}){function n(s,l){return new RegExp(Om(s),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,l]),this.matchAt+=m6e(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(u=>u[1]);this.matcherRe=n(v6e(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(l);if(!u)return null;const d=u.findIndex((f,m)=>m>0&&f!==void 0),p=this.matchIndexes[d];return u.splice(0,d),Object.assign(u,p)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const u=new r;return this.rules.slice(l).forEach(([d,p])=>u.addRule(d,p)),u.compile(),this.multiRegexes[l]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,u){this.rules.push([l,u]),u.type==="begin"&&this.count++}exec(l){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let d=u.exec(l);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,d=p.exec(l)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function i(s){const l=new a;return s.contains.forEach(u=>l.addRule(u.begin,{rule:u,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function o(s,l){const u=s;if(s.isCompiled)return u;[F6e].forEach(p=>p(s,l)),e.compilerExtensions.forEach(p=>p(s,l)),s.__beforeBegin=null,[P6e,$6e,B6e].forEach(p=>p(s,l)),s.isCompiled=!0;let d=null;if(typeof s.keywords=="object"&&(d=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=pre(s.keywords,e.case_insensitive)),s.lexemes&&d)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return d=d||s.lexemes||/\w+/,u.keywordPatternRe=n(d,!0),l&&(s.begin||(s.begin=/\B|\b/),u.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(u.endRe=n(s.end)),u.terminatorEnd=Om(s.end)||"",s.endsWithParent&&l.terminatorEnd&&(u.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(u.illegalRe=n(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(p){return V6e(p==="self"?s:p)})),s.contains.forEach(function(p){o(p,u)}),s.starts&&o(s.starts,l),u.matcher=i(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Js(e.classNameAliases||{}),o(e)}function fre(e){return e?e.endsWithParent||fre(e.starts):!1}function V6e(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Js(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:fre(e)?Js(e,{starts:e.starts?Js(e.starts):null}):Object.isFrozen(e)?Js(e):e}var q6e="10.7.3";function W6e(e){return!!(e||e==="")}function Y6e(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,ad(this.code);let r={};return this.autoDetect?(r=e.highlightAuto(this.code),this.detectedLanguage=r.language):(r=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||W6e(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const K6e={"after:highlightElement":({el:e,result:t,text:n})=>{const r=h6(e);if(!r.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=X6e(r,h6(a),n)}};function aM(e){return e.nodeName.toLowerCase()}function h6(e){const t=[];return function n(r,a){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?a+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:a,node:i}),a=n(i,a),aM(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:i}));return a}(e,0),t}function X6e(e,t,n){let r=0,a="";const i=[];function o(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function l(d){a+=""}function u(d){(d.event==="start"?s:l)(d.node)}for(;e.length||t.length;){let d=o();if(a+=ad(n.substring(r,d[0].offset)),r=d[0].offset,d===e){i.reverse().forEach(l);do u(d.splice(0,1)[0]),d=o();while(d===e&&d.length&&d[0].offset===r);i.reverse().forEach(s)}else d[0].event==="start"?i.push(d[0].node):i.pop(),u(d.splice(0,1)[0])}return a+ad(n.substr(r))}const v6={},Jy=e=>{console.error(e)},_6=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Ri=(e,t)=>{v6[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),v6[`${e}/${t}`]=!0)},eC=ad,b6=Js,S6=Symbol("nomatch"),Q6e=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:u6e};function u(U){return l.noHighlightRe.test(U)}function d(U){let j=U.className+" ";j+=U.parentNode?U.parentNode.className:"";const G=l.languageDetectRe.exec(j);if(G){const J=N(G[1]);return J||(_6(o.replace("{}",G[1])),_6("Falling back to no-highlight mode for this block.",U)),J?G[1]:"no-highlight"}return j.split(/\s+/).find(J=>u(J)||N(J))}function p(U,j,G,J){let Y="",X="";typeof j=="object"?(Y=U,G=j.ignoreIllegals,X=j.language,J=void 0):(Ri("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ri("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),X=U,Y=j);const V={code:Y,language:X};F("before:highlight",V);const H=V.result?V.result:f(V.language,V.code,G,J);return H.code=V.code,F("after:highlight",H),H}function f(U,j,G,J){function Y(fe,ve){const Ae=Te.case_insensitive?ve[0].toLowerCase():ve[0];return Object.prototype.hasOwnProperty.call(fe.keywords,Ae)&&fe.keywords[Ae]}function X(){if(!re.keywords){ae.addText(le);return}let fe=0;re.keywordPatternRe.lastIndex=0;let ve=re.keywordPatternRe.exec(le),Ae="";for(;ve;){Ae+=le.substring(fe,ve.index);const ye=Y(re,ve);if(ye){const[be,Ne]=ye;if(ae.addText(Ae),Ae="",pe+=Ne,be.startsWith("_"))Ae+=ve[0];else{const Ie=Te.classNameAliases[be]||be;ae.addKeyword(ve[0],Ie)}}else Ae+=ve[0];fe=re.keywordPatternRe.lastIndex,ve=re.keywordPatternRe.exec(le)}Ae+=le.substr(fe),ae.addText(Ae)}function V(){if(le==="")return;let fe=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){ae.addText(le);return}fe=f(re.subLanguage,le,!0,ne[re.subLanguage]),ne[re.subLanguage]=fe.top}else fe=g(le,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(pe+=fe.relevance),ae.addSublanguage(fe.emitter,fe.language)}function H(){re.subLanguage!=null?V():X(),le=""}function q(fe){return fe.className&&ae.openNode(Te.classNameAliases[fe.className]||fe.className),re=Object.create(fe,{parent:{value:re}}),re}function K(fe,ve,Ae){let ye=g6e(fe.endRe,Ae);if(ye){if(fe["on:end"]){const be=new m6(fe);fe["on:end"](ve,be),be.isMatchIgnored&&(ye=!1)}if(ye){for(;fe.endsParent&&fe.parent;)fe=fe.parent;return fe}}if(fe.endsWithParent)return K(fe.parent,ve,Ae)}function Z(fe){return re.matcher.regexIndex===0?(le+=fe[0],1):(Pe=!0,0)}function te(fe){const ve=fe[0],Ae=fe.rule,ye=new m6(Ae),be=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ne of be)if(Ne&&(Ne(fe,ye),ye.isMatchIgnored))return Z(ve);return Ae&&Ae.endSameAsBegin&&(Ae.endRe=d6e(ve)),Ae.skip?le+=ve:(Ae.excludeBegin&&(le+=ve),H(),!Ae.returnBegin&&!Ae.excludeBegin&&(le=ve)),q(Ae),Ae.returnBegin?0:ve.length}function se(fe){const ve=fe[0],Ae=j.substr(fe.index),ye=K(re,fe,Ae);if(!ye)return S6;const be=re;be.skip?le+=ve:(be.returnEnd||be.excludeEnd||(le+=ve),H(),be.excludeEnd&&(le=ve));do re.className&&ae.closeNode(),!re.skip&&!re.subLanguage&&(pe+=re.relevance),re=re.parent;while(re!==ye.parent);return ye.starts&&(ye.endSameAsBegin&&(ye.starts.endRe=ye.endRe),q(ye.starts)),be.returnEnd?0:ve.length}function ue(){const fe=[];for(let ve=re;ve!==Te;ve=ve.parent)ve.className&&fe.unshift(ve.className);fe.forEach(ve=>ae.openNode(ve))}let me={};function de(fe,ve){const Ae=ve&&ve[0];if(le+=fe,Ae==null)return H(),0;if(me.type==="begin"&&ve.type==="end"&&me.index===ve.index&&Ae===""){if(le+=j.slice(ve.index,ve.index+1),!a){const ye=new Error("0 width match regex");throw ye.languageName=U,ye.badRule=me.rule,ye}return 1}if(me=ve,ve.type==="begin")return te(ve);if(ve.type==="illegal"&&!G){const ye=new Error('Illegal lexeme "'+Ae+'" for mode "'+(re.className||"")+'"');throw ye.mode=re,ye}else if(ve.type==="end"){const ye=se(ve);if(ye!==S6)return ye}if(ve.type==="illegal"&&Ae==="")return 1;if(Se>1e5&&Se>ve.index*3)throw new Error("potential infinite loop, way more iterations than matches");return le+=Ae,Ae.length}const Te=N(U);if(!Te)throw Jy(o.replace("{}",U)),new Error('Unknown language: "'+U+'"');const Ee=G6e(Te,{plugins:r});let ge="",re=J||Ee;const ne={},ae=new l.__emitter(l);ue();let le="",pe=0,Re=0,Se=0,Pe=!1;try{for(re.matcher.considerAll();;){Se++,Pe?Pe=!1:re.matcher.considerAll(),re.matcher.lastIndex=Re;const fe=re.matcher.exec(j);if(!fe)break;const ve=j.substring(Re,fe.index),Ae=de(ve,fe);Re=fe.index+Ae}return de(j.substr(Re)),ae.closeAllNodes(),ae.finalize(),ge=ae.toHTML(),{relevance:Math.floor(pe),value:ge,language:U,illegal:!1,emitter:ae,top:re}}catch(fe){if(fe.message&&fe.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:fe.message,context:j.slice(Re-100,Re+100),mode:fe.mode},sofar:ge,relevance:0,value:eC(j),emitter:ae};if(a)return{illegal:!1,relevance:0,value:eC(j),emitter:ae,language:U,top:re,errorRaised:fe};throw fe}}function m(U){const j={relevance:0,emitter:new l.__emitter(l),value:eC(U),illegal:!1,top:s};return j.emitter.addText(U),j}function g(U,j){j=j||l.languages||Object.keys(t);const G=m(U),J=j.filter(N).filter(D).map(q=>f(q,U,!1));J.unshift(G);const Y=J.sort((q,K)=>{if(q.relevance!==K.relevance)return K.relevance-q.relevance;if(q.language&&K.language){if(N(q.language).supersetOf===K.language)return 1;if(N(K.language).supersetOf===q.language)return-1}return 0}),[X,V]=Y,H=X;return H.second_best=V,H}function h(U){return l.tabReplace||l.useBR?U.replace(i,j=>j===` +`)};if(O===0){var M=d.slice(f+1,m).concat(Av({children:[P],className:T.properties.className})),N=v(M,k);p.push(N)}else if(O===w.length-1){var A=d[m+1]&&d[m+1].children&&d[m+1].children[0],D={type:"text",value:"".concat(I)};if(A){var L=Av({children:[D],className:T.properties.className});d.splice(m+1,0,L)}else{var $=[D],F=v($,k,T.properties.className);p.push(F)}}else{var B=[P],z=v(B,k,T.properties.className);p.push(z)}}),f=m}m++};m/g,">").replace(/"/g,""").replace(/'/g,"'")}function el(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const a in r)n[a]=r[a]}),n}const C6e="",v6=e=>!!e.kind;class T6e{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=sd(t)}openNode(t){if(!v6(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){v6(t)&&(this.buffer+=C6e)}value(){return this.buffer}span(t){this.buffer+=``}}class OP{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{OP._collapse(n)}))}}class x6e extends OP{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.kind=n,r.sublanguage=!0,this.add(r)}toHTML(){return new T6e(this,this.options).value()}finalize(){return!0}}function R6e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Am(e){return e?typeof e=="string"?e:e.source:null}function w6e(...e){return e.map(n=>Am(n)).join("")}function I6e(...e){return"("+e.map(n=>Am(n)).join("|")+")"}function O6e(e){return new RegExp(e.toString()+"|").exec("").length-1}function N6e(e,t){const n=e&&e.exec(t);return n&&n.index===0}const A6e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D6e(e,t="|"){let n=0;return e.map(r=>{n+=1;const a=n;let i=Am(r),o="";for(;i.length>0;){const s=A6e.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const M6e=/\b\B/,dre="[a-zA-Z]\\w*",NP="[a-zA-Z_]\\w*",AP="\\b\\d+(\\.\\d+)?",pre="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",fre="\\b(0b[01]+)",L6e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",k6e=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=w6e(t,/.*\b/,e.binary,/\b.*/)),el({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Dm={begin:"\\\\[\\s\\S]",relevance:0},P6e={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Dm]},$6e={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Dm]},mre={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},YS=function(e,t,n={}){const r=el({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(mre),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},F6e=YS("//","$"),B6e=YS("/\\*","\\*/"),U6e=YS("#","$"),j6e={className:"number",begin:AP,relevance:0},z6e={className:"number",begin:pre,relevance:0},H6e={className:"number",begin:fre,relevance:0},G6e={className:"number",begin:AP+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},V6e={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Dm,{begin:/\[/,end:/\]/,relevance:0,contains:[Dm]}]}]},q6e={className:"title",begin:dre,relevance:0},W6e={className:"title",begin:NP,relevance:0},Y6e={begin:"\\.\\s*"+NP,relevance:0},K6e=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var Fh=Object.freeze({__proto__:null,MATCH_NOTHING_RE:M6e,IDENT_RE:dre,UNDERSCORE_IDENT_RE:NP,NUMBER_RE:AP,C_NUMBER_RE:pre,BINARY_NUMBER_RE:fre,RE_STARTERS_RE:L6e,SHEBANG:k6e,BACKSLASH_ESCAPE:Dm,APOS_STRING_MODE:P6e,QUOTE_STRING_MODE:$6e,PHRASAL_WORDS_MODE:mre,COMMENT:YS,C_LINE_COMMENT_MODE:F6e,C_BLOCK_COMMENT_MODE:B6e,HASH_COMMENT_MODE:U6e,NUMBER_MODE:j6e,C_NUMBER_MODE:z6e,BINARY_NUMBER_MODE:H6e,CSS_NUMBER_MODE:G6e,REGEXP_MODE:V6e,TITLE_MODE:q6e,UNDERSCORE_TITLE_MODE:W6e,METHOD_GUARD:Y6e,END_SAME_AS_BEGIN:K6e});function X6e(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Q6e(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=X6e,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Z6e(e,t){Array.isArray(e.illegal)&&(e.illegal=I6e(...e.illegal))}function J6e(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function e8e(e,t){e.relevance===void 0&&(e.relevance=1)}const t8e=["of","and","for","in","not","or","if","then","parent","list","value"],n8e="keyword";function gre(e,t,n=n8e){const r={};return typeof e=="string"?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach(function(i){Object.assign(r,gre(e[i],t,i))}),r;function a(i,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[i,r8e(l[0],l[1])]})}}function r8e(e,t){return t?Number(t):a8e(e)?0:1}function a8e(e){return t8e.includes(e.toLowerCase())}function i8e(e,{plugins:t}){function n(s,l){return new RegExp(Am(s),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,l]),this.matchAt+=O6e(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(u=>u[1]);this.matcherRe=n(D6e(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(l);if(!u)return null;const d=u.findIndex((f,m)=>m>0&&f!==void 0),p=this.matchIndexes[d];return u.splice(0,d),Object.assign(u,p)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const u=new r;return this.rules.slice(l).forEach(([d,p])=>u.addRule(d,p)),u.compile(),this.multiRegexes[l]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,u){this.rules.push([l,u]),u.type==="begin"&&this.count++}exec(l){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let d=u.exec(l);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,d=p.exec(l)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function i(s){const l=new a;return s.contains.forEach(u=>l.addRule(u.begin,{rule:u,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function o(s,l){const u=s;if(s.isCompiled)return u;[J6e].forEach(p=>p(s,l)),e.compilerExtensions.forEach(p=>p(s,l)),s.__beforeBegin=null,[Q6e,Z6e,e8e].forEach(p=>p(s,l)),s.isCompiled=!0;let d=null;if(typeof s.keywords=="object"&&(d=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=gre(s.keywords,e.case_insensitive)),s.lexemes&&d)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return d=d||s.lexemes||/\w+/,u.keywordPatternRe=n(d,!0),l&&(s.begin||(s.begin=/\B|\b/),u.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(u.endRe=n(s.end)),u.terminatorEnd=Am(s.end)||"",s.endsWithParent&&l.terminatorEnd&&(u.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(u.illegalRe=n(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(p){return o8e(p==="self"?s:p)})),s.contains.forEach(function(p){o(p,u)}),s.starts&&o(s.starts,l),u.matcher=i(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=el(e.classNameAliases||{}),o(e)}function hre(e){return e?e.endsWithParent||hre(e.starts):!1}function o8e(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return el(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:hre(e)?el(e,{starts:e.starts?el(e.starts):null}):Object.isFrozen(e)?el(e):e}var s8e="10.7.3";function l8e(e){return!!(e||e==="")}function c8e(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,sd(this.code);let r={};return this.autoDetect?(r=e.highlightAuto(this.code),this.detectedLanguage=r.language):(r=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||l8e(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const u8e={"after:highlightElement":({el:e,result:t,text:n})=>{const r=_6(e);if(!r.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=d8e(r,_6(a),n)}};function oM(e){return e.nodeName.toLowerCase()}function _6(e){const t=[];return function n(r,a){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?a+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:a,node:i}),a=n(i,a),oM(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:i}));return a}(e,0),t}function d8e(e,t,n){let r=0,a="";const i=[];function o(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function l(d){a+=""}function u(d){(d.event==="start"?s:l)(d.node)}for(;e.length||t.length;){let d=o();if(a+=sd(n.substring(r,d[0].offset)),r=d[0].offset,d===e){i.reverse().forEach(l);do u(d.splice(0,1)[0]),d=o();while(d===e&&d.length&&d[0].offset===r);i.reverse().forEach(s)}else d[0].event==="start"?i.push(d[0].node):i.pop(),u(d.splice(0,1)[0])}return a+sd(n.substr(r))}const b6={},tC=e=>{console.error(e)},S6=(e,...t)=>{console.log(`WARN: ${e}`,...t)},wi=(e,t)=>{b6[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),b6[`${e}/${t}`]=!0)},nC=sd,E6=el,y6=Symbol("nomatch"),p8e=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:x6e};function u(U){return l.noHighlightRe.test(U)}function d(U){let j=U.className+" ";j+=U.parentNode?U.parentNode.className:"";const G=l.languageDetectRe.exec(j);if(G){const J=N(G[1]);return J||(S6(o.replace("{}",G[1])),S6("Falling back to no-highlight mode for this block.",U)),J?G[1]:"no-highlight"}return j.split(/\s+/).find(J=>u(J)||N(J))}function p(U,j,G,J){let Y="",Q="";typeof j=="object"?(Y=U,G=j.ignoreIllegals,Q=j.language,J=void 0):(wi("10.7.0","highlight(lang, code, ...args) has been deprecated."),wi("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Q=U,Y=j);const V={code:Y,language:Q};F("before:highlight",V);const H=V.result?V.result:f(V.language,V.code,G,J);return H.code=V.code,F("after:highlight",H),H}function f(U,j,G,J){function Y(fe,_e){const Ae=Te.case_insensitive?_e[0].toLowerCase():_e[0];return Object.prototype.hasOwnProperty.call(fe.keywords,Ae)&&fe.keywords[Ae]}function Q(){if(!re.keywords){ae.addText(le);return}let fe=0;re.keywordPatternRe.lastIndex=0;let _e=re.keywordPatternRe.exec(le),Ae="";for(;_e;){Ae+=le.substring(fe,_e.index);const ye=Y(re,_e);if(ye){const[be,Ne]=ye;if(ae.addText(Ae),Ae="",pe+=Ne,be.startsWith("_"))Ae+=_e[0];else{const we=Te.classNameAliases[be]||be;ae.addKeyword(_e[0],we)}}else Ae+=_e[0];fe=re.keywordPatternRe.lastIndex,_e=re.keywordPatternRe.exec(le)}Ae+=le.substr(fe),ae.addText(Ae)}function V(){if(le==="")return;let fe=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){ae.addText(le);return}fe=f(re.subLanguage,le,!0,ne[re.subLanguage]),ne[re.subLanguage]=fe.top}else fe=g(le,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(pe+=fe.relevance),ae.addSublanguage(fe.emitter,fe.language)}function H(){re.subLanguage!=null?V():Q(),le=""}function q(fe){return fe.className&&ae.openNode(Te.classNameAliases[fe.className]||fe.className),re=Object.create(fe,{parent:{value:re}}),re}function K(fe,_e,Ae){let ye=N6e(fe.endRe,Ae);if(ye){if(fe["on:end"]){const be=new h6(fe);fe["on:end"](_e,be),be.isMatchIgnored&&(ye=!1)}if(ye){for(;fe.endsParent&&fe.parent;)fe=fe.parent;return fe}}if(fe.endsWithParent)return K(fe.parent,_e,Ae)}function Z(fe){return re.matcher.regexIndex===0?(le+=fe[0],1):(Pe=!0,0)}function te(fe){const _e=fe[0],Ae=fe.rule,ye=new h6(Ae),be=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ne of be)if(Ne&&(Ne(fe,ye),ye.isMatchIgnored))return Z(_e);return Ae&&Ae.endSameAsBegin&&(Ae.endRe=R6e(_e)),Ae.skip?le+=_e:(Ae.excludeBegin&&(le+=_e),H(),!Ae.returnBegin&&!Ae.excludeBegin&&(le=_e)),q(Ae),Ae.returnBegin?0:_e.length}function se(fe){const _e=fe[0],Ae=j.substr(fe.index),ye=K(re,fe,Ae);if(!ye)return y6;const be=re;be.skip?le+=_e:(be.returnEnd||be.excludeEnd||(le+=_e),H(),be.excludeEnd&&(le=_e));do re.className&&ae.closeNode(),!re.skip&&!re.subLanguage&&(pe+=re.relevance),re=re.parent;while(re!==ye.parent);return ye.starts&&(ye.endSameAsBegin&&(ye.starts.endRe=ye.endRe),q(ye.starts)),be.returnEnd?0:_e.length}function ue(){const fe=[];for(let _e=re;_e!==Te;_e=_e.parent)_e.className&&fe.unshift(_e.className);fe.forEach(_e=>ae.openNode(_e))}let me={};function de(fe,_e){const Ae=_e&&_e[0];if(le+=fe,Ae==null)return H(),0;if(me.type==="begin"&&_e.type==="end"&&me.index===_e.index&&Ae===""){if(le+=j.slice(_e.index,_e.index+1),!a){const ye=new Error("0 width match regex");throw ye.languageName=U,ye.badRule=me.rule,ye}return 1}if(me=_e,_e.type==="begin")return te(_e);if(_e.type==="illegal"&&!G){const ye=new Error('Illegal lexeme "'+Ae+'" for mode "'+(re.className||"")+'"');throw ye.mode=re,ye}else if(_e.type==="end"){const ye=se(_e);if(ye!==y6)return ye}if(_e.type==="illegal"&&Ae==="")return 1;if(Se>1e5&&Se>_e.index*3)throw new Error("potential infinite loop, way more iterations than matches");return le+=Ae,Ae.length}const Te=N(U);if(!Te)throw tC(o.replace("{}",U)),new Error('Unknown language: "'+U+'"');const Ee=i8e(Te,{plugins:r});let ge="",re=J||Ee;const ne={},ae=new l.__emitter(l);ue();let le="",pe=0,Re=0,Se=0,Pe=!1;try{for(re.matcher.considerAll();;){Se++,Pe?Pe=!1:re.matcher.considerAll(),re.matcher.lastIndex=Re;const fe=re.matcher.exec(j);if(!fe)break;const _e=j.substring(Re,fe.index),Ae=de(_e,fe);Re=fe.index+Ae}return de(j.substr(Re)),ae.closeAllNodes(),ae.finalize(),ge=ae.toHTML(),{relevance:Math.floor(pe),value:ge,language:U,illegal:!1,emitter:ae,top:re}}catch(fe){if(fe.message&&fe.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:fe.message,context:j.slice(Re-100,Re+100),mode:fe.mode},sofar:ge,relevance:0,value:nC(j),emitter:ae};if(a)return{illegal:!1,relevance:0,value:nC(j),emitter:ae,language:U,top:re,errorRaised:fe};throw fe}}function m(U){const j={relevance:0,emitter:new l.__emitter(l),value:nC(U),illegal:!1,top:s};return j.emitter.addText(U),j}function g(U,j){j=j||l.languages||Object.keys(t);const G=m(U),J=j.filter(N).filter(D).map(q=>f(q,U,!1));J.unshift(G);const Y=J.sort((q,K)=>{if(q.relevance!==K.relevance)return K.relevance-q.relevance;if(q.language&&K.language){if(N(q.language).supersetOf===K.language)return 1;if(N(K.language).supersetOf===q.language)return-1}return 0}),[Q,V]=Y,H=Q;return H.second_best=V,H}function h(U){return l.tabReplace||l.useBR?U.replace(i,j=>j===` `?l.useBR?"
":j:l.tabReplace?j.replace(/\t/g,l.tabReplace):j):U}function v(U,j,G){const J=j?n[j]:G;U.classList.add("hljs"),J&&U.classList.add(J)}const S={"before:highlightElement":({el:U})=>{l.useBR&&(U.innerHTML=U.innerHTML.replace(/\n/g,"").replace(//g,` -`))},"after:highlightElement":({result:U})=>{l.useBR&&(U.value=U.value.replace(/\n/g,"
"))}},_=/^(<[^>]+>|\t)+/gm,E={"after:highlightElement":({result:U})=>{l.tabReplace&&(U.value=U.value.replace(_,j=>j.replace(/\t/g,l.tabReplace)))}};function y(U){let j=null;const G=d(U);if(u(G))return;F("before:highlightElement",{el:U,language:G}),j=U;const J=j.textContent,Y=G?p(J,{language:G,ignoreIllegals:!0}):g(J);F("after:highlightElement",{el:U,result:Y,text:J}),U.innerHTML=Y.value,v(U,G,Y.language),U.result={language:Y.language,re:Y.relevance,relavance:Y.relevance},Y.second_best&&(U.second_best={language:Y.second_best.language,re:Y.second_best.relevance,relavance:Y.second_best.relevance})}function C(U){U.useBR&&(Ri("10.3.0","'useBR' will be removed entirely in v11.0"),Ri("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=b6(l,U)}const T=()=>{if(T.called)return;T.called=!0,Ri("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(y)};function x(){Ri("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function w(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll("pre code").forEach(y)}function I(){R&&w()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function O(U,j){let G=null;try{G=j(e)}catch(J){if(Jy("Language definition for '{}' could not be registered.".replace("{}",U)),a)Jy(J);else throw J;G=s}G.name||(G.name=U),t[U]=G,G.rawDefinition=j.bind(null,e),G.aliases&&A(G.aliases,{languageName:U})}function k(U){delete t[U];for(const j of Object.keys(n))n[j]===U&&delete n[j]}function P(){return Object.keys(t)}function M(U){Ri("10.4.0","requireLanguage will be removed entirely in v11."),Ri("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const j=N(U);if(j)return j;throw new Error("The '{}' language is required, but not loaded.".replace("{}",U))}function N(U){return U=(U||"").toLowerCase(),t[U]||t[n[U]]}function A(U,{languageName:j}){typeof U=="string"&&(U=[U]),U.forEach(G=>{n[G.toLowerCase()]=j})}function D(U){const j=N(U);return j&&!j.disableAutodetect}function L(U){U["before:highlightBlock"]&&!U["before:highlightElement"]&&(U["before:highlightElement"]=j=>{U["before:highlightBlock"](Object.assign({block:j.el},j))}),U["after:highlightBlock"]&&!U["after:highlightElement"]&&(U["after:highlightElement"]=j=>{U["after:highlightBlock"](Object.assign({block:j.el},j))})}function $(U){L(U),r.push(U)}function F(U,j){const G=U;r.forEach(function(J){J[G]&&J[G](j)})}function B(U){return Ri("10.2.0","fixMarkup will be removed entirely in v11.0"),Ri("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),h(U)}function z(U){return Ri("10.7.0","highlightBlock will be removed entirely in v12.0"),Ri("10.7.0","Please use highlightElement now."),y(U)}Object.assign(e,{highlight:p,highlightAuto:g,highlightAll:w,fixMarkup:B,highlightElement:y,highlightBlock:z,configure:C,initHighlighting:T,initHighlightingOnLoad:x,registerLanguage:O,unregisterLanguage:k,listLanguages:P,getLanguage:N,registerAliases:A,requireLanguage:M,autoDetection:D,inherit:b6,addPlugin:$,vuePlugin:Y6e(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=q6e;for(const U in kh)typeof kh[U]=="object"&&sre(kh[U]);return Object.assign(e,kh),e.addPlugin(S),e.addPlugin(K6e),e.addPlugin(E),e};var Z6e=Q6e({}),J6e=Z6e,mre={exports:{}};(function(e){(function(){var t;t=e.exports=a,t.format=a,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(a.apply(null,arguments))}function r(i,o){return a.apply(null,[i].concat(o))}function a(i){for(var o=1,s=[].slice.call(arguments),l=0,u=i.length,d="",p,f=!1,m,g,h=!1,v,S=function(){return s[o++]},_=function(){for(var E="";/\d/.test(i[l]);)E+=i[l++],p=i[l];return E.length>0?parseInt(E):null};ls.relevance&&(s=l),l.relevance>o.relevance&&(s=o,o=l));return s.language&&(o.secondBest=s),o}function i8e(e,t){No.registerLanguage(e,t)}function o8e(){return No.listLanguages()}function s8e(e,t){var n=e,r;t&&(n={},n[e]=t);for(r in n)No.registerAliases(n[r],{languageName:r})}function Os(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function l8e(e,t){this.openNode(t),this.addText(e),this.closeNode()}function c8e(e,t){var n=this.stack,r=n[n.length-1],a=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:a}:a;r.children=r.children.concat(i)}function u8e(e){var t=this.stack,n,r;e!==""&&(n=t[t.length-1],r=n.children[n.children.length-1],r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e}))}function d8e(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],a={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(a),t.push(a)}function p8e(){this.stack.pop()}function f8e(){return""}function hre(){}var tC,E6;function m8e(){if(E6)return tC;E6=1;function e(t){var n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее ",a="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",i=r+a,o="загрузитьизфайла ",s="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",l=o+s,u="разделительстраниц разделительстрок символтабуляции ",d="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",p="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",f="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",m=u+d+p+f,g="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",h="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",v="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",S="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",_="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",E="отображениевремениэлементовпланировщика ",y="типфайлаформатированногодокумента ",C="обходрезультатазапроса типзаписизапроса ",T="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",x="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",R="типизмеренияпостроителязапроса ",w="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",I="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",O="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",k="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",P="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",M="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",N="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",A="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",D="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",L="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",$="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",F=g+h+v+S+_+E+y+C+T+x+R+w+I+O+k+P+M+N+A+D+L+$,B="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ",z="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",U=B+z,j="null истина ложь неопределено",G=t.inherit(t.NUMBER_MODE),J={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Y={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},X=t.inherit(t.C_LINE_COMMENT_MODE),V={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:n,"meta-keyword":i+l},contains:[X]},H={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},q={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:n,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:n,keyword:"знач",literal:j},contains:[G,J,Y]},X]},t.inherit(t.TITLE_MODE,{begin:n})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:n,keyword:i,built_in:m,class:F,type:U,literal:j},contains:[V,q,X,H,G,J,Y]}}return tC=e,tC}var nC,y6;function g8e(){if(y6)return nC;y6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=r.COMMENT(/;/,/$/),s={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},l={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},u={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},d={className:"symbol",begin:/%[si]/},p={className:"attribute",begin:t(a.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:a.unexpectedChars,keywords:i,contains:[p,o,s,l,u,d,r.QUOTE_STRING_MODE,r.NUMBER_MODE]}}return nC=n,nC}var rC,C6;function h8e(){if(C6)return rC;C6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t(/"/,n(...i)),end:/"/,keywords:i,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return rC=r,rC}var aC,T6;function v8e(){if(T6)return aC;T6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[r.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},r.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[r.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,o]},{begin:t(/:\s*/,i)}]},r.METHOD_GUARD],illegal:/#/}}return aC=n,aC}var iC,x6;function _8e(){if(x6)return iC;x6=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")",l="[A-Za-z](_?[A-Za-z0-9.])*",u=`[]\\{\\}%#'"`,d=t.COMMENT("--","$"),p={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:u,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[d,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:s,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:u},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[d,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:u},p,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:u}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:u},p]}}return iC=e,iC}var oC,R6;function b8e(){if(R6)return oC;R6=1;function e(t){var n={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},r={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[n,r]};return n.contains=[a],r.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},n,r,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return oC=e,oC}var sC,w6;function S8e(){if(w6)return sC;w6=1;function e(t){const n={className:"number",begin:/[$%]\d+/},r={className:"number",begin:/\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",n]},a,r,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}return sC=e,sC}var lC,I6;function E8e(){if(I6)return lC;I6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.inherit(a.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",a.C_NUMBER_MODE,i]},s=a.COMMENT(/--/,/$/),l=a.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),u=[s,l,a.HASH_COMMENT_MODE],d=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],p=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[i,a.C_NUMBER_MODE,{className:"built_in",begin:t(/\b/,n(...p),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t(/\b/,n(...d),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[a.UNDERSCORE_TITLE_MODE,o]},...u],illegal:/\/\/|->|=>|\[\[/}}return lC=r,lC}var cC,O6;function y8e(){if(O6)return cC;O6=1;function e(t){const n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},s={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,i,t.REGEXP_MODE];const l=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:r,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:l}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return cC=e,cC}var uC,N6;function C8e(){if(N6)return uC;N6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},_=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},l=a(o),u=l.keywords;return u.keyword+=" "+s.keyword,u.literal+=" "+s.literal,u.built_in+=" "+s.built_in,u._+=" "+s._,l.name="Arduino",l.aliases=["ino"],l.supersetOf="cpp",l}return uC=i,uC}var dC,A6;function T8e(){if(A6)return dC;A6=1;function e(t){const n={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},n,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return dC=e,dC}var pC,D6;function x8e(){if(D6)return pC;D6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s=r(/[A-Z_]/,n(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),l=/[A-Za-z0-9._:-]+/,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},p=o.inherit(d,{begin:/\(/,end:/\)/}),f=o.inherit(o.APOS_STRING_MODE,{className:"meta-string"}),m=o.inherit(o.QUOTE_STRING_MODE,{className:"meta-string"}),g={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,m,f,p,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,p,m,f]}]}]},o.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:g}]},{className:"tag",begin:r(/<\//,t(r(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return pC=i,pC}var fC,M6;function R8e(){if(M6)return fC;M6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],o=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],l={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},u={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[r.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),r.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},u,l,...i,...o,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return fC=n,fC}var mC,L6;function w8e(){if(L6)return mC;L6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",i="get set args call";return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[r.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},r.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a+" "+i,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[r.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a+" "+i,relevance:0},r.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return mC=n,mC}var gC,k6;function I8e(){if(k6)return gC;k6=1;function e(t){const n={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[n,t.inherit(t.QUOTE_STRING_MODE,{contains:[n]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return gC=e,gC}var hC,P6;function O8e(){if(P6)return hC;P6=1;function e(t){const n="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},s={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},u={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},d={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":r},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[l,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},p={className:"symbol",begin:"@[A-z0-9_]+"},f={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[s,l,u]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:n,built_in:i,literal:a},contains:[o,s,l,u,d,p,f]}}return hC=e,hC}var vC,$6;function N8e(){if($6)return vC;$6=1;function e(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return vC=e,vC}var _C,F6;function A8e(){if(F6)return _C;F6=1;function e(t){const n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:r},contains:[n,a,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}return _C=e,_C}var bC,B6;function D8e(){if(B6)return bC;B6=1;function e(t){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]}]}}return bC=e,bC}var SC,U6;function M8e(){if(U6)return SC;U6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,a,o]};o.contains.push(l);const u={className:"",begin:/\\"/},d={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,a]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=r.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[m,r.SHEBANG(),g,p,r.HASH_COMMENT_MODE,s,l,u,d,a]}}return SC=n,SC}var EC,j6;function L8e(){if(j6)return EC;j6=1;function e(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return EC=e,EC}var yC,z6;function k8e(){if(z6)return yC;z6=1;function e(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}return yC=e,yC}var CC,H6;function P8e(){if(H6)return CC;H6=1;function e(t){const n={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r +`))},"after:highlightElement":({result:U})=>{l.useBR&&(U.value=U.value.replace(/\n/g,"
"))}},b=/^(<[^>]+>|\t)+/gm,E={"after:highlightElement":({result:U})=>{l.tabReplace&&(U.value=U.value.replace(b,j=>j.replace(/\t/g,l.tabReplace)))}};function y(U){let j=null;const G=d(U);if(u(G))return;F("before:highlightElement",{el:U,language:G}),j=U;const J=j.textContent,Y=G?p(J,{language:G,ignoreIllegals:!0}):g(J);F("after:highlightElement",{el:U,result:Y,text:J}),U.innerHTML=Y.value,v(U,G,Y.language),U.result={language:Y.language,re:Y.relevance,relavance:Y.relevance},Y.second_best&&(U.second_best={language:Y.second_best.language,re:Y.second_best.relevance,relavance:Y.second_best.relevance})}function C(U){U.useBR&&(wi("10.3.0","'useBR' will be removed entirely in v11.0"),wi("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=E6(l,U)}const T=()=>{if(T.called)return;T.called=!0,wi("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(y)};function x(){wi("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function w(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll("pre code").forEach(y)}function I(){R&&w()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function O(U,j){let G=null;try{G=j(e)}catch(J){if(tC("Language definition for '{}' could not be registered.".replace("{}",U)),a)tC(J);else throw J;G=s}G.name||(G.name=U),t[U]=G,G.rawDefinition=j.bind(null,e),G.aliases&&A(G.aliases,{languageName:U})}function k(U){delete t[U];for(const j of Object.keys(n))n[j]===U&&delete n[j]}function P(){return Object.keys(t)}function M(U){wi("10.4.0","requireLanguage will be removed entirely in v11."),wi("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const j=N(U);if(j)return j;throw new Error("The '{}' language is required, but not loaded.".replace("{}",U))}function N(U){return U=(U||"").toLowerCase(),t[U]||t[n[U]]}function A(U,{languageName:j}){typeof U=="string"&&(U=[U]),U.forEach(G=>{n[G.toLowerCase()]=j})}function D(U){const j=N(U);return j&&!j.disableAutodetect}function L(U){U["before:highlightBlock"]&&!U["before:highlightElement"]&&(U["before:highlightElement"]=j=>{U["before:highlightBlock"](Object.assign({block:j.el},j))}),U["after:highlightBlock"]&&!U["after:highlightElement"]&&(U["after:highlightElement"]=j=>{U["after:highlightBlock"](Object.assign({block:j.el},j))})}function $(U){L(U),r.push(U)}function F(U,j){const G=U;r.forEach(function(J){J[G]&&J[G](j)})}function B(U){return wi("10.2.0","fixMarkup will be removed entirely in v11.0"),wi("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),h(U)}function z(U){return wi("10.7.0","highlightBlock will be removed entirely in v12.0"),wi("10.7.0","Please use highlightElement now."),y(U)}Object.assign(e,{highlight:p,highlightAuto:g,highlightAll:w,fixMarkup:B,highlightElement:y,highlightBlock:z,configure:C,initHighlighting:T,initHighlightingOnLoad:x,registerLanguage:O,unregisterLanguage:k,listLanguages:P,getLanguage:N,registerAliases:A,requireLanguage:M,autoDetection:D,inherit:E6,addPlugin:$,vuePlugin:c8e(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=s8e;for(const U in Fh)typeof Fh[U]=="object"&&ure(Fh[U]);return Object.assign(e,Fh),e.addPlugin(S),e.addPlugin(u8e),e.addPlugin(E),e};var f8e=p8e({}),m8e=f8e,vre={exports:{}};(function(e){(function(){var t;t=e.exports=a,t.format=a,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(a.apply(null,arguments))}function r(i,o){return a.apply(null,[i].concat(o))}function a(i){for(var o=1,s=[].slice.call(arguments),l=0,u=i.length,d="",p,f=!1,m,g,h=!1,v,S=function(){return s[o++]},b=function(){for(var E="";/\d/.test(i[l]);)E+=i[l++],p=i[l];return E.length>0?parseInt(E):null};ls.relevance&&(s=l),l.relevance>o.relevance&&(s=o,o=l));return s.language&&(o.secondBest=s),o}function S8e(e,t){Ao.registerLanguage(e,t)}function E8e(){return Ao.listLanguages()}function y8e(e,t){var n=e,r;t&&(n={},n[e]=t);for(r in n)Ao.registerAliases(n[r],{languageName:r})}function Ns(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function C8e(e,t){this.openNode(t),this.addText(e),this.closeNode()}function T8e(e,t){var n=this.stack,r=n[n.length-1],a=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:a}:a;r.children=r.children.concat(i)}function x8e(e){var t=this.stack,n,r;e!==""&&(n=t[t.length-1],r=n.children[n.children.length-1],r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e}))}function R8e(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],a={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(a),t.push(a)}function w8e(){this.stack.pop()}function I8e(){return""}function bre(){}var rC,C6;function O8e(){if(C6)return rC;C6=1;function e(t){var n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее ",a="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",i=r+a,o="загрузитьизфайла ",s="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",l=o+s,u="разделительстраниц разделительстрок символтабуляции ",d="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",p="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",f="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",m=u+d+p+f,g="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",h="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",v="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",S="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",b="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",E="отображениевремениэлементовпланировщика ",y="типфайлаформатированногодокумента ",C="обходрезультатазапроса типзаписизапроса ",T="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",x="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",R="типизмеренияпостроителязапроса ",w="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",I="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",O="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",k="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",P="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",M="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",N="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",A="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",D="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",L="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",$="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",F=g+h+v+S+b+E+y+C+T+x+R+w+I+O+k+P+M+N+A+D+L+$,B="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ",z="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",U=B+z,j="null истина ложь неопределено",G=t.inherit(t.NUMBER_MODE),J={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Y={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Q=t.inherit(t.C_LINE_COMMENT_MODE),V={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:n,"meta-keyword":i+l},contains:[Q]},H={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},q={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:n,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:n,keyword:"знач",literal:j},contains:[G,J,Y]},Q]},t.inherit(t.TITLE_MODE,{begin:n})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:n,keyword:i,built_in:m,class:F,type:U,literal:j},contains:[V,q,Q,H,G,J,Y]}}return rC=e,rC}var aC,T6;function N8e(){if(T6)return aC;T6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=r.COMMENT(/;/,/$/),s={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},l={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},u={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},d={className:"symbol",begin:/%[si]/},p={className:"attribute",begin:t(a.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:a.unexpectedChars,keywords:i,contains:[p,o,s,l,u,d,r.QUOTE_STRING_MODE,r.NUMBER_MODE]}}return aC=n,aC}var iC,x6;function A8e(){if(x6)return iC;x6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t(/"/,n(...i)),end:/"/,keywords:i,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return iC=r,iC}var oC,R6;function D8e(){if(R6)return oC;R6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[r.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},r.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[r.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,o]},{begin:t(/:\s*/,i)}]},r.METHOD_GUARD],illegal:/#/}}return oC=n,oC}var sC,w6;function M8e(){if(w6)return sC;w6=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")",l="[A-Za-z](_?[A-Za-z0-9.])*",u=`[]\\{\\}%#'"`,d=t.COMMENT("--","$"),p={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:u,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[d,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:s,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:u},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[d,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:u},p,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:u}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:u},p]}}return sC=e,sC}var lC,I6;function L8e(){if(I6)return lC;I6=1;function e(t){var n={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},r={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[n,r]};return n.contains=[a],r.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},n,r,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return lC=e,lC}var cC,O6;function k8e(){if(O6)return cC;O6=1;function e(t){const n={className:"number",begin:/[$%]\d+/},r={className:"number",begin:/\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",n]},a,r,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}return cC=e,cC}var uC,N6;function P8e(){if(N6)return uC;N6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.inherit(a.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",a.C_NUMBER_MODE,i]},s=a.COMMENT(/--/,/$/),l=a.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),u=[s,l,a.HASH_COMMENT_MODE],d=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],p=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[i,a.C_NUMBER_MODE,{className:"built_in",begin:t(/\b/,n(...p),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t(/\b/,n(...d),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[a.UNDERSCORE_TITLE_MODE,o]},...u],illegal:/\/\/|->|=>|\[\[/}}return uC=r,uC}var dC,A6;function $8e(){if(A6)return dC;A6=1;function e(t){const n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},s={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,i,t.REGEXP_MODE];const l=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:r,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:l}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return dC=e,dC}var pC,D6;function F8e(){if(D6)return pC;D6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},b=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:b,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},l=a(o),u=l.keywords;return u.keyword+=" "+s.keyword,u.literal+=" "+s.literal,u.built_in+=" "+s.built_in,u._+=" "+s._,l.name="Arduino",l.aliases=["ino"],l.supersetOf="cpp",l}return pC=i,pC}var fC,M6;function B8e(){if(M6)return fC;M6=1;function e(t){const n={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},n,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return fC=e,fC}var mC,L6;function U8e(){if(L6)return mC;L6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s=r(/[A-Z_]/,n(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),l=/[A-Za-z0-9._:-]+/,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},p=o.inherit(d,{begin:/\(/,end:/\)/}),f=o.inherit(o.APOS_STRING_MODE,{className:"meta-string"}),m=o.inherit(o.QUOTE_STRING_MODE,{className:"meta-string"}),g={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,m,f,p,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,p,m,f]}]}]},o.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:g}]},{className:"tag",begin:r(/<\//,t(r(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return mC=i,mC}var gC,k6;function j8e(){if(k6)return gC;k6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],o=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],l={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},u={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[r.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),r.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},u,l,...i,...o,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return gC=n,gC}var hC,P6;function z8e(){if(P6)return hC;P6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",i="get set args call";return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[r.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},r.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a+" "+i,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[r.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a+" "+i,relevance:0},r.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return hC=n,hC}var vC,$6;function H8e(){if($6)return vC;$6=1;function e(t){const n={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[n,t.inherit(t.QUOTE_STRING_MODE,{contains:[n]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return vC=e,vC}var _C,F6;function G8e(){if(F6)return _C;F6=1;function e(t){const n="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},s={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},u={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},d={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":r},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[l,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},p={className:"symbol",begin:"@[A-z0-9_]+"},f={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[s,l,u]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:n,built_in:i,literal:a},contains:[o,s,l,u,d,p,f]}}return _C=e,_C}var bC,B6;function V8e(){if(B6)return bC;B6=1;function e(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return bC=e,bC}var SC,U6;function q8e(){if(U6)return SC;U6=1;function e(t){const n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:r},contains:[n,a,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}return SC=e,SC}var EC,j6;function W8e(){if(j6)return EC;j6=1;function e(t){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]}]}}return EC=e,EC}var yC,z6;function Y8e(){if(z6)return yC;z6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,a,o]};o.contains.push(l);const u={className:"",begin:/\\"/},d={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,a]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=r.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[m,r.SHEBANG(),g,p,r.HASH_COMMENT_MODE,s,l,u,d,a]}}return yC=n,yC}var CC,H6;function K8e(){if(H6)return CC;H6=1;function e(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return CC=e,CC}var TC,G6;function X8e(){if(G6)return TC;G6=1;function e(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}return TC=e,TC}var xC,V6;function Q8e(){if(V6)return xC;V6=1;function e(t){const n={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r ]`,`[\\[\\]\\.,\\+\\-<> \r -]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[n]},n]}}return CC=e,CC}var TC,G6;function $8e(){if(G6)return TC;G6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},_=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s=a(o),l=["c","h"],u=["cc","c++","h++","hpp","hh","hxx","cxx"];return s.disableAutodetect=!0,s.aliases=[],o.getLanguage("c")||s.aliases.push(...l),o.getLanguage("cpp")||s.aliases.push(...u),s}return TC=i,TC}var xC,V6;function F8e(){if(V6)return xC;V6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=a.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",u="("+o+"|"+t(s)+"[a-zA-Z_]\\w*"+t("<[^<>]+>")+")",d={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},f={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},a.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},m={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},a.inherit(f,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},i,a.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t(s)+a.IDENT_RE,relevance:0},v=t(s)+a.IDENT_RE+"\\s*\\(",S={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},_=[g,d,i,a.C_BLOCK_COMMENT_MODE,m,f],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:_.concat([{begin:/\(/,end:/\)/,keywords:S,contains:_.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+u+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:S,relevance:0},{begin:v,returnBegin:!0,contains:[h],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[i,a.C_BLOCK_COMMENT_MODE,f,m,d,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",i,a.C_BLOCK_COMMENT_MODE,f,m,d]}]},d,i,a.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"",keywords:S,contains:["self",d]},{begin:a.IDENT_RE+"::",keywords:S},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},a.TITLE_MODE]}]),exports:{preprocessor:g,strings:f,keywords:S}}}return xC=r,xC}var RC,q6;function B8e(){if(q6)return RC;q6=1;function e(t){const n="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",r="false true",a=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},u={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,o]}].concat(a)},d={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[t.TITLE_MODE,u]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[i,o,s,l,t.NUMBER_MODE,d,u]}}return RC=e,RC}var wC,W6;function U8e(){if(W6)return wC;W6=1;function e(t){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}return wC=e,wC}var IC,Y6;function j8e(){if(Y6)return IC;Y6=1;function e(t){const n="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",r="shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",a="doc by license see throws tagged",i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:n,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:n+" "+r,meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return IC=e,IC}var OC,K6;function z8e(){if(K6)return OC;K6=1;function e(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return OC=e,OC}var NC,X6;function H8e(){if(X6)return NC;X6=1;function e(t){const n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:r,"builtin-name":a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o="[-+]?\\d+(\\.\\d+)?",s={begin:r,relevance:0},l={className:"number",begin:o,relevance:0},u=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),d=t.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},f={begin:"[\\[\\{]",end:"[\\]\\}]"},m={className:"comment",begin:"\\^"+r},g=t.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+r},v={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},_={keywords:i,className:"name",begin:r,relevance:0,starts:S},E=[v,u,m,g,d,h,f,l,p,s],y={beginKeywords:a,lexemes:r,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(E)};return v.contains=[t.COMMENT("comment",""),y,_,S],S.contains=E,f.contains=E,g.contains=[f],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[v,u,m,g,d,h,f,l,p]}}return NC=e,NC}var AC,Q6;function G8e(){if(Q6)return AC;Q6=1;function e(t){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return AC=e,AC}var DC,Z6;function V8e(){if(Z6)return DC;Z6=1;function e(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while 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 build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group 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 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 build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return DC=e,DC}var MC,J6;function q8e(){if(J6)return MC;J6=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off"],p=["then","unless","until","loop","by","when","and","or","is","isnt","not"],f=["var","const","let","function","static"],m=C=>T=>!C.includes(T),g={keyword:e.concat(p).filter(m(f)),literal:t.concat(d),built_in:o.concat(u)},h="[A-Za-z$_][0-9A-Za-z$_]*",v={className:"subst",begin:/#\{/,end:/\}/,keywords:g},S=[l.BINARY_NUMBER_MODE,l.inherit(l.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,v]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[v,l.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+h},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];v.contains=S;const _=l.inherit(l.TITLE_MODE,{begin:h}),E="(\\(.*\\)\\s*)?\\B[-=]>",y={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(S)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:g,illegal:/\/\*/,contains:S.concat([l.COMMENT("###","###"),l.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+h+"\\s*=\\s*"+E,end:"[-=]>",returnBegin:!0,contains:[_,y]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:E,end:"[-=]>",returnBegin:!0,contains:[y]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[_]},_]},{begin:h+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return MC=s,MC}var LC,e8;function W8e(){if(e8)return LC;e8=1;function e(t){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return LC=e,LC}var kC,t8;function Y8e(){if(t8)return kC;t8=1;function e(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return kC=e,kC}var PC,n8;function K8e(){if(n8)return PC;n8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return r("(?=",i,")")}function n(i){return r("(",i,")?")}function r(...i){return i.map(s=>e(s)).join("")}function a(i){const o=i.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",l="[a-zA-Z_]\\w*::",d="("+s+"|"+n(l)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",p={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},i.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},i.inherit(m,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},o,i.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:n(l)+i.IDENT_RE,relevance:0},S=n(l)+i.IDENT_RE+"\\s*\\(",E={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},y={className:"function.dispatch",relevance:0,keywords:E,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,i.IDENT_RE,t(/\s*\(/))},C=[y,h,p,o,i.C_BLOCK_COMMENT_MODE,g,m],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:C.concat([{begin:/\(/,end:/\)/,keywords:E,contains:C.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+d+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:E,relevance:0},{begin:S,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[m,g]},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[o,i.C_BLOCK_COMMENT_MODE,m,g,p,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",o,i.C_BLOCK_COMMENT_MODE,m,g,p]}]},p,o,i.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"",keywords:E,contains:["self",p]},{begin:i.IDENT_RE+"::",keywords:E},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},i.TITLE_MODE]}]),exports:{preprocessor:h,strings:m,keywords:E}}}return PC=a,PC}var $C,r8;function X8e(){if(r8)return $C;r8=1;function e(t){const n="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:n,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+r.split(" ").join("|")+")\\s+",keywords:r,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return $C=e,$C}var FC,a8;function Q8e(){if(a8)return FC;a8=1;function e(t){const n="(_?[ui](8|16|32|64|128))?",r="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",s={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:s};function d(S,_){const E=[{begin:S,end:_}];return E[0].contains=E,E}const p={className:"string",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},m={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},h={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"})]},v=[u,p,f,g,m,h,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+r+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+n}],relevance:0}];return l.contains=v,u.contains=v.slice(1),{name:"Crystal",aliases:["cr"],keywords:s,contains:v}}return FC=e,FC}var BC,i8;function Z8e(){if(i8)return BC;i8=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(o),built_in:n,literal:a},l=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=t.inherit(d,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:s},m=t.inherit(f,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,m]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},v=t.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});f.contains=[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.C_BLOCK_COMMENT_MODE],m.contains=[v,g,p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},_={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},E=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},S,u,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+E+"\\s+)+"+t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,_],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[S,u,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}return BC=e,BC}var UC,o8;function J8e(){if(o8)return UC;o8=1;function e(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return UC=e,UC}var jC,s8;function e5e(){if(s8)return jC;s8=1;const e=d=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(d){return d?typeof d=="string"?d:d.source:null}function s(d){return l("(?=",d,")")}function l(...d){return d.map(f=>o(f)).join("")}function u(d){const p=e(d),f={className:"built_in",begin:/[\w-]+(?=\()/},m={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",h=/@-?\w[\w]*(-\w+)*/,v="[a-zA-Z-][a-zA-Z0-9_-]*",S=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.C_BLOCK_COMMENT_MODE,m,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+v,relevance:0},p.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:"::("+a.join("|")+")"}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[p.HEXCOLOR,p.IMPORTANT,d.CSS_NUMBER_MODE,...S,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},f]},{begin:s(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...S,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b"}]}}return jC=u,jC}var zC,l8;function t5e(){if(l8)return zC;l8=1;function e(t){const n={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",s="0[xX]"+o,l="([eE][+-]?"+a+")",u="("+a+"(\\.\\d*|"+l+")|\\d+\\."+a+"|\\."+r+l+"?)",d="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",p="("+r+"|"+i+"|"+s+")",f="("+d+"|"+u+")",m=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,g={className:"number",begin:"\\b"+p+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},h={className:"number",begin:"\\b("+f+"([fF]|L|i|[fF]i|Li)?|"+p+"(i|[fF]i|Li))",relevance:0},v={className:"string",begin:"'("+m+"|.)",end:"'",illegal:"."},_={className:"string",begin:'"',contains:[{begin:m,relevance:0}],end:'"[cwd]?'},E={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},y={className:"string",begin:"`",end:"`[cwd]?"},C={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},T={className:"string",begin:'q"\\{',end:'\\}"'},x={className:"meta",begin:"^#!",end:"$",relevance:5},R={className:"meta",begin:"#(line)",end:"$",relevance:5},w={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},I=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:n,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,I,C,_,E,y,T,h,g,v,x,R,w]}}return zC=e,zC}var HC,c8;function n5e(){if(c8)return HC;c8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},l={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},p={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};p.contains.push(f),f.contains.push(p);let m=[a,d];return p.contains=p.contains.concat(m),f.contains=f.contains.concat(m),m=m.concat(p,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},a,s,p,f,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},o,i,d,l]}}return HC=n,HC}var GC,u8;function r5e(){if(u8)return GC;u8=1;function e(t){const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]}]};r.contains=[t.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return GC=e,GC}var VC,d8;function a5e(){if(d8)return VC;d8=1;function e(t){const n="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",r=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s={className:"string",begin:/(#\d+)+/},l={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},u={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,s,a].concat(r)},a].concat(r)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:n,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,s,t.NUMBER_MODE,o,l,u,a].concat(r)}}return VC=e,VC}var qC,p8;function i5e(){if(p8)return qC;p8=1;function e(t){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return qC=e,qC}var WC,f8;function o5e(){if(f8)return WC;f8=1;function e(t){const n={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[n]}]}}return WC=e,WC}var YC,m8;function s5e(){if(m8)return YC;m8=1;function e(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return YC=e,YC}var KC,g8;function l5e(){if(g8)return KC;g8=1;function e(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",begin:"<",end:">",contains:[r,i]},u={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n]},i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n,a,{begin:t.IDENT_RE+"::",keywords:""}]}}return ZC=e,ZC}var JC,b8;function p5e(){if(b8)return JC;b8=1;function e(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return JC=e,JC}var e0,S8;function f5e(){if(S8)return e0;S8=1;function e(t){const n=t.COMMENT(/\(\*/,/\*\)/),r={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[n,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[n,r,i]}}return e0=e,e0}var t0,E8;function m5e(){if(E8)return t0;E8=1;function e(t){const n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s=`[/|([{<"']`,l={className:"string",begin:"~[a-z](?="+s+")",contains:[{endsParent:!0,contains:[{contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]}]}]},u={className:"string",begin:"~[A-Z](?="+s+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]},d={className:"string",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},f=t.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),m=[d,u,l,t.HASH_COMMENT_MODE,f,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+t.RE_STARTERS_RE+")\\s*",contains:[t.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[o]},{className:"regexp",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return i.contains=m,{name:"Elixir",keywords:a,contains:m}}return t0=e,t0}var n0,y8;function g5e(){if(y8)return n0;y8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},n]},i={begin:/\{/,end:/\}/,contains:a.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[r,a,i,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"port",end:"$",keywords:"port",contains:[n]},o,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,r,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}],illegal:/;/}}return n0=e,n0}var r0,C8;function h5e(){if(C8)return r0;C8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},u=[a.COMMENT("#","$",{contains:[s]}),a.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),a.COMMENT("^__END__","\\n$")],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},p={className:"string",contains:[a.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[a.BACKSLASH_ESCAPE,d]})]}]},f="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${f})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:o},v=[p,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[a.inherit(a.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+a.IDENT_RE+"::)?"+a.IDENT_RE,relevance:0}]}].concat(u)},{className:"function",begin:n(/def\s+/,t(i+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[a.inherit(a.TITLE_MODE,{begin:i}),h].concat(u)},{begin:a.IDENT_RE+"::"},{className:"symbol",begin:a.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:i}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:o},{begin:"("+a.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[a.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,u),relevance:0}].concat(l,u);d.contains=v,h.contains=v;const y=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+>"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",contains:v}}];return u.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[a.SHEBANG({binary:"ruby"})].concat(y).concat(u).concat(v)}}return r0=r,r0}var a0,T8;function v5e(){if(T8)return a0;T8=1;function e(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return a0=e,a0}var i0,x8;function _5e(){if(x8)return i0;x8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},r.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:t(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return i0=n,i0}var o0,R8;function b5e(){if(R8)return o0;R8=1;function e(t){const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=t.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+n+"/\\d+"},l={begin:r+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:r,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},u={begin:/\{/,end:/\}/,relevance:0},d={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},p={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:a};m.contains=[i,s,t.inherit(t.APOS_STRING_MODE,{className:""}),m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];const g=[i,s,m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];l.contains[1].contains=g,u.contains=g,f.contains[1].contains=g;const h=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],v={className:"params",begin:"\\(",end:"\\)",contains:g};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[v,t.inherit(t.TITLE_MODE,{begin:n})],starts:{end:";|\\.",keywords:a,contains:g}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:h.map(S=>`${S}|1.5`).join(" ")},contains:[v]},o,t.QUOTE_STRING_MODE,f,d,p,u,{begin:/\.$/}]}}return o0=e,o0}var s0,w8;function S5e(){if(w8)return s0;w8=1;function e(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return s0=e,s0}var l0,I8;function E5e(){if(I8)return l0;I8=1;function e(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return l0=e,l0}var c0,O8;function y5e(){if(O8)return c0;O8=1;function e(t){const n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r,i,t.C_NUMBER_MODE]}}return c0=e,c0}var u0,N8;function C5e(){if(N8)return u0;N8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i={variants:[r.COMMENT("!","$",{relevance:0}),r.COMMENT("^C[ ]","$",{relevance:0}),r.COMMENT("^C$","$",{relevance:0})]},o=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,l={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,s,o)},{begin:t(/\b\d+/,s,o)},{begin:t(/\.\d+/,s,o)}],relevance:0},u={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},d={className:"string",relevance:0,variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[d,u,{begin:/^C\s*=(?!=)/,relevance:0},i,l]}}return u0=n,u0}var d0,A8;function T5e(){if(A8)return d0;A8=1;function e(t){const n={begin:"<",end:">",contains:[t.inherit(t.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},t.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[t.UNDERSCORE_TITLE_MODE,n]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[t.BACKSLASH_ESCAPE]},t.C_LINE_COMMENT_MODE,t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),t.C_NUMBER_MODE]}}return d0=e,d0}var p0,D8;function x5e(){if(D8)return p0;D8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")*")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},s={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},l={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},u={begin:"/",end:"/",keywords:i,contains:[l,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},d=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,p={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[l,u,{className:"comment",begin:n(d,t(n(/[ ]+/,d))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:i,contains:[a.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,u,p]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[p]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},o,s]},a.C_NUMBER_MODE,s]}}return p0=r,p0}var f0,M8;function R5e(){if(M8)return f0;M8=1;function e(t){const n={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},r=t.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,i]}],s={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},l=function(m,g,h){const v=t.inherit({className:"function",beginKeywords:m,end:g,excludeEnd:!0,contains:[].concat(o)},{});return v.contains.push(s),v.contains.push(t.C_NUMBER_MODE),v.contains.push(t.C_BLOCK_COMMENT_MODE),v.contains.push(r),v},u={className:"built_in",begin:"\\b("+n.built_in.split(" ").join("|")+")\\b"},d={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},p={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:n,relevance:0,contains:[{beginKeywords:n.keyword},u,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},f={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:n.built_in,literal:n.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,u,p,d,"self"]};return p.contains.push(f),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:n,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,d,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,r,f]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},p,i]}}return f0=e,f0}var m0,L8;function w5e(){if(L8)return m0;L8=1;function e(t){const n="[A-Z_][A-Z0-9_.]*",r="%",a={$pattern:n,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),s=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),o,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:r},i].concat(s)}}return m0=e,m0}var g0,k8;function I5e(){if(k8)return g0;k8=1;function e(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}return g0=e,g0}var h0,P8;function O5e(){if(P8)return h0;P8=1;function e(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return h0=e,h0}var v0,$8;function N5e(){if($8)return v0;$8=1;function e(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version timezone_local timezone_utc gamespeed_fps gamespeed_microseconds ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return v0=e,v0}var _0,F8;function A5e(){if(F8)return _0;F8=1;function e(t){const n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:n,illegal:"e(s)).join("")}function r(i,o={}){return o.variants=i,o}function a(i){const o="[A-Za-z0-9_$]+",s=r([i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),l={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[i.BACKSLASH_ESCAPE]},u=r([i.BINARY_NUMBER_MODE,i.C_NUMBER_MODE]),d=r([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[i.SHEBANG({binary:"groovy",relevance:10}),s,d,l,u,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:o+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[s,d,l,u,"self"]},{className:"symbol",begin:"^[ ]*"+t(o+":"),excludeBegin:!0,end:o+":",relevance:0}],illegal:/#|<\//}}return E0=a,E0}var y0,z8;function k5e(){if(z8)return y0;z8=1;function e(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}return y0=e,y0}var C0,H8;function P5e(){if(H8)return C0;H8=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(",o,")*")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},l={literal:["true","false","undefined","null"]},u=/""|"[^"]+"/,d=/''|'[^']+'/,p=/\[\]|\[[^\]]+\]/,f=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,m=/(\.|\/)/,g=a(u,d,p,f),h=r(n(/\.|\.\/|\//),g,t(r(m,g))),v=r("(",p,"|",f,")(?==)"),S={begin:h,lexemes:/[\w.\/]+/},_=o.inherit(S,{keywords:l}),E={begin:/\(/,end:/\)/},y={className:"attr",begin:v,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,_,E]}}},C={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},T={contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,C,y,_,E],returnEnd:!0},x=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\)/})});E.contains=[x];const R=o.inherit(S,{keywords:s,className:"name",starts:o.inherit(T,{end:/\}\}/})}),w=o.inherit(S,{keywords:s,className:"name"}),I=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},o.COMMENT(/\{\{!--/,/--\}\}/),o.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[R],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[R]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[I]}]}}return C0=i,C0}var T0,G8;function $5e(){if(G8)return T0;G8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[r,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]},s={begin:/\{/,end:/\}/,contains:o.contains};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[o,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[o,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,o,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[r,i,o,s,n]},{beginKeywords:"default",end:"$",contains:[i,o,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,t.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},r,a,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,i,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}return T0=e,T0}var x0,V8;function F5e(){if(V8)return x0;V8=1;function e(t){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[t.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[t.TITLE_MODE]}],illegal:/<\//}}return x0=e,x0}var R0,q8;function B5e(){if(q8)return R0;q8=1;function e(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}return R0=e,R0}var w0,W8;function U5e(){if(W8)return w0;W8=1;function e(s){return s?typeof s=="string"?s:s.source:null}function t(s){return r("(",s,")*")}function n(s){return r("(",s,")?")}function r(...s){return s.map(u=>e(u)).join("")}function a(...s){return"("+s.map(u=>e(u)).join("|")+")"}function i(s){const l={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},u={literal:["true","false","undefined","null"]},d=/""|"[^"]+"/,p=/''|'[^']+'/,f=/\[\]|\[[^\]]+\]/,m=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,g=/(\.|\/)/,h=a(d,p,f,m),v=r(n(/\.|\.\/|\//),h,t(r(g,h))),S=r("(",f,"|",m,")(?==)"),_={begin:v,lexemes:/[\w.\/]+/},E=s.inherit(_,{keywords:u}),y={begin:/\(/,end:/\)/},C={className:"attr",begin:S,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,E,y]}}},T={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},x={contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,T,C,E,y],returnEnd:!0},R=s.inherit(_,{className:"name",keywords:l,starts:s.inherit(x,{end:/\)/})});y.contains=[R];const w=s.inherit(_,{keywords:l,className:"name",starts:s.inherit(x,{end:/\}\}/})}),I=s.inherit(_,{keywords:l,className:"name"}),O=s.inherit(_,{className:"name",keywords:l,starts:s.inherit(x,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},s.COMMENT(/\{\{!--/,/--\}\}/),s.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[w],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[O]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[O]}]}}function o(s){const l=i(s);return l.name="HTMLbars",s.getLanguage("handlebars")&&(l.disableAutodetect=!0),l}return w0=o,w0}var I0,Y8;function j5e(){if(Y8)return I0;Y8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="HTTP/(2|1\\.[01])",o={className:"attribute",begin:t("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},r.inherit(o,{relevance:0})]}}return I0=n,I0}var O0,K8;function z5e(){if(K8)return O0;K8=1;function e(t){var n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a={$pattern:r,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:r,relevance:0},s={className:"number",begin:i,relevance:0},l=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u=t.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},p={begin:"[\\[\\{]",end:"[\\]\\}]"},f={className:"comment",begin:"\\^"+r},m=t.COMMENT("\\^\\{","\\}"),g={className:"symbol",begin:"[:]{1,2}"+r},h={begin:"\\(",end:"\\)"},v={endsWithParent:!0,relevance:0},S={className:"name",relevance:0,keywords:a,begin:r,starts:v},_=[h,l,f,m,u,g,p,s,d,o];return h.contains=[t.COMMENT("comment",""),S,v],v.contains=_,p.contains=_,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),h,l,f,m,u,g,p,s,d]}}return O0=e,O0}var N0,X8;function H5e(){if(X8)return N0;X8=1;function e(t){const n="\\[",r="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:n,end:r}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:n,end:r,contains:["self"]}]}}return N0=e,N0}var A0,Q8;function G5e(){if(Q8)return A0;Q8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return n("(?=",i,")")}function n(...i){return i.map(s=>e(s)).join("")}function r(...i){return"("+i.map(s=>e(s)).join("|")+")"}function a(i){const o={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:i.NUMBER_RE}]},s=i.COMMENT();s.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const l={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},u={className:"literal",begin:/\bon|off|true|false|yes|no\b/},d={className:"string",contains:[i.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},p={begin:/\[/,end:/\]/,contains:[s,u,l,d,o,"self"],relevance:0},h=r(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/),v=n(h,"(\\s*\\.\\s*",h,")*",t(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[s,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[s,p,u,l,d,o]}}]}}return A0=a,A0}var D0,Z8;function V5e(){if(Z8)return D0;Z8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,o,i)},{begin:t(/\b\d+/,o,i)},{begin:t(/\.\d+/,o,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},r.COMMENT("!","$",{relevance:0}),r.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return D0=n,D0}var M0,J8;function q5e(){if(J8)return M0;J8=1;function e(t){const n="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",G="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",sn="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",yn="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",nr="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",cr="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",vr=G+sn,zt=nr,Ft="null true false nil ",ut={className:"number",begin:t.NUMBER_RE,relevance:0},Pt={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},mn={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},pr={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,mn]},pn={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,mn]},Ir={variants:[pr,pn]},Or={$pattern:n,keyword:a,built_in:vr,class:zt,literal:Ft},Sr={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:Or,relevance:0},sa={className:"type",begin:":[ \\t]*("+cr.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Ja={className:"variable",keywords:Or,begin:n,relevance:0,contains:[sa,Sr]},Yo=r+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Or,illegal:"\\$|\\?|%|,|;$|~|#|@|)?",l="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",u={className:"meta",begin:"@"+o,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const d=r;return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:l,contains:[{beginKeywords:"record"},{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+s+"\\s+)+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[u,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,d,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},d,u]}}return L0=a,L0}var k0,t5;function Y5e(){if(t5)return k0;t5=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(f){return f?typeof f=="string"?f:f.source:null}function u(f){return d("(?=",f,")")}function d(...f){return f.map(g=>l(g)).join("")}function p(f){const m=(A,{after:D})=>{const L="",end:""},v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(A,D)=>{const L=A[0].length+A.index,$=A.input[L];if($==="<"){D.ignoreMatch();return}$===">"&&(m(A,{after:L})||D.ignoreMatch())}},S={$pattern:e,keyword:t,literal:n,built_in:s},_="[0-9](_?[0-9])*",E=`\\.(${_})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${y})((${E})|\\.)?|(${E}))[eE][+-]?(${_})\\b`},{begin:`\\b(${y})\\b((${E})\\b|\\.)?|(${E})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},x={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},R={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"css"}},w={className:"string",begin:"`",end:"`",contains:[f.BACKSLASH_ESCAPE,T]},O={className:"comment",variants:[f.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),f.C_BLOCK_COMMENT_MODE,f.C_LINE_COMMENT_MODE]},k=[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,C,f.REGEXP_MODE];T.contains=k.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(k)});const P=[].concat(O,T.contains),M=P.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(P)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:M},illegal:/#(?![$_A-z])/,contains:[f.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,O,C,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,g+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:g+u("\\s*:"),relevance:0}]},{begin:"("+f.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[O,f.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+f.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:f.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:h.begin,end:h.end},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:S,contains:["self",f.inherit(f.TITLE_MODE,{begin:g}),N],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:f.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[N,f.inherit(f.TITLE_MODE,{begin:g})]},{variants:[{begin:"\\."+g},{begin:"\\$"+g}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},f.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[f.inherit(f.TITLE_MODE,{begin:g}),"self",N]},{begin:"(get|set)\\s+(?="+g+"\\()",end:/\{/,keywords:"get set",contains:[f.inherit(f.TITLE_MODE,{begin:g}),{begin:/\(\)/},N]},{begin:/\$[(.]/}]}}return k0=p,k0}var P0,n5;function K5e(){if(n5)return P0;n5=1;function e(t){const r={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,o,a,i,r]}}return P0=e,P0}var $0,r5;function X5e(){if(r5)return $0;r5=1;function e(t){const n={literal:"true false null"},r=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],a=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:a,keywords:n},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(i,{begin:/:/})].concat(r),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[t.inherit(i)],illegal:"\\S"};return a.push(o,s),r.forEach(function(l){a.push(l)}),{name:"JSON",contains:a,keywords:n,illegal:"\\S"}}return $0=e,$0}var F0,a5;function Q5e(){if(a5)return F0;a5=1;function e(t){var n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r=["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],a=["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],i=["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"],o={$pattern:n,keyword:r,literal:a,built_in:i},s={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},u={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},d={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},p={className:"variable",begin:"\\$"+n},f={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},m={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],begin:"`",end:"`"},g={className:"meta",begin:"@"+n},h={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return s.name="Julia",s.contains=[l,u,f,m,g,h,t.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],d.contains=s.contains,s}return F0=e,F0}var B0,i5;function Z5e(){if(i5)return B0;i5=1;function e(t){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}return B0=e,B0}var U0,o5;function J5e(){if(o5)return U0;o5=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const o={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},u={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},p={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,u]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,d,u]}]};u.contains.push(p);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},m={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(p,{className:"meta-string"})]}]},g=r,h=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},S=v;return S.variants[1].contains=[v],v.variants[1].contains=[S],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,h,s,l,f,m,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,i.C_LINE_COMMENT_MODE,h],relevance:0},i.C_LINE_COMMENT_MODE,h,f,m,p,i.C_NUMBER_MODE]},h]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},f,m]},p,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},g]}}return U0=a,U0}var j0,s5;function eje(){if(s5)return j0;s5=1;function e(t){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=t.COMMENT("",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+r},u={className:"symbol",begin:"'"+n+"'"},d=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[u]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[o]}},s,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[o]}},s,l].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return j0=e,j0}var z0,l5;function tje(){if(l5)return z0;l5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return"("+r.map(i=>e(i)).join("|")+")"}function n(r){const a=t(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(k=>k+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(k=>k+"(?![a-zA-Z:_])").join("|")),o=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],l={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:o}]},u={className:"params",relevance:0,begin:/#+\d?/},d={variants:s},p={className:"built_in",relevance:0,begin:/[$&^_]/},f={className:"meta",begin:"% !TeX",end:"$",relevance:10},m=r.COMMENT("%","$",{relevance:0}),g=[l,u,d,p,f,m],h={begin:/\{/,end:/\}/,relevance:0,contains:["self",...g]},v=r.inherit(h,{relevance:0,endsParent:!0,contains:[h,...g]}),S={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[h,...g]},_={begin:/\s+/,relevance:0},E=[v],y=[S],C=function(k,P){return{contains:[_],starts:{relevance:0,contains:k,starts:P}}},T=function(k,P){return{begin:"\\\\"+k+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+k},relevance:0,contains:[_],starts:P}},x=function(k,P){return r.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+k+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},C(E,P))},R=(k="string")=>r.END_SAME_AS_BEGIN({className:k,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),w=function(k){return{className:"string",end:"(?=\\\\end\\{"+k+"\\})"}},I=(k="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:k,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(k=>T(k,{contains:[R()]})),T("mint",C(E,{contains:[R()]})),T("mintinline",C(E,{contains:[I(),R()]})),T("url",{contains:[I("link"),I("link")]}),T("hyperref",{contains:[I("link")]}),T("href",C(y,{contains:[I("link")]})),...[].concat(...["","\\*"].map(k=>[x("verbatim"+k,w("verbatim"+k)),x("filecontents"+k,C(E,w("filecontents"+k))),...["","B","L"].map(P=>x(P+"Verbatim"+k,C(y,w(P+"Verbatim"+k))))])),x("minted",C(y,C(E,w("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...g]}}return z0=n,z0}var H0,c5;function nje(){if(c5)return H0;c5=1;function e(t){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},t.HASH_COMMENT_MODE]}}return H0=e,H0}var G0,u5;function rje(){if(u5)return G0;u5=1;function e(t){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return G0=e,G0}var V0,d5;function aje(){if(d5)return V0;d5=1;const e=l=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),o=r.concat(a);function s(l){const u=e(l),d=o,p="and or not only",f="[\\w-]+",m="("+f+"|@\\{"+f+"\\})",g=[],h=[],v=function(O){return{className:"string",begin:"~?"+O+".*?"+O}},S=function(O,k,P){return{className:O,begin:k,relevance:P}},_={$pattern:/[a-z-]+/,keyword:p,attribute:n.join(" ")},E={begin:"\\(",end:"\\)",contains:h,keywords:_,relevance:0};h.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),l.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},u.HEXCOLOR,E,S("variable","@@?"+f,10),S("variable","@\\{"+f+"\\}"),S("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},u.IMPORTANT);const y=h.concat({begin:/\{/,end:/\}/,contains:g}),C={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(h)},T={begin:m+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:h}}]},x={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:_,returnEnd:!0,contains:h,relevance:0}},R={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:y}},w={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:m,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,C,S("keyword","all\\b"),S("variable","@\\{"+f+"\\}"),{begin:"\\b("+t.join("|")+")\\b",className:"selector-tag"},S("selector-tag",m+"%?",0),S("selector-id","#"+m),S("selector-class","\\."+m,0),S("selector-tag","&",0),u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:"::("+a.join("|")+")"},{begin:"\\(",end:"\\)",contains:y},{begin:"!important"}]},I={begin:f+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[w]};return g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,x,R,I,T,w),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:g}}return V0=s,V0}var q0,p5;function ije(){if(p5)return q0;p5=1;function e(t){var n="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",r="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),u={begin:"\\*",end:"\\*"},d={className:"symbol",begin:"[:&]"+n},p={begin:n,relevance:0},f={begin:r},m={begin:"\\(",end:"\\)",contains:["self",i,s,o,p]},g={contains:[o,s,u,d,m,p],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+r}]},h={variants:[{begin:"'"+n},{begin:"#'"+n+"(::"+n+")*"}]},v={begin:"\\(\\s*",end:"\\)"},S={endsWithParent:!0,relevance:0};return v.contains=[{className:"name",variants:[{begin:n,relevance:0},{begin:r}]},S],S.contains=[g,h,v,i,o,s,l,u,d,f,p],{name:"Lisp",illegal:/\S/,contains:[o,t.SHEBANG(),i,s,l,g,h,v,p]}}return q0=e,q0}var W0,f5;function oje(){if(f5)return W0;f5=1;function e(t){const n={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},r=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],a=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[n,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a].concat(r),illegal:";$|^\\[|^=|&|\\{"}}return W0=e,W0}var Y0,m5;function sje(){if(m5)return Y0;m5=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off","it","that","void"],p=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],f={keyword:e.concat(p),literal:t.concat(d),built_in:o.concat(u)},m="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",g=l.inherit(l.TITLE_MODE,{begin:m}),h={className:"subst",begin:/#\{/,end:/\}/,keywords:f},v={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:f},S=[l.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[h,l.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+m},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];h.contains=S;const _={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(S)}]},E={begin:"(#=>|=>|\\|>>|-?->|!->)"};return{name:"LiveScript",aliases:["ls"],keywords:f,illegal:/\/\*/,contains:S.concat([l.COMMENT("\\/\\*","\\*\\/"),l.HASH_COMMENT_MODE,E,{className:"function",contains:[g,_],returnBegin:!0,variants:[{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[g]},g]},{begin:m+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Y0=s,Y0}var K0,g5;function lje(){if(g5)return K0;g5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},o={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},l={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},u={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},d={className:"variable",variants:[{begin:t(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},p={className:"title",variants:[{begin:t(/@/,a)},{begin:/@\d+/},{begin:t(/!/,a)},{begin:t(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,r.COMMENT(/;\s*$/,null,{relevance:0}),r.COMMENT(/;/,/$/),r.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},p,s,o,d,u,l]}}return K0=n,K0}var X0,h5;function cje(){if(h5)return X0;h5=1;function e(t){var n={className:"subst",begin:/\\[tn"\\]/},r={className:"string",begin:'"',end:'"',contains:[n]},a={className:"number",relevance:0,begin:t.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[r,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return X0=e,X0}var Q0,v5;function uje(){if(v5)return Q0;v5=1;function e(t){const n="\\[=*\\[",r="\\]=*\\]",a={begin:n,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,r,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[a],relevance:5}])}}return Q0=e,Q0}var Z0,_5;function dje(){if(_5)return Z0;_5=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%t(l)).join("")}function a(...o){return"("+o.map(l=>t(l)).join("|")+")"}function i(o){const s=/([2-9]|[1-2]\d|[3][0-5])\^\^/,l=/(\w*\.\w+|\w+\.\w*|\w+)/,u=/(\d*\.\d+|\d+\.\d*|\d+)/,d=a(r(s,l),u),m=a(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),g=/\*\^[+-]?\d+/,v={className:"number",relevance:0,begin:r(d,n(m),n(g))},S=/[a-zA-Z$][a-zA-Z0-9$]*/,_=new Set(e),E={variants:[{className:"builtin-symbol",begin:S,"on:begin":(I,O)=>{_.has(I[0])||O.ignoreMatch()}},{className:"symbol",relevance:0,begin:S}]},y={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},C={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},T={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},x={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},R={className:"brace",relevance:0,begin:/[[\](){}]/},w={className:"message-name",relevance:0,begin:r("::",S)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[o.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),T,x,w,E,y,o.QUOTE_STRING_MODE,v,C,R]}}return J0=i,J0}var eT,S5;function fje(){if(S5)return eT;S5=1;function e(t){var n="('|\\.')+",r={relevance:0,contains:[{begin:n}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+n,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE,{begin:'""'}],starts:r},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}return eT=e,eT}var tT,E5;function mje(){if(E5)return tT;E5=1;function e(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return tT=e,tT}var nT,y5;function gje(){if(y5)return nT;y5=1;function e(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return 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 CBG 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 HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS 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 Mayatomr 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",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},r,t.C_BLOCK_COMMENT_MODE,a,t.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}return rT=e,rT}var aT,T5;function vje(){if(T5)return aT;T5=1;function e(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return aT=e,aT}var iT,x5;function _je(){if(x5)return iT;x5=1;function e(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}return iT=e,iT}var oT,R5;function bje(){if(R5)return oT;R5=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:i.join(" ")},l={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},u={begin:/->\{/,end:/\}/},d={variants:[{begin:/\$\d/},{begin:t(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},p=[a.BACKSLASH_ESCAPE,l,d],f=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],m=(v,S,_="\\1")=>{const E=_==="\\1"?_:t(_,S);return t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,_,o)},g=(v,S,_)=>t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,_,o),h=[d,a.HASH_COMMENT_MODE,a.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),u,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[a.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+a.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[a.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:m("s|tr|y",n(...f))},{begin:m("s|tr|y","\\(","\\)")},{begin:m("s|tr|y","\\[","\\]")},{begin:m("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:g("(?:m|qr)?",/\//,/\//)},{begin:g("m|qr",n(...f),/\1/)},{begin:g("m|qr",/\(/,/\)/)},{begin:g("m|qr",/\[/,/\]/)},{begin:g("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[a.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return l.contains=h,u.contains=h,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:h}}return oT=r,oT}var sT,w5;function Sje(){if(w5)return sT;w5=1;function e(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return sT=e,sT}var lT,I5;function Eje(){if(I5)return lT;I5=1;function e(t){const n={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,n]}}return lT=e,lT}var cT,O5;function yje(){if(O5)return cT;O5=1;function e(t){const n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];a.contains=i;const o=t.inherit(t.TITLE_MODE,{begin:r}),s="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:n,illegal:/\/\*/,contains:i.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+r+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return cT=e,cT}var uT,N5;function Cje(){if(N5)return uT;N5=1;function e(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE],relevance:2},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}return uT=e,uT}var dT,A5;function Tje(){if(A5)return dT;A5=1;function e(t){const n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+t.UNDERSCORE_IDENT_RE}]},r={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{begin:t.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:t.UNDERSCORE_IDENT_RE}],relevance:0},{begin:t.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}]"}}return dT=e,dT}var pT,D5;function xje(){if(D5)return pT;D5=1;function e(t){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}return pT=e,pT}var fT,M5;function Rje(){if(M5)return fT;M5=1;function e(t){const n={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},r={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},a={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]},i={className:"string",contains:[r],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,i,a];return r.contains=o,{name:"Nix",aliases:["nixos"],keywords:n,contains:o}}return fT=e,fT}var mT,L5;function wje(){if(L5)return mT;L5=1;function e(t){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return mT=e,mT}var gT,k5;function Ije(){if(k5)return gT;k5=1;function e(t){const n={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},r={className:"variable",begin:/\$+\{[\w.:-]+\}/},a={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},i={className:"variable",begin:/\$+\([\w^.:-]+\)/},o={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},s={className:"keyword",begin:/!(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|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},l={className:"meta",begin:/\$(\\[nrt]|\$)/},u={className:"class",begin:/\w+::\w+/},d={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[l,n,r,a,i]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},d,s,r,a,i,o,u,t.NUMBER_MODE]}}return gT=e,gT}var hT,P5;function Oje(){if(P5)return hT;P5=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,a={$pattern:r,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i={$pattern:r,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return hT=e,hT}var vT,$5;function Nje(){if($5)return vT;$5=1;function e(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return vT=e,vT}var _T,F5;function Aje(){if(F5)return _T;F5=1;function e(t){const n={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},r={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},s={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,n,r]},l={begin:"[*!#%]",relevance:0},u={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[s,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,o,i,n,l,u]}}return _T=e,_T}var bT,B5;function Dje(){if(B5)return bT;B5=1;function e(t){const n={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},r=t.COMMENT(/\{/,/\}/,{relevance:0}),a=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},s={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:n,contains:[i,o]},r,a]};return{name:"Oxygene",case_insensitive:!0,keywords:n,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[r,a,t.C_LINE_COMMENT_MODE,i,o,t.NUMBER_MODE,s,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:n,contains:[i,o,r,a,t.C_LINE_COMMENT_MODE,s]}]}}return bT=e,bT}var ST,U5;function Mje(){if(U5)return ST;U5=1;function e(t){const n=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[n]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}return ST=e,ST}var ET,j5;function Lje(){if(j5)return ET;j5=1;function e(t){const n={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},r={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,n,r]}}return ET=e,ET}var yT,z5;function kje(){if(z5)return yT;z5=1;function e(t){const n=t.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+r+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",s="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",u="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",d=u.trim().split(" ").map(function(v){return v.split("|")[0]}).join("|"),p="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",f="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",m="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",h="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(v){return v.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:o+l+s,built_in:p+f+m},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+h+")\\s*\\("},{begin:"\\.("+d+")\\b"},{begin:"\\b("+d+")\\s+PATH\\b",keywords:{keyword:"PATH",type:u.replace("PATH ","")}},{className:"type",begin:"\\b("+d+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return yT=e,yT}var CT,H5;function Pje(){if(H5)return CT;H5=1;function e(t){const n={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},r={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},i=t.inherit(t.APOS_STRING_MODE,{illegal:null}),o=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),s=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",contains:[t.BACKSLASH_ESCAPE,r],variants:[t.inherit(i,{begin:"b'",end:"'"}),t.inherit(o,{begin:'b"',end:'"'}),o,i,s]},u={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},d={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:d,contains:[t.HASH_COMMENT_MODE,t.COMMENT("//","$",{contains:[r]}),t.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),r,{className:"keyword",begin:/\$this\b/},n,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",n,t.C_BLOCK_COMMENT_MODE,l,u]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[t.UNDERSCORE_TITLE_MODE]},l,u]}}return CT=e,CT}var TT,G5;function $je(){if(G5)return TT;G5=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return TT=e,TT}var xT,V5;function Fje(){if(V5)return xT;V5=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return xT=e,xT}var RT,q5;function Bje(){if(q5)return RT;q5=1;function e(t){const n={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},s={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:n,contains:[o,r,a,i,s,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return RT=e,RT}var wT,W5;function Uje(){if(W5)return wT;W5=1;function e(t){const n=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,s={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},u={className:"literal",begin:/\$(null|true|false)\b/},d={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[s,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},p={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},f={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},m=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[f]}),g={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},h={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},v={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},S={begin:/using\s/,end:/$/,returnBegin:!0,contains:[d,p,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},_={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},E={className:"selector-tag",begin:/@\B/,relevance:0},y={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},C=[y,m,s,t.NUMBER_MODE,d,p,g,l,u,E],T={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",C,{begin:"("+n.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return y.contains.unshift(T),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:C.concat(h,v,S,_,T)}}return wT=e,wT}var IT,Y5;function jje(){if(Y5)return IT;Y5=1;function e(t){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return IT=e,IT}var OT,K5;function zje(){if(K5)return OT;K5=1;function e(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return OT=e,OT}var NT,X5;function Hje(){if(X5)return NT;X5=1;function e(t){const n={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},r={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},s={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},u={className:"string",begin:/0'\\s/},p=[n,r,a,{begin:/:-/},i,o,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,s,l,u,t.C_NUMBER_MODE];return a.contains=p,i.contains=p,{name:"Prolog",contains:p.concat([{begin:/\.$/}])}}return NT=e,NT}var AT,Q5;function Gje(){if(Q5)return AT;Q5=1;function e(t){var n="[ \\t\\f]*",r="[ \\t\\f]+",a=n+"[:=]"+n,i=r,o="("+a+"|"+i+")",s="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",l="([^\\\\:= \\t\\f\\n]|\\\\.)+",u={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:s+a,relevance:1},{begin:s+i,relevance:0}],contains:[{className:"attr",begin:s,endsParent:!0,relevance:0}],starts:u},{begin:l+o,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:l,endsParent:!0,relevance:0}],starts:u},{className:"attr",relevance:0,begin:l+n+"$"}]}}return AT=e,AT}var DT,Z5;function Vje(){if(Z5)return DT;Z5=1;function e(t){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return DT=e,DT}var MT,J5;function qje(){if(J5)return MT;J5=1;function e(t){const n={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=t.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=t.inherit(t.TITLE_MODE,{begin:a}),o={className:"variable",begin:"\\$"+a},s={className:"string",contains:[t.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[r,o,s,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,r]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE},{begin:/\{/,end:/\}/,keywords:n,relevance:0,contains:[s,r,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return MT=e,MT}var LT,ej;function Wje(){if(ej)return LT;ej=1;function e(t){const n={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},r={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning 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 EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},n,r]}}return LT=e,LT}var kT,tj;function Yje(){if(tj)return kT;tj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},p={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},f={begin:/\{\{/,relevance:0},m={className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[a.BACKSLASH_ESCAPE,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,f,p]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",h=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${h}))[eE][+-]?(${g})[jJ]?\\b`},{begin:`(${h})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${g})[jJ]\\b`}]},S={className:"comment",begin:t(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},_={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",d,v,m,a.HASH_COMMENT_MODE]}]};return p.contains=[m,v,d],{name:"Python",aliases:["py","gyp","ipython"],keywords:u,illegal:/(<\/|->|\?)|=>/,contains:[d,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},m,S,a.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[a.UNDERSCORE_TITLE_MODE,_,{begin:/->/,endsWithParent:!0,keywords:u}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,_,m]}]}}return kT=r,kT}var PT,nj;function Kje(){if(nj)return PT;nj=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return PT=e,PT}var $T,rj;function Xje(){if(rj)return $T;rj=1;function e(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return $T=e,$T}var FT,aj;function Qje(){if(aj)return FT;aj=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",o={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},l={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},u={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},d={begin:t(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[r.inherit(r.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:a,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:r.C_NUMBER_RE}],relevance:0},{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,o,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+r.IDENT_RE,relevance:0},l,u,d],illegal:/#/}}return FT=n,FT}var BT,ij;function Zje(){if(ij)return BT;ij=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=/[a-zA-Z][a-zA-Z_0-9]*/;return{name:"R",illegal:/->/,keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(s,l)=>{if(!s.beforeMatch)return;if(s.starts)throw new Error("beforeMatch cannot be used with starts");const u=Object.assign({},s);Object.keys(s).forEach(d=>{delete s[d]}),s.begin=n(u.beforeMatch,t(u.begin)),s.starts={relevance:0,contains:[Object.assign(u,{endsParent:!0})]},s.relevance=0,delete u.beforeMatch}],contains:[a.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:i},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),a.HASH_COMMENT_MODE,{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:n(o,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return BT=r,BT}var UT,oj;function Jje(){if(oj)return UT;oj=1;function e(t){function n(T){return T.map(function(x){return x.split("").map(function(R){return"\\"+R}).join("")}).join("|")}const r="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+i+"\\s*(,"+i+"\\s*)*)?\\))?",s=r+"("+o+"){0,2}",l="("+n(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",u="\\s+"+l+"\\s+",d={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},p="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",f={className:"number",relevance:0,variants:[{begin:p},{begin:"\\(-"+p+"\\)"}]},m={className:"operator",relevance:0,begin:l},g=[{className:"identifier",relevance:0,begin:r},m,f],h=[t.QUOTE_STRING_MODE,m,{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],v=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],S={begin:r,end:"(,|\\n|\\))",relevance:0,contains:[m,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:v}]},_={className:"function",relevance:0,keywords:d,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+r+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:r},{begin:s},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[S]}]},{begin:"\\(\\.\\s"+r+"\\)\\s*=>"}]};h.push(_);const E={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:d,contains:[t.QUOTE_STRING_MODE,m,{className:"params",begin:"\\b"+r}]},y={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:d,end:"=>",relevance:0,contains:[E,m,{relevance:0,className:"constructor",begin:a}]},C={className:"module-access",keywords:d,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+r},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[_,{begin:"\\(",end:"\\)",skip:!0}].concat(h)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:h};return v.push(C),{name:"ReasonML",aliases:["re"],keywords:d,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[t.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},t.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:g},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:g},E,{className:"operator",begin:u,illegal:"-->",relevance:0},f,t.C_LINE_COMMENT_MODE,y,_,{className:"module-def",begin:"\\bmodule\\s+"+r+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:d,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,skip:!0}].concat(h)},C]}}return UT=e,UT}var jT,sj;function eze(){if(sj)return jT;sj=1;function e(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),l,u,s,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,u,s,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return HT=e,HT}var GT,uj;function rze(){if(uj)return GT;uj=1;function e(t){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:""}]}}return qT=e,qT}var WT,fj;function oze(){if(fj)return WT;fj=1;function e(t){return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+"bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window"+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+"abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate"+")[(]"},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},t.COMMENT("\\*",";"),t.C_BLOCK_COMMENT_MODE]}}return WT=e,WT}var YT,mj;function sze(){if(mj)return YT;mj=1;function e(t){const n={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},i={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},s={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},s]},u={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[s]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,t.C_NUMBER_MODE,n]}}return YT=e,YT}var KT,gj;function lze(){if(gj)return KT;gj=1;function e(t){const n="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(-|\\+)?\\d+([./]\\d+)?",a=r+"[+\\-]"+r+"i",i={$pattern:n,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+n+"|#\\\\.)"},s={className:"number",variants:[{begin:r,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=t.QUOTE_STRING_MODE,u=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],d={begin:n,relevance:0},p={className:"symbol",begin:"'"+n},f={endsWithParent:!0,relevance:0},m={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,d,p]}]},g={className:"name",relevance:0,begin:n,keywords:i},v={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[g,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[d]}]},g,f]};return f.contains=[o,s,l,d,p,m,v].concat(u),{name:"Scheme",illegal:/\S/,contains:[t.SHEBANG(),s,l,p,m,v].concat(u)}}return KT=e,KT}var XT,hj;function cze(){if(hj)return XT;hj=1;function e(t){const n=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:n},t.COMMENT("//","$")].concat(n)}}return XT=e,XT}var QT,vj;function uze(){if(vj)return QT;vj=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u=a,d=r,p="@[a-z-]+",f="and or not only",g={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:"::("+u.join("|")+")"},g,{begin:/\(/,end:/\)/,contains:[s.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[g,l.HEXCOLOR,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.IMPORTANT]},{begin:"@(page|font-face)",lexemes:p,keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:p,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},g,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.HEXCOLOR,s.CSS_NUMBER_MODE]}]}}return QT=o,QT}var ZT,_j;function dze(){if(_j)return ZT;_j=1;function e(t){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ZT=e,ZT}var JT,bj;function pze(){if(bj)return JT;bj=1;function e(t){const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return JT=e,JT}var ex,Sj;function fze(){if(Sj)return ex;Sj=1;function e(t){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},t.C_NUMBER_MODE,a,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,r,t.C_NUMBER_MODE,a]}]}}return ex=e,ex}var tx,Ej;function mze(){if(Ej)return tx;Ej=1;function e(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"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 with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return tx=e,tx}var nx,yj;function gze(){if(yj)return nx;yj=1;function e(t){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(a,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"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 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 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 and 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 boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call 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 className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio 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 configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV 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 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 ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight 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_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 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 echo 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 enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM 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 forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam 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 getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit 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 inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest 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 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 leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize 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 mod 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 not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality 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 preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink 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 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 scopeName score scoreSide screenshot screenToWorld scriptDone scriptName 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 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 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 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 sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step 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 taskParent taskResult taskState taskType teamMember 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 tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected 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 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 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 WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,n,r,a,i],illegal:/#|^\$ /}}return nx=e,nx}var rx,Cj;function hze(){if(Cj)return rx;Cj=1;function e(t){var n=t.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]}}return rx=e,rx}var ax,Tj;function vze(){if(Tj)return ax;Tj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},s={begin:/"/,end:/"/,contains:[{begin:/""/}]},l=["true","false","unknown"],u=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],p=["add","asc","collation","desc","final","first","last","view"],f=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],m=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],h=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],v=m,S=[...f,...p].filter(T=>!m.includes(T)),_={className:"variable",begin:/@[a-z0-9]+/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:t(/\b/,n(...v),/\s*\(/),keywords:{built_in:v}};function C(T,{exceptions:x,when:R}={}){const w=R;return x=x||[],T.map(I=>I.match(/\|\d+$/)||x.includes(I)?I:w(I)?`${I}|0`:I)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:C(S,{when:T=>T.length<3}),literal:l,type:d,built_in:g},contains:[{begin:n(...h),keywords:{$pattern:/[\w\.]+/,keyword:S.concat(h),literal:l,type:d}},{className:"type",begin:n(...u)},y,_,o,s,a.C_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,i,E]}}return ax=r,ax}var ix,xj;function _ze(){if(xj)return ix;xj=1;function e(t){const n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],a=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],i=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],s=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,keyword:r.concat(i).concat(a),built_in:o},contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+t.IDENT_RE+")\\s*\\(",keywords:s},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}return ix=e,ix}var ox,Rj;function bze(){if(Rj)return ox;Rj=1;function e(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:`\`"[^\r +]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[n]},n]}}return xC=e,xC}var RC,q6;function Z8e(){if(q6)return RC;q6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},b=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:b,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s=a(o),l=["c","h"],u=["cc","c++","h++","hpp","hh","hxx","cxx"];return s.disableAutodetect=!0,s.aliases=[],o.getLanguage("c")||s.aliases.push(...l),o.getLanguage("cpp")||s.aliases.push(...u),s}return RC=i,RC}var wC,W6;function J8e(){if(W6)return wC;W6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=a.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",u="("+o+"|"+t(s)+"[a-zA-Z_]\\w*"+t("<[^<>]+>")+")",d={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},f={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},a.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},m={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},a.inherit(f,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},i,a.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t(s)+a.IDENT_RE,relevance:0},v=t(s)+a.IDENT_RE+"\\s*\\(",S={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},b=[g,d,i,a.C_BLOCK_COMMENT_MODE,m,f],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:b.concat([{begin:/\(/,end:/\)/,keywords:S,contains:b.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+u+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:S,relevance:0},{begin:v,returnBegin:!0,contains:[h],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[i,a.C_BLOCK_COMMENT_MODE,f,m,d,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",i,a.C_BLOCK_COMMENT_MODE,f,m,d]}]},d,i,a.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"",keywords:S,contains:["self",d]},{begin:a.IDENT_RE+"::",keywords:S},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},a.TITLE_MODE]}]),exports:{preprocessor:g,strings:f,keywords:S}}}return wC=r,wC}var IC,Y6;function e5e(){if(Y6)return IC;Y6=1;function e(t){const n="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",r="false true",a=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},u={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,o]}].concat(a)},d={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[t.TITLE_MODE,u]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[i,o,s,l,t.NUMBER_MODE,d,u]}}return IC=e,IC}var OC,K6;function t5e(){if(K6)return OC;K6=1;function e(t){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}return OC=e,OC}var NC,X6;function n5e(){if(X6)return NC;X6=1;function e(t){const n="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",r="shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",a="doc by license see throws tagged",i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:n,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:n+" "+r,meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return NC=e,NC}var AC,Q6;function r5e(){if(Q6)return AC;Q6=1;function e(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return AC=e,AC}var DC,Z6;function a5e(){if(Z6)return DC;Z6=1;function e(t){const n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:r,"builtin-name":a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o="[-+]?\\d+(\\.\\d+)?",s={begin:r,relevance:0},l={className:"number",begin:o,relevance:0},u=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),d=t.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},f={begin:"[\\[\\{]",end:"[\\]\\}]"},m={className:"comment",begin:"\\^"+r},g=t.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+r},v={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},b={keywords:i,className:"name",begin:r,relevance:0,starts:S},E=[v,u,m,g,d,h,f,l,p,s],y={beginKeywords:a,lexemes:r,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(E)};return v.contains=[t.COMMENT("comment",""),y,b,S],S.contains=E,f.contains=E,g.contains=[f],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[v,u,m,g,d,h,f,l,p]}}return DC=e,DC}var MC,J6;function i5e(){if(J6)return MC;J6=1;function e(t){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return MC=e,MC}var LC,e8;function o5e(){if(e8)return LC;e8=1;function e(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while 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 build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group 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 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 build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return LC=e,LC}var kC,t8;function s5e(){if(t8)return kC;t8=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off"],p=["then","unless","until","loop","by","when","and","or","is","isnt","not"],f=["var","const","let","function","static"],m=C=>T=>!C.includes(T),g={keyword:e.concat(p).filter(m(f)),literal:t.concat(d),built_in:o.concat(u)},h="[A-Za-z$_][0-9A-Za-z$_]*",v={className:"subst",begin:/#\{/,end:/\}/,keywords:g},S=[l.BINARY_NUMBER_MODE,l.inherit(l.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,v]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[v,l.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+h},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];v.contains=S;const b=l.inherit(l.TITLE_MODE,{begin:h}),E="(\\(.*\\)\\s*)?\\B[-=]>",y={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(S)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:g,illegal:/\/\*/,contains:S.concat([l.COMMENT("###","###"),l.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+h+"\\s*=\\s*"+E,end:"[-=]>",returnBegin:!0,contains:[b,y]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:E,end:"[-=]>",returnBegin:!0,contains:[y]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[b]},b]},{begin:h+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return kC=s,kC}var PC,n8;function l5e(){if(n8)return PC;n8=1;function e(t){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return PC=e,PC}var $C,r8;function c5e(){if(r8)return $C;r8=1;function e(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return $C=e,$C}var FC,a8;function u5e(){if(a8)return FC;a8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return r("(?=",i,")")}function n(i){return r("(",i,")?")}function r(...i){return i.map(s=>e(s)).join("")}function a(i){const o=i.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",l="[a-zA-Z_]\\w*::",d="("+s+"|"+n(l)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",p={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},i.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},i.inherit(m,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},o,i.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:n(l)+i.IDENT_RE,relevance:0},S=n(l)+i.IDENT_RE+"\\s*\\(",E={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},y={className:"function.dispatch",relevance:0,keywords:E,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,i.IDENT_RE,t(/\s*\(/))},C=[y,h,p,o,i.C_BLOCK_COMMENT_MODE,g,m],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:C.concat([{begin:/\(/,end:/\)/,keywords:E,contains:C.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+d+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:E,relevance:0},{begin:S,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[m,g]},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[o,i.C_BLOCK_COMMENT_MODE,m,g,p,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",o,i.C_BLOCK_COMMENT_MODE,m,g,p]}]},p,o,i.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"",keywords:E,contains:["self",p]},{begin:i.IDENT_RE+"::",keywords:E},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},i.TITLE_MODE]}]),exports:{preprocessor:h,strings:m,keywords:E}}}return FC=a,FC}var BC,i8;function d5e(){if(i8)return BC;i8=1;function e(t){const n="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:n,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+r.split(" ").join("|")+")\\s+",keywords:r,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return BC=e,BC}var UC,o8;function p5e(){if(o8)return UC;o8=1;function e(t){const n="(_?[ui](8|16|32|64|128))?",r="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",s={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:s};function d(S,b){const E=[{begin:S,end:b}];return E[0].contains=E,E}const p={className:"string",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},m={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},h={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"})]},v=[u,p,f,g,m,h,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+r+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+n}],relevance:0}];return l.contains=v,u.contains=v.slice(1),{name:"Crystal",aliases:["cr"],keywords:s,contains:v}}return UC=e,UC}var jC,s8;function f5e(){if(s8)return jC;s8=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(o),built_in:n,literal:a},l=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=t.inherit(d,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:s},m=t.inherit(f,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,m]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},v=t.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});f.contains=[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.C_BLOCK_COMMENT_MODE],m.contains=[v,g,p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},E=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},S,u,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,b,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,b,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+E+"\\s+)+"+t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,b],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[S,u,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}return jC=e,jC}var zC,l8;function m5e(){if(l8)return zC;l8=1;function e(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return zC=e,zC}var HC,c8;function g5e(){if(c8)return HC;c8=1;const e=d=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(d){return d?typeof d=="string"?d:d.source:null}function s(d){return l("(?=",d,")")}function l(...d){return d.map(f=>o(f)).join("")}function u(d){const p=e(d),f={className:"built_in",begin:/[\w-]+(?=\()/},m={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",h=/@-?\w[\w]*(-\w+)*/,v="[a-zA-Z-][a-zA-Z0-9_-]*",S=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.C_BLOCK_COMMENT_MODE,m,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+v,relevance:0},p.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:"::("+a.join("|")+")"}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[p.HEXCOLOR,p.IMPORTANT,d.CSS_NUMBER_MODE,...S,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},f]},{begin:s(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...S,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b"}]}}return HC=u,HC}var GC,u8;function h5e(){if(u8)return GC;u8=1;function e(t){const n={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",s="0[xX]"+o,l="([eE][+-]?"+a+")",u="("+a+"(\\.\\d*|"+l+")|\\d+\\."+a+"|\\."+r+l+"?)",d="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",p="("+r+"|"+i+"|"+s+")",f="("+d+"|"+u+")",m=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,g={className:"number",begin:"\\b"+p+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},h={className:"number",begin:"\\b("+f+"([fF]|L|i|[fF]i|Li)?|"+p+"(i|[fF]i|Li))",relevance:0},v={className:"string",begin:"'("+m+"|.)",end:"'",illegal:"."},b={className:"string",begin:'"',contains:[{begin:m,relevance:0}],end:'"[cwd]?'},E={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},y={className:"string",begin:"`",end:"`[cwd]?"},C={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},T={className:"string",begin:'q"\\{',end:'\\}"'},x={className:"meta",begin:"^#!",end:"$",relevance:5},R={className:"meta",begin:"#(line)",end:"$",relevance:5},w={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},I=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:n,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,I,C,b,E,y,T,h,g,v,x,R,w]}}return GC=e,GC}var VC,d8;function v5e(){if(d8)return VC;d8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},l={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},p={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};p.contains.push(f),f.contains.push(p);let m=[a,d];return p.contains=p.contains.concat(m),f.contains=f.contains.concat(m),m=m.concat(p,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},a,s,p,f,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},o,i,d,l]}}return VC=n,VC}var qC,p8;function _5e(){if(p8)return qC;p8=1;function e(t){const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]}]};r.contains=[t.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return qC=e,qC}var WC,f8;function b5e(){if(f8)return WC;f8=1;function e(t){const n="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",r=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s={className:"string",begin:/(#\d+)+/},l={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},u={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,s,a].concat(r)},a].concat(r)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:n,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,s,t.NUMBER_MODE,o,l,u,a].concat(r)}}return WC=e,WC}var YC,m8;function S5e(){if(m8)return YC;m8=1;function e(t){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return YC=e,YC}var KC,g8;function E5e(){if(g8)return KC;g8=1;function e(t){const n={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[n]}]}}return KC=e,KC}var XC,h8;function y5e(){if(h8)return XC;h8=1;function e(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return XC=e,XC}var QC,v8;function C5e(){if(v8)return QC;v8=1;function e(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",begin:"<",end:">",contains:[r,i]},u={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n]},i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n,a,{begin:t.IDENT_RE+"::",keywords:""}]}}return e0=e,e0}var t0,E8;function w5e(){if(E8)return t0;E8=1;function e(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return t0=e,t0}var n0,y8;function I5e(){if(y8)return n0;y8=1;function e(t){const n=t.COMMENT(/\(\*/,/\*\)/),r={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[n,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[n,r,i]}}return n0=e,n0}var r0,C8;function O5e(){if(C8)return r0;C8=1;function e(t){const n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s=`[/|([{<"']`,l={className:"string",begin:"~[a-z](?="+s+")",contains:[{endsParent:!0,contains:[{contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]}]}]},u={className:"string",begin:"~[A-Z](?="+s+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]},d={className:"string",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},f=t.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),m=[d,u,l,t.HASH_COMMENT_MODE,f,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+t.RE_STARTERS_RE+")\\s*",contains:[t.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[o]},{className:"regexp",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return i.contains=m,{name:"Elixir",keywords:a,contains:m}}return r0=e,r0}var a0,T8;function N5e(){if(T8)return a0;T8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},n]},i={begin:/\{/,end:/\}/,contains:a.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[r,a,i,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"port",end:"$",keywords:"port",contains:[n]},o,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,r,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}],illegal:/;/}}return a0=e,a0}var i0,x8;function A5e(){if(x8)return i0;x8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},u=[a.COMMENT("#","$",{contains:[s]}),a.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),a.COMMENT("^__END__","\\n$")],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},p={className:"string",contains:[a.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[a.BACKSLASH_ESCAPE,d]})]}]},f="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${f})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:o},v=[p,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[a.inherit(a.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+a.IDENT_RE+"::)?"+a.IDENT_RE,relevance:0}]}].concat(u)},{className:"function",begin:n(/def\s+/,t(i+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[a.inherit(a.TITLE_MODE,{begin:i}),h].concat(u)},{begin:a.IDENT_RE+"::"},{className:"symbol",begin:a.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:i}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:o},{begin:"("+a.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[a.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,u),relevance:0}].concat(l,u);d.contains=v,h.contains=v;const y=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+>"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",contains:v}}];return u.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[a.SHEBANG({binary:"ruby"})].concat(y).concat(u).concat(v)}}return i0=r,i0}var o0,R8;function D5e(){if(R8)return o0;R8=1;function e(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return o0=e,o0}var s0,w8;function M5e(){if(w8)return s0;w8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},r.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:t(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return s0=n,s0}var l0,I8;function L5e(){if(I8)return l0;I8=1;function e(t){const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=t.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+n+"/\\d+"},l={begin:r+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:r,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},u={begin:/\{/,end:/\}/,relevance:0},d={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},p={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:a};m.contains=[i,s,t.inherit(t.APOS_STRING_MODE,{className:""}),m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];const g=[i,s,m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];l.contains[1].contains=g,u.contains=g,f.contains[1].contains=g;const h=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],v={className:"params",begin:"\\(",end:"\\)",contains:g};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[v,t.inherit(t.TITLE_MODE,{begin:n})],starts:{end:";|\\.",keywords:a,contains:g}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:h.map(S=>`${S}|1.5`).join(" ")},contains:[v]},o,t.QUOTE_STRING_MODE,f,d,p,u,{begin:/\.$/}]}}return l0=e,l0}var c0,O8;function k5e(){if(O8)return c0;O8=1;function e(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return c0=e,c0}var u0,N8;function P5e(){if(N8)return u0;N8=1;function e(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return u0=e,u0}var d0,A8;function $5e(){if(A8)return d0;A8=1;function e(t){const n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r,i,t.C_NUMBER_MODE]}}return d0=e,d0}var p0,D8;function F5e(){if(D8)return p0;D8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i={variants:[r.COMMENT("!","$",{relevance:0}),r.COMMENT("^C[ ]","$",{relevance:0}),r.COMMENT("^C$","$",{relevance:0})]},o=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,l={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,s,o)},{begin:t(/\b\d+/,s,o)},{begin:t(/\.\d+/,s,o)}],relevance:0},u={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},d={className:"string",relevance:0,variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[d,u,{begin:/^C\s*=(?!=)/,relevance:0},i,l]}}return p0=n,p0}var f0,M8;function B5e(){if(M8)return f0;M8=1;function e(t){const n={begin:"<",end:">",contains:[t.inherit(t.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},t.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[t.UNDERSCORE_TITLE_MODE,n]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[t.BACKSLASH_ESCAPE]},t.C_LINE_COMMENT_MODE,t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),t.C_NUMBER_MODE]}}return f0=e,f0}var m0,L8;function U5e(){if(L8)return m0;L8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")*")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},s={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},l={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},u={begin:"/",end:"/",keywords:i,contains:[l,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},d=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,p={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[l,u,{className:"comment",begin:n(d,t(n(/[ ]+/,d))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:i,contains:[a.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,u,p]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[p]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},o,s]},a.C_NUMBER_MODE,s]}}return m0=r,m0}var g0,k8;function j5e(){if(k8)return g0;k8=1;function e(t){const n={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},r=t.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,i]}],s={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},l=function(m,g,h){const v=t.inherit({className:"function",beginKeywords:m,end:g,excludeEnd:!0,contains:[].concat(o)},{});return v.contains.push(s),v.contains.push(t.C_NUMBER_MODE),v.contains.push(t.C_BLOCK_COMMENT_MODE),v.contains.push(r),v},u={className:"built_in",begin:"\\b("+n.built_in.split(" ").join("|")+")\\b"},d={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},p={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:n,relevance:0,contains:[{beginKeywords:n.keyword},u,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},f={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:n.built_in,literal:n.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,u,p,d,"self"]};return p.contains.push(f),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:n,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,d,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,r,f]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},p,i]}}return g0=e,g0}var h0,P8;function z5e(){if(P8)return h0;P8=1;function e(t){const n="[A-Z_][A-Z0-9_.]*",r="%",a={$pattern:n,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),s=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),o,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:r},i].concat(s)}}return h0=e,h0}var v0,$8;function H5e(){if($8)return v0;$8=1;function e(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}return v0=e,v0}var _0,F8;function G5e(){if(F8)return _0;F8=1;function e(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return _0=e,_0}var b0,B8;function V5e(){if(B8)return b0;B8=1;function e(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version timezone_local timezone_utc gamespeed_fps gamespeed_microseconds ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return b0=e,b0}var S0,U8;function q5e(){if(U8)return S0;U8=1;function e(t){const n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:n,illegal:"e(s)).join("")}function r(i,o={}){return o.variants=i,o}function a(i){const o="[A-Za-z0-9_$]+",s=r([i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),l={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[i.BACKSLASH_ESCAPE]},u=r([i.BINARY_NUMBER_MODE,i.C_NUMBER_MODE]),d=r([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[i.SHEBANG({binary:"groovy",relevance:10}),s,d,l,u,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:o+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[s,d,l,u,"self"]},{className:"symbol",begin:"^[ ]*"+t(o+":"),excludeBegin:!0,end:o+":",relevance:0}],illegal:/#|<\//}}return C0=a,C0}var T0,G8;function X5e(){if(G8)return T0;G8=1;function e(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}return T0=e,T0}var x0,V8;function Q5e(){if(V8)return x0;V8=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(",o,")*")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},l={literal:["true","false","undefined","null"]},u=/""|"[^"]+"/,d=/''|'[^']+'/,p=/\[\]|\[[^\]]+\]/,f=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,m=/(\.|\/)/,g=a(u,d,p,f),h=r(n(/\.|\.\/|\//),g,t(r(m,g))),v=r("(",p,"|",f,")(?==)"),S={begin:h,lexemes:/[\w.\/]+/},b=o.inherit(S,{keywords:l}),E={begin:/\(/,end:/\)/},y={className:"attr",begin:v,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,b,E]}}},C={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},T={contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,C,y,b,E],returnEnd:!0},x=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\)/})});E.contains=[x];const R=o.inherit(S,{keywords:s,className:"name",starts:o.inherit(T,{end:/\}\}/})}),w=o.inherit(S,{keywords:s,className:"name"}),I=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},o.COMMENT(/\{\{!--/,/--\}\}/),o.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[R],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[R]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[I]}]}}return x0=i,x0}var R0,q8;function Z5e(){if(q8)return R0;q8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[r,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]},s={begin:/\{/,end:/\}/,contains:o.contains};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[o,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[o,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,o,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[r,i,o,s,n]},{beginKeywords:"default",end:"$",contains:[i,o,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,t.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},r,a,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,i,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}return R0=e,R0}var w0,W8;function J5e(){if(W8)return w0;W8=1;function e(t){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[t.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[t.TITLE_MODE]}],illegal:/<\//}}return w0=e,w0}var I0,Y8;function eje(){if(Y8)return I0;Y8=1;function e(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}return I0=e,I0}var O0,K8;function tje(){if(K8)return O0;K8=1;function e(s){return s?typeof s=="string"?s:s.source:null}function t(s){return r("(",s,")*")}function n(s){return r("(",s,")?")}function r(...s){return s.map(u=>e(u)).join("")}function a(...s){return"("+s.map(u=>e(u)).join("|")+")"}function i(s){const l={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},u={literal:["true","false","undefined","null"]},d=/""|"[^"]+"/,p=/''|'[^']+'/,f=/\[\]|\[[^\]]+\]/,m=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,g=/(\.|\/)/,h=a(d,p,f,m),v=r(n(/\.|\.\/|\//),h,t(r(g,h))),S=r("(",f,"|",m,")(?==)"),b={begin:v,lexemes:/[\w.\/]+/},E=s.inherit(b,{keywords:u}),y={begin:/\(/,end:/\)/},C={className:"attr",begin:S,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,E,y]}}},T={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},x={contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,T,C,E,y],returnEnd:!0},R=s.inherit(b,{className:"name",keywords:l,starts:s.inherit(x,{end:/\)/})});y.contains=[R];const w=s.inherit(b,{keywords:l,className:"name",starts:s.inherit(x,{end:/\}\}/})}),I=s.inherit(b,{keywords:l,className:"name"}),O=s.inherit(b,{className:"name",keywords:l,starts:s.inherit(x,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},s.COMMENT(/\{\{!--/,/--\}\}/),s.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[w],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[O]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[O]}]}}function o(s){const l=i(s);return l.name="HTMLbars",s.getLanguage("handlebars")&&(l.disableAutodetect=!0),l}return O0=o,O0}var N0,X8;function nje(){if(X8)return N0;X8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="HTTP/(2|1\\.[01])",o={className:"attribute",begin:t("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},r.inherit(o,{relevance:0})]}}return N0=n,N0}var A0,Q8;function rje(){if(Q8)return A0;Q8=1;function e(t){var n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a={$pattern:r,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:r,relevance:0},s={className:"number",begin:i,relevance:0},l=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u=t.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},p={begin:"[\\[\\{]",end:"[\\]\\}]"},f={className:"comment",begin:"\\^"+r},m=t.COMMENT("\\^\\{","\\}"),g={className:"symbol",begin:"[:]{1,2}"+r},h={begin:"\\(",end:"\\)"},v={endsWithParent:!0,relevance:0},S={className:"name",relevance:0,keywords:a,begin:r,starts:v},b=[h,l,f,m,u,g,p,s,d,o];return h.contains=[t.COMMENT("comment",""),S,v],v.contains=b,p.contains=b,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),h,l,f,m,u,g,p,s,d]}}return A0=e,A0}var D0,Z8;function aje(){if(Z8)return D0;Z8=1;function e(t){const n="\\[",r="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:n,end:r}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:n,end:r,contains:["self"]}]}}return D0=e,D0}var M0,J8;function ije(){if(J8)return M0;J8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return n("(?=",i,")")}function n(...i){return i.map(s=>e(s)).join("")}function r(...i){return"("+i.map(s=>e(s)).join("|")+")"}function a(i){const o={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:i.NUMBER_RE}]},s=i.COMMENT();s.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const l={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},u={className:"literal",begin:/\bon|off|true|false|yes|no\b/},d={className:"string",contains:[i.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},p={begin:/\[/,end:/\]/,contains:[s,u,l,d,o,"self"],relevance:0},h=r(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/),v=n(h,"(\\s*\\.\\s*",h,")*",t(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[s,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[s,p,u,l,d,o]}}]}}return M0=a,M0}var L0,e5;function oje(){if(e5)return L0;e5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,o,i)},{begin:t(/\b\d+/,o,i)},{begin:t(/\.\d+/,o,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},r.COMMENT("!","$",{relevance:0}),r.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return L0=n,L0}var k0,t5;function sje(){if(t5)return k0;t5=1;function e(t){const n="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",G="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",cn="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",En="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",nr="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",rr="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",fr=G+cn,zt=nr,Ft="null true false nil ",ut={className:"number",begin:t.NUMBER_RE,relevance:0},Pt={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},fn={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},ar={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,fn]},mn={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,fn]},$r={variants:[ar,mn]},wr={$pattern:n,keyword:a,built_in:fr,class:zt,literal:Ft},Sr={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:wr,relevance:0},sa={className:"type",begin:":[ \\t]*("+rr.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Ja={className:"variable",keywords:wr,begin:n,relevance:0,contains:[sa,Sr]},Xo=r+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:wr,illegal:"\\$|\\?|%|,|;$|~|#|@|)?",l="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",u={className:"meta",begin:"@"+o,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const d=r;return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:l,contains:[{beginKeywords:"record"},{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+s+"\\s+)+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[u,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,d,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},d,u]}}return P0=a,P0}var $0,r5;function cje(){if(r5)return $0;r5=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(f){return f?typeof f=="string"?f:f.source:null}function u(f){return d("(?=",f,")")}function d(...f){return f.map(g=>l(g)).join("")}function p(f){const m=(A,{after:D})=>{const L="",end:""},v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(A,D)=>{const L=A[0].length+A.index,$=A.input[L];if($==="<"){D.ignoreMatch();return}$===">"&&(m(A,{after:L})||D.ignoreMatch())}},S={$pattern:e,keyword:t,literal:n,built_in:s},b="[0-9](_?[0-9])*",E=`\\.(${b})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${y})((${E})|\\.)?|(${E}))[eE][+-]?(${b})\\b`},{begin:`\\b(${y})\\b((${E})\\b|\\.)?|(${E})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},x={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},R={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"css"}},w={className:"string",begin:"`",end:"`",contains:[f.BACKSLASH_ESCAPE,T]},O={className:"comment",variants:[f.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),f.C_BLOCK_COMMENT_MODE,f.C_LINE_COMMENT_MODE]},k=[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,C,f.REGEXP_MODE];T.contains=k.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(k)});const P=[].concat(O,T.contains),M=P.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(P)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:M},illegal:/#(?![$_A-z])/,contains:[f.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,O,C,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,g+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:g+u("\\s*:"),relevance:0}]},{begin:"("+f.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[O,f.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+f.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:f.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:h.begin,end:h.end},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:S,contains:["self",f.inherit(f.TITLE_MODE,{begin:g}),N],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:f.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[N,f.inherit(f.TITLE_MODE,{begin:g})]},{variants:[{begin:"\\."+g},{begin:"\\$"+g}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},f.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[f.inherit(f.TITLE_MODE,{begin:g}),"self",N]},{begin:"(get|set)\\s+(?="+g+"\\()",end:/\{/,keywords:"get set",contains:[f.inherit(f.TITLE_MODE,{begin:g}),{begin:/\(\)/},N]},{begin:/\$[(.]/}]}}return $0=p,$0}var F0,a5;function uje(){if(a5)return F0;a5=1;function e(t){const r={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,o,a,i,r]}}return F0=e,F0}var B0,i5;function dje(){if(i5)return B0;i5=1;function e(t){const n={literal:"true false null"},r=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],a=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:a,keywords:n},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(i,{begin:/:/})].concat(r),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[t.inherit(i)],illegal:"\\S"};return a.push(o,s),r.forEach(function(l){a.push(l)}),{name:"JSON",contains:a,keywords:n,illegal:"\\S"}}return B0=e,B0}var U0,o5;function pje(){if(o5)return U0;o5=1;function e(t){var n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r=["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],a=["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],i=["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"],o={$pattern:n,keyword:r,literal:a,built_in:i},s={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},u={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},d={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},p={className:"variable",begin:"\\$"+n},f={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},m={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],begin:"`",end:"`"},g={className:"meta",begin:"@"+n},h={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return s.name="Julia",s.contains=[l,u,f,m,g,h,t.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],d.contains=s.contains,s}return U0=e,U0}var j0,s5;function fje(){if(s5)return j0;s5=1;function e(t){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}return j0=e,j0}var z0,l5;function mje(){if(l5)return z0;l5=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const o={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},u={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},p={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,u]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,d,u]}]};u.contains.push(p);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},m={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(p,{className:"meta-string"})]}]},g=r,h=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},S=v;return S.variants[1].contains=[v],v.variants[1].contains=[S],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,h,s,l,f,m,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,i.C_LINE_COMMENT_MODE,h],relevance:0},i.C_LINE_COMMENT_MODE,h,f,m,p,i.C_NUMBER_MODE]},h]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},f,m]},p,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},g]}}return z0=a,z0}var H0,c5;function gje(){if(c5)return H0;c5=1;function e(t){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=t.COMMENT("",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+r},u={className:"symbol",begin:"'"+n+"'"},d=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[u]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[o]}},s,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[o]}},s,l].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return H0=e,H0}var G0,u5;function hje(){if(u5)return G0;u5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return"("+r.map(i=>e(i)).join("|")+")"}function n(r){const a=t(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(k=>k+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(k=>k+"(?![a-zA-Z:_])").join("|")),o=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],l={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:o}]},u={className:"params",relevance:0,begin:/#+\d?/},d={variants:s},p={className:"built_in",relevance:0,begin:/[$&^_]/},f={className:"meta",begin:"% !TeX",end:"$",relevance:10},m=r.COMMENT("%","$",{relevance:0}),g=[l,u,d,p,f,m],h={begin:/\{/,end:/\}/,relevance:0,contains:["self",...g]},v=r.inherit(h,{relevance:0,endsParent:!0,contains:[h,...g]}),S={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[h,...g]},b={begin:/\s+/,relevance:0},E=[v],y=[S],C=function(k,P){return{contains:[b],starts:{relevance:0,contains:k,starts:P}}},T=function(k,P){return{begin:"\\\\"+k+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+k},relevance:0,contains:[b],starts:P}},x=function(k,P){return r.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+k+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},C(E,P))},R=(k="string")=>r.END_SAME_AS_BEGIN({className:k,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),w=function(k){return{className:"string",end:"(?=\\\\end\\{"+k+"\\})"}},I=(k="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:k,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(k=>T(k,{contains:[R()]})),T("mint",C(E,{contains:[R()]})),T("mintinline",C(E,{contains:[I(),R()]})),T("url",{contains:[I("link"),I("link")]}),T("hyperref",{contains:[I("link")]}),T("href",C(y,{contains:[I("link")]})),...[].concat(...["","\\*"].map(k=>[x("verbatim"+k,w("verbatim"+k)),x("filecontents"+k,C(E,w("filecontents"+k))),...["","B","L"].map(P=>x(P+"Verbatim"+k,C(y,w(P+"Verbatim"+k))))])),x("minted",C(y,C(E,w("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...g]}}return G0=n,G0}var V0,d5;function vje(){if(d5)return V0;d5=1;function e(t){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},t.HASH_COMMENT_MODE]}}return V0=e,V0}var q0,p5;function _je(){if(p5)return q0;p5=1;function e(t){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return q0=e,q0}var W0,f5;function bje(){if(f5)return W0;f5=1;const e=l=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),o=r.concat(a);function s(l){const u=e(l),d=o,p="and or not only",f="[\\w-]+",m="("+f+"|@\\{"+f+"\\})",g=[],h=[],v=function(O){return{className:"string",begin:"~?"+O+".*?"+O}},S=function(O,k,P){return{className:O,begin:k,relevance:P}},b={$pattern:/[a-z-]+/,keyword:p,attribute:n.join(" ")},E={begin:"\\(",end:"\\)",contains:h,keywords:b,relevance:0};h.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),l.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},u.HEXCOLOR,E,S("variable","@@?"+f,10),S("variable","@\\{"+f+"\\}"),S("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},u.IMPORTANT);const y=h.concat({begin:/\{/,end:/\}/,contains:g}),C={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(h)},T={begin:m+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:h}}]},x={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:h,relevance:0}},R={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:y}},w={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:m,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,C,S("keyword","all\\b"),S("variable","@\\{"+f+"\\}"),{begin:"\\b("+t.join("|")+")\\b",className:"selector-tag"},S("selector-tag",m+"%?",0),S("selector-id","#"+m),S("selector-class","\\."+m,0),S("selector-tag","&",0),u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:"::("+a.join("|")+")"},{begin:"\\(",end:"\\)",contains:y},{begin:"!important"}]},I={begin:f+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[w]};return g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,x,R,I,T,w),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:g}}return W0=s,W0}var Y0,m5;function Sje(){if(m5)return Y0;m5=1;function e(t){var n="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",r="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),u={begin:"\\*",end:"\\*"},d={className:"symbol",begin:"[:&]"+n},p={begin:n,relevance:0},f={begin:r},m={begin:"\\(",end:"\\)",contains:["self",i,s,o,p]},g={contains:[o,s,u,d,m,p],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+r}]},h={variants:[{begin:"'"+n},{begin:"#'"+n+"(::"+n+")*"}]},v={begin:"\\(\\s*",end:"\\)"},S={endsWithParent:!0,relevance:0};return v.contains=[{className:"name",variants:[{begin:n,relevance:0},{begin:r}]},S],S.contains=[g,h,v,i,o,s,l,u,d,f,p],{name:"Lisp",illegal:/\S/,contains:[o,t.SHEBANG(),i,s,l,g,h,v,p]}}return Y0=e,Y0}var K0,g5;function Eje(){if(g5)return K0;g5=1;function e(t){const n={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},r=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],a=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[n,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a].concat(r),illegal:";$|^\\[|^=|&|\\{"}}return K0=e,K0}var X0,h5;function yje(){if(h5)return X0;h5=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off","it","that","void"],p=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],f={keyword:e.concat(p),literal:t.concat(d),built_in:o.concat(u)},m="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",g=l.inherit(l.TITLE_MODE,{begin:m}),h={className:"subst",begin:/#\{/,end:/\}/,keywords:f},v={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:f},S=[l.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[h,l.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+m},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];h.contains=S;const b={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(S)}]},E={begin:"(#=>|=>|\\|>>|-?->|!->)"};return{name:"LiveScript",aliases:["ls"],keywords:f,illegal:/\/\*/,contains:S.concat([l.COMMENT("\\/\\*","\\*\\/"),l.HASH_COMMENT_MODE,E,{className:"function",contains:[g,b],returnBegin:!0,variants:[{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[g]},g]},{begin:m+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return X0=s,X0}var Q0,v5;function Cje(){if(v5)return Q0;v5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},o={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},l={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},u={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},d={className:"variable",variants:[{begin:t(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},p={className:"title",variants:[{begin:t(/@/,a)},{begin:/@\d+/},{begin:t(/!/,a)},{begin:t(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,r.COMMENT(/;\s*$/,null,{relevance:0}),r.COMMENT(/;/,/$/),r.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},p,s,o,d,u,l]}}return Q0=n,Q0}var Z0,_5;function Tje(){if(_5)return Z0;_5=1;function e(t){var n={className:"subst",begin:/\\[tn"\\]/},r={className:"string",begin:'"',end:'"',contains:[n]},a={className:"number",relevance:0,begin:t.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[r,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return Z0=e,Z0}var J0,b5;function xje(){if(b5)return J0;b5=1;function e(t){const n="\\[=*\\[",r="\\]=*\\]",a={begin:n,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,r,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[a],relevance:5}])}}return J0=e,J0}var eT,S5;function Rje(){if(S5)return eT;S5=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%t(l)).join("")}function a(...o){return"("+o.map(l=>t(l)).join("|")+")"}function i(o){const s=/([2-9]|[1-2]\d|[3][0-5])\^\^/,l=/(\w*\.\w+|\w+\.\w*|\w+)/,u=/(\d*\.\d+|\d+\.\d*|\d+)/,d=a(r(s,l),u),m=a(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),g=/\*\^[+-]?\d+/,v={className:"number",relevance:0,begin:r(d,n(m),n(g))},S=/[a-zA-Z$][a-zA-Z0-9$]*/,b=new Set(e),E={variants:[{className:"builtin-symbol",begin:S,"on:begin":(I,O)=>{b.has(I[0])||O.ignoreMatch()}},{className:"symbol",relevance:0,begin:S}]},y={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},C={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},T={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},x={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},R={className:"brace",relevance:0,begin:/[[\](){}]/},w={className:"message-name",relevance:0,begin:r("::",S)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[o.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),T,x,w,E,y,o.QUOTE_STRING_MODE,v,C,R]}}return tT=i,tT}var nT,y5;function Ije(){if(y5)return nT;y5=1;function e(t){var n="('|\\.')+",r={relevance:0,contains:[{begin:n}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+n,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE,{begin:'""'}],starts:r},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}return nT=e,nT}var rT,C5;function Oje(){if(C5)return rT;C5=1;function e(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return rT=e,rT}var aT,T5;function Nje(){if(T5)return aT;T5=1;function e(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return 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 CBG 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 HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS 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 Mayatomr 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",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},r,t.C_BLOCK_COMMENT_MODE,a,t.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}return iT=e,iT}var oT,R5;function Dje(){if(R5)return oT;R5=1;function e(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return oT=e,oT}var sT,w5;function Mje(){if(w5)return sT;w5=1;function e(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}return sT=e,sT}var lT,I5;function Lje(){if(I5)return lT;I5=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:i.join(" ")},l={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},u={begin:/->\{/,end:/\}/},d={variants:[{begin:/\$\d/},{begin:t(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},p=[a.BACKSLASH_ESCAPE,l,d],f=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],m=(v,S,b="\\1")=>{const E=b==="\\1"?b:t(b,S);return t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,b,o)},g=(v,S,b)=>t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,b,o),h=[d,a.HASH_COMMENT_MODE,a.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),u,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[a.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+a.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[a.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:m("s|tr|y",n(...f))},{begin:m("s|tr|y","\\(","\\)")},{begin:m("s|tr|y","\\[","\\]")},{begin:m("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:g("(?:m|qr)?",/\//,/\//)},{begin:g("m|qr",n(...f),/\1/)},{begin:g("m|qr",/\(/,/\)/)},{begin:g("m|qr",/\[/,/\]/)},{begin:g("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[a.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return l.contains=h,u.contains=h,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:h}}return lT=r,lT}var cT,O5;function kje(){if(O5)return cT;O5=1;function e(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return cT=e,cT}var uT,N5;function Pje(){if(N5)return uT;N5=1;function e(t){const n={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,n]}}return uT=e,uT}var dT,A5;function $je(){if(A5)return dT;A5=1;function e(t){const n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];a.contains=i;const o=t.inherit(t.TITLE_MODE,{begin:r}),s="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:n,illegal:/\/\*/,contains:i.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+r+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return dT=e,dT}var pT,D5;function Fje(){if(D5)return pT;D5=1;function e(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE],relevance:2},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}return pT=e,pT}var fT,M5;function Bje(){if(M5)return fT;M5=1;function e(t){const n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+t.UNDERSCORE_IDENT_RE}]},r={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{begin:t.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:t.UNDERSCORE_IDENT_RE}],relevance:0},{begin:t.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}]"}}return fT=e,fT}var mT,L5;function Uje(){if(L5)return mT;L5=1;function e(t){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}return mT=e,mT}var gT,k5;function jje(){if(k5)return gT;k5=1;function e(t){const n={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},r={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},a={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]},i={className:"string",contains:[r],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,i,a];return r.contains=o,{name:"Nix",aliases:["nixos"],keywords:n,contains:o}}return gT=e,gT}var hT,P5;function zje(){if(P5)return hT;P5=1;function e(t){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return hT=e,hT}var vT,$5;function Hje(){if($5)return vT;$5=1;function e(t){const n={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},r={className:"variable",begin:/\$+\{[\w.:-]+\}/},a={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},i={className:"variable",begin:/\$+\([\w^.:-]+\)/},o={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},s={className:"keyword",begin:/!(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|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},l={className:"meta",begin:/\$(\\[nrt]|\$)/},u={className:"class",begin:/\w+::\w+/},d={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[l,n,r,a,i]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},d,s,r,a,i,o,u,t.NUMBER_MODE]}}return vT=e,vT}var _T,F5;function Gje(){if(F5)return _T;F5=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,a={$pattern:r,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i={$pattern:r,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return _T=e,_T}var bT,B5;function Vje(){if(B5)return bT;B5=1;function e(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return bT=e,bT}var ST,U5;function qje(){if(U5)return ST;U5=1;function e(t){const n={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},r={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},s={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,n,r]},l={begin:"[*!#%]",relevance:0},u={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[s,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,o,i,n,l,u]}}return ST=e,ST}var ET,j5;function Wje(){if(j5)return ET;j5=1;function e(t){const n={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},r=t.COMMENT(/\{/,/\}/,{relevance:0}),a=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},s={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:n,contains:[i,o]},r,a]};return{name:"Oxygene",case_insensitive:!0,keywords:n,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[r,a,t.C_LINE_COMMENT_MODE,i,o,t.NUMBER_MODE,s,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:n,contains:[i,o,r,a,t.C_LINE_COMMENT_MODE,s]}]}}return ET=e,ET}var yT,z5;function Yje(){if(z5)return yT;z5=1;function e(t){const n=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[n]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}return yT=e,yT}var CT,H5;function Kje(){if(H5)return CT;H5=1;function e(t){const n={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},r={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,n,r]}}return CT=e,CT}var TT,G5;function Xje(){if(G5)return TT;G5=1;function e(t){const n=t.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+r+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",s="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",u="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",d=u.trim().split(" ").map(function(v){return v.split("|")[0]}).join("|"),p="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",f="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",m="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",h="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(v){return v.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:o+l+s,built_in:p+f+m},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+h+")\\s*\\("},{begin:"\\.("+d+")\\b"},{begin:"\\b("+d+")\\s+PATH\\b",keywords:{keyword:"PATH",type:u.replace("PATH ","")}},{className:"type",begin:"\\b("+d+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return TT=e,TT}var xT,V5;function Qje(){if(V5)return xT;V5=1;function e(t){const n={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},r={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},i=t.inherit(t.APOS_STRING_MODE,{illegal:null}),o=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),s=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",contains:[t.BACKSLASH_ESCAPE,r],variants:[t.inherit(i,{begin:"b'",end:"'"}),t.inherit(o,{begin:'b"',end:'"'}),o,i,s]},u={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},d={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:d,contains:[t.HASH_COMMENT_MODE,t.COMMENT("//","$",{contains:[r]}),t.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),r,{className:"keyword",begin:/\$this\b/},n,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",n,t.C_BLOCK_COMMENT_MODE,l,u]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[t.UNDERSCORE_TITLE_MODE]},l,u]}}return xT=e,xT}var RT,q5;function Zje(){if(q5)return RT;q5=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return RT=e,RT}var wT,W5;function Jje(){if(W5)return wT;W5=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return wT=e,wT}var IT,Y5;function eze(){if(Y5)return IT;Y5=1;function e(t){const n={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},s={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:n,contains:[o,r,a,i,s,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return IT=e,IT}var OT,K5;function tze(){if(K5)return OT;K5=1;function e(t){const n=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,s={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},u={className:"literal",begin:/\$(null|true|false)\b/},d={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[s,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},p={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},f={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},m=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[f]}),g={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},h={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},v={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},S={begin:/using\s/,end:/$/,returnBegin:!0,contains:[d,p,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},b={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},E={className:"selector-tag",begin:/@\B/,relevance:0},y={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},C=[y,m,s,t.NUMBER_MODE,d,p,g,l,u,E],T={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",C,{begin:"("+n.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return y.contains.unshift(T),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:C.concat(h,v,S,b,T)}}return OT=e,OT}var NT,X5;function nze(){if(X5)return NT;X5=1;function e(t){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return NT=e,NT}var AT,Q5;function rze(){if(Q5)return AT;Q5=1;function e(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return AT=e,AT}var DT,Z5;function aze(){if(Z5)return DT;Z5=1;function e(t){const n={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},r={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},s={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},u={className:"string",begin:/0'\\s/},p=[n,r,a,{begin:/:-/},i,o,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,s,l,u,t.C_NUMBER_MODE];return a.contains=p,i.contains=p,{name:"Prolog",contains:p.concat([{begin:/\.$/}])}}return DT=e,DT}var MT,J5;function ize(){if(J5)return MT;J5=1;function e(t){var n="[ \\t\\f]*",r="[ \\t\\f]+",a=n+"[:=]"+n,i=r,o="("+a+"|"+i+")",s="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",l="([^\\\\:= \\t\\f\\n]|\\\\.)+",u={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:s+a,relevance:1},{begin:s+i,relevance:0}],contains:[{className:"attr",begin:s,endsParent:!0,relevance:0}],starts:u},{begin:l+o,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:l,endsParent:!0,relevance:0}],starts:u},{className:"attr",relevance:0,begin:l+n+"$"}]}}return MT=e,MT}var LT,ej;function oze(){if(ej)return LT;ej=1;function e(t){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return LT=e,LT}var kT,tj;function sze(){if(tj)return kT;tj=1;function e(t){const n={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=t.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=t.inherit(t.TITLE_MODE,{begin:a}),o={className:"variable",begin:"\\$"+a},s={className:"string",contains:[t.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[r,o,s,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,r]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE},{begin:/\{/,end:/\}/,keywords:n,relevance:0,contains:[s,r,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return kT=e,kT}var PT,nj;function lze(){if(nj)return PT;nj=1;function e(t){const n={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},r={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning 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 EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},n,r]}}return PT=e,PT}var $T,rj;function cze(){if(rj)return $T;rj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},p={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},f={begin:/\{\{/,relevance:0},m={className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[a.BACKSLASH_ESCAPE,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,f,p]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",h=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${h}))[eE][+-]?(${g})[jJ]?\\b`},{begin:`(${h})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${g})[jJ]\\b`}]},S={className:"comment",begin:t(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",d,v,m,a.HASH_COMMENT_MODE]}]};return p.contains=[m,v,d],{name:"Python",aliases:["py","gyp","ipython"],keywords:u,illegal:/(<\/|->|\?)|=>/,contains:[d,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},m,S,a.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[a.UNDERSCORE_TITLE_MODE,b,{begin:/->/,endsWithParent:!0,keywords:u}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,b,m]}]}}return $T=r,$T}var FT,aj;function uze(){if(aj)return FT;aj=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return FT=e,FT}var BT,ij;function dze(){if(ij)return BT;ij=1;function e(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return BT=e,BT}var UT,oj;function pze(){if(oj)return UT;oj=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",o={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},l={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},u={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},d={begin:t(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[r.inherit(r.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:a,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:r.C_NUMBER_RE}],relevance:0},{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,o,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+r.IDENT_RE,relevance:0},l,u,d],illegal:/#/}}return UT=n,UT}var jT,sj;function fze(){if(sj)return jT;sj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=/[a-zA-Z][a-zA-Z_0-9]*/;return{name:"R",illegal:/->/,keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(s,l)=>{if(!s.beforeMatch)return;if(s.starts)throw new Error("beforeMatch cannot be used with starts");const u=Object.assign({},s);Object.keys(s).forEach(d=>{delete s[d]}),s.begin=n(u.beforeMatch,t(u.begin)),s.starts={relevance:0,contains:[Object.assign(u,{endsParent:!0})]},s.relevance=0,delete u.beforeMatch}],contains:[a.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:i},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),a.HASH_COMMENT_MODE,{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:n(o,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return jT=r,jT}var zT,lj;function mze(){if(lj)return zT;lj=1;function e(t){function n(T){return T.map(function(x){return x.split("").map(function(R){return"\\"+R}).join("")}).join("|")}const r="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+i+"\\s*(,"+i+"\\s*)*)?\\))?",s=r+"("+o+"){0,2}",l="("+n(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",u="\\s+"+l+"\\s+",d={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},p="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",f={className:"number",relevance:0,variants:[{begin:p},{begin:"\\(-"+p+"\\)"}]},m={className:"operator",relevance:0,begin:l},g=[{className:"identifier",relevance:0,begin:r},m,f],h=[t.QUOTE_STRING_MODE,m,{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],v=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],S={begin:r,end:"(,|\\n|\\))",relevance:0,contains:[m,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:v}]},b={className:"function",relevance:0,keywords:d,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+r+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:r},{begin:s},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[S]}]},{begin:"\\(\\.\\s"+r+"\\)\\s*=>"}]};h.push(b);const E={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:d,contains:[t.QUOTE_STRING_MODE,m,{className:"params",begin:"\\b"+r}]},y={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:d,end:"=>",relevance:0,contains:[E,m,{relevance:0,className:"constructor",begin:a}]},C={className:"module-access",keywords:d,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+r},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[b,{begin:"\\(",end:"\\)",skip:!0}].concat(h)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:h};return v.push(C),{name:"ReasonML",aliases:["re"],keywords:d,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[t.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},t.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:g},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:g},E,{className:"operator",begin:u,illegal:"-->",relevance:0},f,t.C_LINE_COMMENT_MODE,y,b,{className:"module-def",begin:"\\bmodule\\s+"+r+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:d,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,skip:!0}].concat(h)},C]}}return zT=e,zT}var HT,cj;function gze(){if(cj)return HT;cj=1;function e(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),l,u,s,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,u,s,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return VT=e,VT}var qT,pj;function _ze(){if(pj)return qT;pj=1;function e(t){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:""}]}}return YT=e,YT}var KT,gj;function Eze(){if(gj)return KT;gj=1;function e(t){return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+"bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window"+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+"abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate"+")[(]"},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},t.COMMENT("\\*",";"),t.C_BLOCK_COMMENT_MODE]}}return KT=e,KT}var XT,hj;function yze(){if(hj)return XT;hj=1;function e(t){const n={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},i={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},s={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},s]},u={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[s]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,t.C_NUMBER_MODE,n]}}return XT=e,XT}var QT,vj;function Cze(){if(vj)return QT;vj=1;function e(t){const n="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(-|\\+)?\\d+([./]\\d+)?",a=r+"[+\\-]"+r+"i",i={$pattern:n,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+n+"|#\\\\.)"},s={className:"number",variants:[{begin:r,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=t.QUOTE_STRING_MODE,u=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],d={begin:n,relevance:0},p={className:"symbol",begin:"'"+n},f={endsWithParent:!0,relevance:0},m={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,d,p]}]},g={className:"name",relevance:0,begin:n,keywords:i},v={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[g,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[d]}]},g,f]};return f.contains=[o,s,l,d,p,m,v].concat(u),{name:"Scheme",illegal:/\S/,contains:[t.SHEBANG(),s,l,p,m,v].concat(u)}}return QT=e,QT}var ZT,_j;function Tze(){if(_j)return ZT;_j=1;function e(t){const n=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:n},t.COMMENT("//","$")].concat(n)}}return ZT=e,ZT}var JT,bj;function xze(){if(bj)return JT;bj=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u=a,d=r,p="@[a-z-]+",f="and or not only",g={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:"::("+u.join("|")+")"},g,{begin:/\(/,end:/\)/,contains:[s.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[g,l.HEXCOLOR,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.IMPORTANT]},{begin:"@(page|font-face)",lexemes:p,keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:p,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},g,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.HEXCOLOR,s.CSS_NUMBER_MODE]}]}}return JT=o,JT}var ex,Sj;function Rze(){if(Sj)return ex;Sj=1;function e(t){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ex=e,ex}var tx,Ej;function wze(){if(Ej)return tx;Ej=1;function e(t){const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return tx=e,tx}var nx,yj;function Ize(){if(yj)return nx;yj=1;function e(t){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},t.C_NUMBER_MODE,a,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,r,t.C_NUMBER_MODE,a]}]}}return nx=e,nx}var rx,Cj;function Oze(){if(Cj)return rx;Cj=1;function e(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"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 with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return rx=e,rx}var ax,Tj;function Nze(){if(Tj)return ax;Tj=1;function e(t){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(a,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"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 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 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 and 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 boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call 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 className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio 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 configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV 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 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 ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight 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_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 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 echo 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 enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM 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 forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam 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 getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit 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 inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest 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 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 leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize 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 mod 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 not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality 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 preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink 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 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 scopeName score scoreSide screenshot screenToWorld scriptDone scriptName 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 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 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 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 sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step 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 taskParent taskResult taskState taskType teamMember 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 tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected 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 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 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 WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,n,r,a,i],illegal:/#|^\$ /}}return ax=e,ax}var ix,xj;function Aze(){if(xj)return ix;xj=1;function e(t){var n=t.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]}}return ix=e,ix}var ox,Rj;function Dze(){if(Rj)return ox;Rj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},s={begin:/"/,end:/"/,contains:[{begin:/""/}]},l=["true","false","unknown"],u=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],p=["add","asc","collation","desc","final","first","last","view"],f=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],m=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],h=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],v=m,S=[...f,...p].filter(T=>!m.includes(T)),b={className:"variable",begin:/@[a-z0-9]+/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:t(/\b/,n(...v),/\s*\(/),keywords:{built_in:v}};function C(T,{exceptions:x,when:R}={}){const w=R;return x=x||[],T.map(I=>I.match(/\|\d+$/)||x.includes(I)?I:w(I)?`${I}|0`:I)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:C(S,{when:T=>T.length<3}),literal:l,type:d,built_in:g},contains:[{begin:n(...h),keywords:{$pattern:/[\w\.]+/,keyword:S.concat(h),literal:l,type:d}},{className:"type",begin:n(...u)},y,b,o,s,a.C_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,i,E]}}return ox=r,ox}var sx,wj;function Mze(){if(wj)return sx;wj=1;function e(t){const n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],a=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],i=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],s=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,keyword:r.concat(i).concat(a),built_in:o},contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+t.IDENT_RE+")\\s*\\(",keywords:s},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}return sx=e,sx}var lx,Ij;function Lze(){if(Ij)return lx;Ij=1;function e(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r -"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return ox=e,ox}var sx,wj;function Sze(){if(wj)return sx;wj=1;function e(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return sx=e,sx}var lx,Ij;function Eze(){if(Ij)return lx;Ij=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u="and or not only",d={className:"variable",begin:"\\$"+s.IDENT_RE},p=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],f="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-id"},{begin:"\\b("+t.join("|")+")"+f,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+r.join("|")+")"+f},{className:"selector-pseudo",begin:"&?::("+a.join("|")+")"+f},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:n.join(" ")},contains:[s.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+p.join("|")+"))\\b"},d,s.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,s.CSS_NUMBER_MODE,s.C_BLOCK_COMMENT_MODE,l.IMPORTANT],illegal:/\./,relevance:0}}]}}return lx=o,lx}var cx,Oj;function yze(){if(Oj)return cx;Oj=1;function e(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ +"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return lx=e,lx}var cx,Oj;function kze(){if(Oj)return cx;Oj=1;function e(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return cx=e,cx}var ux,Nj;function Pze(){if(Nj)return ux;Nj=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u="and or not only",d={className:"variable",begin:"\\$"+s.IDENT_RE},p=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],f="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-id"},{begin:"\\b("+t.join("|")+")"+f,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+r.join("|")+")"+f},{className:"selector-pseudo",begin:"&?::("+a.join("|")+")"+f},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:n.join(" ")},contains:[s.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+p.join("|")+"))\\b"},d,s.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,s.CSS_NUMBER_MODE,s.C_BLOCK_COMMENT_MODE,l.IMPORTANT],illegal:/\./,relevance:0}}]}}return ux=o,ux}var dx,Aj;function $ze(){if(Aj)return dx;Aj=1;function e(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return cx=e,cx}var ux,Nj;function Cze(){if(Nj)return ux;Nj=1;function e(x){return x?typeof x=="string"?x:x.source:null}function t(x){return n("(?=",x,")")}function n(...x){return x.map(w=>e(w)).join("")}function r(...x){return"("+x.map(w=>e(w)).join("|")+")"}const a=x=>n(/\b/,x,/\w$/.test(x)?/\b/:/\B/),i=["Protocol","Type"].map(a),o=["init","self"].map(a),s=["Any","Self"],l=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],f=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=r(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),h=n(m,g,"*"),v=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=r(v,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),_=n(v,S,"*"),E=n(/[A-Z]/,S,"*"),y=["autoclosure",n(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,_,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],C=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function T(x){const R={match:/\s+/,relevance:0},w=x.COMMENT("/\\*","\\*/",{contains:["self"]}),I=[x.C_LINE_COMMENT_MODE,w],O={className:"keyword",begin:n(/\./,t(r(...i,...o))),end:r(...i,...o),excludeBegin:!0},k={match:n(/\./,r(...l)),relevance:0},P=l.filter(ye=>typeof ye=="string").concat(["_|0"]),M=l.filter(ye=>typeof ye!="string").concat(s).map(a),N={variants:[{className:"keyword",match:r(...M,...o)}]},A={$pattern:r(/\b\w+/,/#\w+/),keyword:P.concat(p),literal:u},D=[O,k,N],L={match:n(/\./,r(...f)),relevance:0},$={className:"built_in",match:n(/\b/,r(...f),/(?=\()/)},F=[L,$],B={match:/->/,relevance:0},z={className:"operator",relevance:0,variants:[{match:h},{match:`\\.(\\.|${g})+`}]},U=[B,z],j="([0-9]_*)+",G="([0-9a-fA-F]_*)+",J={className:"number",relevance:0,variants:[{match:`\\b(${j})(\\.(${j}))?([eE][+-]?(${j}))?\\b`},{match:`\\b0x(${G})(\\.(${G}))?([pP][+-]?(${j}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Y=(ye="")=>({className:"subst",variants:[{match:n(/\\/,ye,/[0\\tnr"']/)},{match:n(/\\/,ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(ye="")=>({className:"subst",match:n(/\\/,ye,/[\t ]*(?:[\r\n]|\r\n)/)}),V=(ye="")=>({className:"subst",label:"interpol",begin:n(/\\/,ye,/\(/),end:/\)/}),H=(ye="")=>({begin:n(ye,/"""/),end:n(/"""/,ye),contains:[Y(ye),X(ye),V(ye)]}),q=(ye="")=>({begin:n(ye,/"/),end:n(/"/,ye),contains:[Y(ye),V(ye)]}),K={className:"string",variants:[H(),H("#"),H("##"),H("###"),q(),q("#"),q("##"),q("###")]},Z={match:n(/`/,_,/`/)},te={className:"variable",match:/\$\d+/},se={className:"variable",match:`\\$${S}+`},ue=[Z,te,se],me={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:C,contains:[...U,J,K]}]}},de={className:"keyword",match:n(/@/,r(...y))},Te={className:"meta",match:n(/@/,_)},Ee=[me,de,Te],ge={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:E,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(E)),relevance:0}]},re={begin://,keywords:A,contains:[...I,...D,...Ee,B,ge]};ge.contains.push(re);const ne={match:n(_,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",ne,...I,...D,...F,...U,J,K,...ue,...Ee,ge]},le={beginKeywords:"func",contains:[{className:"title",match:r(Z.match,_,h),endsParent:!0,relevance:0},R]},pe={begin://,contains:[...I,ge]},Re={begin:r(t(n(_,/\s*:/)),t(n(_,/\s+/,_,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:_}]},Se={begin:/\(/,end:/\)/,keywords:A,contains:[Re,...I,...D,...U,J,K,...Ee,ge,ae],endsParent:!0,illegal:/["']/},Pe={className:"function",match:t(/\bfunc\b/),contains:[le,pe,Se,R],illegal:[/\[/,/%/]},fe={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[pe,Se,R],illegal:/\[|%/},ve={beginKeywords:"operator",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:h,endsParent:!0,relevance:0}]},Ae={beginKeywords:"precedencegroup",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:E,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...d,...u],contains:[ge]}]};for(const ye of K.variants){const be=ye.contains.find(Ie=>Ie.label==="interpol");be.keywords=A;const Ne=[...D,...F,...U,J,K,...ue];be.contains=[...Ne,{begin:/\(/,end:/\)/,contains:["self",...Ne]}]}return{name:"Swift",keywords:A,contains:[...I,Pe,fe,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:A,contains:[x.inherit(x.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...D]},ve,Ae,{beginKeywords:"import",end:/$/,contains:[...I],relevance:0},...D,...F,...U,J,K,...ue,...Ee,ge,ae]}}return ux=T,ux}var dx,Aj;function Tze(){if(Aj)return dx;Aj=1;function e(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}return dx=e,dx}var px,Dj;function xze(){if(Dj)return px;Dj=1;function e(t){var n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+u+d+p+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},g={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},v=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,h,o],S=[...v];return S.pop(),S.push(s),m.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return px=e,px}var fx,Mj;function Rze(){if(Mj)return fx;Mj=1;function e(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return fx=e,fx}var mx,Lj;function wze(){if(Lj)return mx;Lj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/[a-zA-Z_][a-zA-Z0-9_]*/,o={className:"number",variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[a.COMMENT(";[ \\t]*#","$"),a.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:n(/\$/,t(/::/),i,"(::",i,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[o]}]},{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.inherit(a.QUOTE_STRING_MODE,{illegal:null})]},o]}}return mx=r,mx}var gx,kj;function Ize(){if(kj)return gx;kj=1;function e(t){const n="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:n,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:n,contains:["self"]}]}}return gx=e,gx}var hx,Pj;function Oze(){if(Pj)return hx;Pj=1;function e(t){const n={className:"number",begin:"[1-9][0-9]*",relevance:0},r={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",n,r]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",n,t.QUOTE_STRING_MODE,r]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return hx=e,hx}var vx,$j;function Nze(){if($j)return vx;$j=1;function e(t){var n={className:"params",begin:"\\(",end:"\\)"},r="attribute block constant cycle date dump include max min parent random range source template_from_string",a={beginKeywords:r,keywords:{name:r},relevance:0,contains:[n]},i={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[a]},o="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return o=o+" "+o.split(" ").map(function(s){return"end"+s}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:o,starts:{endsWithParent:!0,contains:[i,a],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",i,a]}]}}return vx=e,vx}var _x,Fj;function Aze(){if(Fj)return _x;Fj=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(m){return m?typeof m=="string"?m:m.source:null}function u(m){return d("(?=",m,")")}function d(...m){return m.map(h=>l(h)).join("")}function p(m){const g=(D,{after:L})=>{const $="",end:""},S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(D,L)=>{const $=D[0].length+D.index,F=D.input[$];if(F==="<"){L.ignoreMatch();return}F===">"&&(g(D,{after:$})||L.ignoreMatch())}},_={$pattern:e,keyword:t,literal:n,built_in:s},E="[0-9](_?[0-9])*",y=`\\.(${E})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${C})((${y})|\\.)?|(${y}))[eE][+-]?(${E})\\b`},{begin:`\\b(${C})\\b((${y})\\b|\\.)?|(${y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},R={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"css"}},I={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,x]},k={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},P=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,T,m.REGEXP_MODE];x.contains=P.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(P)});const M=[].concat(k,x.contains),N=M.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(M)}]),A={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:N};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:N},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,k,T,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,h+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:h+u("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[k,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:N}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:v.begin,end:v.end},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:_,contains:["self",m.inherit(m.TITLE_MODE,{begin:h}),A],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[A,m.inherit(m.TITLE_MODE,{begin:h})]},{variants:[{begin:"\\."+h},{begin:"\\$"+h}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:h}),"self",A]},{begin:"(get|set)\\s+(?="+h+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:h}),{begin:/\(\)/},A]},{begin:/\$[(.]/}]}}function f(m){const g=e,h={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},v={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},S={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["any","void","number","boolean","string","object","never","enum"],E=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],y={$pattern:e,keyword:t.concat(E),literal:n,built_in:s.concat(_)},C={className:"meta",begin:"@"+g},T=(w,I,O)=>{const k=w.contains.findIndex(P=>P.label===I);if(k===-1)throw new Error("can not find mode to replace");w.contains.splice(k,1,O)},x=p(m);Object.assign(x.keywords,y),x.exports.PARAMS_CONTAINS.push(C),x.contains=x.contains.concat([C,h,v]),T(x,"shebang",m.SHEBANG()),T(x,"use_strict",S);const R=x.contains.find(w=>w.className==="function");return R.relevance=0,Object.assign(x,{name:"TypeScript",aliases:["ts","tsx"]}),x}return _x=f,_x}var bx,Bj;function Dze(){if(Bj)return bx;Bj=1;function e(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}return bx=e,bx}var Sx,Uj;function Mze(){if(Uj)return Sx;Uj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,u=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,d=/\d{1,2}(:\d{1,2}){1,2}/,p={className:"literal",variants:[{begin:t(/# */,n(l,s),/ *#/)},{begin:t(/# */,d,/ *#/)},{begin:t(/# */,u,/ *#/)},{begin:t(/# */,n(l,s),/ +/,n(u,d),/ *#/)}]},f={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},m={className:"label",begin:/^\w+:/},g=a.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),h=a.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,o,p,f,m,g,h,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[h]}]}}return Sx=r,Sx}var Ex,jj;function Lze(){if(jj)return Ex;jj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),o=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],s={begin:t(n(...i),"\\s*\\("),relevance:0,keywords:{built_in:i}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:o,literal:"true false null nothing empty"},illegal:"//",contains:[s,a.inherit(a.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),a.COMMENT(/'/,/$/,{relevance:0}),a.C_NUMBER_MODE]}}return Ex=r,Ex}var yx,zj;function kze(){if(zj)return yx;zj=1;function e(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return yx=e,yx}var Cx,Hj;function Pze(){if(Hj)return Cx;Hj=1;function e(t){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 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 reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}return Cx=e,Cx}var Tx,Gj;function $ze(){if(Gj)return Tx;Gj=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:s,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}return Tx=e,Tx}var xx,Vj;function Fze(){if(Vj)return xx;Vj=1;function e(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return xx=e,xx}var Rx,qj;function Bze(){if(qj)return Rx;qj=1;function e(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Rx=e,Rx}var wx,Wj;function Uze(){if(Wj)return wx;Wj=1;function e(t){const r={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},a={className:"string",begin:'"',end:'"',illegal:"\\n"},i={className:"string",begin:"'",end:"'",illegal:"\\n"},o={className:"string",begin:"<<",end:">>"},s={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},l={beginKeywords:"import",end:"$",keywords:r,contains:[a]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:r}})]};return{name:"XL",aliases:["tao"],keywords:r,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,s,t.NUMBER_MODE]}}return wx=e,wx}var Ix,Yj;function jze(){if(Yj)return Ix;Yj=1;function e(t){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Ix=e,Ix}var Ox,Kj;function zze(){if(Kj)return Ox;Kj=1;function e(t){const n={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},r=t.UNDERSCORE_TITLE_MODE,a={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[r,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",t.C_BLOCK_COMMENT_MODE,n,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},r]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[r]},{beginKeywords:"use",end:/;/,contains:[r]},{begin:/=>/},n,a]}}return Ox=e,Ox}var Le=cp,Hze=Le;Le.registerLanguage("1c",m8e());Le.registerLanguage("abnf",g8e());Le.registerLanguage("accesslog",h8e());Le.registerLanguage("actionscript",v8e());Le.registerLanguage("ada",_8e());Le.registerLanguage("angelscript",b8e());Le.registerLanguage("apache",S8e());Le.registerLanguage("applescript",E8e());Le.registerLanguage("arcade",y8e());Le.registerLanguage("arduino",C8e());Le.registerLanguage("armasm",T8e());Le.registerLanguage("xml",x8e());Le.registerLanguage("asciidoc",R8e());Le.registerLanguage("aspectj",w8e());Le.registerLanguage("autohotkey",I8e());Le.registerLanguage("autoit",O8e());Le.registerLanguage("avrasm",N8e());Le.registerLanguage("awk",A8e());Le.registerLanguage("axapta",D8e());Le.registerLanguage("bash",M8e());Le.registerLanguage("basic",L8e());Le.registerLanguage("bnf",k8e());Le.registerLanguage("brainfuck",P8e());Le.registerLanguage("c-like",$8e());Le.registerLanguage("c",F8e());Le.registerLanguage("cal",B8e());Le.registerLanguage("capnproto",U8e());Le.registerLanguage("ceylon",j8e());Le.registerLanguage("clean",z8e());Le.registerLanguage("clojure",H8e());Le.registerLanguage("clojure-repl",G8e());Le.registerLanguage("cmake",V8e());Le.registerLanguage("coffeescript",q8e());Le.registerLanguage("coq",W8e());Le.registerLanguage("cos",Y8e());Le.registerLanguage("cpp",K8e());Le.registerLanguage("crmsh",X8e());Le.registerLanguage("crystal",Q8e());Le.registerLanguage("csharp",Z8e());Le.registerLanguage("csp",J8e());Le.registerLanguage("css",e5e());Le.registerLanguage("d",t5e());Le.registerLanguage("markdown",n5e());Le.registerLanguage("dart",r5e());Le.registerLanguage("delphi",a5e());Le.registerLanguage("diff",i5e());Le.registerLanguage("django",o5e());Le.registerLanguage("dns",s5e());Le.registerLanguage("dockerfile",l5e());Le.registerLanguage("dos",c5e());Le.registerLanguage("dsconfig",u5e());Le.registerLanguage("dts",d5e());Le.registerLanguage("dust",p5e());Le.registerLanguage("ebnf",f5e());Le.registerLanguage("elixir",m5e());Le.registerLanguage("elm",g5e());Le.registerLanguage("ruby",h5e());Le.registerLanguage("erb",v5e());Le.registerLanguage("erlang-repl",_5e());Le.registerLanguage("erlang",b5e());Le.registerLanguage("excel",S5e());Le.registerLanguage("fix",E5e());Le.registerLanguage("flix",y5e());Le.registerLanguage("fortran",C5e());Le.registerLanguage("fsharp",T5e());Le.registerLanguage("gams",x5e());Le.registerLanguage("gauss",R5e());Le.registerLanguage("gcode",w5e());Le.registerLanguage("gherkin",I5e());Le.registerLanguage("glsl",O5e());Le.registerLanguage("gml",N5e());Le.registerLanguage("go",A5e());Le.registerLanguage("golo",D5e());Le.registerLanguage("gradle",M5e());Le.registerLanguage("groovy",L5e());Le.registerLanguage("haml",k5e());Le.registerLanguage("handlebars",P5e());Le.registerLanguage("haskell",$5e());Le.registerLanguage("haxe",F5e());Le.registerLanguage("hsp",B5e());Le.registerLanguage("htmlbars",U5e());Le.registerLanguage("http",j5e());Le.registerLanguage("hy",z5e());Le.registerLanguage("inform7",H5e());Le.registerLanguage("ini",G5e());Le.registerLanguage("irpf90",V5e());Le.registerLanguage("isbl",q5e());Le.registerLanguage("java",W5e());Le.registerLanguage("javascript",Y5e());Le.registerLanguage("jboss-cli",K5e());Le.registerLanguage("json",X5e());Le.registerLanguage("julia",Q5e());Le.registerLanguage("julia-repl",Z5e());Le.registerLanguage("kotlin",J5e());Le.registerLanguage("lasso",eje());Le.registerLanguage("latex",tje());Le.registerLanguage("ldif",nje());Le.registerLanguage("leaf",rje());Le.registerLanguage("less",aje());Le.registerLanguage("lisp",ije());Le.registerLanguage("livecodeserver",oje());Le.registerLanguage("livescript",sje());Le.registerLanguage("llvm",lje());Le.registerLanguage("lsl",cje());Le.registerLanguage("lua",uje());Le.registerLanguage("makefile",dje());Le.registerLanguage("mathematica",pje());Le.registerLanguage("matlab",fje());Le.registerLanguage("maxima",mje());Le.registerLanguage("mel",gje());Le.registerLanguage("mercury",hje());Le.registerLanguage("mipsasm",vje());Le.registerLanguage("mizar",_je());Le.registerLanguage("perl",bje());Le.registerLanguage("mojolicious",Sje());Le.registerLanguage("monkey",Eje());Le.registerLanguage("moonscript",yje());Le.registerLanguage("n1ql",Cje());Le.registerLanguage("nginx",Tje());Le.registerLanguage("nim",xje());Le.registerLanguage("nix",Rje());Le.registerLanguage("node-repl",wje());Le.registerLanguage("nsis",Ije());Le.registerLanguage("objectivec",Oje());Le.registerLanguage("ocaml",Nje());Le.registerLanguage("openscad",Aje());Le.registerLanguage("oxygene",Dje());Le.registerLanguage("parser3",Mje());Le.registerLanguage("pf",Lje());Le.registerLanguage("pgsql",kje());Le.registerLanguage("php",Pje());Le.registerLanguage("php-template",$je());Le.registerLanguage("plaintext",Fje());Le.registerLanguage("pony",Bje());Le.registerLanguage("powershell",Uje());Le.registerLanguage("processing",jje());Le.registerLanguage("profile",zje());Le.registerLanguage("prolog",Hje());Le.registerLanguage("properties",Gje());Le.registerLanguage("protobuf",Vje());Le.registerLanguage("puppet",qje());Le.registerLanguage("purebasic",Wje());Le.registerLanguage("python",Yje());Le.registerLanguage("python-repl",Kje());Le.registerLanguage("q",Xje());Le.registerLanguage("qml",Qje());Le.registerLanguage("r",Zje());Le.registerLanguage("reasonml",Jje());Le.registerLanguage("rib",eze());Le.registerLanguage("roboconf",tze());Le.registerLanguage("routeros",nze());Le.registerLanguage("rsl",rze());Le.registerLanguage("ruleslanguage",aze());Le.registerLanguage("rust",ize());Le.registerLanguage("sas",oze());Le.registerLanguage("scala",sze());Le.registerLanguage("scheme",lze());Le.registerLanguage("scilab",cze());Le.registerLanguage("scss",uze());Le.registerLanguage("shell",dze());Le.registerLanguage("smali",pze());Le.registerLanguage("smalltalk",fze());Le.registerLanguage("sml",mze());Le.registerLanguage("sqf",gze());Le.registerLanguage("sql_more",hze());Le.registerLanguage("sql",vze());Le.registerLanguage("stan",_ze());Le.registerLanguage("stata",bze());Le.registerLanguage("step21",Sze());Le.registerLanguage("stylus",Eze());Le.registerLanguage("subunit",yze());Le.registerLanguage("swift",Cze());Le.registerLanguage("taggerscript",Tze());Le.registerLanguage("yaml",xze());Le.registerLanguage("tap",Rze());Le.registerLanguage("tcl",wze());Le.registerLanguage("thrift",Ize());Le.registerLanguage("tp",Oze());Le.registerLanguage("twig",Nze());Le.registerLanguage("typescript",Aze());Le.registerLanguage("vala",Dze());Le.registerLanguage("vbnet",Mze());Le.registerLanguage("vbscript",Lze());Le.registerLanguage("vbscript-html",kze());Le.registerLanguage("verilog",Pze());Le.registerLanguage("vhdl",$ze());Le.registerLanguage("vim",Fze());Le.registerLanguage("x86asm",Bze());Le.registerLanguage("xl",Uze());Le.registerLanguage("xquery",jze());Le.registerLanguage("zephir",zze());const Gze=xa(Hze),Vze=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","sql_more","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var vre=ore(Gze,o6e);vre.supportedLanguages=Vze;const qze="modulepreload",Wze=function(e){return"/web/"+e},Xj={},Zo=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.allSettled(n.map(l=>{if(l=Wze(l),l in Xj)return;Xj[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":qze,u||(p.as="script"),p.crossOrigin="",p.href=l,s&&p.setAttribute("nonce",s),document.head.appendChild(p),u)return new Promise((f,m)=>{p.addEventListener("load",f),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Yze=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var Kze=Qze,Xze=Object.prototype.hasOwnProperty;function Qze(){for(var e={},t=0;t4&&n.slice(0,4)===LP&&FHe.test(t)&&(t.charAt(4)==="-"?r=jHe(t):t=zHe(t),a=kHe),new a(r,t))}function jHe(e){var t=e.slice(5).replace(Rre,GHe);return LP+t.charAt(0).toUpperCase()+t.slice(1)}function zHe(e){var t=e.slice(4);return Rre.test(t)?e:(t=t.replace(BHe,HHe),t.charAt(0)!=="-"&&(t="-"+t),LP+t)}function HHe(e){return"-"+e.toLowerCase()}function GHe(e){return e.charAt(1).toUpperCase()}var VHe=qHe,tz=/[#.]/g;function qHe(e,t){for(var n=e||"",r=t||"div",a={},i=0,o,s,l;i=48&&t<=57}var m7e=g7e;function g7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var h7e=v7e;function v7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var _7e=h7e,b7e=Ore,S7e=E7e;function E7e(e){return _7e(e)||b7e(e)}var $h,y7e=59,C7e=T7e;function T7e(e){var t="&"+e+";",n;return $h=$h||document.createElement("i"),$h.innerHTML=t,n=$h.textContent,n.charCodeAt(n.length-1)===y7e&&e!=="semi"||n===t?!1:n}var lz=d7e,cz=p7e,x7e=Ore,R7e=m7e,Nre=S7e,w7e=C7e,I7e=j7e,O7e={}.hasOwnProperty,gu=String.fromCharCode,N7e=Function.prototype,uz={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},A7e=9,dz=10,D7e=12,M7e=32,pz=38,L7e=59,k7e=60,P7e=61,$7e=35,F7e=88,B7e=120,U7e=65533,Tu="named",$P="hexadecimal",FP="decimal",BP={};BP[$P]=16;BP[FP]=10;var qS={};qS[Tu]=Nre;qS[FP]=x7e;qS[$P]=R7e;var Are=1,Dre=2,Mre=3,Lre=4,kre=5,oM=6,Pre=7,Pl={};Pl[Are]="Named character references must be terminated by a semicolon";Pl[Dre]="Numeric character references must be terminated by a semicolon";Pl[Mre]="Named character references cannot be empty";Pl[Lre]="Numeric character references cannot be empty";Pl[kre]="Named character references must be known";Pl[oM]="Numeric character references cannot be disallowed";Pl[Pre]="Numeric character references cannot be outside the permissible Unicode range";function j7e(e,t){var n={},r,a;t||(t={});for(a in uz)r=t[a],n[a]=r??uz[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),z7e(e,n)}function z7e(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,i=t.reference,o=t.warning,s=t.textContext,l=t.referenceContext,u=t.warningContext,d=t.position,p=t.indent||[],f=e.length,m=0,g=-1,h=d.column||1,v=d.line||1,S="",_=[],E,y,C,T,x,R,w,I,O,k,P,M,N,A,D,L,$,F,B;for(typeof n=="string"&&(n=n.charCodeAt(0)),L=z(),I=o?U:N7e,m--,f++;++m65535&&(R-=65536,k+=gu(R>>>10|55296),R=56320|R&1023),R=k+gu(R))):A!==Tu&&I(Lre,F)),R?(j(),L=z(),m=B-1,h+=B-N+1,_.push(R),$=z(),$.offset++,i&&i.call(l,R,{start:L,end:$},e.slice(N-1,B)),L=$):(T=e.slice(N-1,B),S+=T,h+=T.length,m=B-1)}else x===10&&(v++,g++,h=0),x===x?(S+=gu(x),h++):j();return _.join("");function z(){return{line:v,column:h,offset:m+(d.offset||0)}}function U(G,J){var Y=z();Y.column+=J,Y.offset+=J,o.call(u,Pl[G],Y,G)}function j(){S&&(_.push(S),a&&a.call(s,S,{start:L,end:z()}),S="")}}function H7e(e){return e>=55296&&e<=57343||e>1114111}function G7e(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var $re={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return dx=e,dx}var px,Dj;function Fze(){if(Dj)return px;Dj=1;function e(x){return x?typeof x=="string"?x:x.source:null}function t(x){return n("(?=",x,")")}function n(...x){return x.map(w=>e(w)).join("")}function r(...x){return"("+x.map(w=>e(w)).join("|")+")"}const a=x=>n(/\b/,x,/\w$/.test(x)?/\b/:/\B/),i=["Protocol","Type"].map(a),o=["init","self"].map(a),s=["Any","Self"],l=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],f=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=r(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),h=n(m,g,"*"),v=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=r(v,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),b=n(v,S,"*"),E=n(/[A-Z]/,S,"*"),y=["autoclosure",n(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,b,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],C=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function T(x){const R={match:/\s+/,relevance:0},w=x.COMMENT("/\\*","\\*/",{contains:["self"]}),I=[x.C_LINE_COMMENT_MODE,w],O={className:"keyword",begin:n(/\./,t(r(...i,...o))),end:r(...i,...o),excludeBegin:!0},k={match:n(/\./,r(...l)),relevance:0},P=l.filter(ye=>typeof ye=="string").concat(["_|0"]),M=l.filter(ye=>typeof ye!="string").concat(s).map(a),N={variants:[{className:"keyword",match:r(...M,...o)}]},A={$pattern:r(/\b\w+/,/#\w+/),keyword:P.concat(p),literal:u},D=[O,k,N],L={match:n(/\./,r(...f)),relevance:0},$={className:"built_in",match:n(/\b/,r(...f),/(?=\()/)},F=[L,$],B={match:/->/,relevance:0},z={className:"operator",relevance:0,variants:[{match:h},{match:`\\.(\\.|${g})+`}]},U=[B,z],j="([0-9]_*)+",G="([0-9a-fA-F]_*)+",J={className:"number",relevance:0,variants:[{match:`\\b(${j})(\\.(${j}))?([eE][+-]?(${j}))?\\b`},{match:`\\b0x(${G})(\\.(${G}))?([pP][+-]?(${j}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Y=(ye="")=>({className:"subst",variants:[{match:n(/\\/,ye,/[0\\tnr"']/)},{match:n(/\\/,ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Q=(ye="")=>({className:"subst",match:n(/\\/,ye,/[\t ]*(?:[\r\n]|\r\n)/)}),V=(ye="")=>({className:"subst",label:"interpol",begin:n(/\\/,ye,/\(/),end:/\)/}),H=(ye="")=>({begin:n(ye,/"""/),end:n(/"""/,ye),contains:[Y(ye),Q(ye),V(ye)]}),q=(ye="")=>({begin:n(ye,/"/),end:n(/"/,ye),contains:[Y(ye),V(ye)]}),K={className:"string",variants:[H(),H("#"),H("##"),H("###"),q(),q("#"),q("##"),q("###")]},Z={match:n(/`/,b,/`/)},te={className:"variable",match:/\$\d+/},se={className:"variable",match:`\\$${S}+`},ue=[Z,te,se],me={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:C,contains:[...U,J,K]}]}},de={className:"keyword",match:n(/@/,r(...y))},Te={className:"meta",match:n(/@/,b)},Ee=[me,de,Te],ge={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:E,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(E)),relevance:0}]},re={begin://,keywords:A,contains:[...I,...D,...Ee,B,ge]};ge.contains.push(re);const ne={match:n(b,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",ne,...I,...D,...F,...U,J,K,...ue,...Ee,ge]},le={beginKeywords:"func",contains:[{className:"title",match:r(Z.match,b,h),endsParent:!0,relevance:0},R]},pe={begin://,contains:[...I,ge]},Re={begin:r(t(n(b,/\s*:/)),t(n(b,/\s+/,b,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:b}]},Se={begin:/\(/,end:/\)/,keywords:A,contains:[Re,...I,...D,...U,J,K,...Ee,ge,ae],endsParent:!0,illegal:/["']/},Pe={className:"function",match:t(/\bfunc\b/),contains:[le,pe,Se,R],illegal:[/\[/,/%/]},fe={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[pe,Se,R],illegal:/\[|%/},_e={beginKeywords:"operator",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:h,endsParent:!0,relevance:0}]},Ae={beginKeywords:"precedencegroup",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:E,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...d,...u],contains:[ge]}]};for(const ye of K.variants){const be=ye.contains.find(we=>we.label==="interpol");be.keywords=A;const Ne=[...D,...F,...U,J,K,...ue];be.contains=[...Ne,{begin:/\(/,end:/\)/,contains:["self",...Ne]}]}return{name:"Swift",keywords:A,contains:[...I,Pe,fe,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:A,contains:[x.inherit(x.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...D]},_e,Ae,{beginKeywords:"import",end:/$/,contains:[...I],relevance:0},...D,...F,...U,J,K,...ue,...Ee,ge,ae]}}return px=T,px}var fx,Mj;function Bze(){if(Mj)return fx;Mj=1;function e(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}return fx=e,fx}var mx,Lj;function Uze(){if(Lj)return mx;Lj=1;function e(t){var n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+u+d+p+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},g={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},v=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,h,o],S=[...v];return S.pop(),S.push(s),m.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return mx=e,mx}var gx,kj;function jze(){if(kj)return gx;kj=1;function e(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return gx=e,gx}var hx,Pj;function zze(){if(Pj)return hx;Pj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/[a-zA-Z_][a-zA-Z0-9_]*/,o={className:"number",variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[a.COMMENT(";[ \\t]*#","$"),a.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:n(/\$/,t(/::/),i,"(::",i,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[o]}]},{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.inherit(a.QUOTE_STRING_MODE,{illegal:null})]},o]}}return hx=r,hx}var vx,$j;function Hze(){if($j)return vx;$j=1;function e(t){const n="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:n,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:n,contains:["self"]}]}}return vx=e,vx}var _x,Fj;function Gze(){if(Fj)return _x;Fj=1;function e(t){const n={className:"number",begin:"[1-9][0-9]*",relevance:0},r={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",n,r]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",n,t.QUOTE_STRING_MODE,r]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return _x=e,_x}var bx,Bj;function Vze(){if(Bj)return bx;Bj=1;function e(t){var n={className:"params",begin:"\\(",end:"\\)"},r="attribute block constant cycle date dump include max min parent random range source template_from_string",a={beginKeywords:r,keywords:{name:r},relevance:0,contains:[n]},i={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[a]},o="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return o=o+" "+o.split(" ").map(function(s){return"end"+s}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:o,starts:{endsWithParent:!0,contains:[i,a],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",i,a]}]}}return bx=e,bx}var Sx,Uj;function qze(){if(Uj)return Sx;Uj=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(m){return m?typeof m=="string"?m:m.source:null}function u(m){return d("(?=",m,")")}function d(...m){return m.map(h=>l(h)).join("")}function p(m){const g=(D,{after:L})=>{const $="",end:""},S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(D,L)=>{const $=D[0].length+D.index,F=D.input[$];if(F==="<"){L.ignoreMatch();return}F===">"&&(g(D,{after:$})||L.ignoreMatch())}},b={$pattern:e,keyword:t,literal:n,built_in:s},E="[0-9](_?[0-9])*",y=`\\.(${E})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${C})((${y})|\\.)?|(${y}))[eE][+-]?(${E})\\b`},{begin:`\\b(${C})\\b((${y})\\b|\\.)?|(${y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},R={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"css"}},I={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,x]},k={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},P=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,T,m.REGEXP_MODE];x.contains=P.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(P)});const M=[].concat(k,x.contains),N=M.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(M)}]),A={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:N};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:N},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,k,T,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,h+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:h+u("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[k,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:N}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:v.begin,end:v.end},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:b,contains:["self",m.inherit(m.TITLE_MODE,{begin:h}),A],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[A,m.inherit(m.TITLE_MODE,{begin:h})]},{variants:[{begin:"\\."+h},{begin:"\\$"+h}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:h}),"self",A]},{begin:"(get|set)\\s+(?="+h+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:h}),{begin:/\(\)/},A]},{begin:/\$[(.]/}]}}function f(m){const g=e,h={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},v={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},S={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},b=["any","void","number","boolean","string","object","never","enum"],E=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],y={$pattern:e,keyword:t.concat(E),literal:n,built_in:s.concat(b)},C={className:"meta",begin:"@"+g},T=(w,I,O)=>{const k=w.contains.findIndex(P=>P.label===I);if(k===-1)throw new Error("can not find mode to replace");w.contains.splice(k,1,O)},x=p(m);Object.assign(x.keywords,y),x.exports.PARAMS_CONTAINS.push(C),x.contains=x.contains.concat([C,h,v]),T(x,"shebang",m.SHEBANG()),T(x,"use_strict",S);const R=x.contains.find(w=>w.className==="function");return R.relevance=0,Object.assign(x,{name:"TypeScript",aliases:["ts","tsx"]}),x}return Sx=f,Sx}var Ex,jj;function Wze(){if(jj)return Ex;jj=1;function e(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}return Ex=e,Ex}var yx,zj;function Yze(){if(zj)return yx;zj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,u=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,d=/\d{1,2}(:\d{1,2}){1,2}/,p={className:"literal",variants:[{begin:t(/# */,n(l,s),/ *#/)},{begin:t(/# */,d,/ *#/)},{begin:t(/# */,u,/ *#/)},{begin:t(/# */,n(l,s),/ +/,n(u,d),/ *#/)}]},f={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},m={className:"label",begin:/^\w+:/},g=a.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),h=a.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,o,p,f,m,g,h,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[h]}]}}return yx=r,yx}var Cx,Hj;function Kze(){if(Hj)return Cx;Hj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),o=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],s={begin:t(n(...i),"\\s*\\("),relevance:0,keywords:{built_in:i}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:o,literal:"true false null nothing empty"},illegal:"//",contains:[s,a.inherit(a.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),a.COMMENT(/'/,/$/,{relevance:0}),a.C_NUMBER_MODE]}}return Cx=r,Cx}var Tx,Gj;function Xze(){if(Gj)return Tx;Gj=1;function e(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return Tx=e,Tx}var xx,Vj;function Qze(){if(Vj)return xx;Vj=1;function e(t){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 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 reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}return xx=e,xx}var Rx,qj;function Zze(){if(qj)return Rx;qj=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:s,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}return Rx=e,Rx}var wx,Wj;function Jze(){if(Wj)return wx;Wj=1;function e(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return wx=e,wx}var Ix,Yj;function eHe(){if(Yj)return Ix;Yj=1;function e(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Ix=e,Ix}var Ox,Kj;function tHe(){if(Kj)return Ox;Kj=1;function e(t){const r={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},a={className:"string",begin:'"',end:'"',illegal:"\\n"},i={className:"string",begin:"'",end:"'",illegal:"\\n"},o={className:"string",begin:"<<",end:">>"},s={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},l={beginKeywords:"import",end:"$",keywords:r,contains:[a]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:r}})]};return{name:"XL",aliases:["tao"],keywords:r,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,s,t.NUMBER_MODE]}}return Ox=e,Ox}var Nx,Xj;function nHe(){if(Xj)return Nx;Xj=1;function e(t){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Nx=e,Nx}var Ax,Qj;function rHe(){if(Qj)return Ax;Qj=1;function e(t){const n={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},r=t.UNDERSCORE_TITLE_MODE,a={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[r,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",t.C_BLOCK_COMMENT_MODE,n,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},r]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[r]},{beginKeywords:"use",end:/;/,contains:[r]},{begin:/=>/},n,a]}}return Ax=e,Ax}var Le=pp,aHe=Le;Le.registerLanguage("1c",O8e());Le.registerLanguage("abnf",N8e());Le.registerLanguage("accesslog",A8e());Le.registerLanguage("actionscript",D8e());Le.registerLanguage("ada",M8e());Le.registerLanguage("angelscript",L8e());Le.registerLanguage("apache",k8e());Le.registerLanguage("applescript",P8e());Le.registerLanguage("arcade",$8e());Le.registerLanguage("arduino",F8e());Le.registerLanguage("armasm",B8e());Le.registerLanguage("xml",U8e());Le.registerLanguage("asciidoc",j8e());Le.registerLanguage("aspectj",z8e());Le.registerLanguage("autohotkey",H8e());Le.registerLanguage("autoit",G8e());Le.registerLanguage("avrasm",V8e());Le.registerLanguage("awk",q8e());Le.registerLanguage("axapta",W8e());Le.registerLanguage("bash",Y8e());Le.registerLanguage("basic",K8e());Le.registerLanguage("bnf",X8e());Le.registerLanguage("brainfuck",Q8e());Le.registerLanguage("c-like",Z8e());Le.registerLanguage("c",J8e());Le.registerLanguage("cal",e5e());Le.registerLanguage("capnproto",t5e());Le.registerLanguage("ceylon",n5e());Le.registerLanguage("clean",r5e());Le.registerLanguage("clojure",a5e());Le.registerLanguage("clojure-repl",i5e());Le.registerLanguage("cmake",o5e());Le.registerLanguage("coffeescript",s5e());Le.registerLanguage("coq",l5e());Le.registerLanguage("cos",c5e());Le.registerLanguage("cpp",u5e());Le.registerLanguage("crmsh",d5e());Le.registerLanguage("crystal",p5e());Le.registerLanguage("csharp",f5e());Le.registerLanguage("csp",m5e());Le.registerLanguage("css",g5e());Le.registerLanguage("d",h5e());Le.registerLanguage("markdown",v5e());Le.registerLanguage("dart",_5e());Le.registerLanguage("delphi",b5e());Le.registerLanguage("diff",S5e());Le.registerLanguage("django",E5e());Le.registerLanguage("dns",y5e());Le.registerLanguage("dockerfile",C5e());Le.registerLanguage("dos",T5e());Le.registerLanguage("dsconfig",x5e());Le.registerLanguage("dts",R5e());Le.registerLanguage("dust",w5e());Le.registerLanguage("ebnf",I5e());Le.registerLanguage("elixir",O5e());Le.registerLanguage("elm",N5e());Le.registerLanguage("ruby",A5e());Le.registerLanguage("erb",D5e());Le.registerLanguage("erlang-repl",M5e());Le.registerLanguage("erlang",L5e());Le.registerLanguage("excel",k5e());Le.registerLanguage("fix",P5e());Le.registerLanguage("flix",$5e());Le.registerLanguage("fortran",F5e());Le.registerLanguage("fsharp",B5e());Le.registerLanguage("gams",U5e());Le.registerLanguage("gauss",j5e());Le.registerLanguage("gcode",z5e());Le.registerLanguage("gherkin",H5e());Le.registerLanguage("glsl",G5e());Le.registerLanguage("gml",V5e());Le.registerLanguage("go",q5e());Le.registerLanguage("golo",W5e());Le.registerLanguage("gradle",Y5e());Le.registerLanguage("groovy",K5e());Le.registerLanguage("haml",X5e());Le.registerLanguage("handlebars",Q5e());Le.registerLanguage("haskell",Z5e());Le.registerLanguage("haxe",J5e());Le.registerLanguage("hsp",eje());Le.registerLanguage("htmlbars",tje());Le.registerLanguage("http",nje());Le.registerLanguage("hy",rje());Le.registerLanguage("inform7",aje());Le.registerLanguage("ini",ije());Le.registerLanguage("irpf90",oje());Le.registerLanguage("isbl",sje());Le.registerLanguage("java",lje());Le.registerLanguage("javascript",cje());Le.registerLanguage("jboss-cli",uje());Le.registerLanguage("json",dje());Le.registerLanguage("julia",pje());Le.registerLanguage("julia-repl",fje());Le.registerLanguage("kotlin",mje());Le.registerLanguage("lasso",gje());Le.registerLanguage("latex",hje());Le.registerLanguage("ldif",vje());Le.registerLanguage("leaf",_je());Le.registerLanguage("less",bje());Le.registerLanguage("lisp",Sje());Le.registerLanguage("livecodeserver",Eje());Le.registerLanguage("livescript",yje());Le.registerLanguage("llvm",Cje());Le.registerLanguage("lsl",Tje());Le.registerLanguage("lua",xje());Le.registerLanguage("makefile",Rje());Le.registerLanguage("mathematica",wje());Le.registerLanguage("matlab",Ije());Le.registerLanguage("maxima",Oje());Le.registerLanguage("mel",Nje());Le.registerLanguage("mercury",Aje());Le.registerLanguage("mipsasm",Dje());Le.registerLanguage("mizar",Mje());Le.registerLanguage("perl",Lje());Le.registerLanguage("mojolicious",kje());Le.registerLanguage("monkey",Pje());Le.registerLanguage("moonscript",$je());Le.registerLanguage("n1ql",Fje());Le.registerLanguage("nginx",Bje());Le.registerLanguage("nim",Uje());Le.registerLanguage("nix",jje());Le.registerLanguage("node-repl",zje());Le.registerLanguage("nsis",Hje());Le.registerLanguage("objectivec",Gje());Le.registerLanguage("ocaml",Vje());Le.registerLanguage("openscad",qje());Le.registerLanguage("oxygene",Wje());Le.registerLanguage("parser3",Yje());Le.registerLanguage("pf",Kje());Le.registerLanguage("pgsql",Xje());Le.registerLanguage("php",Qje());Le.registerLanguage("php-template",Zje());Le.registerLanguage("plaintext",Jje());Le.registerLanguage("pony",eze());Le.registerLanguage("powershell",tze());Le.registerLanguage("processing",nze());Le.registerLanguage("profile",rze());Le.registerLanguage("prolog",aze());Le.registerLanguage("properties",ize());Le.registerLanguage("protobuf",oze());Le.registerLanguage("puppet",sze());Le.registerLanguage("purebasic",lze());Le.registerLanguage("python",cze());Le.registerLanguage("python-repl",uze());Le.registerLanguage("q",dze());Le.registerLanguage("qml",pze());Le.registerLanguage("r",fze());Le.registerLanguage("reasonml",mze());Le.registerLanguage("rib",gze());Le.registerLanguage("roboconf",hze());Le.registerLanguage("routeros",vze());Le.registerLanguage("rsl",_ze());Le.registerLanguage("ruleslanguage",bze());Le.registerLanguage("rust",Sze());Le.registerLanguage("sas",Eze());Le.registerLanguage("scala",yze());Le.registerLanguage("scheme",Cze());Le.registerLanguage("scilab",Tze());Le.registerLanguage("scss",xze());Le.registerLanguage("shell",Rze());Le.registerLanguage("smali",wze());Le.registerLanguage("smalltalk",Ize());Le.registerLanguage("sml",Oze());Le.registerLanguage("sqf",Nze());Le.registerLanguage("sql_more",Aze());Le.registerLanguage("sql",Dze());Le.registerLanguage("stan",Mze());Le.registerLanguage("stata",Lze());Le.registerLanguage("step21",kze());Le.registerLanguage("stylus",Pze());Le.registerLanguage("subunit",$ze());Le.registerLanguage("swift",Fze());Le.registerLanguage("taggerscript",Bze());Le.registerLanguage("yaml",Uze());Le.registerLanguage("tap",jze());Le.registerLanguage("tcl",zze());Le.registerLanguage("thrift",Hze());Le.registerLanguage("tp",Gze());Le.registerLanguage("twig",Vze());Le.registerLanguage("typescript",qze());Le.registerLanguage("vala",Wze());Le.registerLanguage("vbnet",Yze());Le.registerLanguage("vbscript",Kze());Le.registerLanguage("vbscript-html",Xze());Le.registerLanguage("verilog",Qze());Le.registerLanguage("vhdl",Zze());Le.registerLanguage("vim",Jze());Le.registerLanguage("x86asm",eHe());Le.registerLanguage("xl",tHe());Le.registerLanguage("xquery",nHe());Le.registerLanguage("zephir",rHe());const iHe=xa(aHe),oHe=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","sql_more","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var Sre=cre(iHe,E6e);Sre.supportedLanguages=oHe;const sHe="modulepreload",lHe=function(e){return"/web/"+e},Zj={},es=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.allSettled(n.map(l=>{if(l=lHe(l),l in Zj)return;Zj[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":sHe,u||(p.as="script"),p.crossOrigin="",p.href=l,s&&p.setAttribute("nonce",s),document.head.appendChild(p),u)return new Promise((f,m)=>{p.addEventListener("load",f),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},cHe=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var uHe=pHe,dHe=Object.prototype.hasOwnProperty;function pHe(){for(var e={},t=0;t4&&n.slice(0,4)===PP&&JHe.test(t)&&(t.charAt(4)==="-"?r=nGe(t):t=rGe(t),a=XHe),new a(r,t))}function nGe(e){var t=e.slice(5).replace(Ore,iGe);return PP+t.charAt(0).toUpperCase()+t.slice(1)}function rGe(e){var t=e.slice(4);return Ore.test(t)?e:(t=t.replace(eGe,aGe),t.charAt(0)!=="-"&&(t="-"+t),PP+t)}function aGe(e){return"-"+e.toLowerCase()}function iGe(e){return e.charAt(1).toUpperCase()}var oGe=sGe,rz=/[#.]/g;function sGe(e,t){for(var n=e||"",r=t||"div",a={},i=0,o,s,l;i=48&&t<=57}var O7e=N7e;function N7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var A7e=D7e;function D7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var M7e=A7e,L7e=Dre,k7e=P7e;function P7e(e){return M7e(e)||L7e(e)}var Uh,$7e=59,F7e=B7e;function B7e(e){var t="&"+e+";",n;return Uh=Uh||document.createElement("i"),Uh.innerHTML=t,n=Uh.textContent,n.charCodeAt(n.length-1)===$7e&&e!=="semi"||n===t?!1:n}var uz=R7e,dz=w7e,U7e=Dre,j7e=O7e,Mre=k7e,z7e=F7e,H7e=n9e,G7e={}.hasOwnProperty,vu=String.fromCharCode,V7e=Function.prototype,pz={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},q7e=9,fz=10,W7e=12,Y7e=32,mz=38,K7e=59,X7e=60,Q7e=61,Z7e=35,J7e=88,e9e=120,t9e=65533,wu="named",BP="hexadecimal",UP="decimal",jP={};jP[BP]=16;jP[UP]=10;var KS={};KS[wu]=Mre;KS[UP]=U7e;KS[BP]=j7e;var Lre=1,kre=2,Pre=3,$re=4,Fre=5,lM=6,Bre=7,$l={};$l[Lre]="Named character references must be terminated by a semicolon";$l[kre]="Numeric character references must be terminated by a semicolon";$l[Pre]="Named character references cannot be empty";$l[$re]="Numeric character references cannot be empty";$l[Fre]="Named character references must be known";$l[lM]="Numeric character references cannot be disallowed";$l[Bre]="Numeric character references cannot be outside the permissible Unicode range";function n9e(e,t){var n={},r,a;t||(t={});for(a in pz)r=t[a],n[a]=r??pz[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),r9e(e,n)}function r9e(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,i=t.reference,o=t.warning,s=t.textContext,l=t.referenceContext,u=t.warningContext,d=t.position,p=t.indent||[],f=e.length,m=0,g=-1,h=d.column||1,v=d.line||1,S="",b=[],E,y,C,T,x,R,w,I,O,k,P,M,N,A,D,L,$,F,B;for(typeof n=="string"&&(n=n.charCodeAt(0)),L=z(),I=o?U:V7e,m--,f++;++m65535&&(R-=65536,k+=vu(R>>>10|55296),R=56320|R&1023),R=k+vu(R))):A!==wu&&I($re,F)),R?(j(),L=z(),m=B-1,h+=B-N+1,b.push(R),$=z(),$.offset++,i&&i.call(l,R,{start:L,end:$},e.slice(N-1,B)),L=$):(T=e.slice(N-1,B),S+=T,h+=T.length,m=B-1)}else x===10&&(v++,g++,h=0),x===x?(S+=vu(x),h++):j();return b.join("");function z(){return{line:v,column:h,offset:m+(d.offset||0)}}function U(G,J){var Y=z();Y.column+=J,Y.offset+=J,o.call(u,$l[G],Y,G)}function j(){S&&(b.push(S),a&&a.call(s,S,{start:L,end:z()}),S="")}}function a9e(e){return e>=55296&&e<=57343||e>1114111}function i9e(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var Ure={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function _(E){return E instanceof l?new l(E.type,_(E.content),E.alias):Array.isArray(E)?E.map(_):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var _=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(_){var E=document.getElementsByTagName("script");for(var y in E)if(E[y].src==_)return E[y]}return null}},isActive:function(_,E,y){for(var C="no-"+E;_;){var T=_.classList;if(T.contains(E))return!0;if(T.contains(C))return!1;_=_.parentElement}return!!y}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(_,E){var y=s.util.clone(s.languages[_]);for(var C in E)y[C]=E[C];return y},insertBefore:function(_,E,y,C){C=C||s.languages;var T=C[_],x={};for(var R in T)if(T.hasOwnProperty(R)){if(R==E)for(var w in y)y.hasOwnProperty(w)&&(x[w]=y[w]);y.hasOwnProperty(R)||(x[R]=T[R])}var I=C[_];return C[_]=x,s.languages.DFS(s.languages,function(O,k){k===I&&O!=_&&(this[O]=x)}),x},DFS:function _(E,y,C,T){T=T||{};var x=s.util.objId;for(var R in E)if(E.hasOwnProperty(R)){y.call(E,R,E[R],C||R);var w=E[R],I=s.util.type(w);I==="Object"&&!T[x(w)]?(T[x(w)]=!0,_(w,y,null,T)):I==="Array"&&!T[x(w)]&&(T[x(w)]=!0,_(w,y,R,T))}}},plugins:{},highlightAll:function(_,E){s.highlightAllUnder(document,_,E)},highlightAllUnder:function(_,E,y){var C={callback:y,container:_,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var T=0,x;x=C.elements[T++];)s.highlightElement(x,E===!0,C.callback)},highlightElement:function(_,E,y){var C=s.util.getLanguage(_),T=s.languages[C];s.util.setLanguage(_,C);var x=_.parentElement;x&&x.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(x,C);var R=_.textContent,w={element:_,language:C,grammar:T,code:R};function I(k){w.highlightedCode=k,s.hooks.run("before-insert",w),w.element.innerHTML=w.highlightedCode,s.hooks.run("after-highlight",w),s.hooks.run("complete",w),y&&y.call(w.element)}if(s.hooks.run("before-sanity-check",w),x=w.element.parentElement,x&&x.nodeName.toLowerCase()==="pre"&&!x.hasAttribute("tabindex")&&x.setAttribute("tabindex","0"),!w.code){s.hooks.run("complete",w),y&&y.call(w.element);return}if(s.hooks.run("before-highlight",w),!w.grammar){I(s.util.encode(w.code));return}if(E&&r.Worker){var O=new Worker(s.filename);O.onmessage=function(k){I(k.data)},O.postMessage(JSON.stringify({language:w.language,code:w.code,immediateClose:!0}))}else I(s.highlight(w.code,w.grammar,w.language))},highlight:function(_,E,y){var C={code:_,grammar:E,language:y};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),l.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(_,E){var y=E.rest;if(y){for(var C in y)E[C]=y[C];delete E.rest}var T=new p;return f(T,T.head,_),d(_,T,E,T.head,0),g(T)},hooks:{all:{},add:function(_,E){var y=s.hooks.all;y[_]=y[_]||[],y[_].push(E)},run:function(_,E){var y=s.hooks.all[_];if(!(!y||!y.length))for(var C=0,T;T=y[C++];)T(E)}},Token:l};r.Prism=s;function l(_,E,y,C){this.type=_,this.content=E,this.alias=y,this.length=(C||"").length|0}l.stringify=function _(E,y){if(typeof E=="string")return E;if(Array.isArray(E)){var C="";return E.forEach(function(I){C+=_(I,y)}),C}var T={type:E.type,content:_(E.content,y),tag:"span",classes:["token",E.type],attributes:{},language:y},x=E.alias;x&&(Array.isArray(x)?Array.prototype.push.apply(T.classes,x):T.classes.push(x)),s.hooks.run("wrap",T);var R="";for(var w in T.attributes)R+=" "+w+'="'+(T.attributes[w]||"").replace(/"/g,""")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+R+">"+T.content+""};function u(_,E,y,C){_.lastIndex=E;var T=_.exec(y);if(T&&C&&T[1]){var x=T[1].length;T.index+=x,T[0]=T[0].slice(x)}return T}function d(_,E,y,C,T,x){for(var R in y)if(!(!y.hasOwnProperty(R)||!y[R])){var w=y[R];w=Array.isArray(w)?w:[w];for(var I=0;I=x.reach);$+=L.value.length,L=L.next){var F=L.value;if(E.length>_.length)return;if(!(F instanceof l)){var B=1,z;if(M){if(z=u(D,$,_,P),!z||z.index>=_.length)break;var J=z.index,U=z.index+z[0].length,j=$;for(j+=L.value.length;J>=j;)L=L.next,j+=L.value.length;if(j-=L.value.length,$=j,L.value instanceof l)continue;for(var G=L;G!==E.tail&&(jx.reach&&(x.reach=H);var q=L.prev;X&&(q=f(E,q,X),$+=X.length),m(E,q,B);var K=new l(R,k?s.tokenize(Y,k):Y,N,Y);if(L=f(E,q,K),V&&f(E,L,V),B>1){var Z={cause:R+","+I,reach:H};d(_,E,y,L.prev,$,Z),x&&Z.reach>x.reach&&(x.reach=Z.reach)}}}}}}function p(){var _={value:null,prev:null,next:null},E={value:null,prev:_,next:null};_.next=E,this.head=_,this.tail=E,this.length=0}function f(_,E,y){var C=E.next,T={value:y,prev:E,next:C};return E.next=T,C.prev=T,_.length++,T}function m(_,E,y){for(var C=E.next,T=0;T/,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(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var a={};a["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},a.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:a}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var W7e=jP;jP.displayName="css";jP.aliases=[];function jP(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var Y7e=zP;zP.displayName="clike";zP.aliases=[];function zP(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:/[{}[\];(),.:]/}}var K7e=HP;HP.displayName="javascript";HP.aliases=["js"];function HP(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}var rf=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Sa=="object"?Sa:{},X7e=p9e();rf.Prism={manual:!0,disableWorkerMessageHandler:!0};var Q7e=pGe,Z7e=I7e,Fre=V7e,J7e=q7e,e9e=W7e,t9e=Y7e,n9e=K7e;X7e();var GP={}.hasOwnProperty;function Bre(){}Bre.prototype=Fre;var Pr=new Bre,r9e=Pr;Pr.highlight=i9e;Pr.register=wg;Pr.alias=a9e;Pr.registered=o9e;Pr.listLanguages=s9e;wg(J7e);wg(e9e);wg(t9e);wg(n9e);Pr.util.encode=u9e;Pr.Token.stringify=l9e;function wg(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Pr.languages[e.displayName]===void 0&&e(Pr)}function a9e(e,t){var n=Pr.languages,r=e,a,i,o,s;t&&(r={},r[e]=t);for(a in r)for(i=r[a],i=typeof i=="string"?[i]:i,o=i.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var Nx,fz;function m9e(){if(fz)return Nx;fz=1,Nx=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return Nx}var Ax,mz;function g9e(){if(mz)return Ax;mz=1,Ax=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return Ax}var Dx,gz;function h9e(){if(gz)return Dx;gz=1,Dx=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return Dx}var Mx,hz;function v9e(){if(hz)return Mx;hz=1,Mx=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return Mx}var Lx,vz;function _9e(){if(vz)return Lx;vz=1,Lx=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return Lx}var kx,_z;function b9e(){if(_z)return kx;_z=1,kx=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return kx}var Px,bz;function S9e(){if(bz)return Px;bz=1,Px=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return Px}var $x,Sz;function E9e(){if(Sz)return $x;Sz=1,$x=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return $x}var Fx,Ez;function VP(){if(Ez)return Fx;Ez=1,Fx=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return Fx}var Bx,yz;function y9e(){if(yz)return Bx;yz=1;var e=VP();Bx=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(l){return RegExp(l.replace(//g,function(){return i}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return Bx}var Ux,Cz;function C9e(){if(Cz)return Ux;Cz=1,Ux=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return Ux}var jx,Tz;function T9e(){if(Tz)return jx;Tz=1,jx=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return jx}var zx,xz;function x9e(){if(xz)return zx;xz=1,zx=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return zx}var Hx,Rz;function Zc(){if(Rz)return Hx;Rz=1,Hx=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return Hx}var Gx,wz;function qP(){if(wz)return Gx;wz=1;var e=Zc();Gx=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.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 i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return Gx}var Vx,Iz;function R9e(){if(Iz)return Vx;Iz=1;var e=qP();Vx=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.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/}),n.languages.ino=n.languages.arduino}return Vx}var qx,Oz;function w9e(){if(Oz)return qx;Oz=1,qx=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return qx}var Wx,Nz;function I9e(){if(Nz)return Wx;Nz=1,Wx=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.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:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(o){o=o.split(" ");for(var s={},l=0,u=o.length;l>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return Kx}var Xx,Mz;function WS(){if(Mz)return Xx;Mz=1,Xx=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(B,z){return B.replace(/<<(\d+)>>/g,function(U,j){return"(?:"+z[+j]+")"})}function a(B,z,U){return RegExp(r(B,z),"")}function i(B,z){for(var U=0;U>/g,function(){return"(?:"+B+")"});return B.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(B){return"\\b(?:"+B.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),d=s(o.typeDeclaration+" "+o.contextual+" "+o.other),p=s(o.type+" "+o.typeDeclaration+" "+o.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,h=r(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),v=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,h]),S=/\[\s*(?:,\s*)*\]/.source,_=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,S]),E=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,S]),y=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),C=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,v,S]),T={keyword:u,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,w=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,C]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:T},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:T},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[C,p,g]),inside:T}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[C,v]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[C]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:a(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:T}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,g,C,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,m]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(C),greedy:!0,inside:T},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 I=R+"|"+x,O=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),k=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,M=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,k]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,M]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[k]),inside:n.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,A=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),D=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[A,N]),L=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),$=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,N]);function F(B,z){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[B]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[z,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,A)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[$]),lookbehind:!0,greedy:!0,inside:F($,L)}],char:{pattern:RegExp(x),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return Xx}var Qx,Lz;function A9e(){if(Lz)return Qx;Lz=1;var e=WS();Qx=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.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:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return Qx}var Zx,kz;function D9e(){if(kz)return Zx;kz=1,Zx=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return Zx}var Jx,Pz;function M9e(){if(Pz)return Jx;Pz=1,Jx=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return Jx}var eR,$z;function L9e(){if($z)return eR;$z=1,eR=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,p){return d.replace(/<<(\d+)>>/g,function(f,m){return p[+m]})}function a(d,p,f){return RegExp(r(d,p),f)}var i=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),l=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[o,s,l].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return eR}var tR,Fz;function k9e(){if(Fz)return tR;Fz=1,tR=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return tR}var nR,Bz;function Ure(){if(Bz)return nR;Bz=1,nR=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.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;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=i.variable[1].inside,l=0;l?^\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 rR}var aR,jz;function P9e(){if(jz)return aR;jz=1,aR=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:a,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:a,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return aR}var iR,zz;function $9e(){if(zz)return iR;zz=1,iR=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return iR}var oR,Hz;function F9e(){if(Hz)return oR;Hz=1,oR=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return oR}var sR,Gz;function B9e(){if(Gz)return sR;Gz=1,sR=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return sR}var lR,Vz;function U9e(){if(Vz)return lR;Vz=1;var e=Zc();lR=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.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:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return lR}var cR,qz;function j9e(){if(qz)return cR;qz=1,cR=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return cR}var uR,Wz;function z9e(){if(Wz)return uR;Wz=1,uR=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return uR}var dR,Yz;function H9e(){if(Yz)return dR;Yz=1,dR=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return dR}var pR,Kz;function G9e(){if(Kz)return pR;Kz=1,pR=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return pR}var fR,Xz;function V9e(){if(Xz)return fR;Xz=1,fR=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return fR}var mR,Qz;function q9e(){if(Qz)return mR;Qz=1,mR=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return mR}var gR,Zz;function W9e(){if(Zz)return gR;Zz=1;var e=qP();gR=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.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:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.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:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return gR}var hR,Jz;function Y9e(){if(Jz)return hR;Jz=1,hR=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return hR}var vR,eH;function K9e(){if(eH)return vR;eH=1,vR=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return vR}var _R,tH;function X9e(){if(tH)return _R;tH=1,_R=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return _R}var bR,nH;function Q9e(){if(nH)return bR;nH=1,bR=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return bR}var SR,rH;function Z9e(){if(rH)return SR;rH=1,SR=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return SR}var ER,aH;function J9e(){if(aH)return ER;aH=1,ER=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return ER}var yR,iH;function eqe(){if(iH)return yR;iH=1,yR=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return yR}var CR,oH;function YS(){if(oH)return CR;oH=1,CR=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.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:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.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)/}),n.languages.rb=n.languages.ruby})(t)}return CR}var TR,sH;function tqe(){if(sH)return TR;sH=1;var e=YS();TR=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.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:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.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:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.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}})}(n)}return TR}var xR,lH;function nqe(){if(lH)return xR;lH=1;var e=WS();xR=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(v,S){for(var _=0;_/g,function(){return"(?:"+v+")"});return v.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=o(/<(?:[^<>'"@/]|||)*>/.source,2),p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,f=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,m=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|"+o(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return wR}var IR,dH;function iqe(){if(dH)return IR;dH=1,IR=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return IR}var OR,pH;function oqe(){if(pH)return OR;pH=1,OR=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return OR}var NR,fH;function sqe(){if(fH)return NR;fH=1,NR=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return NR}var AR,mH;function lqe(){if(mH)return AR;mH=1,AR=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.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:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return AR}var DR,gH;function cqe(){if(gH)return DR;gH=1,DR=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return DR}var MR,hH;function uqe(){if(hH)return MR;hH=1,MR=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return MR}var LR,vH;function dqe(){if(vH)return LR;vH=1,LR=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return LR}var kR,_H;function pqe(){if(_H)return kR;_H=1,kR=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r + */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function b(E){return E instanceof l?new l(E.type,b(E.content),E.alias):Array.isArray(E)?E.map(b):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(b){var E=document.getElementsByTagName("script");for(var y in E)if(E[y].src==b)return E[y]}return null}},isActive:function(b,E,y){for(var C="no-"+E;b;){var T=b.classList;if(T.contains(E))return!0;if(T.contains(C))return!1;b=b.parentElement}return!!y}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(b,E){var y=s.util.clone(s.languages[b]);for(var C in E)y[C]=E[C];return y},insertBefore:function(b,E,y,C){C=C||s.languages;var T=C[b],x={};for(var R in T)if(T.hasOwnProperty(R)){if(R==E)for(var w in y)y.hasOwnProperty(w)&&(x[w]=y[w]);y.hasOwnProperty(R)||(x[R]=T[R])}var I=C[b];return C[b]=x,s.languages.DFS(s.languages,function(O,k){k===I&&O!=b&&(this[O]=x)}),x},DFS:function b(E,y,C,T){T=T||{};var x=s.util.objId;for(var R in E)if(E.hasOwnProperty(R)){y.call(E,R,E[R],C||R);var w=E[R],I=s.util.type(w);I==="Object"&&!T[x(w)]?(T[x(w)]=!0,b(w,y,null,T)):I==="Array"&&!T[x(w)]&&(T[x(w)]=!0,b(w,y,R,T))}}},plugins:{},highlightAll:function(b,E){s.highlightAllUnder(document,b,E)},highlightAllUnder:function(b,E,y){var C={callback:y,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var T=0,x;x=C.elements[T++];)s.highlightElement(x,E===!0,C.callback)},highlightElement:function(b,E,y){var C=s.util.getLanguage(b),T=s.languages[C];s.util.setLanguage(b,C);var x=b.parentElement;x&&x.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(x,C);var R=b.textContent,w={element:b,language:C,grammar:T,code:R};function I(k){w.highlightedCode=k,s.hooks.run("before-insert",w),w.element.innerHTML=w.highlightedCode,s.hooks.run("after-highlight",w),s.hooks.run("complete",w),y&&y.call(w.element)}if(s.hooks.run("before-sanity-check",w),x=w.element.parentElement,x&&x.nodeName.toLowerCase()==="pre"&&!x.hasAttribute("tabindex")&&x.setAttribute("tabindex","0"),!w.code){s.hooks.run("complete",w),y&&y.call(w.element);return}if(s.hooks.run("before-highlight",w),!w.grammar){I(s.util.encode(w.code));return}if(E&&r.Worker){var O=new Worker(s.filename);O.onmessage=function(k){I(k.data)},O.postMessage(JSON.stringify({language:w.language,code:w.code,immediateClose:!0}))}else I(s.highlight(w.code,w.grammar,w.language))},highlight:function(b,E,y){var C={code:b,grammar:E,language:y};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),l.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(b,E){var y=E.rest;if(y){for(var C in y)E[C]=y[C];delete E.rest}var T=new p;return f(T,T.head,b),d(b,T,E,T.head,0),g(T)},hooks:{all:{},add:function(b,E){var y=s.hooks.all;y[b]=y[b]||[],y[b].push(E)},run:function(b,E){var y=s.hooks.all[b];if(!(!y||!y.length))for(var C=0,T;T=y[C++];)T(E)}},Token:l};r.Prism=s;function l(b,E,y,C){this.type=b,this.content=E,this.alias=y,this.length=(C||"").length|0}l.stringify=function b(E,y){if(typeof E=="string")return E;if(Array.isArray(E)){var C="";return E.forEach(function(I){C+=b(I,y)}),C}var T={type:E.type,content:b(E.content,y),tag:"span",classes:["token",E.type],attributes:{},language:y},x=E.alias;x&&(Array.isArray(x)?Array.prototype.push.apply(T.classes,x):T.classes.push(x)),s.hooks.run("wrap",T);var R="";for(var w in T.attributes)R+=" "+w+'="'+(T.attributes[w]||"").replace(/"/g,""")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+R+">"+T.content+""};function u(b,E,y,C){b.lastIndex=E;var T=b.exec(y);if(T&&C&&T[1]){var x=T[1].length;T.index+=x,T[0]=T[0].slice(x)}return T}function d(b,E,y,C,T,x){for(var R in y)if(!(!y.hasOwnProperty(R)||!y[R])){var w=y[R];w=Array.isArray(w)?w:[w];for(var I=0;I=x.reach);$+=L.value.length,L=L.next){var F=L.value;if(E.length>b.length)return;if(!(F instanceof l)){var B=1,z;if(M){if(z=u(D,$,b,P),!z||z.index>=b.length)break;var J=z.index,U=z.index+z[0].length,j=$;for(j+=L.value.length;J>=j;)L=L.next,j+=L.value.length;if(j-=L.value.length,$=j,L.value instanceof l)continue;for(var G=L;G!==E.tail&&(jx.reach&&(x.reach=H);var q=L.prev;Q&&(q=f(E,q,Q),$+=Q.length),m(E,q,B);var K=new l(R,k?s.tokenize(Y,k):Y,N,Y);if(L=f(E,q,K),V&&f(E,L,V),B>1){var Z={cause:R+","+I,reach:H};d(b,E,y,L.prev,$,Z),x&&Z.reach>x.reach&&(x.reach=Z.reach)}}}}}}function p(){var b={value:null,prev:null,next:null},E={value:null,prev:b,next:null};b.next=E,this.head=b,this.tail=E,this.length=0}function f(b,E,y){var C=E.next,T={value:y,prev:E,next:C};return E.next=T,C.prev=T,b.length++,T}function m(b,E,y){for(var C=E.next,T=0;T/,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(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var a={};a["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},a.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:a}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var l9e=HP;HP.displayName="css";HP.aliases=[];function HP(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var c9e=GP;GP.displayName="clike";GP.aliases=[];function GP(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:/[{}[\];(),.:]/}}var u9e=VP;VP.displayName="javascript";VP.aliases=["js"];function VP(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}var of=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Sa=="object"?Sa:{},d9e=w9e();of.Prism={manual:!0,disableWorkerMessageHandler:!0};var p9e=wGe,f9e=H7e,jre=o9e,m9e=s9e,g9e=l9e,h9e=c9e,v9e=u9e;d9e();var qP={}.hasOwnProperty;function zre(){}zre.prototype=jre;var Lr=new zre,_9e=Lr;Lr.highlight=S9e;Lr.register=Ng;Lr.alias=b9e;Lr.registered=E9e;Lr.listLanguages=y9e;Ng(m9e);Ng(g9e);Ng(h9e);Ng(v9e);Lr.util.encode=x9e;Lr.Token.stringify=C9e;function Ng(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Lr.languages[e.displayName]===void 0&&e(Lr)}function b9e(e,t){var n=Lr.languages,r=e,a,i,o,s;t&&(r={},r[e]=t);for(a in r)for(i=r[a],i=typeof i=="string"?[i]:i,o=i.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var Dx,gz;function O9e(){if(gz)return Dx;gz=1,Dx=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return Dx}var Mx,hz;function N9e(){if(hz)return Mx;hz=1,Mx=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return Mx}var Lx,vz;function A9e(){if(vz)return Lx;vz=1,Lx=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return Lx}var kx,_z;function D9e(){if(_z)return kx;_z=1,kx=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return kx}var Px,bz;function M9e(){if(bz)return Px;bz=1,Px=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return Px}var $x,Sz;function L9e(){if(Sz)return $x;Sz=1,$x=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return $x}var Fx,Ez;function k9e(){if(Ez)return Fx;Ez=1,Fx=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return Fx}var Bx,yz;function P9e(){if(yz)return Bx;yz=1,Bx=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return Bx}var Ux,Cz;function WP(){if(Cz)return Ux;Cz=1,Ux=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return Ux}var jx,Tz;function $9e(){if(Tz)return jx;Tz=1;var e=WP();jx=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(l){return RegExp(l.replace(//g,function(){return i}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return jx}var zx,xz;function F9e(){if(xz)return zx;xz=1,zx=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return zx}var Hx,Rz;function B9e(){if(Rz)return Hx;Rz=1,Hx=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return Hx}var Gx,wz;function U9e(){if(wz)return Gx;wz=1,Gx=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return Gx}var Vx,Iz;function Zc(){if(Iz)return Vx;Iz=1,Vx=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return Vx}var qx,Oz;function YP(){if(Oz)return qx;Oz=1;var e=Zc();qx=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.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 i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return qx}var Wx,Nz;function j9e(){if(Nz)return Wx;Nz=1;var e=YP();Wx=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.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/}),n.languages.ino=n.languages.arduino}return Wx}var Yx,Az;function z9e(){if(Az)return Yx;Az=1,Yx=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return Yx}var Kx,Dz;function H9e(){if(Dz)return Kx;Dz=1,Kx=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.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:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(o){o=o.split(" ");for(var s={},l=0,u=o.length;l>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return Qx}var Zx,kz;function XS(){if(kz)return Zx;kz=1,Zx=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(B,z){return B.replace(/<<(\d+)>>/g,function(U,j){return"(?:"+z[+j]+")"})}function a(B,z,U){return RegExp(r(B,z),"")}function i(B,z){for(var U=0;U>/g,function(){return"(?:"+B+")"});return B.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(B){return"\\b(?:"+B.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),d=s(o.typeDeclaration+" "+o.contextual+" "+o.other),p=s(o.type+" "+o.typeDeclaration+" "+o.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,h=r(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),v=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,h]),S=/\[\s*(?:,\s*)*\]/.source,b=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,S]),E=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,S]),y=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),C=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,v,S]),T={keyword:u,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,w=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,C]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:T},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:T},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[C,p,g]),inside:T}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[C,v]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[C]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:a(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:T}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,g,C,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,m]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(C),greedy:!0,inside:T},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 I=R+"|"+x,O=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),k=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,M=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,k]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,M]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[k]),inside:n.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,A=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),D=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[A,N]),L=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),$=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,N]);function F(B,z){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[B]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[z,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,A)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[$]),lookbehind:!0,greedy:!0,inside:F($,L)}],char:{pattern:RegExp(x),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return Zx}var Jx,Pz;function q9e(){if(Pz)return Jx;Pz=1;var e=XS();Jx=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.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:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return Jx}var eR,$z;function W9e(){if($z)return eR;$z=1,eR=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return eR}var tR,Fz;function Y9e(){if(Fz)return tR;Fz=1,tR=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return tR}var nR,Bz;function K9e(){if(Bz)return nR;Bz=1,nR=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,p){return d.replace(/<<(\d+)>>/g,function(f,m){return p[+m]})}function a(d,p,f){return RegExp(r(d,p),f)}var i=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),l=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[o,s,l].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return nR}var rR,Uz;function X9e(){if(Uz)return rR;Uz=1,rR=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return rR}var aR,jz;function Hre(){if(jz)return aR;jz=1,aR=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.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;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=i.variable[1].inside,l=0;l?^\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 iR}var oR,Hz;function Q9e(){if(Hz)return oR;Hz=1,oR=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:a,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:a,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return oR}var sR,Gz;function Z9e(){if(Gz)return sR;Gz=1,sR=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return sR}var lR,Vz;function J9e(){if(Vz)return lR;Vz=1,lR=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return lR}var cR,qz;function eqe(){if(qz)return cR;qz=1,cR=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return cR}var uR,Wz;function tqe(){if(Wz)return uR;Wz=1;var e=Zc();uR=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.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:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return uR}var dR,Yz;function nqe(){if(Yz)return dR;Yz=1,dR=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return dR}var pR,Kz;function rqe(){if(Kz)return pR;Kz=1,pR=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return pR}var fR,Xz;function aqe(){if(Xz)return fR;Xz=1,fR=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return fR}var mR,Qz;function iqe(){if(Qz)return mR;Qz=1,mR=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return mR}var gR,Zz;function oqe(){if(Zz)return gR;Zz=1,gR=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return gR}var hR,Jz;function sqe(){if(Jz)return hR;Jz=1,hR=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return hR}var vR,eH;function lqe(){if(eH)return vR;eH=1;var e=YP();vR=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.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:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.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:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return vR}var _R,tH;function cqe(){if(tH)return _R;tH=1,_R=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return _R}var bR,nH;function uqe(){if(nH)return bR;nH=1,bR=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return bR}var SR,rH;function dqe(){if(rH)return SR;rH=1,SR=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return SR}var ER,aH;function pqe(){if(aH)return ER;aH=1,ER=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return ER}var yR,iH;function fqe(){if(iH)return yR;iH=1,yR=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return yR}var CR,oH;function mqe(){if(oH)return CR;oH=1,CR=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return CR}var TR,sH;function gqe(){if(sH)return TR;sH=1,TR=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return TR}var xR,lH;function QS(){if(lH)return xR;lH=1,xR=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.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:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.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)/}),n.languages.rb=n.languages.ruby})(t)}return xR}var RR,cH;function hqe(){if(cH)return RR;cH=1;var e=QS();RR=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.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:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.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:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.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}})}(n)}return RR}var wR,uH;function vqe(){if(uH)return wR;uH=1;var e=XS();wR=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(v,S){for(var b=0;b/g,function(){return"(?:"+v+")"});return v.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=o(/<(?:[^<>'"@/]|||)*>/.source,2),p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,f=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,m=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|"+o(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return OR}var NR,fH;function Sqe(){if(fH)return NR;fH=1,NR=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return NR}var AR,mH;function Eqe(){if(mH)return AR;mH=1,AR=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return AR}var DR,gH;function yqe(){if(gH)return DR;gH=1,DR=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return DR}var MR,hH;function Cqe(){if(hH)return MR;hH=1,MR=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.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:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return MR}var LR,vH;function Tqe(){if(vH)return LR;vH=1,LR=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return LR}var kR,_H;function xqe(){if(_H)return kR;_H=1,kR=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return kR}var PR,bH;function Rqe(){if(bH)return PR;bH=1,PR=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return PR}var $R,SH;function wqe(){if(SH)return $R;SH=1,$R=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return kR}var PR,bH;function Qa(){if(bH)return PR;bH=1,PR=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var l=a.tokenStack=[];a.code=a.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=l.length,p;a.code.indexOf(p=r(i,d))!==-1;)++d;return l[d]=u,p}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,s=Object.keys(a.tokenStack);function l(u){for(var d=0;d=s.length);d++){var p=u[d];if(typeof p=="string"||p.content&&typeof p.content=="string"){var f=s[o],m=a.tokenStack[f],g=typeof p=="string"?p:p.content,h=r(i,f),v=g.indexOf(h);if(v>-1){++o;var S=g.substring(0,v),_=new n.Token(i,n.tokenize(m,a.grammar),"language-"+i,m),E=g.substring(v+h.length),y=[];S&&y.push.apply(y,l([S])),y.push(_),E&&y.push.apply(y,l([E])),typeof p=="string"?u.splice.apply(u,[d,1].concat(y)):p.content=y}}else p.content&&l(p.content)}return u}l(a.tokens)}}})})(t)}return PR}var $R,SH;function fqe(){if(SH)return $R;SH=1;var e=Qa();$R=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(n)}return $R}var FR,EH;function mqe(){if(EH)return FR;EH=1,FR=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return FR}var BR,yH;function gqe(){if(yH)return BR;yH=1,BR=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),s={pattern:RegExp(i),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,p){return d=d.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(d,p)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},n.languages.dockerfile=n.languages.docker})(t)}return BR}var UR,CH;function hqe(){if(CH)return UR;CH=1,UR=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function i(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return UR}var jR,TH;function vqe(){if(TH)return jR;TH=1,jR=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return jR}var zR,xH;function _qe(){if(xH)return zR;xH=1,zR=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return zR}var HR,RH;function bqe(){if(RH)return HR;RH=1,HR=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return HR}var GR,wH;function Sqe(){if(wH)return GR;wH=1;var e=Qa();GR=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return GR}var VR,IH;function Eqe(){if(IH)return VR;IH=1,VR=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return VR}var qR,OH;function yqe(){if(OH)return qR;OH=1,qR=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return qR}var WR,NH;function Cqe(){if(NH)return WR;NH=1;var e=YS(),t=Qa();WR=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})}(r)}return WR}var YR,AH;function Tqe(){if(AH)return YR;AH=1,YR=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return YR}var KR,DH;function zre(){if(DH)return KR;DH=1,KR=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return KR}var XR,MH;function xqe(){if(MH)return XR;MH=1;var e=zre(),t=Qa();XR=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})}(r)}return XR}var QR,LH;function Rqe(){if(LH)return QR;LH=1,QR=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return QR}var ZR,kH;function wqe(){if(kH)return ZR;kH=1,ZR=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},o=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(o).join("|")+")(?=\\s|$)")},l={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","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(l).forEach(function(d){i[d].pattern=s(l[d])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=s(u),n.languages.factor=i})(t)}return ZR}var JR,PH;function Iqe(){if(PH)return JR;PH=1,JR=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.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 t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return ew}var tw,FH;function Nqe(){if(FH)return tw;FH=1,tw=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.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 n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return tw}var nw,BH;function Aqe(){if(BH)return nw;BH=1,nw=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return nw}var rw,UH;function Dqe(){if(UH)return rw;UH=1,rw=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return rw}var aw,jH;function Mqe(){if(jH)return aw;jH=1;var e=Qa();aw=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return aw}var iw,zH;function Lqe(){if(zH)return iw;zH=1,iw=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return iw}var ow,HH;function kqe(){if(HH)return ow;HH=1,ow=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return ow}var sw,GH;function Pqe(){if(GH)return sw;GH=1,sw=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return sw}var lw,VH;function $qe(){if(VH)return lw;VH=1,lw=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return lw}var cw,qH;function Fqe(){if(qH)return cw;qH=1,cw=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return cw}var uw,WH;function Bqe(){if(WH)return uw;WH=1,uw=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return uw}var dw,YH;function Uqe(){if(YH)return dw;YH=1;var e=Zc();dw=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.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 dw}var pw,KH;function jqe(){if(KH)return pw;KH=1,pw=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return pw}var fw,XH;function zqe(){if(XH)return fw;XH=1,fw=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return fw}var mw,QH;function Hqe(){if(QH)return mw;QH=1,mw=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return mw}var gw,ZH;function Gqe(){if(ZH)return gw;ZH=1,gw=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return gw}var hw,JH;function Vqe(){if(JH)return hw;JH=1,hw=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),i=0;function o(S){return a[i+S]}function s(S,_){_=_||0;for(var E=0;E0)){var g=l(/^\{$/,/^\}$/);if(g===-1)continue;for(var h=i;h=0&&u(v,"variable-input")}}}}})}return hw}var vw,eG;function qqe(){if(eG)return vw;eG=1,vw=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return vw}var _w,tG;function Wqe(){if(tG)return _w;tG=1;var e=YS();_w=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.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:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.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:r.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:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=i.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return bw}var Sw,rG;function WP(){if(rG)return Sw;rG=1,Sw=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return Sw}var Ew,aG;function Kqe(){if(aG)return Ew;aG=1,Ew=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return Ew}var yw,iG;function Xqe(){if(iG)return yw;iG=1,yw=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return yw}var Cw,oG;function Qqe(){if(oG)return Cw;oG=1;var e=Zc();Cw=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.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 Cw}var Tw,sG;function Zqe(){if(sG)return Tw;sG=1,Tw=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return Tw}var xw,lG;function Jqe(){if(lG)return xw;lG=1,xw=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return xw}var Rw,cG;function eWe(){if(cG)return Rw;cG=1,Rw=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Rw}var ww,uG;function tWe(){if(uG)return ww;uG=1,ww=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","i")}n.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:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function s(p){var f=p.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+p+"|"+m+")"}var l;for(var u in i)if(i[u]){l=l||{};var d=o[u]?s(u):u;l[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[u]}}l&&n.languages.insertBefore("http","header",l)})(t)}return ww}var Iw,dG;function nWe(){if(dG)return Iw;dG=1,Iw=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return Iw}var Ow,pG;function rWe(){if(pG)return Ow;pG=1,Ow=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return Ow}var Nw,fG;function aWe(){if(fG)return Nw;fG=1,Nw=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,d){return d<=0?/[]/.source:u.replace(//g,function(){return r(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),l={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":l,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":l,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},l.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return Nw}var Aw,mG;function iWe(){if(mG)return Aw;mG=1;var e=WP();Aw=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.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}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return Aw}var Dw,gG;function oWe(){if(gG)return Dw;gG=1,Dw=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return Dw}var Mw,hG;function sWe(){if(hG)return Mw;hG=1,Mw=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return Mw}var Lw,vG;function lWe(){if(vG)return Lw;vG=1,Lw=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return Lw}var kw,_G;function cWe(){if(_G)return kw;_G=1,kw=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return kw}var Pw,bG;function uWe(){if(bG)return Pw;bG=1,Pw=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"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 $w}var Fw,EG;function YP(){if(EG)return Fw;EG=1,Fw=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,function:[n.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}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,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 r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return Fw}var Bw,yG;function KS(){if(yG)return Bw;yG=1,Bw=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(o,s){var l="doc-comment",u=n.languages[o];if(u){var d=u[l];if(!d){var p={};p[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",p),d=u[l]}if(d instanceof RegExp&&(d=u[l]={pattern:d}),Array.isArray(d))for(var f=0,m=d.length;f)?|/.source.replace(//g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return Uw}var jw,TG;function fWe(){if(TG)return jw;TG=1,jw=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/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 jw}var zw,xG;function mWe(){if(xG)return zw;xG=1,zw=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return zw}var Hw,RG;function gWe(){if(RG)return Hw;RG=1,Hw=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return Hw}var Gw,wG;function hWe(){if(wG)return Gw;wG=1,Gw=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=o})(t)}return Gw}var Vw,IG;function vWe(){if(IG)return Vw;IG=1,Vw=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,d){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.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"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\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 a=["function","function-variable","method","method-variable","property-access"],i=0;i=x.length)return;var O=w[I];if(typeof O=="string"||typeof O.content=="string"){var k=x[E],P=typeof O=="string"?O:O.content,M=P.indexOf(k);if(M!==-1){++E;var N=P.substring(0,M),A=p(y[k]),D=P.substring(M+k.length),L=[];if(N&&L.push(N),L.push(A),D){var $=[D];R($),L.push.apply(L,$)}typeof O=="string"?(w.splice.apply(w,[I,1].concat(L)),I+=L.length-1):O.content=L}}else{var F=O.content;Array.isArray(F)?R(F):R([F])}}}return R(T),new n.Token(S,T,"language-"+S,h)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(h){if(!(h.language in m))return;function v(S){for(var _=0,E=S.length;_]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.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 n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return Ww}var Yw,AG;function bWe(){if(AG)return Yw;AG=1;var e=KS(),t=KP();Yw=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return Yw}var Kw,DG;function XP(){if(DG)return Kw;DG=1,Kw=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return Kw}var Xw,MG;function SWe(){if(MG)return Xw;MG=1;var e=XP();Xw=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return Xw}var Qw,LG;function EWe(){if(LG)return Qw;LG=1;var e=XP();Qw=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return Qw}var Zw,kG;function yWe(){if(kG)return Zw;kG=1,Zw=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?: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 Zw}var Jw,PG;function Hre(){if(PG)return Jw;PG=1,Jw=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,p){return d=d.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(d,p)}o=s(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var p=[],f=0;f0&&p[p.length-1].tagName===l(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:l(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var h=l(m);f0&&(typeof d[f-1]=="string"||d[f-1].type==="plain-text")&&(h=l(d[f-1])+h,d.splice(f-1,1),f--),d[f]=new n.Token("plain-text",h,null,h)}m.content&&typeof m.content!="string"&&u(m.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return Jw}var eI,$G;function CWe(){if($G)return eI;$G=1,eI=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return eI}var tI,FG;function TWe(){if(FG)return tI;FG=1,tI=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\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 tI}var nI,BG;function xWe(){if(BG)return nI;BG=1,nI=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return nI}var rI,UG;function RWe(){if(UG)return rI;UG=1,rI=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.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 n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return rI}var aI,jG;function wWe(){if(jG)return aI;jG=1,aI=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return aI}var iI,zG;function IWe(){if(zG)return iI;zG=1,iI=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return iI}var oI,HG;function OWe(){if(HG)return oI;HG=1,oI=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return oI}var sI,GG;function XS(){if(GG)return sI;GG=1;var e=Qa();sI=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},d=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(p){if(/<\?/.test(p.code)){var f=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(p,"php",f)}}),r.hooks.add("after-tokenize",function(p){r.languages["markup-templating"].tokenizePlaceholders(p,"php")})}(n)}return sI}var lI,VG;function NWe(){if(VG)return lI;VG=1;var e=Qa(),t=XS();lI=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var i=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return lI}var cI,qG;function AWe(){if(qG)return cI;qG=1,cI=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return cI}var uI,WG;function QP(){if(WG)return uI;WG=1,uI=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return uI}var dI,YG;function DWe(){if(YG)return dI;YG=1;var e=QP();dI=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return dI}var pI,KG;function MWe(){if(KG)return pI;KG=1;var e=Qa();pI=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.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"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!i)return i=!0,!0;if(l==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return pI}var fI,XG;function LWe(){if(XG)return fI;XG=1,fI=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(h){return RegExp(/(\()/.source+"(?:"+h+")"+/(?=[\s\)])/.source)}function a(h){return RegExp(/([\s([])/.source+"(?:"+h+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,s="(\\()",l="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:p},m="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(s+d+l),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+m),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+m),inside:f},keys:{pattern:RegExp("&key\\s+"+m+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=g,p.defun.inside.arguments=n.util.clone(g),p.defun.inside.arguments.inside.sublist=g,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p})(t)}return fI}var mI,QG;function kWe(){if(QG)return mI;QG=1,mI=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return mI}var gI,ZG;function PWe(){if(ZG)return gI;ZG=1,gI=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return gI}var hI,JG;function $We(){if(JG)return hI;JG=1,hI=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return hI}var vI,eV;function FWe(){if(eV)return vI;eV=1,vI=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return vI}var _I,tV;function BWe(){if(tV)return _I;tV=1,_I=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return _I}var bI,nV;function UWe(){if(nV)return bI;nV=1,bI=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return bI}var SI,rV;function jWe(){if(rV)return SI;rV=1,SI=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(f){return f=f.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.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:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\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(f){["url","bold","italic","strike","code-snippet"].forEach(function(m){f!==m&&(n.languages.markdown[f].inside.content.inside[m]=n.languages.markdown[m])})}),n.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function m(g){if(!(!g||typeof g=="string"))for(var h=0,v=g.length;h",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(f){var m=f.replace(l,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,h){if(h=h.toLowerCase(),h[0]==="#"){var v;return h[1]==="x"?v=parseInt(h.slice(2),16):v=Number(h.slice(1)),d(v)}else{var S=u[h];return S||g}}),m}n.languages.md=n.languages.markdown})(t)}return SI}var EI,aV;function zWe(){if(aV)return EI;aV=1,EI=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return EI}var yI,iV;function HWe(){if(iV)return yI;iV=1,yI=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return yI}var CI,oV;function GWe(){if(oV)return CI;oV=1,CI=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return CI}var TI,sV;function VWe(){if(sV)return TI;sV=1,TI=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,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 TI}var xI,lV;function qWe(){if(lV)return xI;lV=1,xI=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return xI}var RI,cV;function WWe(){if(cV)return RI;cV=1,RI=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var i="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),n.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}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return RI}var wI,uV;function YWe(){if(uV)return wI;uV=1,wI=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return wI}var II,dV;function KWe(){if(dV)return II;dV=1,II=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return II}var OI,pV;function XWe(){if(pV)return OI;pV=1,OI=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return OI}var NI,fV;function QWe(){if(fV)return NI;fV=1,NI=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return NI}var AI,mV;function ZWe(){if(mV)return AI;mV=1,AI=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return AI}var DI,gV;function JWe(){if(gV)return DI;gV=1,DI=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=o(u);i(d)||(u.type="bad-line",u.content=d)}})});function i(s){for(var l="[]{}",u=[],d=0;d=&|$!]/}}return MI}var LI,vV;function tYe(){if(vV)return LI;vV=1,LI=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return LI}var kI,_V;function nYe(){if(_V)return kI;_V=1,kI=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return kI}var PI,bV;function rYe(){if(bV)return PI;bV=1,PI=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return PI}var $I,SV;function aYe(){if(SV)return $I;SV=1,$I=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return $I}var FI,EV;function iYe(){if(EV)return FI;EV=1,FI=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return FI}var BI,yV;function oYe(){if(yV)return BI;yV=1,BI=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return BI}var UI,CV;function sYe(){if(CV)return UI;CV=1;var e=Zc();UI=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.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 n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return UI}var jI,TV;function lYe(){if(TV)return jI;TV=1,jI=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return jI}var zI,xV;function cYe(){if(xV)return zI;xV=1;var e=Zc();zI=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.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"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return zI}var HI,RV;function uYe(){if(RV)return HI;RV=1,HI=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return HI}var GI,wV;function dYe(){if(wV)return GI;wV=1,GI=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return GI}var VI,IV;function pYe(){if(IV)return VI;IV=1,VI=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\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 VI}var qI,OV;function fYe(){if(OV)return qI;OV=1,qI=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return qI}var WI,NV;function mYe(){if(NV)return WI;NV=1,WI=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return WI}var YI,AV;function gYe(){if(AV)return YI;AV=1,YI=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=n.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 a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=i[l],s},{});i["class-name"].forEach(function(s){s.inside=o})})(t)}return YI}var KI,DV;function hYe(){if(DV)return KI;DV=1,KI=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return KI}var XI,MV;function vYe(){if(MV)return XI;MV=1,XI=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return XI}var QI,LV;function _Ye(){if(LV)return QI;LV=1,QI=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return QI}var ZI,kV;function bYe(){if(kV)return ZI;kV=1;var e=XS();ZI=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.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 ZI}var JI,PV;function SYe(){if(PV)return JI;PV=1;var e=XS(),t=KS();JI=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return JI}var eO,$V;function EYe(){if($V)return eO;$V=1;var e=VP();eO=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return eO}var tO,FV;function yYe(){if(FV)return tO;FV=1,tO=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return tO}var nO,BV;function CYe(){if(BV)return nO;BV=1,nO=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return nO}var rO,UV;function TYe(){if(UV)return rO;UV=1,rO=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return rO}var aO,jV;function xYe(){if(jV)return aO;jV=1,aO=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return aO}var iO,zV;function RYe(){if(zV)return iO;zV=1,iO=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=r.concat(a,i);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return iO}var oO,HV;function wYe(){if(HV)return oO;HV=1,oO=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return oO}var sO,GV;function IYe(){if(GV)return sO;GV=1,sO=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.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}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return sO}var lO,VV;function OYe(){if(VV)return lO;VV=1,lO=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return lO}var cO,qV;function NYe(){if(qV)return cO;qV=1,cO=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.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:n.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:n.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:n.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:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,s=a.length;o",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:n.languages[l.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return cO}var uO,WV;function AYe(){if(WV)return uO;WV=1,uO=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return uO}var dO,YV;function DYe(){if(YV)return dO;YV=1,dO=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return dO}var pO,KV;function MYe(){if(KV)return pO;KV=1,pO=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return pO}var fO,XV;function LYe(){if(XV)return fO;XV=1;var e=WP();fO=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.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:[n.languages.haskell.operator[0],n.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]/]}),n.languages.purs=n.languages.purescript}return fO}var mO,QV;function kYe(){if(QV)return mO;QV=1,mO=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![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:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return mO}var gO,ZV;function PYe(){if(ZV)return gO;ZV=1,gO=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return gO}var hO,JV;function $Ye(){if(JV)return hO;JV=1,hO=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return hO}var vO,e7;function FYe(){if(e7)return vO;e7=1,vO=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return vO}var _O,t7;function BYe(){if(t7)return _O;t7=1,_O=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(g,h){return g.replace(/<<(\d+)>>/g,function(v,S){return"(?:"+h[+S]+")"})}function a(g,h,v){return RegExp(r(g,h),"")}function i(g,h){for(var v=0;v>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),p={keyword:l,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:p},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:p}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var m=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return _O}var bO,n7;function UYe(){if(n7)return bO;n7=1,bO=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return bO}var SO,r7;function jYe(){if(r7)return SO;r7=1;var e=QP();SO=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return SO}var EO,a7;function zYe(){if(a7)return EO;a7=1,EO=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return EO}var yO,i7;function HYe(){if(i7)return yO;i7=1,yO=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",l=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return CO}var TO,s7;function VYe(){if(s7)return TO;s7=1,TO=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return TO}var xO,l7;function qYe(){if(l7)return xO;l7=1,xO=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return xO}var RO,c7;function WYe(){if(c7)return RO;c7=1,RO=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return RO}var wO,u7;function YYe(){if(u7)return wO;u7=1,wO=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return wO}var IO,d7;function KYe(){if(d7)return IO;d7=1,IO=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(u,d){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in d)p[f]=d[f];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=a,p.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:p}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":s,documentation:o,property:l}),keywords:i("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:i("Tasks",{"task-name":s,documentation:o,property:l}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return IO}var OO,p7;function XYe(){if(p7)return OO;p7=1,OO=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return OO}var NO,f7;function QYe(){if(f7)return NO;f7=1,NO=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},l={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},p=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},h={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},v={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"},S={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},_=/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,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return _}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return _}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:f,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":i,punctuation:p,string:d}},y={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};n.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 r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":v,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:l,keyword:y,function:f,format:g,altformat:h,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:m},"macro-keyword":s,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":E,comment:u,function:f,format:g,altformat:h,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:l,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(t)}return NO}var AO,m7;function ZYe(){if(m7)return AO;m7=1,AO=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return AO}var DO,g7;function JYe(){if(g7)return DO;g7=1;var e=YP();DO=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.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*/}),n.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:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return DO}var MO,h7;function eKe(){if(h7)return MO;h7=1,MO=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return MO}var LO,v7;function tKe(){if(v7)return LO;v7=1;var e=Ure();LO=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.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 a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return LO}var kO,_7;function nKe(){if(_7)return kO;_7=1,kO=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return kO}var PO,b7;function rKe(){if(b7)return PO;b7=1,PO=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return PO}var $O,S7;function aKe(){if(S7)return $O;S7=1;var e=Qa();$O=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.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:r.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/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(d){return d===l&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return $O}var FO,E7;function iKe(){if(E7)return FO;E7=1,FO=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.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 r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return FO}var BO,y7;function oKe(){if(y7)return BO;y7=1,BO=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return BO}var UO,C7;function sKe(){if(C7)return UO;C7=1,UO=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return UO}var jO,T7;function lKe(){if(T7)return jO;T7=1;var e=Qa();jO=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(p){return p===u&&(d=!1),d?!1:(p===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return jO}var zO,x7;function Gre(){if(x7)return zO;x7=1,zO=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return zO}var HO,R7;function cKe(){if(R7)return HO;R7=1;var e=Gre();HO=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.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]}),n.languages.rq=n.languages.sparql}return HO}var GO,w7;function uKe(){if(w7)return GO;w7=1,GO=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return GO}var VO,I7;function dKe(){if(I7)return VO;I7=1,VO=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return VO}var qO,O7;function pKe(){if(O7)return qO;O7=1,qO=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return qO}var WO,N7;function fKe(){if(N7)return WO;N7=1,WO=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return WO}var YO,A7;function mKe(){if(A7)return YO;A7=1,YO=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return YO}var KO,D7;function gKe(){if(D7)return KO;D7=1,KO=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return KO}var XO,M7;function hKe(){if(M7)return XO;M7=1,XO=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return XO}var QO,L7;function ZP(){if(L7)return QO;L7=1,QO=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=n.languages[i],s="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return QO}var ZO,k7;function vKe(){if(k7)return ZO;k7=1;var e=ZP(),t=WS();ZO=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return ZO}var JO,P7;function Vre(){if(P7)return JO;P7=1;var e=jre();JO=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.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 JO}var eN,$7;function _Ke(){if($7)return eN;$7=1;var e=ZP(),t=Vre();eN=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return eN}var tN,F7;function qre(){if(F7)return tN;F7=1,tN=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.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}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(u,d){d=(d||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return u});return RegExp(p,d)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return tN}var nN,B7;function bKe(){if(B7)return nN;B7=1;var e=qre();nN=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.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:n.languages.yaml,alias:"language-yaml"}}}return nN}var rN,U7;function SKe(){if(U7)return rN;U7=1,rN=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return rN}var aN,j7;function EKe(){if(j7)return aN;j7=1,aN=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(f,m){return RegExp(f.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),m||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=l.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var p=l.table.inside;p.inline=u.inline,p.link=u.link,p.image=u.image,p.footnote=u.footnote,p.acronym=u.acronym,p.mark=u.mark})(t)}return aN}var iN,z7;function yKe(){if(z7)return iN;z7=1,iN=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return iN}var oN,H7;function CKe(){if(H7)return oN;H7=1,oN=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return oN}var sN,G7;function TKe(){if(G7)return sN;G7=1;var e=Hre(),t=KP();sN=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return sN}var lN,V7;function xKe(){if(V7)return lN;V7=1;var e=Qa();lN=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.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:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.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 r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return lN}var cN,q7;function RKe(){if(q7)return cN;q7=1;var e=Qa();cN=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.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:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return cN}var uN,W7;function wKe(){if(W7)return uN;W7=1,uN=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.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:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return uN}var dN,Y7;function IKe(){if(Y7)return dN;Y7=1,dN=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return dN}var pN,K7;function OKe(){if(K7)return pN;K7=1,pN=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return pN}var fN,X7;function NKe(){if(X7)return fN;X7=1,fN=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return fN}var mN,Q7;function AKe(){if(Q7)return mN;Q7=1,mN=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.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+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return mN}var gN,Z7;function DKe(){if(Z7)return gN;Z7=1,gN=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return gN}var hN,J7;function MKe(){if(J7)return hN;J7=1,hN=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return hN}var vN,e9;function LKe(){if(e9)return vN;e9=1,vN=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return vN}var _N,t9;function kKe(){if(t9)return _N;t9=1,_N=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return _N}var bN,n9;function PKe(){if(n9)return bN;n9=1,bN=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return bN}var SN,r9;function $Ke(){if(r9)return SN;r9=1,SN=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return SN}var EN,a9;function FKe(){if(a9)return EN;a9=1,EN=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return EN}var yN,i9;function BKe(){if(i9)return yN;i9=1,yN=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return yN}var CN,o9;function UKe(){if(o9)return CN;o9=1,CN=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return CN}var TN,s9;function jKe(){if(s9)return TN;s9=1,TN=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return TN}var xN,l9;function zKe(){if(l9)return xN;l9=1,xN=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return xN}var RN,c9;function HKe(){if(c9)return RN;c9=1,RN=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return RN}var wN,u9;function GKe(){if(u9)return wN;u9=1,wN=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.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"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return wN}var IN,d9;function VKe(){if(d9)return IN;d9=1,IN=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,l){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":l})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return IN}var ON,p9;function qKe(){if(p9)return ON;p9=1,ON=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return ON}var NN,f9;function WKe(){if(f9)return NN;f9=1,NN=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.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:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:r(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!i[s+1]||i[s+1].type!=="punctuation"||i[s+1].content!=="{")&&(!i[s-1]||i[s-1].type!=="plain-text"||i[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var d=r(l);s0&&(typeof i[s-1]=="string"||i[s-1].type==="plain-text")&&(d=r(i[s-1])+d,i.splice(s-1,1),s--),/^\s+$/.test(d)?i[s]=d:i[s]=new n.Token("plain-text",d,null,d)}l.content&&typeof l.content!="string"&&a(l.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return NN}var AN,m9;function YKe(){if(m9)return AN;m9=1,AN=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return AN}var DN,g9;function KKe(){if(g9)return DN;g9=1,DN=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(d){return function(){return d}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),l=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";n.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,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=n.languages.zig)})})(t)}return DN}var he=r9e,XKe=he;he.register(m9e());he.register(g9e());he.register(h9e());he.register(v9e());he.register(_9e());he.register(b9e());he.register(S9e());he.register(E9e());he.register(y9e());he.register(C9e());he.register(T9e());he.register(x9e());he.register(R9e());he.register(w9e());he.register(I9e());he.register(O9e());he.register(N9e());he.register(A9e());he.register(D9e());he.register(M9e());he.register(L9e());he.register(k9e());he.register(Ure());he.register(jre());he.register(P9e());he.register($9e());he.register(F9e());he.register(B9e());he.register(U9e());he.register(j9e());he.register(z9e());he.register(H9e());he.register(G9e());he.register(V9e());he.register(Zc());he.register(q9e());he.register(W9e());he.register(Y9e());he.register(K9e());he.register(X9e());he.register(Q9e());he.register(Z9e());he.register(J9e());he.register(eqe());he.register(qP());he.register(tqe());he.register(WS());he.register(nqe());he.register(rqe());he.register(aqe());he.register(iqe());he.register(oqe());he.register(sqe());he.register(lqe());he.register(cqe());he.register(uqe());he.register(dqe());he.register(pqe());he.register(fqe());he.register(mqe());he.register(gqe());he.register(hqe());he.register(vqe());he.register(_qe());he.register(bqe());he.register(Sqe());he.register(Eqe());he.register(yqe());he.register(Cqe());he.register(Tqe());he.register(xqe());he.register(Rqe());he.register(wqe());he.register(Iqe());he.register(Oqe());he.register(Nqe());he.register(Aqe());he.register(Dqe());he.register(Mqe());he.register(Lqe());he.register(kqe());he.register(Pqe());he.register($qe());he.register(Fqe());he.register(Bqe());he.register(Uqe());he.register(jqe());he.register(zqe());he.register(Hqe());he.register(Gqe());he.register(Vqe());he.register(qqe());he.register(Wqe());he.register(Yqe());he.register(WP());he.register(Kqe());he.register(Xqe());he.register(Qqe());he.register(Zqe());he.register(Jqe());he.register(eWe());he.register(tWe());he.register(nWe());he.register(rWe());he.register(aWe());he.register(iWe());he.register(oWe());he.register(sWe());he.register(lWe());he.register(cWe());he.register(uWe());he.register(dWe());he.register(YP());he.register(pWe());he.register(KS());he.register(fWe());he.register(mWe());he.register(gWe());he.register(hWe());he.register(vWe());he.register(_We());he.register(bWe());he.register(XP());he.register(SWe());he.register(EWe());he.register(yWe());he.register(Hre());he.register(CWe());he.register(TWe());he.register(xWe());he.register(RWe());he.register(wWe());he.register(IWe());he.register(OWe());he.register(NWe());he.register(AWe());he.register(DWe());he.register(MWe());he.register(LWe());he.register(kWe());he.register(PWe());he.register($We());he.register(FWe());he.register(zre());he.register(BWe());he.register(UWe());he.register(jWe());he.register(Qa());he.register(zWe());he.register(HWe());he.register(GWe());he.register(VWe());he.register(qWe());he.register(WWe());he.register(YWe());he.register(KWe());he.register(XWe());he.register(QWe());he.register(ZWe());he.register(JWe());he.register(eYe());he.register(tYe());he.register(nYe());he.register(rYe());he.register(aYe());he.register(iYe());he.register(oYe());he.register(sYe());he.register(lYe());he.register(cYe());he.register(uYe());he.register(dYe());he.register(pYe());he.register(fYe());he.register(mYe());he.register(gYe());he.register(hYe());he.register(vYe());he.register(_Ye());he.register(bYe());he.register(XS());he.register(SYe());he.register(EYe());he.register(yYe());he.register(CYe());he.register(TYe());he.register(xYe());he.register(RYe());he.register(wYe());he.register(IYe());he.register(OYe());he.register(NYe());he.register(AYe());he.register(DYe());he.register(MYe());he.register(LYe());he.register(kYe());he.register(PYe());he.register($Ye());he.register(FYe());he.register(BYe());he.register(UYe());he.register(jYe());he.register(zYe());he.register(HYe());he.register(GYe());he.register(VYe());he.register(qYe());he.register(WYe());he.register(YYe());he.register(KYe());he.register(YS());he.register(XYe());he.register(QYe());he.register(ZYe());he.register(JYe());he.register(QP());he.register(eKe());he.register(tKe());he.register(nKe());he.register(rKe());he.register(aKe());he.register(iKe());he.register(oKe());he.register(sKe());he.register(lKe());he.register(cKe());he.register(uKe());he.register(dKe());he.register(VP());he.register(pKe());he.register(fKe());he.register(mKe());he.register(gKe());he.register(hKe());he.register(vKe());he.register(ZP());he.register(_Ke());he.register(bKe());he.register(SKe());he.register(EKe());he.register(yKe());he.register(CKe());he.register(TKe());he.register(xKe());he.register(Gre());he.register(RKe());he.register(KP());he.register(wKe());he.register(IKe());he.register(OKe());he.register(NKe());he.register(AKe());he.register(DKe());he.register(Vre());he.register(MKe());he.register(LKe());he.register(kKe());he.register(PKe());he.register($Ke());he.register(FKe());he.register(BKe());he.register(UKe());he.register(jKe());he.register(zKe());he.register(HKe());he.register(GKe());he.register(VKe());he.register(qKe());he.register(WKe());he.register(qre());he.register(YKe());he.register(KKe());const QKe=xa(XKe);var Sl=ore(QKe,f9e);Sl.supportedLanguages=Yze;const El={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},yl={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{Paragraph:h9,Text:ZKe}=wn,JKe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=c.useRef(null),[a,i]=c.useState(!1),o=f=>{let m="";for(let g=0;g=32&&v<=126?m+=String.fromCharCode(v):m+="."}return m},s=f=>{let m="";for(let v=0;v=h&&(g=g-2*h),g},l={"15-15452":f=>{if(f.length===16){const m=f.slice(8)+f.slice(0,8);n(g=>[...g,`UnknownTag | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"15-16065":f=>{if(f.length===16){const m=f.slice(8)+f.slice(0,8);n(g=>[...g,`KnownTag | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15427":f=>{if(f.length===8){const m=s(f);n(g=>[...g,`UpsideState | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15426":f=>{if(f.length===8){const m=s(f);n(g=>[...g,`UprightState | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)}};c.useEffect(()=>{if(a){const f=new EventSource("/api/sse");return f.onopen=()=>{console.log("Connection established.")},f.addEventListener("keep-alive",m=>{console.log("keep-alive event received:",m)}),f.addEventListener("pressed",m=>{const g=JSON.parse(m.data);n(h=>[...h,"Pressed: "+g.data])}),f.addEventListener("rtnl-raw-log2",m=>{const g=JSON.parse(m.data),h=`${"Raw2 | #"+g.data.sequence+" Uptime: "+g.data.uptime+" Func: "+g.data.function_group.toString().padStart(2," ")+"-"+g.data.function+" Payload: '"+g.data.field6+"' ASCII: '"+o(g.data.field6)+"'"}`;n(S=>[...S,h]);const v=`${g.data.function_group.toString().padStart(2," ")}-${g.data.function}`;l[v]&&l[v](g.data.field6)}),f.addEventListener("rtnl-raw-log3",m=>{const g=JSON.parse(m.data);n(h=>[...h,"Raw3 | Datetime: "+g.data.datetime+" Unknown: "+g.data.field2])}),f.onerror=m=>{console.error("EventSource failed:",m)},()=>{console.log("Connection closed."),f.close()}}else return},[a]),c.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=f=>{i(f)},d=()=>{n([])};function p(){const f=window.matchMedia("(prefers-color-scheme: dark)").matches,m=localStorage.getItem("theme");return m==="auto"?f?"dark":"light":m}return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.rtnl.title")}),b.jsxs(h9,{style:{margin:"8px 0"},children:[b.jsxs(h9,{children:[b.jsx($a,{checked:a,onChange:u,style:{marginRight:8}}),b.jsx(ZKe,{children:e("settings.rtnl.enableRtnl")})]}),b.jsx(Qr,{children:e("settings.rtnl.title")}),b.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:p()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:b.jsx(Sl,{language:"log",style:p()==="dark"?El:yl,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` -`)})}),b.jsx(Rt,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},v9=new xn(vn()),Wre=({overlay:e})=>{const{t}=$t(),n=async a=>{const i=new FormData;i.append("file",a);const o={filename:[i.get("file")]},s=async()=>{await v9.apiTriggerWriteConfigGet()};(async u=>{try{await v9.apiUploadCertPost(u,e);try{s()}catch{Qe.error("Error while saving config to file.")}Qe.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{Qe.error(t("settings.certificates.uploadFailed",{filename:a.name}))}})(o)},r={name:"file",multiple:!0,customRequest:async a=>{const{onSuccess:i,onError:o,file:s}=a;try{await n(s),i("Ok")}catch(l){o(l)}},onChange(a){const{status:i}=a.file;i!=="uploading"&&console.log(a.file,a.fileList)},onDrop(a){console.log("Dropped files",a.dataTransfer.files)}};return b.jsxs(bg.Dragger,{...r,children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),b.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},eXe=()=>{const{t:e}=$t(),{Paragraph:t}=wn;return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.certificates.title")}),b.jsx(t,{children:b.jsx(Xn,{message:e("settings.certificates.information"),description:b.jsxs("div",{children:[e("settings.certificates.hint")," ",b.jsx(wt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),b.jsx(t,{children:b.jsx(Wre,{})})]})]})]})},Cl=()=>{const{t:e}=$t(),t=[{key:"home",label:b.jsx(wt,{to:"/",children:e("home.navigationTitle")}),icon:ce.createElement(e1e),title:e("home.navigationTitle")},{key:"features",label:b.jsx(wt,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:ce.createElement(eNe),title:e("home.features.navigationTitle")},{key:"statistics",label:b.jsx(wt,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:ce.createElement(xD),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:b.jsx(wt,{to:"/home/tonieMeeting"})}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},kd=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:i="",open:o,handleOk:s,handleCancel:l})=>{const{t:u}=$t();return b.jsxs(Sn,{title:b.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[b.jsx(zee,{style:{fontSize:36,color:"orange",margin:16}}),b.jsx("div",{style:{marginBottom:16},children:e})]}),open:o,onOk:s,onCancel:l,okText:t,cancelText:n,className:"warning",children:[b.jsx("div",{style:{marginBottom:24},children:r}),a&&b.jsx("div",{children:b.jsx(Xn,{type:"warning",showIcon:!0,message:i||u("confirmDialog.contentHintTitle"),description:a})})]})},tXe=new xn(vn()),{Text:nXe}=wn,JP=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:i,overlay:o,onHide:s})=>{const{t:l}=$t(),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState(""),[h,v]=c.useState([]);c.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&E!==y||n.sourceInfo.picture===n.tonieInfo.picture&&E!==y||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(f(!0),g(n.sourceInfo.picture),v(n.sourceInfo.tracks))},[n,e]);const S=i&&"ruid"in n?i.filter(([M])=>M===n.ruid).map(([,M,N])=>({ruidTime:M,boxName:N})):null,_=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),E=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),y="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",C=p?y:E,T=()=>{d(!0)},x=()=>{w(),d(!1)},R=()=>{d(!1)},w=async()=>{if(s&&"ruid"in n&&n.ruid)try{await tXe.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),Qe.success(l("tonies.messages.hideTonieSuccessful")),s(n.ruid)}catch(M){Qe.error(l("tonies.messages.hideTonieFailed")+M)}},I=b.jsx(kd,{title:l("tonies.confirmHideModal.title"),open:u,okText:l("tonies.confirmHideModal.hide"),cancelText:l("tonies.confirmHideModal.cancel"),content:l("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:_||("uid"in n?n.uid:"")}),handleOk:x,handleCancel:R}),O=b.jsx(b.Fragment,{children:b.jsxs("h3",{children:[C||l("tonies.informationModal.unknownModel"),b.jsx("br",{}),"uid"in n&&n.uid?b.jsx(nXe,{type:"secondary",children:n.uid}):""]})}),k=b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[b.jsx("div",{children:"ruid"in n&&n.ruid?a?"":b.jsx(Rt,{onClick:T,children:l("tonies.informationModal.hideTag")}):""}),b.jsx(Rt,{type:"primary",onClick:t,children:l("tonies.informationModal.ok")})]});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{title:O,footer:k,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[b.jsxs("div",{style:{position:"relative"},children:[b.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),p?b.jsx(Jt,{title:`${y}`?l("tonies.alternativeSource",{originalTonie:'"'+E+'"',assignedContent:'"'+y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+E+'"'}).replace(' "" '," "),placement:"bottom",children:b.jsx("img",{src:m,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),S&&S.length>0?b.jsxs(b.Fragment,{children:[b.jsxs("strong",{children:[l("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),b.jsx("ul",{children:S.map(({ruidTime:M,boxName:N},A)=>b.jsxs("li",{children:[N,M?" ("+M+")":""]},A))})]}):b.jsx(b.Fragment,{}),b.jsxs("div",{children:["valid"in n?b.jsxs("p",{children:[b.jsx("strong",{children:l("tonies.infoModal.valid")})," ",n.valid?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"","exists"in n?b.jsxs("p",{children:[b.jsx("strong",{children:l("tonies.infoModal.exists")})," ",n.exists?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"",p?h&&h.length>0?b.jsxs(b.Fragment,{children:[b.jsx("strong",{children:l("tonies.infoModal.tracklist")}),b.jsx("ol",{children:h.map((M,N)=>b.jsx("li",{children:M},N))})]}):b.jsx(b.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?b.jsxs(b.Fragment,{children:[b.jsx("strong",{children:l("tonies.infoModal.tracklist")}),b.jsx("ol",{children:n.tonieInfo.tracks.map((M,N)=>b.jsx("li",{children:M},N))})]}):b.jsx(b.Fragment,{})]})]}),I]})},e2=[".mp3",".aac",".m4a",".wav",".flac",".ogg",".opus",".aiff",".aif",".wma",".ac3",".dts",".taf"];function Vu(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&i{const{t:l}=$t(),{playAudio:u}=CS(),{token:d}=aXe(),p=Vo(),f=lP(),m=c.useRef(null),g=c.useRef(null),[h,v]=c.useState([]),[S,_]=c.useState(""),[E,y]=c.useState(!1),[C,T]=c.useState([]),[x,R]=c.useState(!1),[w,I]=c.useState(),[O,k]=c.useState(""),[P,M]=c.useState(!1);c.useEffect(()=>{T([])},[]),c.useEffect(()=>{if(n){const V=new URLSearchParams(p.search);V.set("path",""),_("");const H=`${window.location.pathname}?${V.toString()}`;window.history.replaceState(null,"",H),y(q=>!q)}},[n]),c.useEffect(()=>{rXe.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${S}&special=${e}`+(n?`&overlay=${n}`:"")).then(V=>V.json()).then(V=>{var H=V.files;i&&(H=H.filter(q=>q.isDir)),t.length>0&&(H=H.filter(q=>q.isDir||t.some(K=>q.name.endsWith(K)))),v(H)})},[S,e,i,E]),c.useEffect(()=>{g.current!==null&&m.current&&m.current.setSelectionRange(g.current,g.current)},[O]);const N=V=>{var H;!V.isDir&&((H=V.tonieInfo)!=null&&H.tracks)&&(I(V),R(!0))},A=V=>{a&&f(`?path=${V}`),S===V&&y(H=>!H),M(!1),_(V)},D=(V,H)=>{const q=V.split("/").filter(Z=>Z),K=[{title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(""),children:l("fileBrowser.root")}),key:"/"}];return q.forEach((Z,te)=>{const se=`/${q.slice(0,te+1).join("/")}`;K.push({title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(se),children:Z}),key:se})}),b.jsx(Zd,{items:K})},L=V=>{k(V.target.value),g.current=V.target.selectionStart,M(!0)},$=()=>{k(""),g.current=0},F=()=>{M(!0)},B=()=>{M(!1)},z=V=>C.includes(V.key)?"highlight-row":"",U=V=>{if(r>0){if(t){const q=V.length;V=V.filter(K=>{const Z=h.find(te=>te.name===K);return Z&&Z.tafHeader!==void 0||Z&&t.some(te=>Z.name.toLowerCase().endsWith(te))}),q!==V.length&&Qe.warning(l("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}))}V.length>r?Qe.warning(l("fileBrowser.maxSelectedRows",{maxSelectedRows:r})):T(V)}else T(V);const H=(h==null?void 0:h.filter(q=>V.includes(q.name)))||[];s!==void 0&&s(H,S,e)},j=V=>{const H=V===".."?S.split("/").slice(0,-1).join("/"):`${S}/${V}`;a&&f(`?path=${H}`),M(!1),T([]),_(H)},G=(V,H)=>H.reduce((q,K)=>{if(q&&q[K]!==void 0)return q[K]},V),J=(V,H,q)=>{const K=Array.isArray(q)?G(V,q):V[q],Z=Array.isArray(q)?G(H,q):H[q];return K===void 0&&Z===void 0?0:K===void 0?1:Z===void 0?-1:typeof K=="string"&&typeof Z=="string"?K.localeCompare(Z):typeof K=="number"&&typeof Z=="number"?K-Z:(console.log("Unsupported types for sorting:",V,H),console.log("Unsupported types for sorting field:",q,K,Z),0)},Y=(V,H)=>V.isDir===H.isDir?J(V,H,"name"):V.isDir?-1:1;var X=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(V,H)=>{var q,K;return H&&((q=H.tonieInfo)!=null&&q.picture)?b.jsx("img",{src:H.tonieInfo.picture,alt:l("tonies.content.toniePicture"),onClick:()=>N(H),style:{width:100,cursor:!H.isDir&&((K=H==null?void 0:H.tonieInfo)!=null&&K.tracks)?"help":"default"}},`picture-${H.name}`):b.jsx(b.Fragment,{})},showOnDirOnly:!1},{title:l("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Y,defaultSortOrder:"ascend",render:(V,H)=>{var q,K,Z,te,se;return H&&b.jsxs("div",{children:[b.jsxs("div",{className:"showSmallDevicesOnly",children:[b.jsx("div",{children:b.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})}),b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),b.jsx("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),b.jsx("div",{className:"showMediumDevicesOnly",children:b.jsx("div",{children:b.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})})}),b.jsx("div",{className:"showBigDevicesOnly",children:H.isDir?"["+H.name+"]":H.name})]},`name-${H.name}`)},filteredValue:[O],onFilter:(V,H)=>{var K,Z,te,se;const q=V.toLowerCase();return H.name===".."||H.name.toLowerCase().includes(q)||!H.isDir&&"tafHeader"in H&&H.tafHeader.size&&Vu(H.tafHeader.size).toString().includes(q)||"tafHeader"in H&&((K=H.tafHeader.audioId)==null?void 0:K.toString().includes(q))||"tonieInfo"in H&&((Z=H.tonieInfo)==null?void 0:Z.model.toLowerCase().includes(q))||"tonieInfo"in H&&((te=H.tonieInfo)==null?void 0:te.series.toLowerCase().includes(q))||"tonieInfo"in H&&((se=H.tonieInfo)==null?void 0:se.episode.toLowerCase().includes(q))},showOnDirOnly:!0},{title:l("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model},`model-${H.name}`)}},{title:b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[l("fileBrowser.model"),"/",l("fileBrowser.series"),"/",l("fileBrowser.episode")]}),b.jsx("div",{className:"showBigDevicesOnly",children:l("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(V,H)=>{var q,K,Z,te,se,ue,me;return b.jsxs("div",{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),b.jsx("div",{style:{wordBreak:"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),b.jsx("div",{className:"showBigDevicesOnly",children:(ue=H.tonieInfo)!=null&&ue.series?(me=H.tonieInfo)==null?void 0:me.series:""})]},`series-${H.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:l("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.episode},`episode-${H.name}`)}},{title:b.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:l("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(V,H)=>{let q=[];return H.tafHeader?q.push(b.jsx(Jt,{title:l("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)):iXe.some(K=>H.name.endsWith(K))&&q.push(b.jsx(Jt,{title:l("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)),q},showOnDirOnly:!1}];return X.forEach(V=>{V.hasOwnProperty("sorter")||(V.sorter=(H,q)=>J(H,q,V.dataIndex))}),i&&(X=X.filter(V=>V.showOnDirOnly)),o&&(X=X.filter(V=>typeof V.key=="string"?o.includes(V.key):!1)),b.jsxs(b.Fragment,{children:[w?b.jsx(JP,{open:x,tonieCardOrTAFRecord:w,onClose:()=>R(!1),overlay:n}):"",b.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:b.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[b.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:l("tonies.currentPath")}),D(S,A)]})}),b.jsx(Wa,{dataSource:h,columns:X,rowKey:V=>V.name,pagination:!1,onRow:V=>({onDoubleClick:()=>{if(V.isDir)j(V.name);else{const H=C.includes(V.name)?C.filter(q=>q!==V.name):[...C,V.name];U(H)}}}),rowClassName:z,rowSelection:r>0?{selectedRowKeys:C,onChange:U}:{selectedRowKeys:C,onChange:U,getCheckboxProps:V=>({disabled:V.name===".."}),onSelectAll:(V,H)=>{const q=V?H.filter(K=>K.name!=="..").map(K=>K.name):[];T(q)}},components:{header:{wrapper:V=>b.jsx("thead",{...V}),row:V=>b.jsxs(b.Fragment,{children:[b.jsx("tr",{...V}),b.jsx("tr",{children:b.jsx("th",{style:{padding:"10px 8px"},colSpan:X.length+1,children:b.jsx(en,{placeholder:l("fileBrowser.filter"),value:O,onChange:L,onFocus:F,onBlur:B,ref:m,style:{width:"100%"},autoFocus:P,addonAfter:b.jsx(na,{onClick:$,disabled:O.length===0,style:{color:O.length===0?d.colorTextDisabled:d.colorText,cursor:O.length===0?"default":"pointer"}})})})})]}),cell:V=>b.jsx("th",{...V,style:{position:"sticky",top:0,zIndex:20}})}}})]})},oXe=new xn(vn()),Yre=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:i,hash:o})=>{const{t:s}=$t(),[l]=Xt.useForm();c.useEffect(()=>{e&&f(),e&&a&&l.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,l]);const u=async C=>{if(C.tracks&&(C.tracks=C.tracks.filter(T=>T.track&&T.track.trim()).map(T=>T.track)),C.audio_id){C.audio_id=C.audio_id.filter(R=>R.audio_id&&R.audio_id.trim()&&R.hash&&R.hash.trim());const T=C.audio_id.map(R=>R.audio_id),x=C.audio_id.map(R=>R.hash);C={no:C.no,model:C.model,audio_id:T,hash:x,title:C.title,series:C.series,episodes:C.episodes,tracks:C.tracks,release:C.release,language:C.language,category:C.category,pic:C.pic}}g(C),v(!0);try{await oXe.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(C),void 0,void 0,{"Content-Type":"application/json"}),C.article&&n&&(n(C.article),r.onChange(C.article)),f(),Qe.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(T){Qe.error(s("tonies.addNewCustomTonieModal.failedToCreate")+T)}},d=()=>{l.submit()},p=()=>{f(),t()},f=()=>{l.resetFields(),l.setFieldsValue({audio_id:[{audio_id:i||"",hash:o||""}],tracks:[{track:""}]})},[m,g]=c.useState(""),[h,v]=c.useState(!1),S=b.jsx(Rt,{type:"primary",onClick:()=>_(),children:s("tonies.informationModal.ok")}),_=()=>{v(!1),p()};function E(){const C=window.matchMedia("(prefers-color-scheme: dark)").matches,T=localStorage.getItem("theme");return T==="auto"?C?"dark":"light":T}const y=b.jsx(Sn,{footer:S,width:700,title:"File (you can copy the content to the tonies.custom.json)",open:h,onCancel:_,children:m?b.jsxs(b.Fragment,{children:[b.jsx(Sl,{language:"json",style:E()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,2)},"json-readable"),b.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),b.jsx(Sl,{language:"json",style:E()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,0)},"json-minimized")]}):"Loading..."});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:p,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[b.jsx(Xn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),b.jsx(Xt,{form:l,layout:"vertical",onFinish:u,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:b.jsx(en,{style:{width:"100%"}})},"series")}),b.jsx(Rn,{span:10,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:b.jsx(en,{style:{width:"100%"}})},"episodes")}),b.jsx(Rn,{span:6,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:b.jsx(en,{style:{width:"100%"}})},"language")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:b.jsx(en,{style:{width:"100%"}})},"model")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:b.jsx(en,{style:{width:"100%"}})},"pic")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:b.jsx(en,{style:{width:"100%"}})},"no")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:b.jsx(en,{style:{width:"100%"}})},"title")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:b.jsx(en,{style:{width:"100%"}})},"release")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:b.jsx(en,{style:{width:"100%"}})},"category")})]})}),b.jsx(Rn,{span:24,children:b.jsx(Oa,{gutter:[16,0],children:b.jsx(Rn,{span:24,children:b.jsx(Xt.List,{name:"audio_id",children:(C,{add:T,remove:x})=>b.jsxs(b.Fragment,{children:[C.map(({key:R,name:w,...I},O)=>b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:c.createElement(Xt.Item,{...I,key:`audio-id-${R}`,name:[w,"audio_id"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${R}`)},b.jsx(en,{style:{width:"100%"}}))}),b.jsx(Rn,{span:16,children:c.createElement(Xt.Item,{...I,key:`hash-${R}`,name:[w,"hash"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${R}`)},b.jsx(en,{style:{width:"100%"},addonAfter:b.jsx(Rt,{type:"link",onClick:()=>x(w),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${R}`)}))})]},`audio-id-hash-row-${R}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>T(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),b.jsx(Rn,{span:24,children:b.jsx(Xt.List,{name:"tracks",children:(C,{add:T,remove:x})=>b.jsxs(b.Fragment,{children:[C.map(({key:R,name:w,...I},O)=>b.jsx(Oa,{gutter:[16,0],children:b.jsx(Rn,{span:24,children:c.createElement(Xt.Item,{...I,key:`track-${R}`,name:[w,"track"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${R}`)},b.jsx(en,{style:{width:"100%"},addonAfter:b.jsx(Rt,{type:"link",onClick:()=>x(w),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${R}`)},"input-track-"+R))})},`track-row-${R}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>T(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),y]})},sXe=new xn(vn()),lXe=e=>{const{t}=$t();Qe.useMessage();const[n,r]=c.useState([]),[a,i]=c.useState(),[o,s]=c.useState(),[l,u]=c.useState(!1),d=async m=>{const g=encodeURIComponent(m),h="/api/toniesJsonSearch?searchModel="+g+"&searchSeries="+g+"&searchEpisode="+g;try{const S=await(await sXe.apiGetTeddyCloudApiRaw(h)).json();s(S);const _=S.map(E=>({value:E.model,text:"["+E.model+"] "+E.series+" - "+E.episode,picture:E.picture}));r(_)}catch(v){Qe.error(t("tonieArticleSearch.failedToFetchSearchResults")+v);return}},p=m=>{i(m),e.onChange(m)},f=()=>{u(!0)};return b.jsxs(b.Fragment,{children:[b.jsx($r,{showSearch:!0,value:a,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:d,onChange:p,notFoundContent:null,options:(n||[]).map(m=>({value:m.value,label:b.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[b.jsx("img",{src:m.picture,alt:m.text,style:{display:"none"}}),m.text]})})),style:{marginTop:"8px"}}),b.jsx(Yre,{open:l,props:e,setValue:i,onClose:()=>u(!1)}),b.jsx(Jt,{title:t("tonies.addNewCustomTonieHint"),children:b.jsx(Rt,{onClick:f,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},cXe=({countryCode:e,height:t})=>{switch(e){case"de-de":return b.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[b.jsx("path",{d:"M0 0h100v20H0z"}),b.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),b.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[b.jsxs("g",{fill:"#FFF",children:[b.jsx("path",{d:"M0 0h100v66.53H0z"}),b.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),b.jsx("path",{d:"M76.764 44.834 100 57.642V44.834zm-16.004 0L100 66.53v-6.141L71.988 44.834zM89.396 66.53 60.741 50.604V66.53zM17.602 44.834 0 54.62v-9.786zm21.442 2.768V66.55H4.971zM23.041 21.696 0 8.889v12.807zm16.004 0L0 0v6.141l28.012 15.556zM10.409 0l28.655 15.926V0zm71.793 21.696L100 11.911v9.786zM60.76 18.928V0h34.093z",fill:"#0052B4"}),b.jsxs("g",{fill:"#D80027",children:[b.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),b.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zm-32.748 0L0 60.41v6.14l39.045-21.715zm11.033-23.139L0 0v6.141l28.012 15.556zm32.748 0L100 6.141V0L60.76 21.696z"})]})]});case"en-us":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),b.jsx("path",{d:"M0 0h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.273h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.129H0z",fill:"#D80027"}),b.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),b.jsx("path",{d:"m9.318 27.076-.78-2.495-.858 2.495H5.107l2.086 1.501-.78 2.495 2.125-1.54 2.066 1.54-.799-2.495 2.125-1.501zm10.975 0-.799-2.495-.819 2.495h-2.574l2.086 1.501-.78 2.495 2.086-1.54 2.105 1.54-.78-2.495 2.086-1.501zm11.014 0-.838-2.495-.78 2.495h-2.632l2.144 1.501-.819 2.495 2.086-1.54 2.144 1.54-.819-2.495 2.086-1.501zm10.955 0-.78-2.495-.819 2.495H38.07l2.105 1.501-.78 2.495 2.086-1.54 2.105 1.54-.838-2.495 2.144-1.501zM19.493 14.678l-.819 2.495h-2.573l2.086 1.54-.78 2.456 2.086-1.52 2.105 1.52-.78-2.456 2.086-1.54h-2.612zm-10.955 0-.858 2.495H5.107l2.086 1.54-.78 2.456 2.125-1.52 2.066 1.52-.799-2.456 2.125-1.54H9.318zm21.93 0-.78 2.495h-2.632l2.144 1.54-.819 2.456 2.086-1.52 2.144 1.52-.819-2.456 2.086-1.54h-2.573zm11.014 0-.819 2.495H38.07l2.105 1.54-.78 2.456 2.086-1.52 2.105 1.52-.838-2.456 2.144-1.54H42.26zM8.539 4.814 7.681 7.27H5.107l2.086 1.54-.78 2.476 2.125-1.539 2.066 1.54-.799-2.476 2.125-1.54H9.318zm10.955 0-.819 2.456h-2.574l2.086 1.54-.78 2.476 2.086-1.539 2.105 1.54-.78-2.476 2.086-1.54h-2.612zm10.975 0-.78 2.456h-2.632l2.144 1.54-.819 2.476 2.086-1.54 2.144 1.54-.819-2.476 2.086-1.54h-2.573zm11.014 0-.819 2.456h-2.593l2.105 1.54-.78 2.476 2.086-1.54 2.105 1.54-.838-2.476 2.144-1.54h-2.632z",fill:"#FFF"})]});case"fr-fr":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),b.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),b.jsx("path",{d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),b.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),b.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[b.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),b.jsx("path",{fill:"#6DA544",points:"196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 ",d:"M38.406 16.667L38.406 51.087L38.406 83.333L0 83.333L0 16.667Z"}),b.jsx("path",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64",d:"M50.906 50A12.5 12.5 0 0 1 38.406 62.5A12.5 12.5 0 0 1 25.906 50A12.5 12.5 0 0 1 50.906 50z"}),b.jsx("path",{fill:"#D80027",d:"M31.375 43.75v7.813c0 3.883 3.148 7.031 7.031 7.031s7.031 -3.148 7.031 -7.031V43.75z"}),b.jsx("path",{fill:"#FFFFFF",d:"M38.406 53.906c-1.292 0 -2.344 -1.051 -2.344 -2.344v-3.125h4.688v3.125c0 1.292 -1.052 2.344 -2.344 2.344"})]});case"it-it":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),b.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return b.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),b.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),b.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),b.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),b.jsx("path",{fill:"#A41517",d:"M32 37.778c0 1.333 1.333 2.222 2.667 2.222s2.667 -0.889 2.667 -2.222L37.778 31.111H31.556zM29.333 31.111c0 -1.333 0.889 -2.222 1.778 -2.222h6.667c1.333 0 2.222 0.889 2.222 1.778V31.111l-0.444 6.667c-0.444 2.667 -2.222 4.444 -4.889 4.444s-4.444 -1.778 -4.889 -4.444z"}),b.jsx("path",{fill:"#A41517",d:"M30.222 33.333h8.889V35.556h-2.222l-2.222 4.444 -2.222 -4.444h-2.222zM23.556 26.667h4.444v15.556h-4.444zm17.778 0h4.444v15.556h-4.444zm-11.111 -2.222c0 -1.333 0.889 -2.222 2.222 -2.222h4.444c1.333 0 2.222 0.889 2.222 2.222v0.889q0 1.333 -1.333 1.333H31.111c-0.444 0 -0.889 -0.444 -0.889 -0.889z"})]});case"pl-pl":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[b.jsxs("g",{children:[b.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),b.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),b.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[b.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),b.jsx("path",{fill:"#FFFFFF",d:"m6958.333 0 2261.333-734.667-1397.667 1923.5v-2377.666l1397.667 1923.5zM7112.5 1336.833a2500 2500 0 1 1 0-2673.667 2000 2000 0 1 0 0 2673.667"})]});default:return null}},MN=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],uXe=e=>{const{t}=$t(),[n,r]=Qe.useMessage(),[a,i]=c.useState([]),[o,s]=c.useState(),[l,u]=c.useState(!1),d="https://de1.api.radio-browser.info/json/";c.useEffect(()=>{(async()=>{try{(await fetch(d+"stats")).ok&&u(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),u(!1)}})()},[]);const p=(v,S)=>{let _;return(...E)=>{clearTimeout(_),_=setTimeout(()=>v.apply(void 0,E),S)}},f=async v=>{if(i([]),v==="")return;const S=encodeURIComponent(v),_=d+"stations/search?name="+S+"&is_https=true&hidebroken=true";try{const E=await fetch(_,{});if(!E.ok)throw new Error(E.status+" "+E.statusText);const y=await E.json(),C=Array.from(new Set(y.map(T=>T.url))).map(T=>{const x=y.find(R=>R.url===T);return{value:x.url,text:(x.country?"["+x.country+"] ":"")+x.name+(x.language?" ("+x.language+")":"")}});i(C)}catch(E){Qe.error(t("radioStreamSearch.failedToFetchSearchResults")+E);return}},m=c.useCallback(p(f,300),[]),g=v=>{s(v),e.onChange(v)};return l?b.jsxs(b.Fragment,{children:[b.jsx(wn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,b.jsx($r,{showSearch:!0,style:{margin:"8px 0"},value:o,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:m,onChange:g,notFoundContent:null,options:(a||[]).map(v=>({value:v.value,label:v.text}))})]}):b.jsx(b.Fragment,{})},hu=new xn(vn()),{Meta:dXe}=tp,{Text:_9}=wn,{useToken:pXe}=Xa,fXe=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:i=!0,onHide:o,onUpdate:s})=>{const{t:l}=$t(),{token:u}=pXe(),[d,p]=c.useState(0),[f,m]=c.useState(e),[g,h]=Qe.useMessage(),[v,S]=c.useState(f.nocloud),[_,E]=c.useState(f.live),[y,C]=c.useState(f.downloadTriggerUrl),{playAudio:T}=CS(),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(f.tonieInfo.model),[N,A]=c.useState(""),[D,L]=c.useState({validateStatus:"",help:""}),[$,F]=c.useState(f.source),[B,z]=c.useState(""),[U,j]=c.useState({validateStatus:"",help:""}),G=async()=>{try{const ve=await hu.apiGetTagInfo(f.ruid,n);m(ve),s(ve)}catch(ve){Qe.error("Error fetching updated card: "+ve)}},J=`${f.tonieInfo.series}`+(f.tonieInfo.episode?` - ${f.tonieInfo.episode}`:""),Y="sourceInfo"in f?`${f.sourceInfo.series}`+(f.sourceInfo.episode?` - ${f.sourceInfo.episode}`:""):"",X=i&&"sourceInfo"in f&&(f.sourceInfo.picture!==f.tonieInfo.picture&&J!==Y||f.sourceInfo.picture===f.tonieInfo.picture&&J!==Y),V=(ve,Ae,ye)=>{if(ve&&ve.length===1){const Ne=(ye==="library"?"lib:/":"content:/")+Ae+"/"+ve[0].name;z(Ne)}else z($)},H=()=>{k(!0)},q=()=>{z($),k(!1)},K=()=>{A(P),z($),I(!0)},Z=async()=>{try{$!==B&&await Te(),P!==N&&await de()}catch{G();return}I(!1),G()},te=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"live="+!_,n),E(!_),_?Qe.success(l("tonies.messages.liveDisabled")):Qe.success(l("tonies.messages.liveEnabled")),G()}catch(ve){Qe.error(l("tonies.messages.couldNotChangeLiveFlag")+ve)}},se=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"nocloud="+!v,n),m({...f,nocloud:!v}),S(!v),v?Qe.success(l("tonies.messages.cloudAccessEnabled")):Qe.success(l("tonies.messages.cloudAccessBlocked")),G()}catch(ve){Qe.error(l("tonies.messages.couldNotChangeCloudFlag")+ve)}},ue=async ve=>{console.log(f),T(ve,X?f.sourceInfo:f.tonieInfo,f.trackSeconds)},me=async()=>{const ve=f.downloadTriggerUrl;C("");try{g.open({type:"loading",content:l("tonies.messages.downloading"),duration:0});const ye=await(await hu.apiGetTeddyCloudApiRaw(ve)).blob();g.destroy(),g.open({type:"success",content:l("tonies.messages.downloadedFile")}),G()}catch(Ae){g.destroy(),g.open({type:"error",content:l("tonies.messages.errorDuringDownload")+Ae}),C(""+ve)}},de=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"tonie_model="+encodeURIComponent(N),n),M(N),Qe.success(l("tonies.messages.setTonieToModelSuccessful",{selectedModel:N||l("tonies.messages.setToEmptyValue")})),L({validateStatus:"",help:""})}catch(ve){throw Qe.error(l("tonies.messages.setTonieToModelFailed")+ve),L({validateStatus:"error",help:l("tonies.messages.setTonieToModelFailed")+ve}),ve}},Te=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"source="+encodeURIComponent(B),n),F(B),Qe.success(l("tonies.messages.setTonieToSourceSuccessful",{selectedSource:B||l("tonies.messages.setToEmptyValue")})),j({validateStatus:"",help:""})}catch(ve){throw Qe.error(l("tonies.messages.setTonieToSourceFailed")+ve),j({validateStatus:"error",help:l("tonies.messages.setTonieToSourceFailed")+ve}),ve}v||se()},Ee=ve=>{A(ve.target.value)},ge=ve=>{z(ve.target.value)},re=t.filter(([ve])=>ve===f.ruid).map(([,ve,Ae])=>({ruidTime:ve,boxName:Ae})),ne=ve=>{A(ve)},ae=ve=>{z(ve)},le=b.jsxs(b.Fragment,{children:[b.jsxs("h3",{style:{lineHeight:0},children:[l("tonies.editModal.title"),f.tonieInfo.model?" ("+f.tonieInfo.model+")":""]}),f.tonieInfo.series?b.jsx(_9,{type:"secondary",children:J}):" "]}),pe=b.jsx(b.Fragment,{children:b.jsxs(Rt,{type:"primary",onClick:Z,disabled:$===B&&P===N,children:[b.jsx(Fee,{},"saveClick")," ",l("tonies.editModal.save")]})}),Re=b.jsxs(Sn,{open:w,onCancel:()=>I(!1),title:le,footer:pe,width:700,children:[b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.source")}),b.jsx("div",{children:b.jsxs(Xt.Item,{validateStatus:U.validateStatus,help:U.help,children:[b.jsx(en,{value:B,width:"auto",onChange:ge,addonBefore:b.jsx(na,{onClick:()=>{z($),j({validateStatus:"",help:""})},style:{color:$===B?u.colorTextDisabled:u.colorText,cursor:$===B?"default":"pointer"}}),addonAfter:b.jsx(Uk,{onClick:()=>H()})}),b.jsx(uXe,{placeholder:l("tonies.editModal.placeholderSearchForARadioStream"),onChange:ae})]})}),b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.model")}),b.jsx("div",{children:b.jsxs(Xt.Item,{validateStatus:D.validateStatus,help:D.help,children:[b.jsx(en,{value:N,width:"auto",onChange:Ee,addonBefore:b.jsx(na,{onClick:()=>{A(P),L({validateStatus:"",help:""})},style:{color:P===N?u.colorTextDisabled:u.colorText,cursor:P===N?"default":"pointer"}})}),b.jsx(lXe,{placeholder:l("tonies.editModal.placeholderSearchForAModel"),onChange:ne})]})})]}),Se=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:q,children:l("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:()=>k(!1),children:l("tonies.selectFileModal.ok")})]}),Pe=b.jsx(Sn,{className:"sticky-footer",title:l("tonies.selectFileModal.selectFile"),open:O,onOk:()=>k(!1),onCancel:q,width:"auto",footer:Se,children:b.jsx(t2,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:V})}),fe=r?[b.jsx(zu,{onClick:()=>{p(d+1),R(!0)}},"info"),f.valid||$.startsWith("http")?b.jsx(Lo,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):b.jsx(Lo,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),b.jsx(CD,{style:{cursor:"default",color:v?"red":u.colorTextDisabled}},"nocloud"),b.jsx(I4,{style:{cursor:"default",color:_?"red":u.colorTextDisabled}},"live")]:[b.jsx(zu,{onClick:()=>{p(d+1),R(!0)}},"info"),b.jsx(Sm,{onClick:K},"edit"),f.valid||$.startsWith("http")?b.jsx(Lo,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):y&&y.length>0?b.jsx(Bk,{onClick:me},"download"):b.jsx(Lo,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),b.jsx(CD,{style:{color:v?"red":u.colorTextDescription},onClick:se},"nocloud"),b.jsx(I4,{style:{color:_?"red":u.colorTextDescription},onClick:te},"live")];return b.jsxs(b.Fragment,{children:[h,b.jsx(tp,{hoverable:!1,size:"small",style:re&&re.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[b.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:f.tonieInfo.series?f.tonieInfo.series:l("tonies.unsetTonie")}),a!==f.tonieInfo.language?b.jsx(Jt,{placement:"top",zIndex:2,title:l("languageUtil."+f.tonieInfo.language),children:b.jsx(_9,{style:{height:20,width:"auto"},children:b.jsx(cXe,{countryCode:f.tonieInfo.language,height:20})})}):""]}),cover:b.jsxs("div",{style:{position:"relative"},children:[b.jsx("img",{alt:`${f.tonieInfo.series} - ${f.tonieInfo.episode}`,src:f.tonieInfo.picture?f.tonieInfo.picture:"/img_unknown.png",style:f.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),X?b.jsx(Jt,{title:`${Y}`?l("tonies.alternativeSource",{originalTonie:'"'+J+'"',assignedContent:'"'+Y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+J+'"'}).replace(' "" '," "),placement:"bottom",children:b.jsx("img",{src:f.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:fe,children:b.jsx(dXe,{title:`${f.tonieInfo.episode}`,description:f.uid})},f.ruid),b.jsx(JP,{open:x,onClose:()=>R(!1),tonieCardOrTAFRecord:f,showSourceInfo:i,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},d),Pe,Re]})},mXe=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:i}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(kk,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:i("tonies.tonies.pageSelector")},style:{marginBottom:8}}),b.jsx(Rt,{onClick:a,style:{marginLeft:16},children:i("tonies.tonies.showAll")})]})},{Option:gXe}=$r,Fh=new xn(vn()),LN="toniesListState",n2=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:i="",onToniesCardUpdate:o})=>{const{t:s}=$t(),l=Vo(),[u,d]=c.useState(e),[p,f]=c.useState(""),[m,g]=c.useState(""),[h,v]=c.useState(""),[S,_]=c.useState([]),[E,y]=c.useState(!1),[C,T]=c.useState(!1),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(!1),[N,A]=c.useState(!1),[D,L]=c.useState(!1),[$,F]=c.useState(!1),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!0),[Y,X]=c.useState(!0),[V,H]=c.useState([]),[q,K]=c.useState(()=>{const Me=localStorage.getItem(LN);if(Me){const{pageSize:Ce}=JSON.parse(Me);return Ce}return 24}),[Z,te]=c.useState(1),[se,ue]=c.useState(!0),[me,de]=c.useState(!1),[Te,Ee]=c.useState(!0),[ge,re]=c.useState([]),[ne,ae]=c.useState(0),[le,pe]=c.useState(!1);c.useEffect(()=>{const Me=localStorage.getItem(LN);if(Me)try{const{pageSize:Ce,showAll:De}=JSON.parse(Me);De?ye():(K(Ce),Ne(1,Ce))}catch(Ce){console.error("Error parsing stored state:",Ce)}else console.log("No stored state found.")},[]),c.useEffect(()=>{(async()=>{const De=async ze=>await Fh.apiGetTonieboxLastRUID(ze),Ue=async ze=>await Fh.apiGetTonieboxLastRUIDTime(ze),Ye=await Fh.apiGetTonieboxesIndex(),He=await Promise.all(Ye.map(async ze=>{const Xe=await De(ze.ID),Be=await Ue(ze.ID);return[Xe,Be,ze.boxName]}));H(He)})(),(async()=>{const De=await Fh.apiGetTeddyCloudSettingRaw("frontend.split_model_content");pe(await De.text()==="true")})()},[]);const Re=c.useMemo(()=>e.map(Me=>Me.ruid).join(","),[e]);c.useEffect(()=>{const Ce=new URLSearchParams(l.search).get("tonieRUID");if(Ce){f(Ce),J(!1);const De=e.filter(Ue=>Ue.ruid.toLowerCase()===Ce);d(De)}else d(e);ae(De=>De+1),X(!1)},[l.search,Re]),c.useEffect(()=>{te(1),ae(Me=>Me+1)},[Re]),c.useEffect(()=>{const Me=JSON.stringify({pageSize:q,paginationEnabled:se,showAll:me});localStorage.setItem(LN,Me)},[Te,q,se,me]);const Se=()=>{Ee(!Te)},Pe=Me=>{o&&o(Me),d(Ce=>Ce.map(De=>De.ruid===Me.ruid?Me:De))},fe=()=>{let Me=e.filter(Ce=>{var De,Ue;return(((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(m.toLowerCase())||Ce.tonieInfo.series.toLowerCase().includes(m.toLowerCase()))&&(((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(h.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(h.toLowerCase()))&&(S.length===0||S.includes(Ce.tonieInfo.language!==void 0&&MN.includes(Ce.tonieInfo.language)?Ce.tonieInfo.language:"undefined")||S.includes(Ce.sourceInfo&&Ce.sourceInfo.language!==void 0&&MN.includes(Ce.sourceInfo.language)?Ce.sourceInfo.language:"undefined"))&&(!C||Ce.valid)&&(!x||!Ce.valid)&&(!w||Ce.exists)&&(!O||!Ce.exists)&&(!P||Ce.live)&&(!N||!Ce.live)&&(!D||Ce.nocloud)&&(!$||!Ce.nocloud)&&(!B||Ce.hasCloudAuth)&&(!U||!Ce.hasCloudAuth)});p&&(Me=Me.filter(Ce=>{var De,Ue,Ye;return Ce.tonieInfo.series.toLowerCase().includes(p.toLowerCase())||((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(p.toLowerCase())||((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.model.toLowerCase().includes(p.toLowerCase())||((Ye=Ce.sourceInfo)==null?void 0:Ye.model)&&Ce.sourceInfo.model.toLowerCase().includes(p.toLowerCase())||Ce.ruid.toLowerCase().includes(p.toLowerCase())||Ce.uid.toLowerCase().includes(p.toLowerCase())})),E&&(Me=Me.filter(Ce=>V.some(([De])=>De===Ce.ruid))),ge&&(Me=Me.filter(Ce=>!ge.includes(Ce.ruid))),te(1),d(Me),ae(Ce=>Ce+1)},ve=Me=>{d(u.filter(Ce=>Ce.ruid!==Me)),re(Ce=>[...Ce,Me]),ae(Ce=>Ce+1)},Ae=()=>{f(""),g(""),v(""),T(!1),R(!1),I(!1),k(!1),M(!1),A(!1),L(!1),F(!1),z(!1),j(!1),y(!1),_([]);const Me=window.location.pathname;window.history.pushState({},"",Me),l.search="",ge&&(e=e.filter(Ce=>!ge.includes(Ce.ruid))),d(e),ae(Ce=>Ce+1)},ye=()=>{de(!0),ue(!1),Se()},be=()=>{ue(!0),de(!1),Ne(1,q)},Ne=(Me,Ce)=>{K(Ce),ae(De=>De+1),te(Me),Se(),window.scrollTo(0,0)};if(Y)return b.jsx("div",{children:"Loading..."});const Ie=()=>{if(me)return u!==null?u:e;{const Me=(Z-1)*q,Ce=Me+q;return u!==null?u.slice(Me,Ce):e.slice(Me,Ce)}},xe=b.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:se?b.jsx(mXe,{currentPage:Z,onChange:Ne,total:u!==null?u.length:e.length,pageSize:q,additionalButtonOnClick:ye}):b.jsx(Rt,{onClick:be,children:s("tonies.tonies.showPagination")})}),ke=b.jsxs(b.Fragment,{children:[b.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),b.jsx(en.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:p,onChange:Me=>f(Me.target.value),onSearch:fe,enterButton:!0,style:{margin:"8px 0 8px 0"}}),b.jsxs("div",{className:"filter-container",children:[b.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),b.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:m,onChange:Me=>g(Me.target.value)}),b.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:h,onChange:Me=>v(Me.target.value)}),b.jsx($r,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:Me=>_(Me),style:{width:"100%",margin:"8px 0"},children:MN.map(Me=>b.jsx(gXe,{value:Me,children:s(Me?"languageUtil."+Me:"languageUtil.other")},Me))}),b.jsxs("div",{children:[b.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:C,onChange:Me=>T(Me)}),s("tonies.tonies.filterBar.valid")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:x,onChange:Me=>R(Me)}),s("tonies.tonies.filterBar.invalid")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:w,onChange:Me=>I(Me)})," ",s("tonies.tonies.filterBar.exists")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:O,onChange:Me=>k(Me)}),s("tonies.tonies.filterBar.notExists")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:P,onChange:Me=>M(Me)})," ",s("tonies.tonies.filterBar.live")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:N,onChange:Me=>A(Me)})," ",s("tonies.tonies.filterBar.unsetLive")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:$,onChange:Me=>F(Me)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:D,onChange:Me=>L(Me)}),s("tonies.tonies.filterBar.noCloud")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:B,onChange:Me=>z(Me)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:U,onChange:Me=>j(Me)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:E,onChange:Me=>y(Me)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),b.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[b.jsx(Rt,{onClick:Ae,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),b.jsx(Rt,{onClick:fe,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),rt=[{key:"search-filter",label:s(G?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:ke}];return b.jsxs("div",{className:"tonies-list-container",children:[t?b.jsx(xd,{items:rt,defaultActiveKey:G?[]:["search-filter"],onChange:()=>J(!G),bordered:!1}):"",b.jsx(vl,{header:n?xe:"",footer:n?xe:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Ie(),renderItem:Me=>b.jsx(vl.Item,{id:Me.ruid,children:b.jsx(fXe,{tonieCard:Me,lastRUIDs:V,overlay:r,readOnly:a,defaultLanguage:i,showSourceInfo:le,onHide:ve,onUpdate:Pe})})},ne)]})},zp=new xn(vn()),{Paragraph:Bh}=wn,hXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1),[i,o]=c.useState(!1),[s,l]=c.useState(""),[u,d]=c.useState([]);c.useEffect(()=>{(async()=>{const v=await zp.apiGetSecurityMITAlert();a(v)})(),(async()=>{try{const v=await zp.apiGetNewBoxesAllowed();o(v),v&&(async()=>{const _=await zp.apiGetTonieboxesIndex(),E=await Promise.all(_.map(async y=>{const C=await zp.apiGetTonieboxApiAccess(y.ID);return[y.boxName,C]}));d(E)})()}catch(v){Qe.error("Error: "+v)}})(),(async()=>{const v=(await zp.apiGetTagIndexMergedAllOverlays(!0)).filter(S=>!S.hide);n(v.sort((S,_)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),c.useEffect(()=>{const m={};t.forEach(v=>{const S=v.tonieInfo.language;m[S]?m[S]++:m[S]=1});let g=0,h="";for(const v in m)m.hasOwnProperty(v)&&m[v]>g&&(g=m[v],h=v);l(h)},[t]);const p=u.filter(m=>!m[1]),f=i?b.jsxs(b.Fragment,{children:[b.jsx(Xn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),p.length>0&&b.jsx(Xn,{message:e("tonieboxes.boxWithoutAPIAccess"),description:b.jsxs(b.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),b.jsx("ul",{children:p.map(m=>b.jsx("li",{children:m[0]},m[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),b.jsx(wt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs(Bh,{children:[b.jsx("h1",{children:e("home.title")}),r?b.jsx(Xn,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),f]}),b.jsxs(Bh,{children:[e("home.forumIntroPart1"),b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),b.jsxs(Bh,{children:[b.jsx("h2",{children:e("home.yourTonies")}),b.jsx(n2,{tonieCards:t.filter(m=>m.type==="tag"&&m.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),b.jsx(Rt,{children:b.jsxs(wt,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(m=>m.type==="tag").length,")"]})})]}),b.jsxs(Bh,{children:[b.jsx("h2",{children:e("home.helpfulLinks")}),b.jsxs("ul",{children:[b.jsx("li",{children:b.jsx(wt,{to:"/community/faq",children:"FAQ"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:vXe}=Xa,_Xe=()=>{const{token:e}=vXe();return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[b.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),b.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},bXe=new xn(vn()),{useToken:SXe}=Xa,r2=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:i=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:o=(l=>(l=document.getElementById("collage-container"))==null?void 0:l.clientWidth)()||0})=>{var _,E;const{token:u}=SXe(),[d,p]=c.useState([]),f=o,m=i,g=50,h=50,v=(((_=document.getElementById("central-text"))==null?void 0:_.clientWidth)||0)/(f<450?3:2),S=(((E=document.getElementById("central-text"))==null?void 0:E.clientHeight)||0)/(m<500?3:2);return c.useEffect(()=>{(async()=>{const x=(await bXe.apiGetTagIndexMergedAllOverlays(!1)).sort((R,w)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(R=>!R.tonieInfo.picture.endsWith("/img_unknown.png")&&R.tonieInfo.picture!==null&&R.tonieInfo.picture!==void 0&&R.tonieInfo.picture!==""&&!R.nocloud).slice(0,e).flatMap(R=>R.tonieInfo.picture).map((R,w)=>{if(r&&a){let I,O;do I=Math.random()*(100-t/m*100),O=Math.random()*(100-t/f*100);while(0g-S/m*100-t/m*100&&Ih-v/f*100-t/f*100&&Ob.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:y.top,left:y.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[b.jsx("img",{src:y.src,alt:`Random ${y.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&b.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:b.jsx(_Xe,{})})]},y.id))]})},{Paragraph:EXe}=wn,yXe=()=>{const{t:e}=$t();return b.jsx(b.Fragment,{children:b.jsx(Pn,{children:b.jsx(EXe,{children:b.jsx(r2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},CXe=new xn(vn()),TXe=()=>{var a;const{t:e}=$t(),[t,n]=c.useState(),r=async()=>{var o,s;const i=await CXe.apiStatsGet();(o=i==null?void 0:i.stats)!=null&&o.length&&((s=i==null?void 0:i.stats)==null?void 0:s.length)>0&&n(i)};return c.useEffect(()=>{r()},[]),c.useEffect(()=>{const i=setInterval(()=>{r()},1e4);return()=>clearInterval(i)},[]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(i=>b.jsxs("div",{children:[b.jsx("h2",{children:e("home.stats."+i.iD)}),b.jsx("p",{children:i.value})]},i.iD))]})]})]})},xXe=new _ne(vn()),RXe=new sFe(vn()),wXe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(!1),i=async()=>{try{(await xXe.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await RXe.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return c.useEffect(()=>{i()},[]),b.jsxs(Na,{children:[b.jsx(Jt,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:b.jsxs(A_,{icon:t?b.jsx(C4,{}):b.jsx(x4,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[b.jsx(In,{children:"B"}),b.jsx(Tm,{children:"Boxine"})]})}),b.jsx(Jt,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:b.jsxs(A_,{icon:r?b.jsx(C4,{}):b.jsx(x4,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[b.jsx(In,{children:"TC"}),b.jsx(Tm,{children:"TeddyCloud"})]})})]})},IXe=()=>{var i;const{t:e,i18n:t}=$t(),n=o=>{t.changeLanguage(o)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return b.jsx(Na,{children:b.jsx(dS,{menu:{items:r},trigger:["click"],children:b.jsx("a",{href:"/",onClick:o=>o.preventDefault(),title:e("language.change"),children:b.jsxs(A_,{color:"transparent",children:[b.jsx(Pee,{})," ",b.jsx("strong",{children:(i=r.find(o=>o.onClick&&o.onClick.toString().includes(a)))==null?void 0:i.label})]})})})})},b9=new xn(vn()),{useToken:OXe}=Xa,NXe=ka.img` +|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return $R}var FR,EH;function Qa(){if(EH)return FR;EH=1,FR=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var l=a.tokenStack=[];a.code=a.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=l.length,p;a.code.indexOf(p=r(i,d))!==-1;)++d;return l[d]=u,p}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,s=Object.keys(a.tokenStack);function l(u){for(var d=0;d=s.length);d++){var p=u[d];if(typeof p=="string"||p.content&&typeof p.content=="string"){var f=s[o],m=a.tokenStack[f],g=typeof p=="string"?p:p.content,h=r(i,f),v=g.indexOf(h);if(v>-1){++o;var S=g.substring(0,v),b=new n.Token(i,n.tokenize(m,a.grammar),"language-"+i,m),E=g.substring(v+h.length),y=[];S&&y.push.apply(y,l([S])),y.push(b),E&&y.push.apply(y,l([E])),typeof p=="string"?u.splice.apply(u,[d,1].concat(y)):p.content=y}}else p.content&&l(p.content)}return u}l(a.tokens)}}})})(t)}return FR}var BR,yH;function Iqe(){if(yH)return BR;yH=1;var e=Qa();BR=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(n)}return BR}var UR,CH;function Oqe(){if(CH)return UR;CH=1,UR=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return UR}var jR,TH;function Nqe(){if(TH)return jR;TH=1,jR=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),s={pattern:RegExp(i),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,p){return d=d.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(d,p)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},n.languages.dockerfile=n.languages.docker})(t)}return jR}var zR,xH;function Aqe(){if(xH)return zR;xH=1,zR=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function i(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return zR}var HR,RH;function Dqe(){if(RH)return HR;RH=1,HR=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return HR}var GR,wH;function Mqe(){if(wH)return GR;wH=1,GR=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return GR}var VR,IH;function Lqe(){if(IH)return VR;IH=1,VR=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return VR}var qR,OH;function kqe(){if(OH)return qR;OH=1;var e=Qa();qR=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return qR}var WR,NH;function Pqe(){if(NH)return WR;NH=1,WR=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return WR}var YR,AH;function $qe(){if(AH)return YR;AH=1,YR=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return YR}var KR,DH;function Fqe(){if(DH)return KR;DH=1;var e=QS(),t=Qa();KR=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})}(r)}return KR}var XR,MH;function Bqe(){if(MH)return XR;MH=1,XR=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return XR}var QR,LH;function Vre(){if(LH)return QR;LH=1,QR=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return QR}var ZR,kH;function Uqe(){if(kH)return ZR;kH=1;var e=Vre(),t=Qa();ZR=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})}(r)}return ZR}var JR,PH;function jqe(){if(PH)return JR;PH=1,JR=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return JR}var ew,$H;function zqe(){if($H)return ew;$H=1,ew=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},o=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(o).join("|")+")(?=\\s|$)")},l={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","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(l).forEach(function(d){i[d].pattern=s(l[d])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=s(u),n.languages.factor=i})(t)}return ew}var tw,FH;function Hqe(){if(FH)return tw;FH=1,tw=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.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 t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return nw}var rw,UH;function Vqe(){if(UH)return rw;UH=1,rw=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.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 n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return rw}var aw,jH;function qqe(){if(jH)return aw;jH=1,aw=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return aw}var iw,zH;function Wqe(){if(zH)return iw;zH=1,iw=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return iw}var ow,HH;function Yqe(){if(HH)return ow;HH=1;var e=Qa();ow=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return ow}var sw,GH;function Kqe(){if(GH)return sw;GH=1,sw=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return sw}var lw,VH;function Xqe(){if(VH)return lw;VH=1,lw=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return lw}var cw,qH;function Qqe(){if(qH)return cw;qH=1,cw=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return cw}var uw,WH;function Zqe(){if(WH)return uw;WH=1,uw=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return uw}var dw,YH;function Jqe(){if(YH)return dw;YH=1,dw=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return dw}var pw,KH;function eWe(){if(KH)return pw;KH=1,pw=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return pw}var fw,XH;function tWe(){if(XH)return fw;XH=1;var e=Zc();fw=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.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 fw}var mw,QH;function nWe(){if(QH)return mw;QH=1,mw=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return mw}var gw,ZH;function rWe(){if(ZH)return gw;ZH=1,gw=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return gw}var hw,JH;function aWe(){if(JH)return hw;JH=1,hw=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return hw}var vw,eG;function iWe(){if(eG)return vw;eG=1,vw=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return vw}var _w,tG;function oWe(){if(tG)return _w;tG=1,_w=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),i=0;function o(S){return a[i+S]}function s(S,b){b=b||0;for(var E=0;E0)){var g=l(/^\{$/,/^\}$/);if(g===-1)continue;for(var h=i;h=0&&u(v,"variable-input")}}}}})}return _w}var bw,nG;function sWe(){if(nG)return bw;nG=1,bw=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return bw}var Sw,rG;function lWe(){if(rG)return Sw;rG=1;var e=QS();Sw=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.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:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.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:r.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:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=i.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return Ew}var yw,iG;function KP(){if(iG)return yw;iG=1,yw=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return yw}var Cw,oG;function uWe(){if(oG)return Cw;oG=1,Cw=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return Cw}var Tw,sG;function dWe(){if(sG)return Tw;sG=1,Tw=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return Tw}var xw,lG;function pWe(){if(lG)return xw;lG=1;var e=Zc();xw=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.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 xw}var Rw,cG;function fWe(){if(cG)return Rw;cG=1,Rw=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return Rw}var ww,uG;function mWe(){if(uG)return ww;uG=1,ww=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return ww}var Iw,dG;function gWe(){if(dG)return Iw;dG=1,Iw=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Iw}var Ow,pG;function hWe(){if(pG)return Ow;pG=1,Ow=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","i")}n.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:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function s(p){var f=p.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+p+"|"+m+")"}var l;for(var u in i)if(i[u]){l=l||{};var d=o[u]?s(u):u;l[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[u]}}l&&n.languages.insertBefore("http","header",l)})(t)}return Ow}var Nw,fG;function vWe(){if(fG)return Nw;fG=1,Nw=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return Nw}var Aw,mG;function _We(){if(mG)return Aw;mG=1,Aw=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return Aw}var Dw,gG;function bWe(){if(gG)return Dw;gG=1,Dw=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,d){return d<=0?/[]/.source:u.replace(//g,function(){return r(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),l={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":l,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":l,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},l.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return Dw}var Mw,hG;function SWe(){if(hG)return Mw;hG=1;var e=KP();Mw=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.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}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return Mw}var Lw,vG;function EWe(){if(vG)return Lw;vG=1,Lw=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return Lw}var kw,_G;function yWe(){if(_G)return kw;_G=1,kw=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return kw}var Pw,bG;function CWe(){if(bG)return Pw;bG=1,Pw=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return Pw}var $w,SG;function TWe(){if(SG)return $w;SG=1,$w=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return $w}var Fw,EG;function xWe(){if(EG)return Fw;EG=1,Fw=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"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 Bw}var Uw,CG;function XP(){if(CG)return Uw;CG=1,Uw=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,function:[n.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}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,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 r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return Uw}var jw,TG;function ZS(){if(TG)return jw;TG=1,jw=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(o,s){var l="doc-comment",u=n.languages[o];if(u){var d=u[l];if(!d){var p={};p[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",p),d=u[l]}if(d instanceof RegExp&&(d=u[l]={pattern:d}),Array.isArray(d))for(var f=0,m=d.length;f)?|/.source.replace(//g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return zw}var Hw,RG;function IWe(){if(RG)return Hw;RG=1,Hw=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/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 Hw}var Gw,wG;function OWe(){if(wG)return Gw;wG=1,Gw=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return Gw}var Vw,IG;function NWe(){if(IG)return Vw;IG=1,Vw=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return Vw}var qw,OG;function AWe(){if(OG)return qw;OG=1,qw=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=o})(t)}return qw}var Ww,NG;function DWe(){if(NG)return Ww;NG=1,Ww=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,d){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.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"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\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 a=["function","function-variable","method","method-variable","property-access"],i=0;i=x.length)return;var O=w[I];if(typeof O=="string"||typeof O.content=="string"){var k=x[E],P=typeof O=="string"?O:O.content,M=P.indexOf(k);if(M!==-1){++E;var N=P.substring(0,M),A=p(y[k]),D=P.substring(M+k.length),L=[];if(N&&L.push(N),L.push(A),D){var $=[D];R($),L.push.apply(L,$)}typeof O=="string"?(w.splice.apply(w,[I,1].concat(L)),I+=L.length-1):O.content=L}}else{var F=O.content;Array.isArray(F)?R(F):R([F])}}}return R(T),new n.Token(S,T,"language-"+S,h)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(h){if(!(h.language in m))return;function v(S){for(var b=0,E=S.length;b]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.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 n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return Kw}var Xw,MG;function LWe(){if(MG)return Xw;MG=1;var e=ZS(),t=QP();Xw=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return Xw}var Qw,LG;function ZP(){if(LG)return Qw;LG=1,Qw=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return Qw}var Zw,kG;function kWe(){if(kG)return Zw;kG=1;var e=ZP();Zw=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return Zw}var Jw,PG;function PWe(){if(PG)return Jw;PG=1;var e=ZP();Jw=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return Jw}var eI,$G;function $We(){if($G)return eI;$G=1,eI=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?: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 eI}var tI,FG;function qre(){if(FG)return tI;FG=1,tI=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,p){return d=d.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(d,p)}o=s(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var p=[],f=0;f0&&p[p.length-1].tagName===l(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:l(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var h=l(m);f0&&(typeof d[f-1]=="string"||d[f-1].type==="plain-text")&&(h=l(d[f-1])+h,d.splice(f-1,1),f--),d[f]=new n.Token("plain-text",h,null,h)}m.content&&typeof m.content!="string"&&u(m.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return tI}var nI,BG;function FWe(){if(BG)return nI;BG=1,nI=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return nI}var rI,UG;function BWe(){if(UG)return rI;UG=1,rI=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\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 rI}var aI,jG;function UWe(){if(jG)return aI;jG=1,aI=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return aI}var iI,zG;function jWe(){if(zG)return iI;zG=1,iI=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.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 n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return iI}var oI,HG;function zWe(){if(HG)return oI;HG=1,oI=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return oI}var sI,GG;function HWe(){if(GG)return sI;GG=1,sI=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return sI}var lI,VG;function GWe(){if(VG)return lI;VG=1,lI=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return lI}var cI,qG;function JS(){if(qG)return cI;qG=1;var e=Qa();cI=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},d=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(p){if(/<\?/.test(p.code)){var f=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(p,"php",f)}}),r.hooks.add("after-tokenize",function(p){r.languages["markup-templating"].tokenizePlaceholders(p,"php")})}(n)}return cI}var uI,WG;function VWe(){if(WG)return uI;WG=1;var e=Qa(),t=JS();uI=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var i=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return uI}var dI,YG;function qWe(){if(YG)return dI;YG=1,dI=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return dI}var pI,KG;function JP(){if(KG)return pI;KG=1,pI=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return pI}var fI,XG;function WWe(){if(XG)return fI;XG=1;var e=JP();fI=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return fI}var mI,QG;function YWe(){if(QG)return mI;QG=1;var e=Qa();mI=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.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"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!i)return i=!0,!0;if(l==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return mI}var gI,ZG;function KWe(){if(ZG)return gI;ZG=1,gI=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(h){return RegExp(/(\()/.source+"(?:"+h+")"+/(?=[\s\)])/.source)}function a(h){return RegExp(/([\s([])/.source+"(?:"+h+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,s="(\\()",l="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:p},m="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(s+d+l),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+m),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+m),inside:f},keys:{pattern:RegExp("&key\\s+"+m+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=g,p.defun.inside.arguments=n.util.clone(g),p.defun.inside.arguments.inside.sublist=g,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p})(t)}return gI}var hI,JG;function XWe(){if(JG)return hI;JG=1,hI=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return hI}var vI,eV;function QWe(){if(eV)return vI;eV=1,vI=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return vI}var _I,tV;function ZWe(){if(tV)return _I;tV=1,_I=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return _I}var bI,nV;function JWe(){if(nV)return bI;nV=1,bI=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return bI}var SI,rV;function eYe(){if(rV)return SI;rV=1,SI=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return SI}var EI,aV;function tYe(){if(aV)return EI;aV=1,EI=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return EI}var yI,iV;function nYe(){if(iV)return yI;iV=1,yI=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(f){return f=f.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.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:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\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(f){["url","bold","italic","strike","code-snippet"].forEach(function(m){f!==m&&(n.languages.markdown[f].inside.content.inside[m]=n.languages.markdown[m])})}),n.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function m(g){if(!(!g||typeof g=="string"))for(var h=0,v=g.length;h",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(f){var m=f.replace(l,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,h){if(h=h.toLowerCase(),h[0]==="#"){var v;return h[1]==="x"?v=parseInt(h.slice(2),16):v=Number(h.slice(1)),d(v)}else{var S=u[h];return S||g}}),m}n.languages.md=n.languages.markdown})(t)}return yI}var CI,oV;function rYe(){if(oV)return CI;oV=1,CI=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return CI}var TI,sV;function aYe(){if(sV)return TI;sV=1,TI=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return TI}var xI,lV;function iYe(){if(lV)return xI;lV=1,xI=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return xI}var RI,cV;function oYe(){if(cV)return RI;cV=1,RI=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,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 RI}var wI,uV;function sYe(){if(uV)return wI;uV=1,wI=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return wI}var II,dV;function lYe(){if(dV)return II;dV=1,II=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var i="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),n.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}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return II}var OI,pV;function cYe(){if(pV)return OI;pV=1,OI=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return OI}var NI,fV;function uYe(){if(fV)return NI;fV=1,NI=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return NI}var AI,mV;function dYe(){if(mV)return AI;mV=1,AI=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return AI}var DI,gV;function pYe(){if(gV)return DI;gV=1,DI=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return DI}var MI,hV;function fYe(){if(hV)return MI;hV=1,MI=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return MI}var LI,vV;function mYe(){if(vV)return LI;vV=1,LI=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=o(u);i(d)||(u.type="bad-line",u.content=d)}})});function i(s){for(var l="[]{}",u=[],d=0;d=&|$!]/}}return kI}var PI,bV;function hYe(){if(bV)return PI;bV=1,PI=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return PI}var $I,SV;function vYe(){if(SV)return $I;SV=1,$I=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return $I}var FI,EV;function _Ye(){if(EV)return FI;EV=1,FI=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return FI}var BI,yV;function bYe(){if(yV)return BI;yV=1,BI=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return BI}var UI,CV;function SYe(){if(CV)return UI;CV=1,UI=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return UI}var jI,TV;function EYe(){if(TV)return jI;TV=1,jI=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return jI}var zI,xV;function yYe(){if(xV)return zI;xV=1;var e=Zc();zI=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.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 n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return zI}var HI,RV;function CYe(){if(RV)return HI;RV=1,HI=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return HI}var GI,wV;function TYe(){if(wV)return GI;wV=1;var e=Zc();GI=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.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"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return GI}var VI,IV;function xYe(){if(IV)return VI;IV=1,VI=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return VI}var qI,OV;function RYe(){if(OV)return qI;OV=1,qI=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return qI}var WI,NV;function wYe(){if(NV)return WI;NV=1,WI=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\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 WI}var YI,AV;function IYe(){if(AV)return YI;AV=1,YI=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return YI}var KI,DV;function OYe(){if(DV)return KI;DV=1,KI=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return KI}var XI,MV;function NYe(){if(MV)return XI;MV=1,XI=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=n.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 a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=i[l],s},{});i["class-name"].forEach(function(s){s.inside=o})})(t)}return XI}var QI,LV;function AYe(){if(LV)return QI;LV=1,QI=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return QI}var ZI,kV;function DYe(){if(kV)return ZI;kV=1,ZI=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return ZI}var JI,PV;function MYe(){if(PV)return JI;PV=1,JI=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return JI}var eO,$V;function LYe(){if($V)return eO;$V=1;var e=JS();eO=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.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 eO}var tO,FV;function kYe(){if(FV)return tO;FV=1;var e=JS(),t=ZS();tO=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return tO}var nO,BV;function PYe(){if(BV)return nO;BV=1;var e=WP();nO=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return nO}var rO,UV;function $Ye(){if(UV)return rO;UV=1,rO=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return rO}var aO,jV;function FYe(){if(jV)return aO;jV=1,aO=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return aO}var iO,zV;function BYe(){if(zV)return iO;zV=1,iO=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return iO}var oO,HV;function UYe(){if(HV)return oO;HV=1,oO=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return oO}var sO,GV;function jYe(){if(GV)return sO;GV=1,sO=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=r.concat(a,i);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return sO}var lO,VV;function zYe(){if(VV)return lO;VV=1,lO=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return lO}var cO,qV;function HYe(){if(qV)return cO;qV=1,cO=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.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}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return cO}var uO,WV;function GYe(){if(WV)return uO;WV=1,uO=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return uO}var dO,YV;function VYe(){if(YV)return dO;YV=1,dO=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.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:n.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:n.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:n.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:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,s=a.length;o",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:n.languages[l.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return dO}var pO,KV;function qYe(){if(KV)return pO;KV=1,pO=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return pO}var fO,XV;function WYe(){if(XV)return fO;XV=1,fO=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return fO}var mO,QV;function YYe(){if(QV)return mO;QV=1,mO=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return mO}var gO,ZV;function KYe(){if(ZV)return gO;ZV=1;var e=KP();gO=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.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:[n.languages.haskell.operator[0],n.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]/]}),n.languages.purs=n.languages.purescript}return gO}var hO,JV;function XYe(){if(JV)return hO;JV=1,hO=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![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:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return hO}var vO,e7;function QYe(){if(e7)return vO;e7=1,vO=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return vO}var _O,t7;function ZYe(){if(t7)return _O;t7=1,_O=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return _O}var bO,n7;function JYe(){if(n7)return bO;n7=1,bO=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return bO}var SO,r7;function eKe(){if(r7)return SO;r7=1,SO=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(g,h){return g.replace(/<<(\d+)>>/g,function(v,S){return"(?:"+h[+S]+")"})}function a(g,h,v){return RegExp(r(g,h),"")}function i(g,h){for(var v=0;v>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),p={keyword:l,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:p},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:p}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var m=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return SO}var EO,a7;function tKe(){if(a7)return EO;a7=1,EO=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return EO}var yO,i7;function nKe(){if(i7)return yO;i7=1;var e=JP();yO=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return yO}var CO,o7;function rKe(){if(o7)return CO;o7=1,CO=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return CO}var TO,s7;function aKe(){if(s7)return TO;s7=1,TO=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",l=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return xO}var RO,c7;function oKe(){if(c7)return RO;c7=1,RO=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return RO}var wO,u7;function sKe(){if(u7)return wO;u7=1,wO=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return wO}var IO,d7;function lKe(){if(d7)return IO;d7=1,IO=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return IO}var OO,p7;function cKe(){if(p7)return OO;p7=1,OO=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return OO}var NO,f7;function uKe(){if(f7)return NO;f7=1,NO=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(u,d){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in d)p[f]=d[f];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=a,p.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:p}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":s,documentation:o,property:l}),keywords:i("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:i("Tasks",{"task-name":s,documentation:o,property:l}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return NO}var AO,m7;function dKe(){if(m7)return AO;m7=1,AO=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return AO}var DO,g7;function pKe(){if(g7)return DO;g7=1,DO=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},l={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},p=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},h={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},v={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"},S={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},b=/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,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return b}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return b}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:f,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":i,punctuation:p,string:d}},y={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};n.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 r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":v,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:l,keyword:y,function:f,format:g,altformat:h,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:m},"macro-keyword":s,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":E,comment:u,function:f,format:g,altformat:h,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:l,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(t)}return DO}var MO,h7;function fKe(){if(h7)return MO;h7=1,MO=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return MO}var LO,v7;function mKe(){if(v7)return LO;v7=1;var e=XP();LO=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.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*/}),n.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:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return LO}var kO,_7;function gKe(){if(_7)return kO;_7=1,kO=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return kO}var PO,b7;function hKe(){if(b7)return PO;b7=1;var e=Hre();PO=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.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 a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return PO}var $O,S7;function vKe(){if(S7)return $O;S7=1,$O=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return $O}var FO,E7;function _Ke(){if(E7)return FO;E7=1,FO=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return FO}var BO,y7;function bKe(){if(y7)return BO;y7=1;var e=Qa();BO=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.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:r.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/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(d){return d===l&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return BO}var UO,C7;function SKe(){if(C7)return UO;C7=1,UO=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.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 r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return UO}var jO,T7;function EKe(){if(T7)return jO;T7=1,jO=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return jO}var zO,x7;function yKe(){if(x7)return zO;x7=1,zO=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return zO}var HO,R7;function CKe(){if(R7)return HO;R7=1;var e=Qa();HO=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(p){return p===u&&(d=!1),d?!1:(p===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return HO}var GO,w7;function Wre(){if(w7)return GO;w7=1,GO=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return GO}var VO,I7;function TKe(){if(I7)return VO;I7=1;var e=Wre();VO=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.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]}),n.languages.rq=n.languages.sparql}return VO}var qO,O7;function xKe(){if(O7)return qO;O7=1,qO=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return qO}var WO,N7;function RKe(){if(N7)return WO;N7=1,WO=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return WO}var YO,A7;function wKe(){if(A7)return YO;A7=1,YO=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return YO}var KO,D7;function IKe(){if(D7)return KO;D7=1,KO=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return KO}var XO,M7;function OKe(){if(M7)return XO;M7=1,XO=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return XO}var QO,L7;function NKe(){if(L7)return QO;L7=1,QO=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return QO}var ZO,k7;function AKe(){if(k7)return ZO;k7=1,ZO=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return ZO}var JO,P7;function e2(){if(P7)return JO;P7=1,JO=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=n.languages[i],s="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return JO}var e1,$7;function DKe(){if($7)return e1;$7=1;var e=e2(),t=XS();e1=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return e1}var t1,F7;function Yre(){if(F7)return t1;F7=1;var e=Gre();t1=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.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 t1}var n1,B7;function MKe(){if(B7)return n1;B7=1;var e=e2(),t=Yre();n1=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return n1}var r1,U7;function Kre(){if(U7)return r1;U7=1,r1=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.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}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(u,d){d=(d||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return u});return RegExp(p,d)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return r1}var a1,j7;function LKe(){if(j7)return a1;j7=1;var e=Kre();a1=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.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:n.languages.yaml,alias:"language-yaml"}}}return a1}var i1,z7;function kKe(){if(z7)return i1;z7=1,i1=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return i1}var o1,H7;function PKe(){if(H7)return o1;H7=1,o1=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(f,m){return RegExp(f.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),m||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=l.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var p=l.table.inside;p.inline=u.inline,p.link=u.link,p.image=u.image,p.footnote=u.footnote,p.acronym=u.acronym,p.mark=u.mark})(t)}return o1}var s1,G7;function $Ke(){if(G7)return s1;G7=1,s1=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return s1}var l1,V7;function FKe(){if(V7)return l1;V7=1,l1=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return l1}var c1,q7;function BKe(){if(q7)return c1;q7=1;var e=qre(),t=QP();c1=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return c1}var u1,W7;function UKe(){if(W7)return u1;W7=1;var e=Qa();u1=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.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:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.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 r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return u1}var d1,Y7;function jKe(){if(Y7)return d1;Y7=1;var e=Qa();d1=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.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:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return d1}var p1,K7;function zKe(){if(K7)return p1;K7=1,p1=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.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:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return p1}var f1,X7;function HKe(){if(X7)return f1;X7=1,f1=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return f1}var m1,Q7;function GKe(){if(Q7)return m1;Q7=1,m1=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return m1}var g1,Z7;function VKe(){if(Z7)return g1;Z7=1,g1=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return g1}var h1,J7;function qKe(){if(J7)return h1;J7=1,h1=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.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+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return h1}var v1,e9;function WKe(){if(e9)return v1;e9=1,v1=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return v1}var _1,t9;function YKe(){if(t9)return _1;t9=1,_1=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return _1}var b1,n9;function KKe(){if(n9)return b1;n9=1,b1=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return b1}var S1,r9;function XKe(){if(r9)return S1;r9=1,S1=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return S1}var E1,a9;function QKe(){if(a9)return E1;a9=1,E1=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return E1}var y1,i9;function ZKe(){if(i9)return y1;i9=1,y1=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return y1}var C1,o9;function JKe(){if(o9)return C1;o9=1,C1=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return C1}var T1,s9;function eXe(){if(s9)return T1;s9=1,T1=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return T1}var x1,l9;function tXe(){if(l9)return x1;l9=1,x1=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return x1}var R1,c9;function nXe(){if(c9)return R1;c9=1,R1=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return R1}var w1,u9;function rXe(){if(u9)return w1;u9=1,w1=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return w1}var I1,d9;function aXe(){if(d9)return I1;d9=1,I1=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return I1}var O1,p9;function iXe(){if(p9)return O1;p9=1,O1=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.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"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return O1}var N1,f9;function oXe(){if(f9)return N1;f9=1,N1=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,l){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":l})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return N1}var A1,m9;function sXe(){if(m9)return A1;m9=1,A1=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return A1}var D1,g9;function lXe(){if(g9)return D1;g9=1,D1=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.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:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:r(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!i[s+1]||i[s+1].type!=="punctuation"||i[s+1].content!=="{")&&(!i[s-1]||i[s-1].type!=="plain-text"||i[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var d=r(l);s0&&(typeof i[s-1]=="string"||i[s-1].type==="plain-text")&&(d=r(i[s-1])+d,i.splice(s-1,1),s--),/^\s+$/.test(d)?i[s]=d:i[s]=new n.Token("plain-text",d,null,d)}l.content&&typeof l.content!="string"&&a(l.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return D1}var M1,h9;function cXe(){if(h9)return M1;h9=1,M1=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return M1}var L1,v9;function uXe(){if(v9)return L1;v9=1,L1=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(d){return function(){return d}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),l=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";n.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,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=n.languages.zig)})})(t)}return L1}var he=_9e,dXe=he;he.register(O9e());he.register(N9e());he.register(A9e());he.register(D9e());he.register(M9e());he.register(L9e());he.register(k9e());he.register(P9e());he.register($9e());he.register(F9e());he.register(B9e());he.register(U9e());he.register(j9e());he.register(z9e());he.register(H9e());he.register(G9e());he.register(V9e());he.register(q9e());he.register(W9e());he.register(Y9e());he.register(K9e());he.register(X9e());he.register(Hre());he.register(Gre());he.register(Q9e());he.register(Z9e());he.register(J9e());he.register(eqe());he.register(tqe());he.register(nqe());he.register(rqe());he.register(aqe());he.register(iqe());he.register(oqe());he.register(Zc());he.register(sqe());he.register(lqe());he.register(cqe());he.register(uqe());he.register(dqe());he.register(pqe());he.register(fqe());he.register(mqe());he.register(gqe());he.register(YP());he.register(hqe());he.register(XS());he.register(vqe());he.register(_qe());he.register(bqe());he.register(Sqe());he.register(Eqe());he.register(yqe());he.register(Cqe());he.register(Tqe());he.register(xqe());he.register(Rqe());he.register(wqe());he.register(Iqe());he.register(Oqe());he.register(Nqe());he.register(Aqe());he.register(Dqe());he.register(Mqe());he.register(Lqe());he.register(kqe());he.register(Pqe());he.register($qe());he.register(Fqe());he.register(Bqe());he.register(Uqe());he.register(jqe());he.register(zqe());he.register(Hqe());he.register(Gqe());he.register(Vqe());he.register(qqe());he.register(Wqe());he.register(Yqe());he.register(Kqe());he.register(Xqe());he.register(Qqe());he.register(Zqe());he.register(Jqe());he.register(eWe());he.register(tWe());he.register(nWe());he.register(rWe());he.register(aWe());he.register(iWe());he.register(oWe());he.register(sWe());he.register(lWe());he.register(cWe());he.register(KP());he.register(uWe());he.register(dWe());he.register(pWe());he.register(fWe());he.register(mWe());he.register(gWe());he.register(hWe());he.register(vWe());he.register(_We());he.register(bWe());he.register(SWe());he.register(EWe());he.register(yWe());he.register(CWe());he.register(TWe());he.register(xWe());he.register(RWe());he.register(XP());he.register(wWe());he.register(ZS());he.register(IWe());he.register(OWe());he.register(NWe());he.register(AWe());he.register(DWe());he.register(MWe());he.register(LWe());he.register(ZP());he.register(kWe());he.register(PWe());he.register($We());he.register(qre());he.register(FWe());he.register(BWe());he.register(UWe());he.register(jWe());he.register(zWe());he.register(HWe());he.register(GWe());he.register(VWe());he.register(qWe());he.register(WWe());he.register(YWe());he.register(KWe());he.register(XWe());he.register(QWe());he.register(ZWe());he.register(JWe());he.register(Vre());he.register(eYe());he.register(tYe());he.register(nYe());he.register(Qa());he.register(rYe());he.register(aYe());he.register(iYe());he.register(oYe());he.register(sYe());he.register(lYe());he.register(cYe());he.register(uYe());he.register(dYe());he.register(pYe());he.register(fYe());he.register(mYe());he.register(gYe());he.register(hYe());he.register(vYe());he.register(_Ye());he.register(bYe());he.register(SYe());he.register(EYe());he.register(yYe());he.register(CYe());he.register(TYe());he.register(xYe());he.register(RYe());he.register(wYe());he.register(IYe());he.register(OYe());he.register(NYe());he.register(AYe());he.register(DYe());he.register(MYe());he.register(LYe());he.register(JS());he.register(kYe());he.register(PYe());he.register($Ye());he.register(FYe());he.register(BYe());he.register(UYe());he.register(jYe());he.register(zYe());he.register(HYe());he.register(GYe());he.register(VYe());he.register(qYe());he.register(WYe());he.register(YYe());he.register(KYe());he.register(XYe());he.register(QYe());he.register(ZYe());he.register(JYe());he.register(eKe());he.register(tKe());he.register(nKe());he.register(rKe());he.register(aKe());he.register(iKe());he.register(oKe());he.register(sKe());he.register(lKe());he.register(cKe());he.register(uKe());he.register(QS());he.register(dKe());he.register(pKe());he.register(fKe());he.register(mKe());he.register(JP());he.register(gKe());he.register(hKe());he.register(vKe());he.register(_Ke());he.register(bKe());he.register(SKe());he.register(EKe());he.register(yKe());he.register(CKe());he.register(TKe());he.register(xKe());he.register(RKe());he.register(WP());he.register(wKe());he.register(IKe());he.register(OKe());he.register(NKe());he.register(AKe());he.register(DKe());he.register(e2());he.register(MKe());he.register(LKe());he.register(kKe());he.register(PKe());he.register($Ke());he.register(FKe());he.register(BKe());he.register(UKe());he.register(Wre());he.register(jKe());he.register(QP());he.register(zKe());he.register(HKe());he.register(GKe());he.register(VKe());he.register(qKe());he.register(WKe());he.register(Yre());he.register(YKe());he.register(KKe());he.register(XKe());he.register(QKe());he.register(ZKe());he.register(JKe());he.register(eXe());he.register(tXe());he.register(nXe());he.register(rXe());he.register(aXe());he.register(iXe());he.register(oXe());he.register(sXe());he.register(lXe());he.register(Kre());he.register(cXe());he.register(uXe());const pXe=xa(dXe);var El=cre(pXe,I9e);El.supportedLanguages=cHe;const yl={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},Cl={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{Paragraph:_9,Text:fXe}=Tn,mXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=c.useRef(null),[a,i]=c.useState(!1),o=p=>{let f="";for(let m=0;m=32&&h<=126?f+=String.fromCharCode(h):f+="."}return f},s=p=>{let f="";for(let h=0;h=g&&(m=m-2*g),m},l={"15-15452":p=>{if(p.length===16){const f=p.slice(8)+p.slice(0,8);n(m=>[...m,`UnknownTag | ${f}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"15-16065":p=>{if(p.length===16){const f=p.slice(8)+p.slice(0,8);n(m=>[...m,`KnownTag | ${f}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15427":p=>{if(p.length===8){const f=s(p);n(m=>[...m,`UpsideState | ${f}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15426":p=>{if(p.length===8){const f=s(p);n(m=>[...m,`UprightState | ${f}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)}};c.useEffect(()=>{if(a){const p=new EventSource("/api/sse");return p.onopen=()=>{console.log("Connection established.")},p.addEventListener("keep-alive",f=>{console.log("keep-alive event received:",f)}),p.addEventListener("pressed",f=>{const m=JSON.parse(f.data);n(g=>[...g,"Pressed: "+m.data])}),p.addEventListener("rtnl-raw-log2",f=>{const m=JSON.parse(f.data),g=`${"Raw2 | #"+m.data.sequence+" Uptime: "+m.data.uptime+" Func: "+m.data.function_group.toString().padStart(2," ")+"-"+m.data.function+" Payload: '"+m.data.field6+"' ASCII: '"+o(m.data.field6)+"'"}`;n(v=>[...v,g]);const h=`${m.data.function_group.toString().padStart(2," ")}-${m.data.function}`;l[h]&&l[h](m.data.field6)}),p.addEventListener("rtnl-raw-log3",f=>{const m=JSON.parse(f.data);n(g=>[...g,"Raw3 | Datetime: "+m.data.datetime+" Unknown: "+m.data.field2])}),p.onerror=f=>{console.error("EventSource failed:",f)},()=>{console.log("Connection closed."),p.close()}}else return},[a]),c.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=p=>{i(p)},d=()=>{n([])};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Pd,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Pd,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("settings.rtnl.title")}),_.jsxs(_9,{style:{margin:"8px 0"},children:[_.jsxs(_9,{children:[_.jsx(Fa,{checked:a,onChange:u,style:{marginRight:8}}),_.jsx(fXe,{children:e("settings.rtnl.enableRtnl")})]}),_.jsx(Qr,{children:e("settings.rtnl.title")}),_.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:hi()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:_.jsx(El,{language:"log",style:hi()==="dark"?yl:Cl,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` +`)})}),_.jsx(wt,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},b9=new xn(vn()),Xre=({overlay:e})=>{const{t}=$t(),n=async a=>{const i=new FormData;i.append("file",a);const o={filename:[i.get("file")]},s=async()=>{await b9.apiTriggerWriteConfigGet()};(async u=>{try{await b9.apiUploadCertPost(u,e);try{s()}catch{Qe.error("Error while saving config to file.")}Qe.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{Qe.error(t("settings.certificates.uploadFailed",{filename:a.name}))}})(o)},r={name:"file",multiple:!0,customRequest:async a=>{const{onSuccess:i,onError:o,file:s}=a;try{await n(s),i("Ok")}catch(l){o(l)}},onChange(a){const{status:i}=a.file;i!=="uploading"&&console.log(a.file,a.fileList)},onDrop(a){console.log("Dropped files",a.dataTransfer.files)}};return _.jsxs(yg.Dragger,{...r,children:[_.jsx("p",{className:"ant-upload-drag-icon",children:_.jsx(Hk,{})}),_.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),_.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},gXe=()=>{const{t:e}=$t(),{Paragraph:t}=Tn;return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Pd,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Pd,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("settings.certificates.title")}),_.jsx(t,{children:_.jsx(Zn,{message:e("settings.certificates.information"),description:_.jsxs("div",{children:[e("settings.certificates.hint")," ",_.jsx(St,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),_.jsx(t,{children:_.jsx(Xre,{})})]})]})]})},Tl=()=>{const{t:e}=$t(),t=[{key:"home",label:_.jsx(St,{to:"/",children:e("home.navigationTitle")}),icon:ce.createElement(nNe),title:e("home.navigationTitle")},{key:"features",label:_.jsx(St,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:ce.createElement(n1e),title:e("home.features.navigationTitle")},{key:"statistics",label:_.jsx(St,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:ce.createElement(wD),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:_.jsx(St,{to:"/home/tonieMeeting"})}];return _.jsx(xg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},Fd=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:i="",open:o,handleOk:s,handleCancel:l})=>{const{t:u}=$t();return _.jsxs(Sn,{title:_.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[_.jsx(Hee,{style:{fontSize:36,color:"orange",margin:16}}),_.jsx("div",{style:{marginBottom:16},children:e})]}),open:o,onOk:s,onCancel:l,okText:t,cancelText:n,className:"warning",children:[_.jsx("div",{style:{marginBottom:24},children:r}),a&&_.jsx("div",{children:_.jsx(Zn,{type:"warning",showIcon:!0,message:i||u("confirmDialog.contentHintTitle"),description:a})})]})},hXe=new xn(vn()),{Text:vXe}=Tn,t2=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:i,overlay:o,onHide:s})=>{const{t:l}=$t(),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState(""),[h,v]=c.useState([]);c.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&E!==y||n.sourceInfo.picture===n.tonieInfo.picture&&E!==y||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(f(!0),g(n.sourceInfo.picture),v(n.sourceInfo.tracks))},[n,e]);const S=i&&"ruid"in n?i.filter(([M])=>M===n.ruid).map(([,M,N])=>({ruidTime:M,boxName:N})):null,b=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),E=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),y="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",C=p?y:E,T=()=>{d(!0)},x=()=>{w(),d(!1)},R=()=>{d(!1)},w=async()=>{if(s&&"ruid"in n&&n.ruid)try{await hXe.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),Qe.success(l("tonies.messages.hideTonieSuccessful")),s(n.ruid)}catch(M){Qe.error(l("tonies.messages.hideTonieFailed")+M)}},I=_.jsx(Fd,{title:l("tonies.confirmHideModal.title"),open:u,okText:l("tonies.confirmHideModal.hide"),cancelText:l("tonies.confirmHideModal.cancel"),content:l("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:b||("uid"in n?n.uid:"")}),handleOk:x,handleCancel:R}),O=_.jsx(_.Fragment,{children:_.jsxs("h3",{children:[C||l("tonies.informationModal.unknownModel"),_.jsx("br",{}),"uid"in n&&n.uid?_.jsx(vXe,{type:"secondary",children:n.uid}):""]})}),k=_.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[_.jsx("div",{children:"ruid"in n&&n.ruid?a?"":_.jsx(wt,{onClick:T,children:l("tonies.informationModal.hideTag")}):""}),_.jsx(wt,{type:"primary",onClick:t,children:l("tonies.informationModal.ok")})]});return _.jsxs(_.Fragment,{children:[_.jsxs(Sn,{title:O,footer:k,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[_.jsxs("div",{style:{position:"relative"},children:[_.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),p?_.jsx(Jt,{title:`${y}`?l("tonies.alternativeSource",{originalTonie:'"'+E+'"',assignedContent:'"'+y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+E+'"'}).replace(' "" '," "),placement:"bottom",children:_.jsx("img",{src:m,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),S&&S.length>0?_.jsxs(_.Fragment,{children:[_.jsxs("strong",{children:[l("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),_.jsx("ul",{children:S.map(({ruidTime:M,boxName:N},A)=>_.jsxs("li",{children:[N,M?" ("+M+")":""]},A))})]}):_.jsx(_.Fragment,{}),_.jsxs("div",{children:["valid"in n?_.jsxs("p",{children:[_.jsx("strong",{children:l("tonies.infoModal.valid")})," ",n.valid?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"","exists"in n?_.jsxs("p",{children:[_.jsx("strong",{children:l("tonies.infoModal.exists")})," ",n.exists?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"",p?h&&h.length>0?_.jsxs(_.Fragment,{children:[_.jsx("strong",{children:l("tonies.infoModal.tracklist")}),_.jsx("ol",{children:h.map((M,N)=>_.jsx("li",{children:M},N))})]}):_.jsx(_.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?_.jsxs(_.Fragment,{children:[_.jsx("strong",{children:l("tonies.infoModal.tracklist")}),_.jsx("ol",{children:n.tonieInfo.tracks.map((M,N)=>_.jsx("li",{children:M},N))})]}):_.jsx(_.Fragment,{})]})]}),I]})},n2=[".mp3",".aac",".m4a",".wav",".flac",".ogg",".opus",".aiff",".aif",".wma",".ac3",".dts",".taf"];function Yu(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&i{const{t:l}=$t(),{playAudio:u}=RS(),{token:d}=bXe(),p=Wo(),f=uP(),m=c.useRef(null),g=c.useRef(null),[h,v]=c.useState([]),[S,b]=c.useState(""),[E,y]=c.useState(!1),[C,T]=c.useState([]),[x,R]=c.useState(!1),[w,I]=c.useState(),[O,k]=c.useState(""),[P,M]=c.useState(!1);c.useEffect(()=>{T([])},[]),c.useEffect(()=>{if(n){const V=new URLSearchParams(p.search);V.set("path",""),b("");const H=`${window.location.pathname}?${V.toString()}`;window.history.replaceState(null,"",H),y(q=>!q)}},[n]),c.useEffect(()=>{_Xe.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${S}&special=${e}`+(n?`&overlay=${n}`:"")).then(V=>V.json()).then(V=>{var H=V.files;i&&(H=H.filter(q=>q.isDir)),t.length>0&&(H=H.filter(q=>q.isDir||t.some(K=>q.name.endsWith(K)))),v(H)})},[S,e,i,E]),c.useEffect(()=>{g.current!==null&&m.current&&m.current.setSelectionRange(g.current,g.current)},[O]);const N=V=>{var H;!V.isDir&&((H=V.tonieInfo)!=null&&H.tracks)&&(I(V),R(!0))},A=V=>{a&&f(`?path=${V}`),S===V&&y(H=>!H),M(!1),b(V)},D=(V,H)=>{const q=V.split("/").filter(Z=>Z),K=[{title:_.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(""),children:l("fileBrowser.root")}),key:"/"}];return q.forEach((Z,te)=>{const se=`/${q.slice(0,te+1).join("/")}`;K.push({title:_.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(se),children:Z}),key:se})}),_.jsx(tp,{items:K})},L=V=>{k(V.target.value),g.current=V.target.selectionStart,M(!0)},$=()=>{k(""),g.current=0},F=()=>{M(!0)},B=()=>{M(!1)},z=V=>C.includes(V.key)?"highlight-row":"",U=V=>{if(r>0){if(t){const q=V.length;V=V.filter(K=>{const Z=h.find(te=>te.name===K);return Z&&Z.tafHeader!==void 0||Z&&t.some(te=>Z.name.toLowerCase().endsWith(te))}),q!==V.length&&Qe.warning(l("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}))}V.length>r?Qe.warning(l("fileBrowser.maxSelectedRows",{maxSelectedRows:r})):T(V)}else T(V);const H=(h==null?void 0:h.filter(q=>V.includes(q.name)))||[];s!==void 0&&s(H,S,e)},j=V=>{const H=V===".."?S.split("/").slice(0,-1).join("/"):`${S}/${V}`;a&&f(`?path=${H}`),M(!1),T([]),b(H)},G=(V,H)=>H.reduce((q,K)=>{if(q&&q[K]!==void 0)return q[K]},V),J=(V,H,q)=>{const K=Array.isArray(q)?G(V,q):V[q],Z=Array.isArray(q)?G(H,q):H[q];return K===void 0&&Z===void 0?0:K===void 0?1:Z===void 0?-1:typeof K=="string"&&typeof Z=="string"?K.localeCompare(Z):typeof K=="number"&&typeof Z=="number"?K-Z:(console.log("Unsupported types for sorting:",V,H),console.log("Unsupported types for sorting field:",q,K,Z),0)},Y=(V,H)=>V.isDir===H.isDir?J(V,H,"name"):V.isDir?-1:1;var Q=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(V,H)=>{var q,K;return H&&((q=H.tonieInfo)!=null&&q.picture)?_.jsx("img",{src:H.tonieInfo.picture,alt:l("tonies.content.toniePicture"),onClick:()=>N(H),style:{width:100,cursor:!H.isDir&&((K=H==null?void 0:H.tonieInfo)!=null&&K.tracks)?"help":"default"}},`picture-${H.name}`):_.jsx(_.Fragment,{})},showOnDirOnly:!1},{title:l("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Y,defaultSortOrder:"ascend",render:(V,H)=>{var q,K,Z,te,se;return H&&_.jsxs("div",{children:[_.jsxs("div",{className:"showSmallDevicesOnly",children:[_.jsx("div",{children:_.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})}),_.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),_.jsx("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),_.jsx("div",{className:"showMediumDevicesOnly",children:_.jsx("div",{children:_.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})})}),_.jsx("div",{className:"showBigDevicesOnly",children:H.isDir?"["+H.name+"]":H.name})]},`name-${H.name}`)},filteredValue:[O],onFilter:(V,H)=>{var K,Z,te,se;const q=V.toLowerCase();return H.name===".."||H.name.toLowerCase().includes(q)||!H.isDir&&"tafHeader"in H&&H.tafHeader.size&&Yu(H.tafHeader.size).toString().includes(q)||"tafHeader"in H&&((K=H.tafHeader.audioId)==null?void 0:K.toString().includes(q))||"tonieInfo"in H&&((Z=H.tonieInfo)==null?void 0:Z.model.toLowerCase().includes(q))||"tonieInfo"in H&&((te=H.tonieInfo)==null?void 0:te.series.toLowerCase().includes(q))||"tonieInfo"in H&&((se=H.tonieInfo)==null?void 0:se.episode.toLowerCase().includes(q))},showOnDirOnly:!0},{title:l("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return _.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model},`model-${H.name}`)}},{title:_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"showMediumDevicesOnly",children:[l("fileBrowser.model"),"/",l("fileBrowser.series"),"/",l("fileBrowser.episode")]}),_.jsx("div",{className:"showBigDevicesOnly",children:l("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(V,H)=>{var q,K,Z,te,se,ue,me;return _.jsxs("div",{children:[_.jsxs("div",{className:"showMediumDevicesOnly",children:[_.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),_.jsx("div",{style:{wordBreak:"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),_.jsx("div",{className:"showBigDevicesOnly",children:(ue=H.tonieInfo)!=null&&ue.series?(me=H.tonieInfo)==null?void 0:me.series:""})]},`series-${H.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:l("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return _.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.episode},`episode-${H.name}`)}},{title:_.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:l("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(V,H)=>{let q=[];return H.tafHeader?q.push(_.jsx(Jt,{title:l("fileBrowser.playFile"),children:_.jsx(ko,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)):SXe.some(K=>H.name.endsWith(K))&&q.push(_.jsx(Jt,{title:l("fileBrowser.playFile"),children:_.jsx(ko,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)),q},showOnDirOnly:!1}];return Q.forEach(V=>{V.hasOwnProperty("sorter")||(V.sorter=(H,q)=>J(H,q,V.dataIndex))}),i&&(Q=Q.filter(V=>V.showOnDirOnly)),o&&(Q=Q.filter(V=>typeof V.key=="string"?o.includes(V.key):!1)),_.jsxs(_.Fragment,{children:[w?_.jsx(t2,{open:x,tonieCardOrTAFRecord:w,onClose:()=>R(!1),overlay:n}):"",_.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:_.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[_.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:l("tonies.currentPath")}),D(S,A)]})}),_.jsx(Ya,{dataSource:h,columns:Q,rowKey:V=>V.name,pagination:!1,onRow:V=>({onDoubleClick:()=>{if(V.isDir)j(V.name);else{const H=C.includes(V.name)?C.filter(q=>q!==V.name):[...C,V.name];U(H)}}}),rowClassName:z,rowSelection:r>0?{selectedRowKeys:C,onChange:U}:{selectedRowKeys:C,onChange:U,getCheckboxProps:V=>({disabled:V.name===".."}),onSelectAll:(V,H)=>{const q=V?H.filter(K=>K.name!=="..").map(K=>K.name):[];T(q)}},components:{header:{wrapper:V=>_.jsx("thead",{...V}),row:V=>_.jsxs(_.Fragment,{children:[_.jsx("tr",{...V}),_.jsx("tr",{children:_.jsx("th",{style:{padding:"10px 8px"},colSpan:Q.length+1,children:_.jsx(en,{placeholder:l("fileBrowser.filter"),value:O,onChange:L,onFocus:F,onBlur:B,ref:m,style:{width:"100%"},autoFocus:P,addonAfter:_.jsx(na,{onClick:$,disabled:O.length===0,style:{color:O.length===0?d.colorTextDisabled:d.colorText,cursor:O.length===0?"default":"pointer"}})})})})]}),cell:V=>_.jsx("th",{...V,style:{position:"sticky",top:0,zIndex:20}})}}})]})},EXe=new xn(vn()),Qre=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:i,hash:o})=>{const{t:s}=$t(),[l]=Xt.useForm();c.useEffect(()=>{e&&f(),e&&a&&l.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,l]);const u=async y=>{if(y.tracks&&(y.tracks=y.tracks.filter(C=>C.track&&C.track.trim()).map(C=>C.track)),y.audio_id){y.audio_id=y.audio_id.filter(x=>x.audio_id&&x.audio_id.trim()&&x.hash&&x.hash.trim());const C=y.audio_id.map(x=>x.audio_id),T=y.audio_id.map(x=>x.hash);y={no:y.no,model:y.model,audio_id:C,hash:T,title:y.title,series:y.series,episodes:y.episodes,tracks:y.tracks,release:y.release,language:y.language,category:y.category,pic:y.pic}}g(y),v(!0);try{await EXe.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(y),void 0,void 0,{"Content-Type":"application/json"}),y.article&&n&&(n(y.article),r.onChange(y.article)),f(),Qe.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(C){Qe.error(s("tonies.addNewCustomTonieModal.failedToCreate")+C)}},d=()=>{l.submit()},p=()=>{f(),t()},f=()=>{l.resetFields(),l.setFieldsValue({audio_id:[{audio_id:i||"",hash:o||""}],tracks:[{track:""}]})},[m,g]=c.useState(""),[h,v]=c.useState(!1),S=_.jsx(wt,{type:"primary",onClick:()=>b(),children:s("tonies.informationModal.ok")}),b=()=>{v(!1),p()},E=_.jsx(Sn,{footer:S,width:700,title:"File (you can copy the content to the tonies.custom.json)",open:h,onCancel:b,children:m?_.jsxs(_.Fragment,{children:[_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,2)},"json-readable"),_.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,0)},"json-minimized")]}):"Loading..."});return _.jsxs(_.Fragment,{children:[_.jsxs(Sn,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:p,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[_.jsx(Zn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),_.jsx(Xt,{form:l,layout:"vertical",onFinish:u,children:_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:24,children:_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:8,children:_.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),_.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:_.jsx(Vu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:_.jsx(en,{style:{width:"100%"}})},"series")}),_.jsx(wn,{span:10,children:_.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),_.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:_.jsx(Vu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:_.jsx(en,{style:{width:"100%"}})},"episodes")}),_.jsx(wn,{span:6,children:_.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),_.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:_.jsx(Vu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:_.jsx(en,{style:{width:"100%"}})},"language")})]})}),_.jsx(wn,{span:24,children:_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:8,children:_.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:_.jsx(en,{style:{width:"100%"}})},"model")}),_.jsx(wn,{span:16,children:_.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:_.jsx(en,{style:{width:"100%"}})},"pic")})]})}),_.jsx(wn,{span:24,children:_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:8,children:_.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:_.jsx(en,{style:{width:"100%"}})},"no")}),_.jsx(wn,{span:16,children:_.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),_.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:_.jsx(Vu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:_.jsx(en,{style:{width:"100%"}})},"title")})]})}),_.jsx(wn,{span:24,children:_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:8,children:_.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:_.jsx(en,{style:{width:"100%"}})},"release")}),_.jsx(wn,{span:16,children:_.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:_.jsx(en,{style:{width:"100%"}})},"category")})]})}),_.jsx(wn,{span:24,children:_.jsx(Oa,{gutter:[16,0],children:_.jsx(wn,{span:24,children:_.jsx(Xt.List,{name:"audio_id",children:(y,{add:C,remove:T})=>_.jsxs(_.Fragment,{children:[y.map(({key:x,name:R,...w},I)=>_.jsxs(Oa,{gutter:[16,0],children:[_.jsx(wn,{span:8,children:c.createElement(Xt.Item,{...w,key:`audio-id-${x}`,name:[R,"audio_id"],label:_.jsx("div",{children:I===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${x}`)},_.jsx(en,{style:{width:"100%"}}))}),_.jsx(wn,{span:16,children:c.createElement(Xt.Item,{...w,key:`hash-${x}`,name:[R,"hash"],label:_.jsx("div",{children:I===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${x}`)},_.jsx(en,{style:{width:"100%"},addonAfter:_.jsx(wt,{type:"link",onClick:()=>T(R),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${x}`)}))})]},`audio-id-hash-row-${x}`)),_.jsx(Xt.Item,{children:_.jsx(wt,{type:"dashed",onClick:()=>C(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),_.jsx(wn,{span:24,children:_.jsx(Xt.List,{name:"tracks",children:(y,{add:C,remove:T})=>_.jsxs(_.Fragment,{children:[y.map(({key:x,name:R,...w},I)=>_.jsx(Oa,{gutter:[16,0],children:_.jsx(wn,{span:24,children:c.createElement(Xt.Item,{...w,key:`track-${x}`,name:[R,"track"],label:_.jsx("div",{children:I===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${x}`)},_.jsx(en,{style:{width:"100%"},addonAfter:_.jsx(wt,{type:"link",onClick:()=>T(R),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${x}`)},"input-track-"+x))})},`track-row-${x}`)),_.jsx(Xt.Item,{children:_.jsx(wt,{type:"dashed",onClick:()=>C(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),E]})},yXe=new xn(vn()),CXe=e=>{const{t}=$t();Qe.useMessage();const[n,r]=c.useState([]),[a,i]=c.useState(),[o,s]=c.useState(),[l,u]=c.useState(!1),d=async m=>{const g=encodeURIComponent(m),h="/api/toniesJsonSearch?searchModel="+g+"&searchSeries="+g+"&searchEpisode="+g;try{const S=await(await yXe.apiGetTeddyCloudApiRaw(h)).json();s(S);const b=S.map(E=>({value:E.model,text:"["+E.model+"] "+E.series+" - "+E.episode,picture:E.picture}));r(b)}catch(v){Qe.error(t("tonieArticleSearch.failedToFetchSearchResults")+v);return}},p=m=>{i(m),e.onChange(m)},f=()=>{u(!0)};return _.jsxs(_.Fragment,{children:[_.jsx(kr,{showSearch:!0,value:a,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:d,onChange:p,notFoundContent:null,options:(n||[]).map(m=>({value:m.value,label:_.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[_.jsx("img",{src:m.picture,alt:m.text,style:{display:"none"}}),m.text]})})),style:{marginTop:"8px"}}),_.jsx(Qre,{open:l,props:e,setValue:i,onClose:()=>u(!1)}),_.jsx(Jt,{title:t("tonies.addNewCustomTonieHint"),children:_.jsx(wt,{onClick:f,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},TXe=({countryCode:e,height:t})=>{switch(e){case"de-de":return _.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[_.jsx("path",{d:"M0 0h100v20H0z"}),_.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),_.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[_.jsxs("g",{fill:"#FFF",children:[_.jsx("path",{d:"M0 0h100v66.53H0z"}),_.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),_.jsx("path",{d:"M76.764 44.834 100 57.642V44.834zm-16.004 0L100 66.53v-6.141L71.988 44.834zM89.396 66.53 60.741 50.604V66.53zM17.602 44.834 0 54.62v-9.786zm21.442 2.768V66.55H4.971zM23.041 21.696 0 8.889v12.807zm16.004 0L0 0v6.141l28.012 15.556zM10.409 0l28.655 15.926V0zm71.793 21.696L100 11.911v9.786zM60.76 18.928V0h34.093z",fill:"#0052B4"}),_.jsxs("g",{fill:"#D80027",children:[_.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),_.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zm-32.748 0L0 60.41v6.14l39.045-21.715zm11.033-23.139L0 0v6.141l28.012 15.556zm32.748 0L100 6.141V0L60.76 21.696z"})]})]});case"en-us":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),_.jsx("path",{d:"M0 0h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.273h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.129H0z",fill:"#D80027"}),_.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),_.jsx("path",{d:"m9.318 27.076-.78-2.495-.858 2.495H5.107l2.086 1.501-.78 2.495 2.125-1.54 2.066 1.54-.799-2.495 2.125-1.501zm10.975 0-.799-2.495-.819 2.495h-2.574l2.086 1.501-.78 2.495 2.086-1.54 2.105 1.54-.78-2.495 2.086-1.501zm11.014 0-.838-2.495-.78 2.495h-2.632l2.144 1.501-.819 2.495 2.086-1.54 2.144 1.54-.819-2.495 2.086-1.501zm10.955 0-.78-2.495-.819 2.495H38.07l2.105 1.501-.78 2.495 2.086-1.54 2.105 1.54-.838-2.495 2.144-1.501zM19.493 14.678l-.819 2.495h-2.573l2.086 1.54-.78 2.456 2.086-1.52 2.105 1.52-.78-2.456 2.086-1.54h-2.612zm-10.955 0-.858 2.495H5.107l2.086 1.54-.78 2.456 2.125-1.52 2.066 1.52-.799-2.456 2.125-1.54H9.318zm21.93 0-.78 2.495h-2.632l2.144 1.54-.819 2.456 2.086-1.52 2.144 1.52-.819-2.456 2.086-1.54h-2.573zm11.014 0-.819 2.495H38.07l2.105 1.54-.78 2.456 2.086-1.52 2.105 1.52-.838-2.456 2.144-1.54H42.26zM8.539 4.814 7.681 7.27H5.107l2.086 1.54-.78 2.476 2.125-1.539 2.066 1.54-.799-2.476 2.125-1.54H9.318zm10.955 0-.819 2.456h-2.574l2.086 1.54-.78 2.476 2.086-1.539 2.105 1.54-.78-2.476 2.086-1.54h-2.612zm10.975 0-.78 2.456h-2.632l2.144 1.54-.819 2.476 2.086-1.54 2.144 1.54-.819-2.476 2.086-1.54h-2.573zm11.014 0-.819 2.456h-2.593l2.105 1.54-.78 2.476 2.086-1.54 2.105 1.54-.838-2.476 2.144-1.54h-2.632z",fill:"#FFF"})]});case"fr-fr":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),_.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),_.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),_.jsx("path",{d:"M0 0h33.333v66.667H0z"}),_.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),_.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),_.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[_.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),_.jsx("path",{fill:"#6DA544",points:"196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 ",d:"M38.406 16.667L38.406 51.087L38.406 83.333L0 83.333L0 16.667Z"}),_.jsx("path",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64",d:"M50.906 50A12.5 12.5 0 0 1 38.406 62.5A12.5 12.5 0 0 1 25.906 50A12.5 12.5 0 0 1 50.906 50z"}),_.jsx("path",{fill:"#D80027",d:"M31.375 43.75v7.813c0 3.883 3.148 7.031 7.031 7.031s7.031 -3.148 7.031 -7.031V43.75z"}),_.jsx("path",{fill:"#FFFFFF",d:"M38.406 53.906c-1.292 0 -2.344 -1.051 -2.344 -2.344v-3.125h4.688v3.125c0 1.292 -1.052 2.344 -2.344 2.344"})]});case"it-it":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),_.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),_.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return _.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[_.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),_.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),_.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),_.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),_.jsx("path",{fill:"#A41517",d:"M32 37.778c0 1.333 1.333 2.222 2.667 2.222s2.667 -0.889 2.667 -2.222L37.778 31.111H31.556zM29.333 31.111c0 -1.333 0.889 -2.222 1.778 -2.222h6.667c1.333 0 2.222 0.889 2.222 1.778V31.111l-0.444 6.667c-0.444 2.667 -2.222 4.444 -4.889 4.444s-4.444 -1.778 -4.889 -4.444z"}),_.jsx("path",{fill:"#A41517",d:"M30.222 33.333h8.889V35.556h-2.222l-2.222 4.444 -2.222 -4.444h-2.222zM23.556 26.667h4.444v15.556h-4.444zm17.778 0h4.444v15.556h-4.444zm-11.111 -2.222c0 -1.333 0.889 -2.222 2.222 -2.222h4.444c1.333 0 2.222 0.889 2.222 2.222v0.889q0 1.333 -1.333 1.333H31.111c-0.444 0 -0.889 -0.444 -0.889 -0.889z"})]});case"pl-pl":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[_.jsxs("g",{children:[_.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),_.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),_.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[_.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),_.jsx("path",{fill:"#FFFFFF",d:"m6958.333 0 2261.333-734.667-1397.667 1923.5v-2377.666l1397.667 1923.5zM7112.5 1336.833a2500 2500 0 1 1 0-2673.667 2000 2000 0 1 0 0 2673.667"})]});default:return null}},k1=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],xXe=e=>{const{t}=$t(),[n,r]=Qe.useMessage(),[a,i]=c.useState([]),[o,s]=c.useState(),[l,u]=c.useState(!1),d="https://de1.api.radio-browser.info/json/";c.useEffect(()=>{(async()=>{try{(await fetch(d+"stats")).ok&&u(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),u(!1)}})()},[]);const p=(v,S)=>{let b;return(...E)=>{clearTimeout(b),b=setTimeout(()=>v.apply(void 0,E),S)}},f=async v=>{if(i([]),v==="")return;const S=encodeURIComponent(v),b=d+"stations/search?name="+S+"&is_https=true&hidebroken=true";try{const E=await fetch(b,{});if(!E.ok)throw new Error(E.status+" "+E.statusText);const y=await E.json(),C=Array.from(new Set(y.map(T=>T.url))).map(T=>{const x=y.find(R=>R.url===T);return{value:x.url,text:(x.country?"["+x.country+"] ":"")+x.name+(x.language?" ("+x.language+")":"")}});i(C)}catch(E){Qe.error(t("radioStreamSearch.failedToFetchSearchResults")+E);return}},m=c.useCallback(p(f,300),[]),g=v=>{s(v),e.onChange(v)};return l?_.jsxs(_.Fragment,{children:[_.jsx(Tn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,_.jsx(kr,{showSearch:!0,style:{margin:"8px 0"},value:o,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:m,onChange:g,notFoundContent:null,options:(a||[]).map(v=>({value:v.value,label:v.text}))})]}):_.jsx(_.Fragment,{})},_u=new xn(vn()),{Meta:RXe}=ap,{Text:S9}=Tn,{useToken:wXe}=ka,IXe=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:i=!0,onHide:o,onUpdate:s})=>{const{t:l}=$t(),{token:u}=wXe(),[d,p]=c.useState(0),[f,m]=c.useState(e),[g,h]=Qe.useMessage(),[v,S]=c.useState(f.nocloud),[b,E]=c.useState(f.live),[y,C]=c.useState(f.downloadTriggerUrl),{playAudio:T}=RS(),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(f.tonieInfo.model),[N,A]=c.useState(""),[D,L]=c.useState({validateStatus:"",help:""}),[$,F]=c.useState(f.source),[B,z]=c.useState(""),[U,j]=c.useState({validateStatus:"",help:""}),G=async()=>{try{const _e=await _u.apiGetTagInfo(f.ruid,n);m(_e),s(_e)}catch(_e){Qe.error("Error fetching updated card: "+_e)}},J=`${f.tonieInfo.series}`+(f.tonieInfo.episode?` - ${f.tonieInfo.episode}`:""),Y="sourceInfo"in f?`${f.sourceInfo.series}`+(f.sourceInfo.episode?` - ${f.sourceInfo.episode}`:""):"",Q=i&&"sourceInfo"in f&&(f.sourceInfo.picture!==f.tonieInfo.picture&&J!==Y||f.sourceInfo.picture===f.tonieInfo.picture&&J!==Y),V=(_e,Ae,ye)=>{if(_e&&_e.length===1){const Ne=(ye==="library"?"lib:/":"content:/")+Ae+"/"+_e[0].name;z(Ne)}else z($)},H=()=>{k(!0)},q=()=>{z($),k(!1)},K=()=>{A(P),z($),I(!0)},Z=async()=>{try{$!==B&&await Te(),P!==N&&await de()}catch{G();return}I(!1),G()},te=async()=>{try{await _u.apiPostTeddyCloudContentJson(f.ruid,"live="+!b,n),E(!b),b?Qe.success(l("tonies.messages.liveDisabled")):Qe.success(l("tonies.messages.liveEnabled")),G()}catch(_e){Qe.error(l("tonies.messages.couldNotChangeLiveFlag")+_e)}},se=async()=>{try{await _u.apiPostTeddyCloudContentJson(f.ruid,"nocloud="+!v,n),m({...f,nocloud:!v}),S(!v),v?Qe.success(l("tonies.messages.cloudAccessEnabled")):Qe.success(l("tonies.messages.cloudAccessBlocked")),G()}catch(_e){Qe.error(l("tonies.messages.couldNotChangeCloudFlag")+_e)}},ue=async _e=>{console.log(f),T(_e,Q?f.sourceInfo:f.tonieInfo,f.trackSeconds)},me=async()=>{const _e=f.downloadTriggerUrl;C("");try{g.open({type:"loading",content:l("tonies.messages.downloading"),duration:0});const ye=await(await _u.apiGetTeddyCloudApiRaw(_e)).blob();g.destroy(),g.open({type:"success",content:l("tonies.messages.downloadedFile")}),G()}catch(Ae){g.destroy(),g.open({type:"error",content:l("tonies.messages.errorDuringDownload")+Ae}),C(""+_e)}},de=async()=>{try{await _u.apiPostTeddyCloudContentJson(f.ruid,"tonie_model="+encodeURIComponent(N),n),M(N),Qe.success(l("tonies.messages.setTonieToModelSuccessful",{selectedModel:N||l("tonies.messages.setToEmptyValue")})),L({validateStatus:"",help:""})}catch(_e){throw Qe.error(l("tonies.messages.setTonieToModelFailed")+_e),L({validateStatus:"error",help:l("tonies.messages.setTonieToModelFailed")+_e}),_e}},Te=async()=>{try{await _u.apiPostTeddyCloudContentJson(f.ruid,"source="+encodeURIComponent(B),n),F(B),Qe.success(l("tonies.messages.setTonieToSourceSuccessful",{selectedSource:B||l("tonies.messages.setToEmptyValue")})),j({validateStatus:"",help:""})}catch(_e){throw Qe.error(l("tonies.messages.setTonieToSourceFailed")+_e),j({validateStatus:"error",help:l("tonies.messages.setTonieToSourceFailed")+_e}),_e}v||se()},Ee=_e=>{A(_e.target.value)},ge=_e=>{z(_e.target.value)},re=t.filter(([_e])=>_e===f.ruid).map(([,_e,Ae])=>({ruidTime:_e,boxName:Ae})),ne=_e=>{A(_e)},ae=_e=>{z(_e)},le=_.jsxs(_.Fragment,{children:[_.jsxs("h3",{style:{lineHeight:0},children:[l("tonies.editModal.title"),f.tonieInfo.model?" ("+f.tonieInfo.model+")":""]}),f.tonieInfo.series?_.jsx(S9,{type:"secondary",children:J}):" "]}),pe=_.jsx(_.Fragment,{children:_.jsxs(wt,{type:"primary",onClick:Z,disabled:$===B&&P===N,children:[_.jsx(Bee,{},"saveClick")," ",l("tonies.editModal.save")]})}),Re=_.jsxs(Sn,{open:w,onCancel:()=>I(!1),title:le,footer:pe,width:700,children:[_.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.source")}),_.jsx("div",{children:_.jsxs(Xt.Item,{validateStatus:U.validateStatus,help:U.help,children:[_.jsx(en,{value:B,width:"auto",onChange:ge,addonBefore:_.jsx(na,{onClick:()=>{z($),j({validateStatus:"",help:""})},style:{color:$===B?u.colorTextDisabled:u.colorText,cursor:$===B?"default":"pointer"}}),addonAfter:_.jsx(zk,{onClick:()=>H()})}),_.jsx(xXe,{placeholder:l("tonies.editModal.placeholderSearchForARadioStream"),onChange:ae})]})}),_.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.model")}),_.jsx("div",{children:_.jsxs(Xt.Item,{validateStatus:D.validateStatus,help:D.help,children:[_.jsx(en,{value:N,width:"auto",onChange:Ee,addonBefore:_.jsx(na,{onClick:()=>{A(P),L({validateStatus:"",help:""})},style:{color:P===N?u.colorTextDisabled:u.colorText,cursor:P===N?"default":"pointer"}})}),_.jsx(CXe,{placeholder:l("tonies.editModal.placeholderSearchForAModel"),onChange:ne})]})})]}),Se=_.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[_.jsx(wt,{onClick:q,children:l("tonies.selectFileModal.cancel")}),_.jsx(wt,{type:"primary",onClick:()=>k(!1),children:l("tonies.selectFileModal.ok")})]}),Pe=_.jsx(Sn,{className:"sticky-footer",title:l("tonies.selectFileModal.selectFile"),open:O,onOk:()=>k(!1),onCancel:q,width:"auto",footer:Se,children:_.jsx(r2,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:V})}),fe=r?[_.jsx(Vu,{onClick:()=>{p(d+1),R(!0)}},"info"),f.valid||$.startsWith("http")?_.jsx(ko,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):_.jsx(ko,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),_.jsx(xD,{style:{cursor:"default",color:v?"red":u.colorTextDisabled}},"nocloud"),_.jsx(O4,{style:{cursor:"default",color:b?"red":u.colorTextDisabled}},"live")]:[_.jsx(Vu,{onClick:()=>{p(d+1),R(!0)}},"info"),_.jsx(ym,{onClick:K},"edit"),f.valid||$.startsWith("http")?_.jsx(ko,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):y&&y.length>0?_.jsx(jk,{onClick:me},"download"):_.jsx(ko,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),_.jsx(xD,{style:{color:v?"red":u.colorTextDescription},onClick:se},"nocloud"),_.jsx(O4,{style:{color:b?"red":u.colorTextDescription},onClick:te},"live")];return _.jsxs(_.Fragment,{children:[h,_.jsx(ap,{hoverable:!1,size:"small",style:re&&re.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:_.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[_.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:f.tonieInfo.series?f.tonieInfo.series:l("tonies.unsetTonie")}),a!==f.tonieInfo.language?_.jsx(Jt,{placement:"top",zIndex:2,title:l("languageUtil."+f.tonieInfo.language),children:_.jsx(S9,{style:{height:20,width:"auto"},children:_.jsx(TXe,{countryCode:f.tonieInfo.language,height:20})})}):""]}),cover:_.jsxs("div",{style:{position:"relative"},children:[_.jsx("img",{alt:`${f.tonieInfo.series} - ${f.tonieInfo.episode}`,src:f.tonieInfo.picture?f.tonieInfo.picture:"/img_unknown.png",style:f.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),Q?_.jsx(Jt,{title:`${Y}`?l("tonies.alternativeSource",{originalTonie:'"'+J+'"',assignedContent:'"'+Y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+J+'"'}).replace(' "" '," "),placement:"bottom",children:_.jsx("img",{src:f.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:fe,children:_.jsx(RXe,{title:`${f.tonieInfo.episode}`,description:f.uid})},f.ruid),_.jsx(t2,{open:x,onClose:()=>R(!1),tonieCardOrTAFRecord:f,showSourceInfo:i,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},d),Pe,Re]})},OXe=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:i}=$t();return _.jsxs(_.Fragment,{children:[_.jsx($k,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:i("tonies.tonies.pageSelector")},style:{marginBottom:8}}),_.jsx(wt,{onClick:a,style:{marginLeft:16},children:i("tonies.tonies.showAll")})]})},{Option:NXe}=kr,jh=new xn(vn()),P1="toniesListState",a2=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:i="",onToniesCardUpdate:o})=>{const{t:s}=$t(),l=Wo(),[u,d]=c.useState(e),[p,f]=c.useState(""),[m,g]=c.useState(""),[h,v]=c.useState(""),[S,b]=c.useState([]),[E,y]=c.useState(!1),[C,T]=c.useState(!1),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(!1),[N,A]=c.useState(!1),[D,L]=c.useState(!1),[$,F]=c.useState(!1),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!0),[Y,Q]=c.useState(!0),[V,H]=c.useState([]),[q,K]=c.useState(()=>{const Me=localStorage.getItem(P1);if(Me){const{pageSize:Ce}=JSON.parse(Me);return Ce}return 24}),[Z,te]=c.useState(1),[se,ue]=c.useState(!0),[me,de]=c.useState(!1),[Te,Ee]=c.useState(!0),[ge,re]=c.useState([]),[ne,ae]=c.useState(0),[le,pe]=c.useState(!1);c.useEffect(()=>{const Me=localStorage.getItem(P1);if(Me)try{const{pageSize:Ce,showAll:De}=JSON.parse(Me);De?ye():(K(Ce),Ne(1,Ce))}catch(Ce){console.error("Error parsing stored state:",Ce)}else console.log("No stored state found.")},[]),c.useEffect(()=>{(async()=>{const De=async ze=>await jh.apiGetTonieboxLastRUID(ze),Ue=async ze=>await jh.apiGetTonieboxLastRUIDTime(ze),Ye=await jh.apiGetTonieboxesIndex(),He=await Promise.all(Ye.map(async ze=>{const Xe=await De(ze.ID),Be=await Ue(ze.ID);return[Xe,Be,ze.boxName]}));H(He)})(),(async()=>{const De=await jh.apiGetTeddyCloudSettingRaw("frontend.split_model_content");pe(await De.text()==="true")})()},[]);const Re=c.useMemo(()=>e.map(Me=>Me.ruid).join(","),[e]);c.useEffect(()=>{const Ce=new URLSearchParams(l.search).get("tonieRUID");if(Ce){f(Ce),J(!1);const De=e.filter(Ue=>Ue.ruid.toLowerCase()===Ce);d(De)}else d(e);ae(De=>De+1),Q(!1)},[l.search,Re]),c.useEffect(()=>{te(1),ae(Me=>Me+1)},[Re]),c.useEffect(()=>{const Me=JSON.stringify({pageSize:q,paginationEnabled:se,showAll:me});localStorage.setItem(P1,Me)},[Te,q,se,me]);const Se=()=>{Ee(!Te)},Pe=Me=>{o&&o(Me),d(Ce=>Ce.map(De=>De.ruid===Me.ruid?Me:De))},fe=()=>{let Me=e.filter(Ce=>{var De,Ue;return(((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(m.toLowerCase())||Ce.tonieInfo.series.toLowerCase().includes(m.toLowerCase()))&&(((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(h.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(h.toLowerCase()))&&(S.length===0||S.includes(Ce.tonieInfo.language!==void 0&&k1.includes(Ce.tonieInfo.language)?Ce.tonieInfo.language:"undefined")||S.includes(Ce.sourceInfo&&Ce.sourceInfo.language!==void 0&&k1.includes(Ce.sourceInfo.language)?Ce.sourceInfo.language:"undefined"))&&(!C||Ce.valid)&&(!x||!Ce.valid)&&(!w||Ce.exists)&&(!O||!Ce.exists)&&(!P||Ce.live)&&(!N||!Ce.live)&&(!D||Ce.nocloud)&&(!$||!Ce.nocloud)&&(!B||Ce.hasCloudAuth)&&(!U||!Ce.hasCloudAuth)});p&&(Me=Me.filter(Ce=>{var De,Ue,Ye;return Ce.tonieInfo.series.toLowerCase().includes(p.toLowerCase())||((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(p.toLowerCase())||((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.model.toLowerCase().includes(p.toLowerCase())||((Ye=Ce.sourceInfo)==null?void 0:Ye.model)&&Ce.sourceInfo.model.toLowerCase().includes(p.toLowerCase())||Ce.ruid.toLowerCase().includes(p.toLowerCase())||Ce.uid.toLowerCase().includes(p.toLowerCase())})),E&&(Me=Me.filter(Ce=>V.some(([De])=>De===Ce.ruid))),ge&&(Me=Me.filter(Ce=>!ge.includes(Ce.ruid))),te(1),d(Me),ae(Ce=>Ce+1)},_e=Me=>{d(u.filter(Ce=>Ce.ruid!==Me)),re(Ce=>[...Ce,Me]),ae(Ce=>Ce+1)},Ae=()=>{f(""),g(""),v(""),T(!1),R(!1),I(!1),k(!1),M(!1),A(!1),L(!1),F(!1),z(!1),j(!1),y(!1),b([]);const Me=window.location.pathname;window.history.pushState({},"",Me),l.search="",ge&&(e=e.filter(Ce=>!ge.includes(Ce.ruid))),d(e),ae(Ce=>Ce+1)},ye=()=>{de(!0),ue(!1),Se()},be=()=>{ue(!0),de(!1),Ne(1,q)},Ne=(Me,Ce)=>{K(Ce),ae(De=>De+1),te(Me),Se(),window.scrollTo(0,0)};if(Y)return _.jsx("div",{children:"Loading..."});const we=()=>{if(me)return u!==null?u:e;{const Me=(Z-1)*q,Ce=Me+q;return u!==null?u.slice(Me,Ce):e.slice(Me,Ce)}},xe=_.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:se?_.jsx(OXe,{currentPage:Z,onChange:Ne,total:u!==null?u.length:e.length,pageSize:q,additionalButtonOnClick:ye}):_.jsx(wt,{onClick:be,children:s("tonies.tonies.showPagination")})}),ke=_.jsxs(_.Fragment,{children:[_.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),_.jsx(en.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:p,onChange:Me=>f(Me.target.value),onSearch:fe,enterButton:!0,style:{margin:"8px 0 8px 0"}}),_.jsxs("div",{className:"filter-container",children:[_.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),_.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:m,onChange:Me=>g(Me.target.value)}),_.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:h,onChange:Me=>v(Me.target.value)}),_.jsx(kr,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:Me=>b(Me),style:{width:"100%",margin:"8px 0"},children:k1.map(Me=>_.jsx(NXe,{value:Me,children:s(Me?"languageUtil."+Me:"languageUtil.other")},Me))}),_.jsxs("div",{children:[_.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:C,onChange:Me=>T(Me)}),s("tonies.tonies.filterBar.valid")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:x,onChange:Me=>R(Me)}),s("tonies.tonies.filterBar.invalid")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:w,onChange:Me=>I(Me)})," ",s("tonies.tonies.filterBar.exists")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:O,onChange:Me=>k(Me)}),s("tonies.tonies.filterBar.notExists")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:P,onChange:Me=>M(Me)})," ",s("tonies.tonies.filterBar.live")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:N,onChange:Me=>A(Me)})," ",s("tonies.tonies.filterBar.unsetLive")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:$,onChange:Me=>F(Me)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:D,onChange:Me=>L(Me)}),s("tonies.tonies.filterBar.noCloud")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:B,onChange:Me=>z(Me)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:U,onChange:Me=>j(Me)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),_.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[_.jsx(Fa,{checked:E,onChange:Me=>y(Me)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),_.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[_.jsx(wt,{onClick:Ae,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),_.jsx(wt,{onClick:fe,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),at=[{key:"search-filter",label:s(G?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:ke}];return _.jsxs("div",{className:"tonies-list-container",children:[t?_.jsx(Id,{items:at,defaultActiveKey:G?[]:["search-filter"],onChange:()=>J(!G),bordered:!1}):"",_.jsx(_l,{header:n?xe:"",footer:n?xe:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:we(),renderItem:Me=>_.jsx(_l.Item,{id:Me.ruid,children:_.jsx(IXe,{tonieCard:Me,lastRUIDs:V,overlay:r,readOnly:a,defaultLanguage:i,showSourceInfo:le,onHide:_e,onUpdate:Pe})})},ne)]})},Gp=new xn(vn()),{Paragraph:zh}=Tn,AXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1),[i,o]=c.useState(!1),[s,l]=c.useState(""),[u,d]=c.useState([]);c.useEffect(()=>{(async()=>{const v=await Gp.apiGetSecurityMITAlert();a(v)})(),(async()=>{try{const v=await Gp.apiGetNewBoxesAllowed();o(v),v&&(async()=>{const b=await Gp.apiGetTonieboxesIndex(),E=await Promise.all(b.map(async y=>{const C=await Gp.apiGetTonieboxApiAccess(y.ID);return[y.boxName,C]}));d(E)})()}catch(v){Qe.error("Error: "+v)}})(),(async()=>{const v=(await Gp.apiGetTagIndexMergedAllOverlays(!0)).filter(S=>!S.hide);n(v.sort((S,b)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),c.useEffect(()=>{const m={};t.forEach(v=>{const S=v.tonieInfo.language;m[S]?m[S]++:m[S]=1});let g=0,h="";for(const v in m)m.hasOwnProperty(v)&&m[v]>g&&(g=m[v],h=v);l(h)},[t]);const p=u.filter(m=>!m[1]),f=i?_.jsxs(_.Fragment,{children:[_.jsx(Zn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),p.length>0&&_.jsx(Zn,{message:e("tonieboxes.boxWithoutAPIAccess"),description:_.jsxs(_.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),_.jsx("ul",{children:p.map(m=>_.jsx("li",{children:m[0]},m[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),_.jsx(St,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Tl,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Tl,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsxs(zh,{children:[_.jsx("h1",{children:e("home.title")}),r?_.jsx(Zn,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),f]}),_.jsxs(zh,{children:[e("home.forumIntroPart1"),_.jsx(St,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),_.jsxs(zh,{children:[_.jsx("h2",{children:e("home.yourTonies")}),_.jsx(a2,{tonieCards:t.filter(m=>m.type==="tag"&&m.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),_.jsx(wt,{children:_.jsxs(St,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(m=>m.type==="tag").length,")"]})})]}),_.jsxs(zh,{children:[_.jsx("h2",{children:e("home.helpfulLinks")}),_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(St,{to:"/community/faq",children:"FAQ"})}),_.jsx("li",{children:_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),_.jsx("li",{children:_.jsx(St,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),_.jsx("li",{children:_.jsx(St,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),_.jsx("li",{children:_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:DXe}=ka,MXe=()=>{const{token:e}=DXe();return _.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[_.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),_.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},LXe=new xn(vn()),{useToken:kXe}=ka,i2=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:i=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:o=(l=>(l=document.getElementById("collage-container"))==null?void 0:l.clientWidth)()||0})=>{var b,E;const{token:u}=kXe(),[d,p]=c.useState([]),f=o,m=i,g=50,h=50,v=(((b=document.getElementById("central-text"))==null?void 0:b.clientWidth)||0)/(f<450?3:2),S=(((E=document.getElementById("central-text"))==null?void 0:E.clientHeight)||0)/(m<500?3:2);return c.useEffect(()=>{(async()=>{const x=(await LXe.apiGetTagIndexMergedAllOverlays(!1)).sort((R,w)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(R=>!R.tonieInfo.picture.endsWith("/img_unknown.png")&&R.tonieInfo.picture!==null&&R.tonieInfo.picture!==void 0&&R.tonieInfo.picture!==""&&!R.nocloud).slice(0,e).flatMap(R=>R.tonieInfo.picture).map((R,w)=>{if(r&&a){let I,O;do I=Math.random()*(100-t/m*100),O=Math.random()*(100-t/f*100);while(0g-S/m*100-t/m*100&&Ih-v/f*100-t/f*100&&O_.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:y.top,left:y.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[_.jsx("img",{src:y.src,alt:`Random ${y.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&_.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:_.jsx(MXe,{})})]},y.id))]})},{Paragraph:PXe}=Tn,$Xe=()=>{const{t:e}=$t();return _.jsx(_.Fragment,{children:_.jsx(Pn,{children:_.jsx(PXe,{children:_.jsx(i2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},FXe=new xn(vn()),BXe=()=>{var a;const{t:e}=$t(),[t,n]=c.useState(),r=async()=>{var o,s;const i=await FXe.apiStatsGet();(o=i==null?void 0:i.stats)!=null&&o.length&&((s=i==null?void 0:i.stats)==null?void 0:s.length)>0&&n(i)};return c.useEffect(()=>{r()},[]),c.useEffect(()=>{const i=setInterval(()=>{r()},1e4);return()=>clearInterval(i)},[]),_.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Tl,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Tl,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(i=>_.jsxs("div",{children:[_.jsx("h2",{children:e("home.stats."+i.iD)}),_.jsx("p",{children:i.value})]},i.iD))]})]})]})},UXe=new Ene(vn()),jXe=new yFe(vn()),zXe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(!1),i=async()=>{try{(await UXe.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await jXe.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return c.useEffect(()=>{i()},[]),_.jsxs(Na,{children:[_.jsx(Jt,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:_.jsxs(k_,{icon:t?_.jsx(TD,{}):_.jsx(R4,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[_.jsx(In,{children:"B"}),_.jsx(Rm,{children:"Boxine"})]})}),_.jsx(Jt,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:_.jsxs(k_,{icon:r?_.jsx(TD,{}):_.jsx(R4,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[_.jsx(In,{children:"TC"}),_.jsx(Rm,{children:"TeddyCloud"})]})})]})},HXe=()=>{var i;const{t:e,i18n:t}=$t(),n=o=>{t.changeLanguage(o)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return _.jsx(Na,{children:_.jsx(mS,{menu:{items:r},trigger:["click"],children:_.jsx("a",{href:"/",onClick:o=>o.preventDefault(),title:e("language.change"),children:_.jsxs(k_,{color:"transparent",children:[_.jsx($ee,{})," ",_.jsx("strong",{children:(i=r.find(o=>o.onClick&&o.onClick.toString().includes(a)))==null?void 0:i.label})]})})})})},E9=new xn(vn()),{useToken:GXe}=ka,VXe=Pa.img` height: 32px; -`,AXe=ka(See)` +`,qXe=Pa(Eee)` color: white; display: flex; align-items: center; padding-left: 16px; padding-right: 16px; background: #141414; -`,DXe=ka.div` +`,WXe=Pa.div` margin-left: auto; display: flex; align-items: center; -`,MXe=ka.div` +`,YXe=Pa.div` margin-right: 12px; display: flex; align-items: center; -`,LXe=({themeSwitch:e})=>{const{t}=$t(),{token:n}=OXe(),[r,a]=c.useState(!1),i=Vo();c.useEffect(()=>{const u=document.querySelector('meta[name="theme-color"]');if(u)u.setAttribute("content",n.colorBgBase);else{const d=document.createElement("meta");d.name="theme-color",d.content=n.colorBgBase,document.head.appendChild(d)}},[n.colorBgBase]);const o=[{key:"/",label:b.jsx(wt,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:b.jsx(wt,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:b.jsx(wt,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:b.jsx(wt,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:b.jsx(wt,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=i.pathname.split("/")[1];s||(s="/"),s==="home"&&(s="/");const l=()=>{Sn.error({title:t("home.error"),content:t("home.errorWebVersionMismatch"),okText:t("home.errorConfirm")})};return c.useEffect(()=>{(async()=>{const d=async()=>{try{return await(await b9.apiGetTeddyCloudSettingRaw("frontend.ignore_web_version_mismatch")).text()==="true"}catch{return console.log("Something went wrong getting ignoreWebVersionMismatch."),!1}},p=async()=>{try{const m=await(await b9.apiGetTeddyCloudSettingRaw("internal.version_web.git_sha")).text(),v=(await(await fetch("/web/web_version.json")).json()).web_gitSha;console.log("expected Web Git Sha: ",m),console.log("actual Web Git Sha: ",v),m!==v&&l()}catch{console.log("Something went wrong getting gitSha.")}};await d()||await p()})()},[]),b.jsxs(AXe,{children:[b.jsx(wt,{to:"/",style:{color:"white"},children:b.jsxs(MXe,{children:[b.jsx(NXe,{src:zte}),b.jsx(Tm,{children:" TeddyCloud Server"})]})}),b.jsx(Tm,{children:b.jsx(zo,{theme:"dark",mode:"horizontal",items:o,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),b.jsxs(DXe,{children:[b.jsx(wXe,{}),e,b.jsx(IXe,{}),b.jsxs(In,{children:[b.jsx(Rt,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:b.jsx(b1e,{})}),b.jsx(eee,{placement:"right",open:r,onClose:()=>a(!1),children:b.jsx(zo,{mode:"vertical",items:o,selectedKeys:[s]})})]})]})]})},{useToken:kXe}=Xa,PXe=()=>kXe().token,$Xe=({onVisibilityChange:e})=>{const{t}=$t(),{songImage:n,songArtist:r,songTitle:a,songTracks:i}=CS(),o=document.getElementById("globalAudioPlayer"),s=new xn(vn()),[l,u]=c.useState("none"),[d,p]=c.useState(!1),[f,m]=c.useState(!1),[g,h]=c.useState(0),[v,S]=c.useState("0:00"),[_,E]=c.useState("0:00"),[y,C]=c.useState(0),[T,x]=c.useState({left:0,top:0,visible:!1}),[R,w]=c.useState(!1),[I,O]=c.useState(100),[k,P]=c.useState(100),[M,N]=c.useState(!1),[A,D]=c.useState(!0),[L,$]=c.useState(!1);c.useEffect(()=>{o&&(I===null?o.volume=0:o.volume=I/100)},[I,o]),c.useEffect(()=>{(async()=>{const fe=await(await s.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";D(fe)})()},[l]);const F=Se=>{Array.isArray(Se)||O(Se)},B=()=>{P(I),O(0)},z=()=>{O(k)},U=()=>{m(!0)},j=()=>{m(!1)},G=()=>{m(!1)},J=()=>{o.play()},Y=()=>{o.pause()},X=()=>{ue(),o.src="",o.removeAttribute("src"),o.load(),u("none"),e()};c.useEffect(()=>{e(),o!=null&&o.src&&l==="none"&&u("flex")},[l,o==null?void 0:o.src,e]);const V=Se=>{const Pe=Se.target,fe=Math.floor(Pe.currentTime/60),ve=Math.floor(Pe.currentTime%60);h(Pe.currentTime/o.duration*100),S(`${fe}:${ve<10?"0":""}${ve}`)};c.useEffect(()=>{const Se=document.getElementById("globalAudioPlayer");Se.addEventListener("loadedmetadata",()=>{const Pe=Math.floor(Se.duration/60),fe=Math.floor(Se.duration%60);E(`${Pe}:${fe<10?"0":""}${fe}`)}),Se.addEventListener("progress",()=>{if(Se.buffered.length>0){const Pe=Se.buffered.end(Se.buffered.length-1),fe=Se.duration;fe>0&&C(Pe/fe*100)}})},[]);const H=Se=>{if("touches"in Se){const Pe=Se.touches[0],fe=Se.currentTarget.getBoundingClientRect(),ve=Pe.clientX-fe.left,Ae=fe.height/2;x({left:ve,top:Ae,visible:!0}),o.currentTime=ve/(d?100:150)*o.duration,$(!0)}else{const Pe=Se.currentTarget.getBoundingClientRect(),fe=Se.clientX-Pe.left,ve=Pe.height/2;x({left:fe,top:ve,visible:!0}),R&&K()}},q=()=>{x({left:0,top:0,visible:!1})},K=()=>{L?($(!1),q()):o.currentTime=T.left/(d?100:150)*o.duration},Z=Se=>{w(!0)},te=Se=>{w(!1)},se=()=>{p(!d),e()},ue=()=>{N(!1)},me=()=>{A?N(!0):X()},de=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se>1&&Se<=i.length?o.currentTime=i[Se-2]:Se<=1&&(o.currentTime=0)},Te=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se{const Se=Pe=>{Pe?(o==null||o.play(),m(!0)):(o==null||o.pause(),m(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{Se(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Se(!1)}),navigator.mediaSession.setActionHandler("previoustrack",de),i.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Te))},[a,r,n,i,o]),c.useEffect(()=>{if(navigator.mediaSession&&o){const Se=o.duration||0,Pe=g*Se/100||0,fe=o.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:Se,position:Pe,playbackRate:fe})}catch(ve){console.error("Error setting media session position state:",ve)}}},[g,o]);const Ee=window.innerWidth<=768,ge=Ee?{...Wn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Wn.innerContainer,re=Ee?{...Wn.controls2,width:"100%"}:Wn.controls2,ne=Ee?{...Wn.progressBar,width:200,marginRight:0}:Wn.progressBar;c.useEffect(()=>{e()},[e,Ee]);const ae=b.jsxs(b.Fragment,{children:[d?b.jsx(mOe,{onClick:se}):b.jsx(lAe,{onClick:se}),b.jsx(tZ,{title:b.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[b.jsxs("div",{children:[b.jsx(zee,{})," ",t("tonies.closeAudioPlayerPopover")]}),b.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[b.jsx(Rt,{onClick:ue,children:t("tonies.cancel")}),b.jsx(Rt,{onClick:X,children:t("tonies.closeAudioPlayer")})]})]}),open:M,trigger:"click",onOpenChange:ue,className:"closePlayerPopover",placement:"top",style:{right:8},children:b.jsx(na,{style:{margin:"0 0 0 10px"},onClick:me})})]}),le=b.jsxs(b.Fragment,{children:[b.jsx(gS,{type:"line",success:{percent:g,strokeColor:"#1677ff"},percent:y,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),T.visible&&b.jsx("svg",{style:{position:"absolute",left:T.left,top:T.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:b.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),pe=d?b.jsx(b.Fragment,{children:b.jsx("span",{id:"minimalAudioPlayer",style:{...ge,display:d?"flex":"none",padding:0},children:b.jsxs("div",{style:Wn.trackInfo,children:[f?b.jsx(w4,{style:{fontSize:24,marginRight:8},onClick:Y}):b.jsx(Lo,{style:{fontSize:24,marginRight:8},onClick:J}),n&&b.jsx("img",{src:n,alt:"Song",style:Wn.songImage}),_.startsWith("Infinity")?b.jsx("div",{style:{...Wn.playPositionContainer,marginRight:0},children:b.jsxs("div",{style:{display:"flex"},children:[b.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),b.jsx("span",{children:ae})]})}):b.jsxs("div",{style:{...Wn.playPositionContainer,marginRight:0},children:[b.jsxs("div",{style:{display:"flex"},children:[b.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[v," / ",_]}),b.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ae})]}),b.jsx("div",{style:{...ne,width:100},onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]})]})})}):"",Re=d?"":b.jsxs(b.Fragment,{children:[b.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:d?"none":"flex",position:"absolute"},children:ae}),b.jsxs("span",{style:{...ge,display:d?"none":"flex"},children:[b.jsxs("div",{id:"audioPlayer",style:Wn.controls,children:[b.jsx(fAe,{style:Wn.controlButton,onClick:de}),f?b.jsx(w4,{style:Wn.controlButton,onClick:Y}):b.jsx(Lo,{style:Wn.controlButton,onClick:J}),b.jsx(hAe,{style:{...Wn.controlButton,cursor:i.length===0?"default":"pointer",opacity:i.length===0?.25:1},disabled:i.length===0,onClick:Te})]}),b.jsxs("div",{style:Wn.trackInfo,children:[n&&b.jsx("img",{src:n,alt:"Song",style:Wn.songImage}),b.jsxs("div",{style:Wn.songContainer,children:[b.jsx("div",{children:a}),b.jsx("div",{children:r})]})]}),_.startsWith("Infinity")?"":b.jsxs("div",{style:Wn.playPositionContainer,children:[b.jsx("div",{children:b.jsxs("div",{style:{textAlign:"center"},children:[v," / ",_]})}),b.jsx("div",{style:ne,onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]}),b.jsx("div",{style:re,children:b.jsxs("div",{style:{...Wn.controls,position:"relative"},children:[b.jsx(A1e,{style:{...Wn.controlButton,...Wn.volumeIcon,display:(I||0)===0?"block":"none"},onClick:z}),b.jsx(Bee,{style:{...Wn.controlButton,...Wn.volumeIcon,display:(I||0)>0?"block":"none"},onClick:B}),b.jsx("div",{style:Wn.volumeSlider,children:b.jsx(xxe,{min:0,max:100,value:I||0,onChange:F})})]})})]})]});return b.jsxs(b.Fragment,{children:[b.jsxs("div",{style:{...Wn.container,display:l,visibility:o!=null&&o.src?"visible":"hidden",height:o!=null&&o.src?"auto":"0",margin:o!=null&&o.src?"0":"-24px",marginBottom:o!=null&&o.src?"8px":"0",overflow:"hidden"},children:[pe,Re]}),b.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:U,onPause:j,onEnded:G,onTimeUpdate:V,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Wn={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,margin:"0 10px",cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{},songTitle:{display:"block"},songArtist:{display:"block"},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPosition:{fontSize:14,width:"100%"},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>PXe().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},FXe=ka(Eee)` +`,KXe=({themeSwitch:e})=>{const{t}=$t(),{token:n}=GXe(),[r,a]=c.useState(!1),i=Wo();c.useEffect(()=>{const u=document.querySelector('meta[name="theme-color"]');if(u)u.setAttribute("content",n.colorBgBase);else{const d=document.createElement("meta");d.name="theme-color",d.content=n.colorBgBase,document.head.appendChild(d)}},[n.colorBgBase]);const o=[{key:"/",label:_.jsx(St,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:_.jsx(St,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:_.jsx(St,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:_.jsx(St,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:_.jsx(St,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=i.pathname.split("/")[1];s||(s="/"),s==="home"&&(s="/");const l=()=>{Sn.error({title:t("home.error"),content:t("home.errorWebVersionMismatch"),okText:t("home.errorConfirm")})};return c.useEffect(()=>{(async()=>{const d=async()=>{try{return await(await E9.apiGetTeddyCloudSettingRaw("frontend.ignore_web_version_mismatch")).text()==="true"}catch{return console.log("Something went wrong getting ignoreWebVersionMismatch."),!1}},p=async()=>{try{const m=await(await E9.apiGetTeddyCloudSettingRaw("internal.version_web.git_sha")).text(),v=(await(await fetch("/web/web_version.json")).json()).web_gitSha;console.log("expected Web Git Sha: ",m),console.log("actual Web Git Sha: ",v),m!==v&&l()}catch{console.log("Something went wrong getting gitSha.")}};await d()||await p()})()},[]),_.jsxs(qXe,{children:[_.jsx(St,{to:"/",style:{color:"white"},children:_.jsxs(YXe,{children:[_.jsx(VXe,{src:Vte}),_.jsx(Rm,{children:" TeddyCloud Server"})]})}),_.jsx(Rm,{children:_.jsx(Go,{theme:"dark",mode:"horizontal",items:o,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),_.jsxs(WXe,{children:[_.jsx(zXe,{}),e,_.jsx(HXe,{}),_.jsxs(In,{children:[_.jsx(wt,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:_.jsx(ENe,{})}),_.jsx(tee,{placement:"right",open:r,onClose:()=>a(!1),children:_.jsx(Go,{mode:"vertical",items:o,selectedKeys:[s]})})]})]})]})},{useToken:XXe}=ka,QXe=()=>XXe().token,ZXe=({onVisibilityChange:e})=>{const{t}=$t(),{songImage:n,songArtist:r,songTitle:a,songTracks:i}=RS(),o=document.getElementById("globalAudioPlayer"),s=new xn(vn()),[l,u]=c.useState("none"),[d,p]=c.useState(!1),[f,m]=c.useState(!1),[g,h]=c.useState(0),[v,S]=c.useState("0:00"),[b,E]=c.useState("0:00"),[y,C]=c.useState(0),[T,x]=c.useState({left:0,top:0,visible:!1}),[R,w]=c.useState(!1),[I,O]=c.useState(100),[k,P]=c.useState(100),[M,N]=c.useState(!1),[A,D]=c.useState(!0),[L,$]=c.useState(!1);c.useEffect(()=>{o&&(I===null?o.volume=0:o.volume=I/100)},[I,o]),c.useEffect(()=>{(async()=>{const fe=await(await s.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";D(fe)})()},[l]);const F=Se=>{Array.isArray(Se)||O(Se)},B=()=>{P(I),O(0)},z=()=>{O(k)},U=()=>{m(!0)},j=()=>{m(!1)},G=()=>{m(!1)},J=()=>{o.play()},Y=()=>{o.pause()},Q=()=>{ue(),o.src="",o.removeAttribute("src"),o.load(),u("none"),e()};c.useEffect(()=>{e(),o!=null&&o.src&&l==="none"&&u("flex")},[l,o==null?void 0:o.src,e]);const V=Se=>{const Pe=Se.target,fe=Math.floor(Pe.currentTime/60),_e=Math.floor(Pe.currentTime%60);h(Pe.currentTime/o.duration*100),S(`${fe}:${_e<10?"0":""}${_e}`)};c.useEffect(()=>{const Se=document.getElementById("globalAudioPlayer");Se.addEventListener("loadedmetadata",()=>{const Pe=Math.floor(Se.duration/60),fe=Math.floor(Se.duration%60);E(`${Pe}:${fe<10?"0":""}${fe}`)}),Se.addEventListener("progress",()=>{if(Se.buffered.length>0){const Pe=Se.buffered.end(Se.buffered.length-1),fe=Se.duration;fe>0&&C(Pe/fe*100)}})},[]);const H=Se=>{if("touches"in Se){const Pe=Se.touches[0],fe=Se.currentTarget.getBoundingClientRect(),_e=Pe.clientX-fe.left,Ae=fe.height/2;x({left:_e,top:Ae,visible:!0}),o.currentTime=_e/(d?100:150)*o.duration,$(!0)}else{const Pe=Se.currentTarget.getBoundingClientRect(),fe=Se.clientX-Pe.left,_e=Pe.height/2;x({left:fe,top:_e,visible:!0}),R&&K()}},q=()=>{x({left:0,top:0,visible:!1})},K=()=>{L?($(!1),q()):o.currentTime=T.left/(d?100:150)*o.duration},Z=Se=>{w(!0)},te=Se=>{w(!1)},se=()=>{p(!d),e()},ue=()=>{N(!1)},me=()=>{A?N(!0):Q()},de=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se>1&&Se<=i.length?o.currentTime=i[Se-2]:Se<=1&&(o.currentTime=0)},Te=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se{const Se=Pe=>{Pe?(o==null||o.play(),m(!0)):(o==null||o.pause(),m(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{Se(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Se(!1)}),navigator.mediaSession.setActionHandler("previoustrack",de),i.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Te))},[a,r,n,i,o]),c.useEffect(()=>{if(navigator.mediaSession&&o){const Se=o.duration||0,Pe=g*Se/100||0,fe=o.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:Se,position:Pe,playbackRate:fe})}catch(_e){console.error("Error setting media session position state:",_e)}}},[g,o]);const Ee=window.innerWidth<=768,ge=Ee?{...Kn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Kn.innerContainer,re=Ee?{...Kn.controls2,width:"100%"}:Kn.controls2,ne=Ee?{...Kn.progressBar,width:200,marginRight:0}:Kn.progressBar;c.useEffect(()=>{e()},[e,Ee]);const ae=_.jsxs(_.Fragment,{children:[d?_.jsx(hOe,{onClick:se}):_.jsx(fAe,{onClick:se}),_.jsx(nZ,{title:_.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[_.jsxs("div",{children:[_.jsx(Hee,{})," ",t("tonies.closeAudioPlayerPopover")]}),_.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[_.jsx(wt,{onClick:ue,children:t("tonies.cancel")}),_.jsx(wt,{onClick:Q,children:t("tonies.closeAudioPlayer")})]})]}),open:M,trigger:"click",onOpenChange:ue,className:"closePlayerPopover",placement:"top",style:{right:8},children:_.jsx(na,{style:{margin:"0 0 0 10px"},onClick:me})})]}),le=_.jsxs(_.Fragment,{children:[_.jsx(_S,{type:"line",success:{percent:g,strokeColor:"#1677ff"},percent:y,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),T.visible&&_.jsx("svg",{style:{position:"absolute",left:T.left,top:T.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:_.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),pe=d?_.jsx(_.Fragment,{children:_.jsx("span",{id:"minimalAudioPlayer",style:{...ge,display:d?"flex":"none",padding:0},children:_.jsxs("div",{style:Kn.trackInfo,children:[f?_.jsx(I4,{style:{fontSize:24,marginRight:8},onClick:Y}):_.jsx(ko,{style:{fontSize:24,marginRight:8},onClick:J}),n&&_.jsx("img",{src:n,alt:"Song",style:Kn.songImage}),b.startsWith("Infinity")?_.jsx("div",{style:{...Kn.playPositionContainer,marginRight:0},children:_.jsxs("div",{style:{display:"flex"},children:[_.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),_.jsx("span",{children:ae})]})}):_.jsxs("div",{style:{...Kn.playPositionContainer,marginRight:0},children:[_.jsxs("div",{style:{display:"flex"},children:[_.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[v," / ",b]}),_.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ae})]}),_.jsx("div",{style:{...ne,width:100},onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]})]})})}):"",Re=d?"":_.jsxs(_.Fragment,{children:[_.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:d?"none":"flex",position:"absolute"},children:ae}),_.jsxs("span",{style:{...ge,display:d?"none":"flex"},children:[_.jsxs("div",{id:"audioPlayer",style:Kn.controls,children:[_.jsx(EAe,{style:Kn.controlButton,onClick:de}),f?_.jsx(I4,{style:Kn.controlButton,onClick:Y}):_.jsx(ko,{style:Kn.controlButton,onClick:J}),_.jsx(TAe,{style:{...Kn.controlButton,cursor:i.length===0?"default":"pointer",opacity:i.length===0?.25:1},disabled:i.length===0,onClick:Te})]}),_.jsxs("div",{style:Kn.trackInfo,children:[n&&_.jsx("img",{src:n,alt:"Song",style:Kn.songImage}),_.jsxs("div",{style:Kn.songContainer,children:[_.jsx("div",{children:a}),_.jsx("div",{children:r})]})]}),b.startsWith("Infinity")?"":_.jsxs("div",{style:Kn.playPositionContainer,children:[_.jsx("div",{children:_.jsxs("div",{style:{textAlign:"center"},children:[v," / ",b]})}),_.jsx("div",{style:ne,onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]}),_.jsx("div",{style:re,children:_.jsxs("div",{style:{...Kn.controls,position:"relative"},children:[_.jsx(MNe,{style:{...Kn.controlButton,...Kn.volumeIcon,display:(I||0)===0?"block":"none"},onClick:z}),_.jsx(Uee,{style:{...Kn.controlButton,...Kn.volumeIcon,display:(I||0)>0?"block":"none"},onClick:B}),_.jsx("div",{style:Kn.volumeSlider,children:_.jsx(wxe,{min:0,max:100,value:I||0,onChange:F})})]})})]})]});return _.jsxs(_.Fragment,{children:[_.jsxs("div",{style:{...Kn.container,display:l,visibility:o!=null&&o.src?"visible":"hidden",height:o!=null&&o.src?"auto":"0",margin:o!=null&&o.src?"0":"-24px",marginBottom:o!=null&&o.src?"8px":"0",overflow:"hidden"},children:[pe,Re]}),_.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:U,onPause:j,onEnded:G,onTimeUpdate:V,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Kn={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,margin:"0 10px",cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{},songTitle:{display:"block"},songArtist:{display:"block"},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPosition:{fontSize:14,width:"100%"},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>QXe().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},JXe=Pa(yee)` position: fixed; bottom: 0; z-index: 10; @@ -601,19 +609,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`),X=U,Y=j);const V={code align-items: center; padding: 16px 50px; color: white; -`,S9=ka.div` +`,y9=Pa.div` margin: auto; display: flex; align-items: center; -`,kN=new xn(vn()),BXe=()=>{const[e,t]=c.useState(0),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),l=()=>{const u=document.querySelector("footer");u&&t(u.offsetHeight)};return c.useEffect(()=>{kN.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),kN.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>i(u)).catch(u=>console.error("Error fetching data:",u)),kN.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),b.jsxs(b.Fragment,{children:[b.jsx("div",{style:{paddingBottom:e}}),b.jsxs(FXe,{children:[b.jsx(S9,{children:b.jsx($Xe,{onVisibilityChange:l})}),b.jsx(S9,{children:b.jsx("div",{children:b.jsx("small",{children:b.jsxs(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[b.jsxs(In,{children:[a," (",o,")"]}),b.jsx(Tm,{children:n})]})})})})]})]})},Gi=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(""),i=()=>{n(!0),a("")},o=[{key:"tonies",label:b.jsx(wt,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:ce.createElement(jee),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:b.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:i,icon:ce.createElement(MAe),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:b.jsx(wt,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:ce.createElement(qOe),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:b.jsx(wt,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:ce.createElement(wAe),title:e("tonies.tap.navigationTitle")},{key:"library",label:b.jsx(wt,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:ce.createElement(vOe),title:e("tonies.library.navigationTitle")},{key:"content",label:b.jsx(wt,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:ce.createElement(Bee),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:b.jsx(wt,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:ce.createElement(Hk),title:e("tonies.system-sounds.navigationTitle")}];return b.jsxs(b.Fragment,{children:[b.jsx(yg,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:o}),t&&b.jsx(Yre,{open:t,onClose:()=>n(!1)})]})},PN=new xn(vn()),a2=e=>{const[t,n]=c.useState([]),[r,a]=c.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const o=localStorage.getItem("contentOverlay");return o||""}}else{const o=localStorage.getItem("contentOverlay");return o||""}});return c.useEffect(()=>{(async()=>{const s=await PN.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async m=>[await PN.apiGetTonieboxContentDir(m.ID),m.boxName,m.ID]))).reduce((m,[g,h,v])=>{const S=m.findIndex(_=>_[0]===g);return S!==-1?(m[S][1].push(h),r===v&&a(m[S][2])):m.push([g,[h],v]),m},[]),d=await PN.apiGetTonieboxContentDir("");u.findIndex(m=>m[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const f=u.map(([m,g,h])=>[m,g,h]);if(r===""||r===null||r===void 0){const m=f.length>0?f[0][2]:"";a(m),localStorage.setItem("contentOverlay",m)}n(f)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleSelectChange:o=>{a(o),localStorage.setItem("contentOverlay",o)}}},UXe=new xn(vn()),{Option:jXe}=$r,zXe=()=>{const e=Vo(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=$t(),[a,i]=c.useState([]),{tonieBoxContentDirs:o,overlay:s,handleSelectChange:l}=a2(n),[u,d]=c.useState(""),p=f=>{i(m=>m.map(g=>g.ruid===f.ruid?f:g))};return c.useEffect(()=>{(async()=>{const m=(await UXe.apiGetTagIndex(s||"",!0)).filter(g=>!g.hide);i(m.sort((g,h)=>g.tonieInfo.seriesh.tonieInfo.series?1:g.tonieInfo.episodeh.tonieInfo.episode?1:0))})()},[s]),c.useEffect(()=>{const f={};a.forEach(h=>{const v=h.tonieInfo.language;f[v]?f[v]++:f[v]=1});let m=0,g="";for(const h in f)f.hasOwnProperty(h)&&f[h]>m&&(m=f[h],g=h);d(g)},[a]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),o.length>1?b.jsx(Jt,{title:r("tonies.content.showToniesOfBoxes"),children:b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:l,style:{maxWidth:"300px"},value:s,children:o.map(([f,m,g])=>b.jsx(jXe,{value:g,children:m.join(", ")},g))})}):""]}),b.jsx(n2,{showFilter:!0,showPagination:!0,tonieCards:a.filter(f=>f.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:p})]})]})]})},HXe=new xn(vn()),{Option:GXe}=$r,VXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:i}=a2();return c.useEffect(()=>{(async()=>{const s=await HXe.apiGetTagIndex(a||"");n(s.sort((l,u)=>l.tonieInfo.seriesu.tonieInfo.series?1:l.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:i,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([o,s,l])=>b.jsx(GXe,{value:l,children:s.join(", ")},l))}):""]}),b.jsx(n2,{showFilter:!1,showPagination:!0,tonieCards:t.filter(o=>o.type==="system"),overlay:a,readOnly:!1})]})]})]})},{useToken:qXe}=Xa,WXe=e2,Kre=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=$t(),{token:i}=qXe(),[o]=Xt.useForm(),[s,l]=c.useState([]),[u,d]=c.useState(!1),[p,f]=c.useState(0),[m,g]=c.useState(-1);c.useEffect(()=>{l([])},[]),c.useEffect(()=>{if(t)try{const D=JSON.parse(t);o.setFieldsValue(D)}catch(D){console.error("Error parsing JSON:",D)}},[o,t]);const h=()=>{o.resetFields()},v=D=>{o.setFieldsValue({filepath:D.target.value})},S=(D,L,$)=>{if(D){const F=$==="library"?"lib:/":"content:/",B=D.map(z=>({filepath:F+L+"/"+z.name,name:z.name}));l(B)}},_=()=>{f(D=>D+1),d(!0)},E=D=>{f(L=>L+1),d(!0),g(D),l([o.getFieldValue(["files",D])])},y=()=>{const D=o.getFieldsValue();let L=[...D.files];m!==-1?L[m]={filepath:s[0].filepath,name:s[0].name}:L=[...D.files,...s];const $={...D,files:L};o.setFieldsValue($),d(!1),l([]),g(-1)},C=()=>{d(!1),l([])},[T,x]=c.useState(""),[R,w]=c.useState(""),[I,O]=c.useState(!1),k=b.jsx(Rt,{type:"primary",onClick:()=>O(!1),children:a("tonies.informationModal.ok")}),P=()=>{O(!1)};function M(){const D=window.matchMedia("(prefers-color-scheme: dark)").matches,L=localStorage.getItem("theme");return L==="auto"?D?"dark":"light":L}const N=b.jsx(Sn,{footer:k,width:700,title:"File (you can copy the content to a *.tap file)",open:I,onCancel:P,children:T?b.jsxs(b.Fragment,{children:[b.jsx(Sl,{language:"json",style:M()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:T}),b.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),b.jsx(Sl,{language:"json",style:M()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:R})]}):"Loading..."}),A=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:i.colorBgElevated},children:[b.jsx(Rt,{onClick:C,children:a("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:y,children:a("tonies.selectFileModal.ok")})]});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),h()},onOk:()=>{o.validateFields().then(()=>{n(o.getFieldsValue()),x(JSON.stringify(o.getFieldsValue(),null,2)),w(JSON.stringify(o.getFieldsValue(),null,0)),O(!0),h()}).catch(D=>{console.log("Validate Failed:",D)})},children:[b.jsx(Xn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),b.jsxs(Xt,{form:o,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[b.jsx(Xt.Item,{name:"type",hidden:!0,label:"type",children:b.jsx(en,{type:"string"})}),b.jsx(Xt.Item,{name:"audio_id",label:"Audio ID",children:b.jsx(en,{type:"number"})}),b.jsx(Xt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:b.jsx(en,{onChange:v})}),b.jsx(Xt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:b.jsx(en,{})}),b.jsx(Xt.List,{name:"files",children:(D,{add:L,remove:$})=>b.jsxs(b.Fragment,{children:[D.map(({key:F,name:B},z)=>b.jsx("div",{className:"playlistTitle",children:b.jsxs(Na,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[b.jsx(Xt.Item,{name:[B,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:b.jsx(en,{width:"auto",addonBefore:b.jsx(na,{onClick:()=>{const U=[...o.getFieldsValue().files];U[z].filepath="",o.setFieldsValue({files:U})}}),addonAfter:b.jsx(Uk,{onClick:()=>E(z)})})}),b.jsx(Xt.Item,{name:[B,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:b.jsx(en,{placeholder:"Name"})}),b.jsx(y1e,{onClick:()=>$(B)})]},`space-${F}`)},`files-${F}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>_(),block:!0,icon:b.jsx(hJ,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),b.jsx(Sn,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:y,onCancel:C,width:"auto",footer:A,children:b.jsx(t2,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:WXe,onFileSelectChange:S},p)})]}),N]})};function YXe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const QS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function dp(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function i2(e){return"nodeType"in e}function Za(e){var t,n;return e?dp(e)?e:i2(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function o2(e){const{Document:t}=Za(e);return e instanceof t}function Ig(e){return dp(e)?!1:e instanceof Za(e).HTMLElement}function Xre(e){return e instanceof Za(e).SVGElement}function pp(e){return e?dp(e)?e.document:i2(e)?o2(e)?e:Ig(e)||Xre(e)?e.ownerDocument:document:document:document}const ho=QS?c.useLayoutEffect:c.useEffect;function s2(e){const t=c.useRef(e);return ho(()=>{t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=c.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Am(e,t){t===void 0&&(t=[e]);const n=c.useRef(e);return ho(()=>{n.current!==e&&(n.current=e)},t),n}function Og(e,t){const n=c.useRef();return c.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function U_(e){const t=s2(e),n=c.useRef(null),r=c.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function sM(e){const t=c.useRef();return c.useEffect(()=>{t.current=e},[e]),t.current}let $N={};function Ng(e,t){return c.useMemo(()=>{if(t)return t;const n=$N[e]==null?0:$N[e]+1;return $N[e]=n,e+"-"+n},[e,t])}function Qre(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(o);for(const[l,u]of s){const d=i[l];d!=null&&(i[l]=d+e*u)}return i},{...t})}}const id=Qre(1),j_=Qre(-1);function XXe(e){return"clientX"in e&&"clientY"in e}function l2(e){if(!e)return!1;const{KeyboardEvent:t}=Za(e.target);return t&&e instanceof t}function QXe(e){if(!e)return!1;const{TouchEvent:t}=Za(e.target);return t&&e instanceof t}function lM(e){if(QXe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return XXe(e)?{x:e.clientX,y:e.clientY}:null}const Pd=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Pd.Translate.toString(e),Pd.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),E9="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ZXe(e){return e.matches(E9)?e:e.querySelector(E9)}const JXe={display:"none"};function eQe(e){let{id:t,value:n}=e;return ce.createElement("div",{id:t,style:JXe},n)}function tQe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ce.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function nQe(){const[e,t]=c.useState("");return{announce:c.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const Zre=c.createContext(null);function rQe(e){const t=c.useContext(Zre);c.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function aQe(){const[e]=c.useState(()=>new Set),t=c.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[c.useCallback(r=>{let{type:a,event:i}=r;e.forEach(o=>{var s;return(s=o[a])==null?void 0:s.call(o,i)})},[e]),t]}const iQe={draggable:` +`,$1=new xn(vn()),eQe=()=>{const[e,t]=c.useState(0),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),l=()=>{const u=document.querySelector("footer");u&&t(u.offsetHeight)};return c.useEffect(()=>{$1.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),$1.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>i(u)).catch(u=>console.error("Error fetching data:",u)),$1.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),_.jsxs(_.Fragment,{children:[_.jsx("div",{style:{paddingBottom:e}}),_.jsxs(JXe,{children:[_.jsx(y9,{children:_.jsx(ZXe,{onVisibilityChange:l})}),_.jsx(y9,{children:_.jsx("div",{children:_.jsx("small",{children:_.jsxs(St,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[_.jsxs(In,{children:[a," (",o,")"]}),_.jsx(Rm,{children:n})]})})})})]})]})},Vi=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(""),i=()=>{n(!0),a("")},o=[{key:"tonies",label:_.jsx(St,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:ce.createElement(zee),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:_.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:i,icon:ce.createElement(jAe),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:_.jsx(St,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:ce.createElement(YOe),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:_.jsx(St,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:ce.createElement(kAe),title:e("tonies.tap.navigationTitle")},{key:"library",label:_.jsx(St,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:ce.createElement(bOe),title:e("tonies.library.navigationTitle")},{key:"content",label:_.jsx(St,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:ce.createElement(Uee),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:_.jsx(St,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:ce.createElement(Vk),title:e("tonies.system-sounds.navigationTitle")}];return _.jsxs(_.Fragment,{children:[_.jsx(xg,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:o}),t&&_.jsx(Qre,{open:t,onClose:()=>n(!1)})]})},F1=new xn(vn()),o2=e=>{const[t,n]=c.useState([]),[r,a]=c.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const o=localStorage.getItem("contentOverlay");return o||""}}else{const o=localStorage.getItem("contentOverlay");return o||""}});return c.useEffect(()=>{(async()=>{const s=await F1.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async m=>[await F1.apiGetTonieboxContentDir(m.ID),m.boxName,m.ID]))).reduce((m,[g,h,v])=>{const S=m.findIndex(b=>b[0]===g);return S!==-1?(m[S][1].push(h),r===v&&a(m[S][2])):m.push([g,[h],v]),m},[]),d=await F1.apiGetTonieboxContentDir("");u.findIndex(m=>m[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const f=u.map(([m,g,h])=>[m,g,h]);if(r===""||r===null||r===void 0){const m=f.length>0?f[0][2]:"";a(m),localStorage.setItem("contentOverlay",m)}n(f)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleSelectChange:o=>{a(o),localStorage.setItem("contentOverlay",o)}}},tQe=new xn(vn()),{Option:nQe}=kr,rQe=()=>{const e=Wo(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=$t(),[a,i]=c.useState([]),{tonieBoxContentDirs:o,overlay:s,handleSelectChange:l}=o2(n),[u,d]=c.useState(""),p=f=>{i(m=>m.map(g=>g.ruid===f.ruid?f:g))};return c.useEffect(()=>{(async()=>{const m=(await tQe.apiGetTagIndex(s||"",!0)).filter(g=>!g.hide);i(m.sort((g,h)=>g.tonieInfo.seriesh.tonieInfo.series?1:g.tonieInfo.episodeh.tonieInfo.episode?1:0))})()},[s]),c.useEffect(()=>{const f={};a.forEach(h=>{const v=h.tonieInfo.language;f[v]?f[v]++:f[v]=1});let m=0,g="";for(const h in f)f.hasOwnProperty(h)&&f[h]>m&&(m=f[h],g=h);d(g)},[a]),_.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[_.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),o.length>1?_.jsx(Jt,{title:r("tonies.content.showToniesOfBoxes"),children:_.jsx(kr,{id:"contentDirectorySelect",defaultValue:"",onChange:l,style:{maxWidth:"300px"},value:s,children:o.map(([f,m,g])=>_.jsx(nQe,{value:g,children:m.join(", ")},g))})}):""]}),_.jsx(a2,{showFilter:!0,showPagination:!0,tonieCards:a.filter(f=>f.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:p})]})]})]})},aQe=new xn(vn()),{Option:iQe}=kr,oQe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:i}=o2();return c.useEffect(()=>{(async()=>{const s=await aQe.apiGetTagIndex(a||"");n(s.sort((l,u)=>l.tonieInfo.seriesu.tonieInfo.series?1:l.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),_.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[_.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?_.jsx(kr,{id:"contentDirectorySelect",defaultValue:"",onChange:i,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([o,s,l])=>_.jsx(iQe,{value:l,children:s.join(", ")},l))}):""]}),_.jsx(a2,{showFilter:!1,showPagination:!0,tonieCards:t.filter(o=>o.type==="system"),overlay:a,readOnly:!1})]})]})]})},{useToken:sQe}=ka,lQe=n2,Zre=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=$t(),{token:i}=sQe(),[o]=Xt.useForm(),[s,l]=c.useState([]),[u,d]=c.useState(!1),[p,f]=c.useState(0),[m,g]=c.useState(-1);c.useEffect(()=>{l([])},[]),c.useEffect(()=>{if(t)try{const A=JSON.parse(t);o.setFieldsValue(A)}catch(A){console.error("Error parsing JSON:",A)}},[o,t]);const h=()=>{o.resetFields()},v=A=>{o.setFieldsValue({filepath:A.target.value})},S=(A,D,L)=>{if(A){const $=L==="library"?"lib:/":"content:/",F=A.map(B=>({filepath:$+D+"/"+B.name,name:B.name}));l(F)}},b=()=>{f(A=>A+1),d(!0)},E=A=>{f(D=>D+1),d(!0),g(A),l([o.getFieldValue(["files",A])])},y=()=>{const A=o.getFieldsValue();let D=[...A.files];m!==-1?D[m]={filepath:s[0].filepath,name:s[0].name}:D=[...A.files,...s];const L={...A,files:D};o.setFieldsValue(L),d(!1),l([]),g(-1)},C=()=>{d(!1),l([])},[T,x]=c.useState(""),[R,w]=c.useState(""),[I,O]=c.useState(!1),k=_.jsx(wt,{type:"primary",onClick:()=>O(!1),children:a("tonies.informationModal.ok")}),P=()=>{O(!1)},M=_.jsx(Sn,{footer:k,width:700,title:"File (you can copy the content to a *.tap file)",open:I,onCancel:P,children:T?_.jsxs(_.Fragment,{children:[_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:T}),_.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:R})]}):"Loading..."}),N=_.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:i.colorBgElevated},children:[_.jsx(wt,{onClick:C,children:a("tonies.selectFileModal.cancel")}),_.jsx(wt,{type:"primary",onClick:y,children:a("tonies.selectFileModal.ok")})]});return _.jsxs(_.Fragment,{children:[_.jsxs(Sn,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),h()},onOk:()=>{o.validateFields().then(()=>{n(o.getFieldsValue()),x(JSON.stringify(o.getFieldsValue(),null,2)),w(JSON.stringify(o.getFieldsValue(),null,0)),O(!0),h()}).catch(A=>{console.log("Validate Failed:",A)})},children:[_.jsx(Zn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),_.jsxs(Xt,{form:o,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[_.jsx(Xt.Item,{name:"type",hidden:!0,label:"type",children:_.jsx(en,{type:"string"})}),_.jsx(Xt.Item,{name:"audio_id",label:"Audio ID",children:_.jsx(en,{type:"number"})}),_.jsx(Xt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:_.jsx(en,{onChange:v})}),_.jsx(Xt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:_.jsx(en,{})}),_.jsx(Xt.List,{name:"files",children:(A,{add:D,remove:L})=>_.jsxs(_.Fragment,{children:[A.map(({key:$,name:F},B)=>_.jsx("div",{className:"playlistTitle",children:_.jsxs(Na,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[_.jsx(Xt.Item,{name:[F,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:_.jsx(en,{width:"auto",addonBefore:_.jsx(na,{onClick:()=>{const z=[...o.getFieldsValue().files];z[B].filepath="",o.setFieldsValue({files:z})}}),addonAfter:_.jsx(zk,{onClick:()=>E(B)})})}),_.jsx(Xt.Item,{name:[F,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:_.jsx(en,{placeholder:"Name"})}),_.jsx(TNe,{onClick:()=>L(F)})]},`space-${$}`)},`files-${$}`)),_.jsx(Xt.Item,{children:_.jsx(wt,{type:"dashed",onClick:()=>b(),block:!0,icon:_.jsx(vJ,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),_.jsx(Sn,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:y,onCancel:C,width:"auto",footer:N,children:_.jsx(r2,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:lQe,onFileSelectChange:S},p)})]}),M]})};function cQe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const eE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function mp(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function s2(e){return"nodeType"in e}function Za(e){var t,n;return e?mp(e)?e:s2(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function l2(e){const{Document:t}=Za(e);return e instanceof t}function Ag(e){return mp(e)?!1:e instanceof Za(e).HTMLElement}function Jre(e){return e instanceof Za(e).SVGElement}function gp(e){return e?mp(e)?e.document:s2(e)?l2(e)?e:Ag(e)||Jre(e)?e.ownerDocument:document:document:document}const vo=eE?c.useLayoutEffect:c.useEffect;function c2(e){const t=c.useRef(e);return vo(()=>{t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=c.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Mm(e,t){t===void 0&&(t=[e]);const n=c.useRef(e);return vo(()=>{n.current!==e&&(n.current=e)},t),n}function Dg(e,t){const n=c.useRef();return c.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function G_(e){const t=c2(e),n=c.useRef(null),r=c.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function cM(e){const t=c.useRef();return c.useEffect(()=>{t.current=e},[e]),t.current}let B1={};function Mg(e,t){return c.useMemo(()=>{if(t)return t;const n=B1[e]==null?0:B1[e]+1;return B1[e]=n,e+"-"+n},[e,t])}function eae(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(o);for(const[l,u]of s){const d=i[l];d!=null&&(i[l]=d+e*u)}return i},{...t})}}const ld=eae(1),V_=eae(-1);function dQe(e){return"clientX"in e&&"clientY"in e}function u2(e){if(!e)return!1;const{KeyboardEvent:t}=Za(e.target);return t&&e instanceof t}function pQe(e){if(!e)return!1;const{TouchEvent:t}=Za(e.target);return t&&e instanceof t}function uM(e){if(pQe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return dQe(e)?{x:e.clientX,y:e.clientY}:null}const Bd=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Bd.Translate.toString(e),Bd.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),C9="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function fQe(e){return e.matches(C9)?e:e.querySelector(C9)}const mQe={display:"none"};function gQe(e){let{id:t,value:n}=e;return ce.createElement("div",{id:t,style:mQe},n)}function hQe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ce.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function vQe(){const[e,t]=c.useState("");return{announce:c.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const tae=c.createContext(null);function _Qe(e){const t=c.useContext(tae);c.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function bQe(){const[e]=c.useState(()=>new Set),t=c.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[c.useCallback(r=>{let{type:a,event:i}=r;e.forEach(o=>{var s;return(s=o[a])==null?void 0:s.call(o,i)})},[e]),t]}const SQe={draggable:` To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. - `},oQe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function sQe(e){let{announcements:t=oQe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=iQe}=e;const{announce:i,announcement:o}=nQe(),s=Ng("DndLiveRegion"),[l,u]=c.useState(!1);if(c.useEffect(()=>{u(!0)},[]),rQe(c.useMemo(()=>({onDragStart(p){let{active:f}=p;i(t.onDragStart({active:f}))},onDragMove(p){let{active:f,over:m}=p;t.onDragMove&&i(t.onDragMove({active:f,over:m}))},onDragOver(p){let{active:f,over:m}=p;i(t.onDragOver({active:f,over:m}))},onDragEnd(p){let{active:f,over:m}=p;i(t.onDragEnd({active:f,over:m}))},onDragCancel(p){let{active:f,over:m}=p;i(t.onDragCancel({active:f,over:m}))}}),[i,t])),!l)return null;const d=ce.createElement(ce.Fragment,null,ce.createElement(eQe,{id:r,value:a.draggable}),ce.createElement(tQe,{id:s,announcement:o}));return n?Ur.createPortal(d,n):d}var Br;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Br||(Br={}));function z_(){}function Jre(e,t){return c.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const vo=Object.freeze({x:0,y:0});function lQe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function cQe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function uQe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),o=a-r,s=i-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const i of r){const{id:o}=i,s=n.get(o);if(s){const l=uQe(s,t);l>0&&a.push({id:o,data:{droppableContainer:i,value:l}})}}return a.sort(lQe)};function pQe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function eae(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:vo}function fQe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...n})}}const mQe=fQe(1);function gQe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function hQe(e,t,n){const r=gQe(t);if(!r)return e;const{scaleX:a,scaleY:i,x:o,y:s}=r,l=e.left-o-(1-a)*parseFloat(n),u=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,p=i?e.height/i:e.height;return{width:d,height:p,top:u,right:l+d,bottom:u+p,left:l}}const vQe={ignoreTransform:!1};function fp(e,t){t===void 0&&(t=vQe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Za(e).getComputedStyle(e);u&&(n=hQe(n,u,d))}const{top:r,left:a,width:i,height:o,bottom:s,right:l}=n;return{top:r,left:a,width:i,height:o,bottom:s,right:l}}function y9(e){return fp(e,{ignoreTransform:!0})}function _Qe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function bQe(e,t){return t===void 0&&(t=Za(e).getComputedStyle(e)),t.position==="fixed"}function SQe(e,t){t===void 0&&(t=Za(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const i=t[a];return typeof i=="string"?n.test(i):!1})}function c2(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(o2(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Ig(a)||Xre(a)||n.includes(a))return n;const i=Za(e).getComputedStyle(a);return a!==e&&SQe(a,i)&&n.push(a),bQe(a,i)?n:r(a.parentNode)}return e?r(e):n}function tae(e){const[t]=c2(e,1);return t??null}function FN(e){return!QS||!e?null:dp(e)?e:i2(e)?o2(e)||e===pp(e).scrollingElement?window:Ig(e)?e:null:null}function nae(e){return dp(e)?e.scrollX:e.scrollLeft}function rae(e){return dp(e)?e.scrollY:e.scrollTop}function cM(e){return{x:nae(e),y:rae(e)}}var Xr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Xr||(Xr={}));function aae(e){return!QS||!e?!1:e===document.scrollingElement}function iae(e){const t={x:0,y:0},n=aae(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,o=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:i,isBottom:o,isRight:s,maxScroll:r,minScroll:t}}const EQe={x:.2,y:.2};function yQe(e,t,n,r,a){let{top:i,left:o,right:s,bottom:l}=n;r===void 0&&(r=10),a===void 0&&(a=EQe);const{isTop:u,isBottom:d,isLeft:p,isRight:f}=iae(e),m={x:0,y:0},g={x:0,y:0},h={height:t.height*a.y,width:t.width*a.x};return!u&&i<=t.top+h.height?(m.y=Xr.Backward,g.y=r*Math.abs((t.top+h.height-i)/h.height)):!d&&l>=t.bottom-h.height&&(m.y=Xr.Forward,g.y=r*Math.abs((t.bottom-h.height-l)/h.height)),!f&&s>=t.right-h.width?(m.x=Xr.Forward,g.x=r*Math.abs((t.right-h.width-s)/h.width)):!p&&o<=t.left+h.width&&(m.x=Xr.Backward,g.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:m,speed:g}}function CQe(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:o}=window;return{top:0,left:0,right:i,bottom:o,width:i,height:o}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function oae(e){return e.reduce((t,n)=>id(t,cM(n)),vo)}function TQe(e){return e.reduce((t,n)=>t+nae(n),0)}function xQe(e){return e.reduce((t,n)=>t+rae(n),0)}function RQe(e,t){if(t===void 0&&(t=fp),!e)return;const{top:n,left:r,bottom:a,right:i}=t(e);tae(e)&&(a<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const wQe=[["x",["left","right"],TQe],["y",["top","bottom"],xQe]];class u2{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=c2(n),a=oae(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,o,s]of wQe)for(const l of o)Object.defineProperty(this,l,{get:()=>{const u=s(r),d=a[i]-u;return this.rect[l]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Nf{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function IQe(e){const{EventTarget:t}=Za(e);return e instanceof t?e:pp(e)}function BN(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var Ai;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Ai||(Ai={}));function C9(e){e.preventDefault()}function OQe(e){e.stopPropagation()}var Mn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Mn||(Mn={}));const sae={start:[Mn.Space,Mn.Enter],cancel:[Mn.Esc],end:[Mn.Space,Mn.Enter]},NQe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Mn.Right:return{...n,x:n.x+25};case Mn.Left:return{...n,x:n.x-25};case Mn.Down:return{...n,y:n.y+25};case Mn.Up:return{...n,y:n.y-25}}};class lae{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Nf(pp(n)),this.windowListeners=new Nf(Za(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ai.Resize,this.handleCancel),this.windowListeners.add(Ai.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ai.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&RQe(r),n(vo)}handleKeyDown(t){if(l2(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:i=sae,coordinateGetter:o=NQe,scrollBehavior:s="smooth"}=a,{code:l}=t;if(i.end.includes(l)){this.handleEnd(t);return}if(i.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:vo;this.referenceCoordinates||(this.referenceCoordinates=d);const p=o(t,{active:n,context:r.current,currentCoordinates:d});if(p){const f=j_(p,d),m={x:0,y:0},{scrollableAncestors:g}=r.current;for(const h of g){const v=t.code,{isTop:S,isRight:_,isLeft:E,isBottom:y,maxScroll:C,minScroll:T}=iae(h),x=CQe(h),R={x:Math.min(v===Mn.Right?x.right-x.width/2:x.right,Math.max(v===Mn.Right?x.left:x.left+x.width/2,p.x)),y:Math.min(v===Mn.Down?x.bottom-x.height/2:x.bottom,Math.max(v===Mn.Down?x.top:x.top+x.height/2,p.y))},w=v===Mn.Right&&!_||v===Mn.Left&&!E,I=v===Mn.Down&&!y||v===Mn.Up&&!S;if(w&&R.x!==p.x){const O=h.scrollLeft+f.x,k=v===Mn.Right&&O<=C.x||v===Mn.Left&&O>=T.x;if(k&&!f.y){h.scrollTo({left:O,behavior:s});return}k?m.x=h.scrollLeft-O:m.x=v===Mn.Right?h.scrollLeft-C.x:h.scrollLeft-T.x,m.x&&h.scrollBy({left:-m.x,behavior:s});break}else if(I&&R.y!==p.y){const O=h.scrollTop+f.y,k=v===Mn.Down&&O<=C.y||v===Mn.Up&&O>=T.y;if(k&&!f.x){h.scrollTo({top:O,behavior:s});return}k?m.y=h.scrollTop-O:m.y=v===Mn.Down?h.scrollTop-C.y:h.scrollTop-T.y,m.y&&h.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,id(j_(p,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}lae.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=sae,onActivation:a}=t,{active:i}=n;const{code:o}=e.nativeEvent;if(r.start.includes(o)){const s=i.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function T9(e){return!!(e&&"distance"in e)}function x9(e){return!!(e&&"delay"in e)}class d2{constructor(t,n,r){var a;r===void 0&&(r=IQe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:o}=i;this.props=t,this.events=n,this.document=pp(o),this.documentListeners=new Nf(this.document),this.listeners=new Nf(r),this.windowListeners=new Nf(Za(o)),this.initialCoordinates=(a=lM(i))!=null?a:vo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(Ai.Resize,this.handleCancel),this.windowListeners.add(Ai.DragStart,C9),this.windowListeners.add(Ai.VisibilityChange,this.handleCancel),this.windowListeners.add(Ai.ContextMenu,C9),this.documentListeners.add(Ai.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(x9(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(T9(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Ai.Click,OQe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ai.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!a)return;const l=(n=lM(t))!=null?n:vo,u=j_(a,l);if(!r&&s){if(T9(s)){if(s.tolerance!=null&&BN(u,s.tolerance))return this.handleCancel();if(BN(u,s.distance))return this.handleStart()}return x9(s)&&BN(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(l)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Mn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const AQe={move:{name:"pointermove"},end:{name:"pointerup"}};class ZS extends d2{constructor(t){const{event:n}=t,r=pp(n.target);super(t,AQe,r)}}ZS.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const DQe={move:{name:"mousemove"},end:{name:"mouseup"}};var uM;(function(e){e[e.RightClick=2]="RightClick"})(uM||(uM={}));class MQe extends d2{constructor(t){super(t,DQe,pp(t.event.target))}}MQe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===uM.RightClick?!1:(r==null||r({event:n}),!0)}}];const UN={move:{name:"touchmove"},end:{name:"touchend"}};class LQe extends d2{constructor(t){super(t,UN)}static setup(){return window.addEventListener(UN.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(UN.move.name,t)};function t(){}}}LQe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var Af;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Af||(Af={}));var H_;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(H_||(H_={}));function kQe(e){let{acceleration:t,activator:n=Af.Pointer,canScroll:r,draggingRect:a,enabled:i,interval:o=5,order:s=H_.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:d,delta:p,threshold:f}=e;const m=$Qe({delta:p,disabled:!i}),[g,h]=KXe(),v=c.useRef({x:0,y:0}),S=c.useRef({x:0,y:0}),_=c.useMemo(()=>{switch(n){case Af.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case Af.DraggableRect:return a}},[n,a,l]),E=c.useRef(null),y=c.useCallback(()=>{const T=E.current;if(!T)return;const x=v.current.x*S.current.x,R=v.current.y*S.current.y;T.scrollBy(x,R)},[]),C=c.useMemo(()=>s===H_.TreeOrder?[...u].reverse():u,[s,u]);c.useEffect(()=>{if(!i||!u.length||!_){h();return}for(const T of C){if((r==null?void 0:r(T))===!1)continue;const x=u.indexOf(T),R=d[x];if(!R)continue;const{direction:w,speed:I}=yQe(T,R,_,t,f);for(const O of["x","y"])m[O][w[O]]||(I[O]=0,w[O]=0);if(I.x>0||I.y>0){h(),E.current=T,g(y,o),v.current=I,S.current=w;return}}v.current={x:0,y:0},S.current={x:0,y:0},h()},[t,y,r,h,i,o,JSON.stringify(_),JSON.stringify(m),g,u,C,d,JSON.stringify(f)])}const PQe={x:{[Xr.Backward]:!1,[Xr.Forward]:!1},y:{[Xr.Backward]:!1,[Xr.Forward]:!1}};function $Qe(e){let{delta:t,disabled:n}=e;const r=sM(t);return Og(a=>{if(n||!r||!a)return PQe;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Xr.Backward]:a.x[Xr.Backward]||i.x===-1,[Xr.Forward]:a.x[Xr.Forward]||i.x===1},y:{[Xr.Backward]:a.y[Xr.Backward]||i.y===-1,[Xr.Forward]:a.y[Xr.Forward]||i.y===1}}},[n,t,r])}function FQe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return Og(a=>{var i;return t===null?null:(i=r??a)!=null?i:null},[r,t])}function BQe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,i=a.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,r)}));return[...n,...i]},[]),[e,t])}var Dm;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Dm||(Dm={}));var dM;(function(e){e.Optimized="optimized"})(dM||(dM={}));const R9=new Map;function UQe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[i,o]=c.useState(null),{frequency:s,measure:l,strategy:u}=a,d=c.useRef(e),p=v(),f=Am(p),m=c.useCallback(function(S){S===void 0&&(S=[]),!f.current&&o(_=>_===null?S:_.concat(S.filter(E=>!_.includes(E))))},[f]),g=c.useRef(null),h=Og(S=>{if(p&&!n)return R9;if(!S||S===R9||d.current!==e||i!=null){const _=new Map;for(let E of e){if(!E)continue;if(i&&i.length>0&&!i.includes(E.id)&&E.rect.current){_.set(E.id,E.rect.current);continue}const y=E.node.current,C=y?new u2(l(y),y):null;E.rect.current=C,C&&_.set(E.id,C)}return _}return S},[e,i,n,p,l]);return c.useEffect(()=>{d.current=e},[e]),c.useEffect(()=>{p||m()},[n,p]),c.useEffect(()=>{i&&i.length>0&&o(null)},[JSON.stringify(i)]),c.useEffect(()=>{p||typeof s!="number"||g.current!==null||(g.current=setTimeout(()=>{m(),g.current=null},s))},[s,p,m,...r]),{droppableRects:h,measureDroppableContainers:m,measuringScheduled:i!=null};function v(){switch(u){case Dm.Always:return!1;case Dm.BeforeDragging:return n;default:return!n}}}function cae(e,t){return Og(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function jQe(e,t){return cae(e,t)}function zQe(e){let{callback:t,disabled:n}=e;const r=s2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function JS(e){let{callback:t,disabled:n}=e;const r=s2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function HQe(e){return new u2(fp(e),e)}function w9(e,t,n){t===void 0&&(t=HQe);const[r,a]=c.useReducer(s,null),i=zQe({callback(l){if(e)for(const u of l){const{type:d,target:p}=u;if(d==="childList"&&p instanceof HTMLElement&&p.contains(e)){a();break}}}}),o=JS({callback:a});return ho(()=>{a(),e?(o==null||o.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),i==null||i.disconnect())},[e]),r;function s(l){if(!e)return null;if(e.isConnected===!1){var u;return(u=l??n)!=null?u:null}const d=t(e);return JSON.stringify(l)===JSON.stringify(d)?l:d}}function GQe(e){const t=cae(e);return eae(e,t)}const I9=[];function VQe(e){const t=c.useRef(e),n=Og(r=>e?r&&r!==I9&&e&&t.current&&e.parentNode===t.current.parentNode?r:c2(e):I9,[e]);return c.useEffect(()=>{t.current=e},[e]),n}function qQe(e){const[t,n]=c.useState(null),r=c.useRef(e),a=c.useCallback(i=>{const o=FN(i.target);o&&n(s=>s?(s.set(o,cM(o)),new Map(s)):null)},[]);return c.useEffect(()=>{const i=r.current;if(e!==i){o(i);const s=e.map(l=>{const u=FN(l);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,cM(u)]):null}).filter(l=>l!=null);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(i)};function o(s){s.forEach(l=>{const u=FN(l);u==null||u.removeEventListener("scroll",a)})}},[a,e]),c.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,o)=>id(i,o),vo):oae(e):vo,[e,t])}function O9(e,t){t===void 0&&(t=[]);const n=c.useRef(null);return c.useEffect(()=>{n.current=null},t),c.useEffect(()=>{const r=e!==vo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?j_(e,n.current):vo}function WQe(e){c.useEffect(()=>{if(!QS)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function YQe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:i}=r;return n[a]=o=>{i(o,t)},n},{}),[e,t])}function uae(e){return c.useMemo(()=>e?_Qe(e):null,[e])}const jN=[];function KQe(e,t){t===void 0&&(t=fp);const[n]=e,r=uae(n?Za(n):null),[a,i]=c.useReducer(s,jN),o=JS({callback:i});return e.length>0&&a===jN&&i(),ho(()=>{e.length?e.forEach(l=>o==null?void 0:o.observe(l)):(o==null||o.disconnect(),i())},[e]),a;function s(){return e.length?e.map(l=>aae(l)?r:new u2(t(l),l)):jN}}function XQe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ig(t)?t:e}function QQe(e){let{measure:t}=e;const[n,r]=c.useState(null),a=c.useCallback(u=>{for(const{target:d}of u)if(Ig(d)){r(p=>{const f=t(d);return p?{...p,width:f.width,height:f.height}:f});break}},[t]),i=JS({callback:a}),o=c.useCallback(u=>{const d=XQe(u);i==null||i.disconnect(),d&&(i==null||i.observe(d)),r(d?t(d):null)},[t,i]),[s,l]=U_(o);return c.useMemo(()=>({nodeRef:s,rect:n,setRef:l}),[n,s,l])}const ZQe=[{sensor:ZS,options:{}},{sensor:lae,options:{}}],JQe={current:{}},Ov={draggable:{measure:y9},droppable:{measure:y9,strategy:Dm.WhileDragging,frequency:dM.Optimized},dragOverlay:{measure:fp}};class Df extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const eZe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Df,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:z_},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ov,measureDroppableContainers:z_,windowRect:null,measuringScheduled:!1},tZe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:z_,draggableNodes:new Map,over:null,measureDroppableContainers:z_},eE=c.createContext(tZe),dae=c.createContext(eZe);function nZe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Df}}}function rZe(e,t){switch(t.type){case Br.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Br.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Br.DragEnd:case Br.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Br.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new Df(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Br.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const o=new Df(e.droppable.containers);return o.set(n,{...i,disabled:a}),{...e,droppable:{...e.droppable,containers:o}}}case Br.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new Df(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function aZe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=c.useContext(eE),i=sM(r),o=sM(n==null?void 0:n.id);return c.useEffect(()=>{if(!t&&!r&&i&&o!=null){if(!l2(i)||document.activeElement===i.target)return;const s=a.get(o);if(!s)return;const{activatorNode:l,node:u}=s;if(!l.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[l.current,u.current]){if(!d)continue;const p=ZXe(d);if(p){p.focus();break}}})}},[r,t,a,o,i]),null}function iZe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,i)=>i({transform:a,...r}),n):n}function oZe(e){return c.useMemo(()=>({draggable:{...Ov.draggable,...e==null?void 0:e.draggable},droppable:{...Ov.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Ov.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function sZe(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const i=c.useRef(!1),{x:o,y:s}=typeof a=="boolean"?{x:a,y:a}:a;ho(()=>{if(!o&&!s||!t){i.current=!1;return}if(i.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),p=eae(d,r);if(o||(p.x=0),s||(p.y=0),i.current=!0,Math.abs(p.x)>0||Math.abs(p.y)>0){const f=tae(u);f&&f.scrollBy({top:p.y,left:p.x})}},[t,o,s,r,n])}const pae=c.createContext({...vo,scaleX:1,scaleY:1});var zs;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(zs||(zs={}));const fae=c.memo(function(t){var n,r,a,i;let{id:o,accessibility:s,autoScroll:l=!0,children:u,sensors:d=ZQe,collisionDetection:p=dQe,measuring:f,modifiers:m,...g}=t;const h=c.useReducer(rZe,void 0,nZe),[v,S]=h,[_,E]=aQe(),[y,C]=c.useState(zs.Uninitialized),T=y===zs.Initialized,{draggable:{active:x,nodes:R,translate:w},droppable:{containers:I}}=v,O=x?R.get(x):null,k=c.useRef({initial:null,translated:null}),P=c.useMemo(()=>{var Ce;return x!=null?{id:x,data:(Ce=O==null?void 0:O.data)!=null?Ce:JQe,rect:k}:null},[x,O]),M=c.useRef(null),[N,A]=c.useState(null),[D,L]=c.useState(null),$=Am(g,Object.values(g)),F=Ng("DndDescribedBy",o),B=c.useMemo(()=>I.getEnabled(),[I]),z=oZe(f),{droppableRects:U,measureDroppableContainers:j,measuringScheduled:G}=UQe(B,{dragging:T,dependencies:[w.x,w.y],config:z.droppable}),J=FQe(R,x),Y=c.useMemo(()=>D?lM(D):null,[D]),X=Me(),V=jQe(J,z.draggable.measure);sZe({activeNode:x?R.get(x):null,config:X.layoutShiftCompensation,initialRect:V,measure:z.draggable.measure});const H=w9(J,z.draggable.measure,V),q=w9(J?J.parentElement:null),K=c.useRef({activatorEvent:null,active:null,activeNode:J,collisionRect:null,collisions:null,droppableRects:U,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:I,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Z=I.getNodeFor((n=K.current.over)==null?void 0:n.id),te=QQe({measure:z.dragOverlay.measure}),se=(r=te.nodeRef.current)!=null?r:J,ue=T?(a=te.rect)!=null?a:H:null,me=!!(te.nodeRef.current&&te.rect),de=GQe(me?null:H),Te=uae(se?Za(se):null),Ee=VQe(T?Z??J:null),ge=KQe(Ee),re=iZe(m,{transform:{x:w.x-de.x,y:w.y-de.y,scaleX:1,scaleY:1},activatorEvent:D,active:P,activeNodeRect:H,containerNodeRect:q,draggingNodeRect:ue,over:K.current.over,overlayNodeRect:te.rect,scrollableAncestors:Ee,scrollableAncestorRects:ge,windowRect:Te}),ne=Y?id(Y,w):null,ae=qQe(Ee),le=O9(ae),pe=O9(ae,[H]),Re=id(re,le),Se=ue?mQe(ue,re):null,Pe=P&&Se?p({active:P,collisionRect:Se,droppableRects:U,droppableContainers:B,pointerCoordinates:ne}):null,fe=cQe(Pe,"id"),[ve,Ae]=c.useState(null),ye=me?re:id(re,pe),be=pQe(ye,(i=ve==null?void 0:ve.rect)!=null?i:null,H),Ne=c.useCallback((Ce,De)=>{let{sensor:Ue,options:Ye}=De;if(M.current==null)return;const He=R.get(M.current);if(!He)return;const ze=Ce.nativeEvent,Xe=new Ue({active:M.current,activeNode:He,event:ze,options:Ye,context:K,onStart(Je){const mt=M.current;if(mt==null)return;const pt=R.get(mt);if(!pt)return;const{onDragStart:We}=$.current,Ve={active:{id:mt,data:pt.data,rect:k}};Ur.unstable_batchedUpdates(()=>{We==null||We(Ve),C(zs.Initializing),S({type:Br.DragStart,initialCoordinates:Je,active:mt}),_({type:"onDragStart",event:Ve})})},onMove(Je){S({type:Br.DragMove,coordinates:Je})},onEnd:Be(Br.DragEnd),onCancel:Be(Br.DragCancel)});Ur.unstable_batchedUpdates(()=>{A(Xe),L(Ce.nativeEvent)});function Be(Je){return async function(){const{active:pt,collisions:We,over:Ve,scrollAdjustedTranslate:Ze}=K.current;let dt=null;if(pt&&Ze){const{cancelDrop:It}=$.current;dt={activatorEvent:ze,active:pt,collisions:We,delta:Ze,over:Ve},Je===Br.DragEnd&&typeof It=="function"&&await Promise.resolve(It(dt))&&(Je=Br.DragCancel)}M.current=null,Ur.unstable_batchedUpdates(()=>{S({type:Je}),C(zs.Uninitialized),Ae(null),A(null),L(null);const It=Je===Br.DragEnd?"onDragEnd":"onDragCancel";if(dt){const Nt=$.current[It];Nt==null||Nt(dt),_({type:It,event:dt})}})}}},[R]),Ie=c.useCallback((Ce,De)=>(Ue,Ye)=>{const He=Ue.nativeEvent,ze=R.get(Ye);if(M.current!==null||!ze||He.dndKit||He.defaultPrevented)return;const Xe={active:ze};Ce(Ue,De.options,Xe)===!0&&(He.dndKit={capturedBy:De.sensor},M.current=Ye,Ne(Ue,De))},[R,Ne]),xe=BQe(d,Ie);WQe(d),ho(()=>{H&&y===zs.Initializing&&C(zs.Initialized)},[H,y]),c.useEffect(()=>{const{onDragMove:Ce}=$.current,{active:De,activatorEvent:Ue,collisions:Ye,over:He}=K.current;if(!De||!Ue)return;const ze={active:De,activatorEvent:Ue,collisions:Ye,delta:{x:Re.x,y:Re.y},over:He};Ur.unstable_batchedUpdates(()=>{Ce==null||Ce(ze),_({type:"onDragMove",event:ze})})},[Re.x,Re.y]),c.useEffect(()=>{const{active:Ce,activatorEvent:De,collisions:Ue,droppableContainers:Ye,scrollAdjustedTranslate:He}=K.current;if(!Ce||M.current==null||!De||!He)return;const{onDragOver:ze}=$.current,Xe=Ye.get(fe),Be=Xe&&Xe.rect.current?{id:Xe.id,rect:Xe.rect.current,data:Xe.data,disabled:Xe.disabled}:null,Je={active:Ce,activatorEvent:De,collisions:Ue,delta:{x:He.x,y:He.y},over:Be};Ur.unstable_batchedUpdates(()=>{Ae(Be),ze==null||ze(Je),_({type:"onDragOver",event:Je})})},[fe]),ho(()=>{K.current={activatorEvent:D,active:P,activeNode:J,collisionRect:Se,collisions:Pe,droppableRects:U,draggableNodes:R,draggingNode:se,draggingNodeRect:ue,droppableContainers:I,over:ve,scrollableAncestors:Ee,scrollAdjustedTranslate:Re},k.current={initial:ue,translated:Se}},[P,J,Pe,Se,R,se,ue,U,I,ve,Ee,Re]),kQe({...X,delta:w,draggingRect:Se,pointerCoordinates:ne,scrollableAncestors:Ee,scrollableAncestorRects:ge});const ke=c.useMemo(()=>({active:P,activeNode:J,activeNodeRect:H,activatorEvent:D,collisions:Pe,containerNodeRect:q,dragOverlay:te,draggableNodes:R,droppableContainers:I,droppableRects:U,over:ve,measureDroppableContainers:j,scrollableAncestors:Ee,scrollableAncestorRects:ge,measuringConfiguration:z,measuringScheduled:G,windowRect:Te}),[P,J,H,D,Pe,q,te,R,I,U,ve,j,Ee,ge,z,G,Te]),rt=c.useMemo(()=>({activatorEvent:D,activators:xe,active:P,activeNodeRect:H,ariaDescribedById:{draggable:F},dispatch:S,draggableNodes:R,over:ve,measureDroppableContainers:j}),[D,xe,P,H,S,F,R,ve,j]);return ce.createElement(Zre.Provider,{value:E},ce.createElement(eE.Provider,{value:rt},ce.createElement(dae.Provider,{value:ke},ce.createElement(pae.Provider,{value:be},u)),ce.createElement(aZe,{disabled:(s==null?void 0:s.restoreFocus)===!1})),ce.createElement(sQe,{...s,hiddenTextDescribedById:F}));function Me(){const Ce=(N==null?void 0:N.autoScrollEnabled)===!1,De=typeof l=="object"?l.enabled===!1:l===!1,Ue=T&&!Ce&&!De;return typeof l=="object"?{...l,enabled:Ue}:{enabled:Ue}}}),lZe=c.createContext(null),N9="button",cZe="Droppable";function uZe(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const i=Ng(cZe),{activators:o,activatorEvent:s,active:l,activeNodeRect:u,ariaDescribedById:d,draggableNodes:p,over:f}=c.useContext(eE),{role:m=N9,roleDescription:g="draggable",tabIndex:h=0}=a??{},v=(l==null?void 0:l.id)===t,S=c.useContext(v?pae:lZe),[_,E]=U_(),[y,C]=U_(),T=YQe(o,t),x=Am(n);ho(()=>(p.set(t,{id:t,key:i,node:_,activatorNode:y,data:x}),()=>{const w=p.get(t);w&&w.key===i&&p.delete(t)}),[p,t]);const R=c.useMemo(()=>({role:m,tabIndex:h,"aria-disabled":r,"aria-pressed":v&&m===N9?!0:void 0,"aria-roledescription":g,"aria-describedby":d.draggable}),[r,m,h,v,g,d.draggable]);return{active:l,activatorEvent:s,activeNodeRect:u,attributes:R,isDragging:v,listeners:r?void 0:T,node:_,over:f,setNodeRef:E,setActivatorNodeRef:C,transform:S}}function dZe(){return c.useContext(dae)}const pZe="Droppable",fZe={timeout:25};function mZe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const i=Ng(pZe),{active:o,dispatch:s,over:l,measureDroppableContainers:u}=c.useContext(eE),d=c.useRef({disabled:n}),p=c.useRef(!1),f=c.useRef(null),m=c.useRef(null),{disabled:g,updateMeasurementsFor:h,timeout:v}={...fZe,...a},S=Am(h??r),_=c.useCallback(()=>{if(!p.current){p.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},v)},[v]),E=JS({callback:_,disabled:g||!o}),y=c.useCallback((R,w)=>{E&&(w&&(E.unobserve(w),p.current=!1),R&&E.observe(R))},[E]),[C,T]=U_(y),x=Am(t);return c.useEffect(()=>{!E||!C.current||(E.disconnect(),p.current=!1,E.observe(C.current))},[C,E]),ho(()=>(s({type:Br.RegisterDroppable,element:{id:r,key:i,disabled:n,node:C,rect:f,data:x}}),()=>s({type:Br.UnregisterDroppable,key:i,id:r})),[r]),c.useEffect(()=>{n!==d.current.disabled&&(s({type:Br.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,s]),{active:o,rect:f,isOver:(l==null?void 0:l.id)===r,node:C,over:l,setNodeRef:T}}function tE(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function gZe(e,t){return e.reduce((n,r,a)=>{const i=t.get(r);return i&&(n[a]=i),n},Array(e.length))}function Uh(e){return e!==null&&e>=0}function hZe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const i=tE(t,r,n),o=t[a],s=i[a];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},jh={scaleX:1,scaleY:1},gae=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:i,overIndex:o}=e;const s=(t=i[n])!=null?t:r;if(!s)return null;if(a===n){const u=i[o];return u?{x:0,y:nn&&a<=o?{x:0,y:-s.height-l,...jh}:a=o?{x:0,y:s.height+l,...jh}:{x:0,y:0,...jh}};function _Ze(e,t,n){const r=e[t],a=e[t-1],i=e[t+1];return r?nr.map(T=>typeof T=="object"&&"id"in T?T.id:T),[r]),g=o!=null,h=o?m.indexOf(o.id):-1,v=u?m.indexOf(u.id):-1,S=c.useRef(m),_=!hZe(m,S.current),E=v!==-1&&h===-1||_,y=vZe(i);ho(()=>{_&&g&&d(m)},[_,m,g,d]),c.useEffect(()=>{S.current=m},[m]);const C=c.useMemo(()=>({activeIndex:h,containerId:p,disabled:y,disableTransforms:E,items:m,overIndex:v,useDragOverlay:f,sortedRects:gZe(m,l),strategy:a}),[h,p,y.draggable,y.droppable,E,m,v,l,f,a]);return ce.createElement(vae.Provider,{value:C},t)}const bZe=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return tE(n,r,a).indexOf(t)},SZe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:i,newIndex:o,previousItems:s,previousContainerId:l,transition:u}=e;return!u||!r||s!==i&&a===o?!1:n?!0:o!==a&&t===l},EZe={duration:200,easing:"ease"},bae="transform",yZe=Pd.Transition.toString({property:bae,duration:0,easing:"linear"}),CZe={roleDescription:"sortable"};function TZe(e){let{disabled:t,index:n,node:r,rect:a}=e;const[i,o]=c.useState(null),s=c.useRef(n);return ho(()=>{if(!t&&n!==s.current&&r.current){const l=a.current;if(l){const u=fp(r.current,{ignoreTransform:!0}),d={x:l.left-u.left,y:l.top-u.top,scaleX:l.width/u.width,scaleY:l.height/u.height};(d.x||d.y)&&o(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),c.useEffect(()=>{i&&o(null)},[i]),i}function Sae(e){let{animateLayoutChanges:t=SZe,attributes:n,disabled:r,data:a,getNewIndex:i=bZe,id:o,strategy:s,resizeObserverConfig:l,transition:u=EZe}=e;const{items:d,containerId:p,activeIndex:f,disabled:m,disableTransforms:g,sortedRects:h,overIndex:v,useDragOverlay:S,strategy:_}=c.useContext(vae),E=xZe(r,m),y=d.indexOf(o),C=c.useMemo(()=>({sortable:{containerId:p,index:y,items:d},...a}),[p,a,y,d]),T=c.useMemo(()=>d.slice(d.indexOf(o)),[d,o]),{rect:x,node:R,isOver:w,setNodeRef:I}=mZe({id:o,data:C,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...l}}),{active:O,activatorEvent:k,activeNodeRect:P,attributes:M,setNodeRef:N,listeners:A,isDragging:D,over:L,setActivatorNodeRef:$,transform:F}=uZe({id:o,data:C,attributes:{...CZe,...n},disabled:E.draggable}),B=YXe(I,N),z=!!O,U=z&&!g&&Uh(f)&&Uh(v),j=!S&&D,G=j&&U?F:null,Y=U?G??(s??_)({rects:h,activeNodeRect:P,activeIndex:f,overIndex:v,index:y}):null,X=Uh(f)&&Uh(v)?i({id:o,items:d,activeIndex:f,overIndex:v}):y,V=O==null?void 0:O.id,H=c.useRef({activeId:V,items:d,newIndex:X,containerId:p}),q=d!==H.current.items,K=t({active:O,containerId:p,isDragging:D,isSorting:z,id:o,index:y,items:d,newIndex:H.current.newIndex,previousItems:H.current.items,previousContainerId:H.current.containerId,transition:u,wasDragging:H.current.activeId!=null}),Z=TZe({disabled:!K,index:y,node:R,rect:x});return c.useEffect(()=>{z&&H.current.newIndex!==X&&(H.current.newIndex=X),p!==H.current.containerId&&(H.current.containerId=p),d!==H.current.items&&(H.current.items=d)},[z,X,p,d]),c.useEffect(()=>{if(V===H.current.activeId)return;if(V&&!H.current.activeId){H.current.activeId=V;return}const se=setTimeout(()=>{H.current.activeId=V},50);return()=>clearTimeout(se)},[V]),{active:O,activeIndex:f,attributes:M,data:C,rect:x,index:y,newIndex:X,items:d,isOver:w,isSorting:z,isDragging:D,listeners:A,node:R,overIndex:v,over:L,setNodeRef:B,setActivatorNodeRef:$,setDroppableNodeRef:I,setDraggableNodeRef:N,transform:Z??Y,transition:te()};function te(){if(Z||q&&H.current.newIndex===y)return yZe;if(!(j&&!l2(k)||!u)&&(z||K))return Pd.Transition.toString({...u,property:bae})}}function xZe(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Mn.Down,Mn.Right,Mn.Up,Mn.Left;const{useToken:RZe}=Xa,wZe=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:i}=RZe(),{attributes:o,listeners:s,setNodeRef:l,transform:u,transition:d,isDragging:p}=Sae({id:n.uid}),{t:f}=$t(),m={transform:Pd.Transform.toString(u),transition:d,cursor:"move"};return b.jsx("div",{ref:l,style:m,className:p?"is-dragging":"",...o,...s,children:b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${i.colorBorder}`},children:[b.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[b.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${i.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),b.jsxs("div",{children:[b.jsx("div",{children:n.name}),b.jsxs("div",{style:{fontSize:"smaller",color:`${i.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),b.jsx(Rt,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:b.jsx(Rd,{})})]})})},Eae=/[<>:"/\\|?*]/,Mf=Eae.source.slice(1,-1).split("").join(" ");function qu(e){return!Eae.test(e)}const yo=new xn(vn()),{useToken:IZe}=Xa,A9=99,vu=e2,Xi={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},p2=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:i=!1,showColumns:o=void 0})=>{const{t:s}=$t(),{playAudio:l}=CS(),{token:u}=IZe(),d=lP(),p=c.useRef(null),f=c.useRef(null),m=c.useRef(null),g=c.useRef(null),h=c.useRef(null),[v,S]=Qe.useMessage(),_=Vo(),y=new URLSearchParams(_.search).get("path")||"",[C,T]=c.useState(y),[x,R]=c.useState([]),[w,I]=c.useState(!1),[O,k]=c.useState(""),[P,M]=c.useState([]),[N,A]=c.useState(Xi.id),[D,L]=c.useState([Xi]),[$,F]=c.useState([]),[B,z]=c.useState(""),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,X]=c.useState(),[V,H]=c.useState(""),[q,K]=c.useState(!1),[Z,te]=c.useState(!1),[se,ue]=c.useState(0);c.useState(!1),c.useState(0);const[me,de]=c.useState(),[Te,Ee]=c.useState(!1),[ge,re]=c.useState(!0),[ne,ae]=c.useState(!1),[le,pe]=c.useState(!1),[Re,Se]=c.useState(!0),[Pe,fe]=c.useState(!1),[ve,Ae]=c.useState(1),[ye,be]=c.useState(y),[Ne,Ie]=c.useState(!1),[xe,ke]=c.useState(!1),[rt,Me]=c.useState(null),[Ce,De]=c.useState(""),[Ue,Ye]=c.useState(""),[He,ze]=c.useState(!1),[Xe,Be]=c.useState(!1),[Je,mt]=c.useState(0),[pt,We]=c.useState(!1),[Ve,Ze]=c.useState([]),[dt,It]=c.useState(!1),[Nt,ht]=c.useState(!1),[ct,ot]=c.useState(0),[et,vt]=c.useState([]),[nt,bt]=c.useState(!1),[Ct,tt]=c.useState(!1),[it,Ke]=c.useState(0),[qe,_t]=c.useState([]);c.useEffect(()=>{(async()=>{const we=Vt(Xi.id);yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${we}&special=library`).then(je=>je.json()).then(je=>{var st=je.files;st=st.filter(At=>At.isDir&&At.name!=="..").sort((At,Zt)=>At.name===Zt.name?0:At.name.toLowerCase()>Zt.name.toLowerCase()?1:-1).map(At=>({id:Xi.id+"."+st.indexOf(At),pId:Xi.id,value:Xi.id+"."+st.indexOf(At),title:At.name,fullPath:`${we}/${At.name}/`})),L(D.concat(st))})})()},[]),c.useEffect(()=>{const we=new URLSearchParams(_.search).get("path")||"";T(we)},[]),c.useEffect(()=>{if(r){const Oe=new URLSearchParams(_.search);Oe.set("path",""),T("");const we=`${window.location.pathname}?${Oe.toString()}`;window.history.replaceState(null,"",we),I(je=>!je)}},[r]),c.useEffect(()=>{yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${C}&special=${e}`+(r?`&overlay=${r}`:"")).then(Oe=>Oe.json()).then(Oe=>{var we=Oe.files;i&&(we=we.filter(je=>je.isDir)),t.length>0&&(we=we.filter(je=>je.isDir||t.some(st=>je.name.endsWith(st)))),R(we)})},[C,e,i,w]),c.useEffect(()=>{Pe&&setTimeout(()=>{f.current&&f.current.focus()},0)},[Pe]),c.useEffect(()=>{p.current!==null&&h.current&&h.current.setSelectionRange(p.current,p.current)},[B]),c.useEffect(()=>{be(Vt(N))},[N]),c.useEffect(()=>{be(C)},[C]);function xt(){const Oe=window.matchMedia("(prefers-color-scheme: dark)").matches,we=localStorage.getItem("theme");return we==="auto"?Oe?"dark":"light":we}function kt(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,Oe=>(parseInt(Oe)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(Oe)/4).toString(16))}const tn=Oe=>{a&&d(`?path=${Oe}`),C===Oe&&I(we=>!we),j(!1),T(Oe)},nn=(Oe,we)=>{const je=Oe.split("/").filter(At=>At),st=[{title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(""),children:s("fileBrowser.root")}),key:"/"}];return je.forEach((At,Zt)=>{const Cn=`/${je.slice(0,Zt+1).join("/")}`;st.push({title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(Cn),children:At}),key:Cn})}),b.jsx(Zd,{items:st})},rn=({id:Oe})=>new Promise((we,je)=>{const st=Vt(Oe);yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${st}&special=library`).then(At=>At.json()).then(At=>{let Zt=At.files;Zt=Zt.filter(Cn=>Cn.isDir&&Cn.name!=="..").sort((Cn,Er)=>Cn.name===Er.name?0:Cn.name.toLowerCase()>Er.name.toLowerCase()?1:-1).map(Cn=>({id:Oe+"."+Zt.indexOf(Cn),pId:Oe,value:Oe+"."+Zt.indexOf(Cn),title:Cn.name,fullPath:`${st}/${Cn.name}/`})),L(D.concat(Zt)),we(!0)}).then(()=>{je()})}),Vt=Oe=>{const we=D.filter(je=>je.value===Oe)[0];return we.pId==="-1"?"":Vt(D.filter(je=>je.id===we.pId)[0].id)+"/"+we.title},yt=(Oe,we)=>{for(const je of we)if(je.fullPath===Oe)return je.id;return null},Ot=(Oe,we)=>{let je=[];for(const st of we)st.pId===Oe&&je.push(st);return je},Mt=Oe=>$.includes(Oe),En=b.jsx(Dl,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:N,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:A,loadData:rn,treeData:D,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:$,onTreeExpand:Oe=>F(Oe),disabled:nt||dt}),Hn=Oe=>{var we;!Oe.isDir&&((we=Oe.tonieInfo)!=null&&we.tracks)&&(X(Oe),J(!0))},lr=Oe=>{Rr((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),K(!0)},tr=()=>{K(!1)},Rr=async Oe=>{try{const je=await(await yo.apiGetTeddyCloudApiRaw(Oe)).json();H(je)}catch(we){console.error("Error fetching JSON data:",we)}},wr=b.jsx(Rt,{type:"primary",onClick:()=>K(!1),children:s("tonies.informationModal.ok")}),Gn=b.jsx(Sn,{className:"json-viewer",footer:wr,width:700,title:"File: "+O,open:q,onCancel:tr,children:V?b.jsx(Sl,{language:"json",style:xt()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(V,null,2)}):"Loading..."}),Yt=(Oe,we)=>{const je=we,{trackSeconds:st,...At}=je;j(!1),de(At),k(Oe),Ee(!0)},Bt=()=>{Ee(!1)},qt=b.jsx(Sn,{className:"taf-header-viewer",footer:b.jsx(Rt,{type:"primary",onClick:()=>Ee(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+O,open:Te,onCancel:Bt,children:me?b.jsx(Sl,{language:"json",style:xt()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(me,null,2)}):"Loading..."}),Ut=Oe=>{Oe.includes(".tap")&&(Rr((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),ue(je=>je+1),te(!0))},jt=Oe=>{console.log("Received values of form: ",Oe),te(!1)},St=(Oe,we)=>{},Tt=(Oe,we,je)=>{j(!1),Me(Oe),De(we),Ye(je),Ie(!0)},sn=()=>{Ie(!1),ke(!1)},yn=()=>{vr(Ce,Ue),I(Oe=>!Oe),Ie(!1)},nr=()=>{ke(!0)},cr=async()=>{if(P.length>0){for(const Oe of P){const we=x.find(je=>je.name===Oe);if(we){const je=C+"/"+we.name,st="?special="+e+(r?`&overlay=${r}`:"");await vr(je,st)}}I(Oe=>!Oe),ke(!1),M([])}else Qe.warning("No rows selected for deletion.")},vr=async(Oe,we)=>{const je=Qe.loading(s("fileBrowser.messages.deleting"),0);try{const st=`/api/fileDelete${we}`,Zt=await(await yo.apiPostTeddyCloudRaw(st,Oe)).text();if(je(),Zt==="OK"){Qe.success(s("fileBrowser.messages.deleteSuccessful",{file:Oe}));const Cn=yt(Oe+"/",D);Cn&&L(Er=>Er.filter(Vr=>Vr.id!==Cn)),ye===Oe+"/"&&be(C)}else Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${Zt}`)}catch(st){je(),Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${st}`)}},zt=()=>{re(!0),ae(!1),Ae(Oe=>Oe+1),j(!1),fe(!0)},Ft=()=>{j(!1),fe(!1)},ut=Oe=>{const we=Oe.target.value,je=!qu(we.toString());ae(je),re(we==="")},Pt=()=>{var we,je;const Oe=((je=(we=f.current)==null?void 0:we.input)==null?void 0:je.value)||"";try{yo.apiPostTeddyCloudRaw("/api/dirCreate?special=library",ye+"/"+Oe).then(st=>st.text()).then(st=>{if(st!=="OK")throw new Error(st);const At=yt(ye+"/",D)||Xi.id,Zt=`${At}.${D.length}`,Cn=Mt(At),Er=Ot(At,D);if(Cn||Er.length>0){const Vr={id:Zt,pId:At,value:Zt,title:Oe,fullPath:ye+"/"+Oe+"/"};L([...D,Vr].sort((T2,x2)=>T2.title===x2.title?0:T2.title.toLowerCase()>x2.title.toLowerCase()?1:-1)),(He||Nt)&&A(Zt)}Qe.success(s("fileBrowser.createDirectory.directoryCreated")),fe(!1),I(Vr=>!Vr),be(C)}).catch(st=>{Qe.error(st.message)})}catch{Qe.error("Error while creating directory")}},mn=ge||ne,pr=b.jsxs(Sn,{title:s("fileBrowser.createDirectory.modalTitle"),open:Pe,onCancel:Ft,onOk:Pt,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:mn},children:[b.jsxs(wn,{style:{marginBottom:8},children:[s("fileBrowser.createDirectory.parentPath")+" "+ye+"/"," "]}),b.jsxs(Xt.Item,{validateStatus:ne?"error":"",help:ne?s("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:[" ",b.jsx(en,{ref:f,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:ne?"error":"",onChange:ut})]})]},"createDirModal-"+ve),pn=async(Oe,we,je)=>{const st="source="+encodeURIComponent(Oe)+"&target="+encodeURIComponent(we),At=Qe.loading(s(je?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),0);try{const Zt=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,Er=await(await yo.apiPostTeddyCloudRaw(Zt,st)).text();if(At(),Er==="OK")Qe.success(je?s("fileBrowser.messages.movingSuccessful",{file:Oe}):s("fileBrowser.messages.renamingSuccessful",{file:Oe}));else throw Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Er}`),Er}catch(Zt){throw At(),Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Zt}`),Zt}},Ir=Oe=>{A(Xi.id),k(Oe),ze(!0)},Or=()=>{ze(!1),be(C)},Sr=async(Oe,we)=>{try{await pn(Oe+"/"+O,we+"/"+O,!0),I(je=>!je),ze(!1),A(Xi.id)}catch{}},sa=async(Oe,we)=>{if(P.length>0){for(const je of P){const st=x.find(At=>At.name===je);st&&!st.isDir&&await pn(Oe+"/"+st.name,we+"/"+st.name,!0)}I(je=>!je),ze(!1),M([]),A(Xi.id)}else Qe.warning("No rows selected for moving.")},Ja=!N||Vt(N)===C,Yo=b.jsxs(Sn,{title:s(O?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:He,onCancel:Or,onOk:()=>O?Sr(C,Vt(N)):sa(C,Vt(N)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:Ja},children:[b.jsx(Xn,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),b.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[b.jsx(en,{type:"text",style:{borderTopRightRadius:O?0:"unset",borderBottomRightRadius:O?0:"unset"},disabled:!0,value:C+"/"+(O||""),placeholder:C+"/"+(O||"")}),b.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),b.jsxs("div",{style:{display:"flex"},children:[En,b.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{icon:b.jsx(TD,{}),onClick:()=>{be(Vt(N)),zt()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),Dt=Oe=>{k(Oe),re(!0),pe(!qu(Oe)),mt(we=>we+1),Be(!0)},Kt=()=>{Be(!1)},Vn=async(Oe,we)=>{try{await pn(Oe+"/"+O,Oe+"/"+we,!1),I(je=>!je),Be(!1)}catch{}},fr=Oe=>{const we=Oe.target.value,je=!qu(we.toString()),st=!we.toString()||je;pe(je),Se(st),re(!we||we===O)},qn=ge||le||Re,Ns=b.jsxs(Sn,{title:s("fileBrowser.renameFile.modalTitle"),open:Xe,onCancel:Kt,onOk:()=>Vn(C,g.current&&g.current.input?g.current.input.value:O),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:qn},children:[b.jsx(Xn,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),b.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:b.jsx(Xt.Item,{validateStatus:le?"error":"",help:le?s("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:b.jsx(en,{ref:g,type:"text",defaultValue:O,onChange:fr,placeholder:O,status:le?"error":""})})})]},"renameModal-"+Je),_p=()=>{Ke(Oe=>Oe+1),tt(!0)},bp=()=>{tt(!1)},$l=()=>{vt(Oe=>[...Oe,...qe]),tt(!1),_t([])},lie=(Oe,we,je)=>{const st=[];if(Oe.length>0)for(const At of Oe){const Zt=Oe.find(Cn=>Cn.name===At.name&&vu.some(Er=>Cn.name.toLowerCase().endsWith(Er)));Zt&&st.push({uid:kt(),name:Zt.name,path:we})}_t(st)},cie=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:bp,children:s("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:$l,children:s("tonies.selectFileModal.ok")})]}),uie=b.jsx(Sn,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:Ct,onOk:$l,onCancel:bp,width:"auto",footer:cie,children:b.jsx(t2,{special:"library",maxSelectedRows:A9-et.length-1,trackUrl:!1,filetypeFilter:vu,onFileSelectChange:lie},it)}),die=()=>{re(!0),pe(!1),ot(we=>we+1),A(Xi.id);const Oe=[];for(const we of P){const je=x.find(st=>st.name===we&&vu.some(At=>st.name.toLowerCase().endsWith(At)));je&&Oe.push({uid:kt(),name:je.name,path:C})}vt(Oe),ht(!0)},pie=()=>{ht(!1),be(C),vt([])},fie=async()=>{var st,At;bt(!0);const Oe=(At=(st=m==null?void 0:m.current)==null?void 0:st.input)==null?void 0:At.value,we=Qe.loading(s("fileBrowser.encodeFiles.encodingInProgress"),0),je=et.map(Zt=>`source=${encodeURIComponent(Zt.path+"/"+Zt.name)}`).join("&")+`&target=${encodeURIComponent(Vt(N)+"/"+Oe+".taf")}`;try{(await yo.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,je)).ok?(we(),Qe.success(s("fileBrowser.encodeFiles.encodingSuccessful")),ht(!1),A("1"),M([]),I(!w)):(we(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed")))}catch{we(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed"))}bt(!1)},mie=Jre(ZS,{activationConstraint:{distance:10}}),gie=({active:Oe,over:we})=>{Oe.id!==(we==null?void 0:we.id)&&vt(je=>{const st=je.findIndex(Zt=>Zt.uid===Oe.id),At=je.findIndex(Zt=>Zt.uid===(we==null?void 0:we.id));return tE(je,st,At)})},hie=Oe=>{const we=et.indexOf(Oe),je=et.slice();je.splice(we,1),vt(je)},vie=()=>{vt(Oe=>[...Oe].sort((we,je)=>we.name.localeCompare(je.name)))},_ie=Oe=>{const we=Oe.target.value,je=!qu(we.toString()),st=et.length>0&&!we.toString()||je;pe(je),Se(st),re(we==="")},bie=b.jsxs(Sn,{title:s("fileBrowser.encodeFiles.modalTitle"),open:Nt,onCancel:pie,onOk:fie,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:nt||Re||ge||et.length===0},children:[uie,b.jsx(fae,{sensors:[mie],onDragEnd:gie,children:b.jsxs(_ae,{items:et.map(Oe=>Oe.uid),strategy:gae,disabled:nt,children:[b.jsx(Rt,{disabled:nt,onClick:_p,children:s("fileBrowser.encodeFiles.addFiles")}),et.map(Oe=>b.jsx(wZe,{originNode:b.jsx("div",{children:Oe.name}),onRemove:hie,disabled:nt,fileObjectList:et,file:Oe},Oe.uid))]})}),b.jsx(Na,{direction:"vertical",style:{display:"flex"},children:et.length>0?b.jsxs(b.Fragment,{children:[b.jsx(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:b.jsx(Rt,{type:"default",disabled:nt,onClick:vie,children:s("tonies.encoder.sortAlphabetically")})}),b.jsx(Qr,{}),b.jsx("div",{style:{width:"100%"},className:"encoder",children:b.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[b.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[b.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),En,b.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{disabled:nt,icon:b.jsx(TD,{}),onClick:()=>{be(Vt(N)),zt()},style:{borderRadius:0}})}),b.jsx(en,{ref:m,addonAfter:".taf",required:!0,status:Re?"error":"",onChange:_ie,disabled:nt})]}),le?b.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:Mf})}):""]})})]}):b.jsx(b.Fragment,{})})]},"encodeModal-"+ct),Sie=()=>{We(!0)},S2=()=>{Ze([]),We(!1)},Eie={name:"file",multiple:!0,fileList:Ve,customRequest:async Oe=>{const{onSuccess:we,onError:je,file:st}=Oe;we("Ok")},onChange(Oe){const{status:we,fileList:je}=Oe;we!=="uploading"&&(Ze(je),console.log(Oe.file,Oe.fileList))},onDrop(Oe){console.log("Dropped files",Oe.dataTransfer.files)},onRemove:Oe=>{Ze(we=>we.filter(je=>je.uid!==Oe.uid))}},yie=async Oe=>{if(!Oe.length)return;It(!0);let we=!1;for(let je=0;jeEr.filter(Vr=>Vr.uid!==st.uid)),Qe.success(s("fileBrowser.upload.uploadSuccessfulForFile",{file:st.name}))):(we=!0,At(),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr)),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})))}catch{we=!0,At(),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr))}}we?(I(!w),Qe.error(s("fileBrowser.upload.uploadFailed"))):(I(!w),We(!1),Qe.success(s("fileBrowser.upload.uploadSuccessful"))),It(!1)},Cie=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:S2,children:s("fileBrowser.upload.cancel")}),b.jsx(Rt,{type:"primary",onClick:()=>yie(Ve),loading:dt,disabled:Ve.length===0||dt,children:s(dt?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),Tie=b.jsx(Sn,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:pt,onCancel:S2,footer:Cie,children:b.jsx("div",{style:{width:"100%",marginBottom:8},children:b.jsxs(bg.Dragger,{...Eie,style:{width:"100%",marginBottom:8},children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),b.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),E2=(Oe,we,je)=>{try{v.open({type:"loading",content:s("fileBrowser.messages.migrationOngoing"),duration:0});const st=`ruid=${Oe}&libroot=${we}`;yo.apiPostTeddyCloudRaw("/api/migrateContent2Lib",st,je).then(At=>At.text()).then(At=>{v.destroy(),At==="OK"?(v.open({type:"success",content:s("fileBrowser.messages.migrationSuccessful")}),I(Zt=>!Zt)):v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})}).catch(At=>{v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})})}catch(st){v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+st})}},xie=Oe=>{z(Oe.target.value),p.current=Oe.target.selectionStart,j(!0)},Rie=()=>{z(""),p.current=0},wie=()=>{j(!0)},Iie=()=>{j(!1)},Oie=Oe=>P.includes(Oe.key)?"highlight-row":"",Nie=Oe=>{M(Oe)},Aie=Oe=>{const we=Oe===".."?C.split("/").slice(0,-1).join("/"):`${C}/${Oe}`;a&&d(`?path=${we}`),j(!1),M([]),T(we)},y2=(Oe,we)=>we.reduce((je,st)=>{if(je&&je[st]!==void 0)return je[st]},Oe),C2=(Oe,we,je)=>{const st=Array.isArray(je)?y2(Oe,je):Oe[je],At=Array.isArray(je)?y2(we,je):we[je];return st===void 0&&At===void 0?0:st===void 0?1:At===void 0?-1:typeof st=="string"&&typeof At=="string"?st.localeCompare(At):typeof st=="number"&&typeof At=="number"?st-At:(console.log("Unsupported types for sorting:",Oe,we),console.log("Unsupported types for sorting field:",je,st,At),0)},Die=(Oe,we)=>Oe.isDir===we.isDir?C2(Oe,we,"name"):Oe.isDir?-1:1,Mie=Oe=>Oe>0&&Oe<=A9;var Fl=[{title:P.length>0?b.jsxs("div",{style:{display:"flex",gap:8,minHeight:32},children:[x.filter(Oe=>P.includes(Oe.name)&&!Oe.isDir).length>0?b.jsx(Jt,{title:s("fileBrowser.moveMultiple"),children:b.jsx(Rt,{icon:b.jsx(R4,{}),onClick:()=>Ir(""),disabled:P.length===0})},"moveMultiple"):"",b.jsx(Jt,{title:s("fileBrowser.deleteMultiple"),children:b.jsx(Rt,{icon:b.jsx(Rd,{}),onClick:nr,disabled:P.length===0})},"deleteMultiple"),Mie(x.filter(Oe=>P.includes(Oe.name)&&vu.some(we=>Oe.name.toLowerCase().endsWith(we))).length)&&e==="library"?b.jsx(Jt,{title:s("fileBrowser.encodeFiles.encodeFiles")+vu.join(", "),children:b.jsx(Rt,{icon:b.jsx(CD,{}),onClick:die,disabled:P.length===0})},"encodeFiles"):""]}):b.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Oe,we)=>{var je,st;return we&&((je=we.tonieInfo)!=null&&je.picture)?b.jsx("img",{src:we.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>Hn(we),style:{width:100,cursor:!we.isDir&&((st=we==null?void 0:we.tonieInfo)!=null&&st.tracks)?"help":"default"}},`picture-${we.name}`):b.jsx(b.Fragment,{})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Die,defaultSortOrder:"ascend",render:(Oe,we)=>{var je,st,At,Zt,Cn;return we&&b.jsxs("div",{children:[b.jsxs("div",{className:"showSmallDevicesOnly",children:[b.jsxs("div",{children:[b.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+Vu(we.size)+")":""]}),b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model}),b.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:((st=we.tonieInfo)!=null&&st.series?(At=we.tonieInfo)==null?void 0:At.series:"")+((Zt=we.tonieInfo)!=null&&Zt.episode?" - "+((Cn=we.tonieInfo)==null?void 0:Cn.episode):"")}),b.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsxs("div",{children:[b.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+Vu(we.size)+")":""]}),b.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),b.jsx("div",{className:"showBigDevicesOnly",children:we.isDir?"["+we.name+"]":we.name})]},`name-${we.name}`)},filteredValue:[B],onFilter:(Oe,we)=>{var st,At,Zt,Cn;const je=Oe.toLowerCase();return we.name===".."||we.name.toLowerCase().includes(je)||!we.isDir&&"tafHeader"in we&&we.tafHeader.size&&Vu(we.tafHeader.size).toString().includes(je)||"tafHeader"in we&&((st=we.tafHeader.audioId)==null?void 0:st.toString().includes(je))||"tonieInfo"in we&&((At=we.tonieInfo)==null?void 0:At.model.toLowerCase().includes(je))||"tonieInfo"in we&&((Zt=we.tonieInfo)==null?void 0:Zt.series.toLowerCase().includes(je))||"tonieInfo"in we&&((Cn=we.tonieInfo)==null?void 0:Cn.episode.toLowerCase().includes(je))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:(Oe,we)=>b.jsx("div",{children:we.isDir?"":Vu(Oe)},`size-${we.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Oe,we)=>{var je;return b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model},`model-${we.name}`)}},{title:b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),b.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Oe,we)=>{var je,st,At,Zt,Cn,Er,Vr;return b.jsxs("div",{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model}),b.jsx("div",{style:{wordBreak:"break-word"},children:((st=we.tonieInfo)!=null&&st.series?(At=we.tonieInfo)==null?void 0:At.series:"")+((Zt=we.tonieInfo)!=null&&Zt.episode?" - "+((Cn=we.tonieInfo)==null?void 0:Cn.episode):"")})]}),b.jsx("div",{className:"showBigDevicesOnly",children:(Er=we.tonieInfo)!=null&&Er.series?(Vr=we.tonieInfo)==null?void 0:Vr.series:""})]},`series-${we.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Oe,we)=>{var je;return b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.episode},`episode-${we.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:(Oe,we)=>b.jsx("div",{children:new Date(Oe*1e3).toLocaleString()},`date-${we.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:b.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Oe,we)=>{let je=[];return we.tafHeader?(e!=="library"&&(je.push(b.jsx(Jt,{title:s("fileBrowser.migrateContentToLib"),children:b.jsx(jOe,{onClick:()=>E2(C.replace("/","")+we.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${we.name}`)),je.push(b.jsx(Jt,{title:s("fileBrowser.migrateContentToLibRoot"),children:b.jsx(TAe,{onClick:()=>E2(C.replace("/","")+we.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${we.name}`))),je.push(b.jsx(Jt,{title:s("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>{var st;return l(encodeURI("/content"+C+"/"+we.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),we.tonieInfo,(st=we.tafHeader)==null?void 0:st.trackSeconds)}})},`action-play-${we.name}`))):vu.some(st=>we.name.endsWith(st))&&je.push(b.jsx(Jt,{title:s("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>l(encodeURI("/content"+C+"/"+we.name)+"?special="+e+(r?`&overlay=${r}`:""),we.tonieInfo)})},`action-play-${we.name}`)),n&&we.name.includes(".tap")&&(je.push(b.jsx(Jt,{title:s("fileBrowser.tap.edit"),children:b.jsx(Sm,{style:{margin:"0 8px 0 0"},onClick:()=>Ut(C+"/"+we.name)})},`action-edit-${we.name}`)),je.push(b.jsx(Jt,{title:s("fileBrowser.tap.copy"),children:b.jsx(Lee,{style:{margin:"0 8px 0 0"}})},`action-copy-${we.name}`))),we.tafHeader&&je.push(b.jsx(Jt,{title:s("fileBrowser.tafMeta.edit"),children:b.jsx(Sm,{style:{margin:"0 8px 0 0"},onClick:()=>St()})},`action-edit-${we.name}`)),!we.isDir&&we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.rename"),children:b.jsx(HNe,{onClick:()=>Dt(we.name),style:{margin:"0 8px 0 0"}})},`action-rename-${we.name}`)),!we.isDir&&we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.move"),children:b.jsx(R4,{onClick:()=>Ir(we.name),style:{margin:"0 8px 0 0"}})},`action-move-${we.name}`)),we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.delete"),children:b.jsx(Rd,{onClick:()=>Tt(we.name,C+"/"+we.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${we.name}`)),je},showOnDirOnly:!1}];return Fl.forEach(Oe=>{Oe.hasOwnProperty("sorter")||(Oe.sorter=(we,je)=>C2(we,je,Oe.dataIndex))}),i&&(Fl=Fl.filter(Oe=>Oe.showOnDirOnly)),o&&(Fl=Fl.filter(Oe=>typeof Oe.key=="string"?o.includes(Oe.key):!1)),b.jsxs(b.Fragment,{children:[S,b.jsx(kd,{title:s("fileBrowser.confirmDeleteModal"),open:Ne,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:rt}),handleOk:yn,handleCancel:sn}),b.jsx(kd,{title:s("fileBrowser.confirmDeleteModal"),open:xe,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),handleOk:cr,handleCancel:sn}),Gn,qt,pr,Tie,Yo,Ns,bie,Y?b.jsx(JP,{open:G,tonieCardOrTAFRecord:Y,onClose:()=>J(!1),overlay:r}):"",b.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[b.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[b.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),nn(C,tn)]}),e==="library"?b.jsx("div",{style:{width:"100%",marginBottom:8},children:b.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[b.jsx(Rt,{size:"small",onClick:zt,style:{marginBottom:8},children:s("fileBrowser.createDirectory.createDirectory")}),b.jsx(Rt,{size:"small",onClick:Sie,style:{marginBottom:8},children:s("fileBrowser.upload.showUploadFilesDragNDrop")})]})}):""]}),b.jsx(Wa,{dataSource:x,columns:Fl,rowKey:Oe=>Oe.name,pagination:!1,onRow:Oe=>({onDoubleClick:()=>{Oe.isDir?Aie(Oe.name):Oe.name.includes(".json")||Oe.name.includes(".tap")?lr(C+"/"+Oe.name):Oe.tafHeader&&Yt(Oe.name,Oe.tafHeader)}}),rowClassName:Oie,rowSelection:{selectedRowKeys:P,onChange:Nie,getCheckboxProps:Oe=>({disabled:Oe.name===".."}),onSelectAll:(Oe,we)=>{const je=Oe?we.filter(st=>st.name!=="..").map(st=>st.name):[];M(je)}},components:{header:{wrapper:Oe=>b.jsx("thead",{...Oe}),row:Oe=>b.jsxs(b.Fragment,{children:[b.jsx("tr",{...Oe}),b.jsx("tr",{children:b.jsx("th",{style:{padding:"10px 8px"},colSpan:Fl.length+1,children:b.jsx(en,{placeholder:s("fileBrowser.filter"),value:B,onChange:xie,onFocus:wie,onBlur:Iie,ref:h,style:{width:"100%"},autoFocus:U,addonAfter:b.jsx(na,{onClick:Rie,disabled:B.length===0,style:{color:B.length===0?u.colorTextDisabled:u.colorText,cursor:B.length===0?"default":"pointer"}})})})})]}),cell:Oe=>b.jsx("th",{...Oe,style:{position:"sticky",top:0,zIndex:20}})}}}),b.jsx(Kre,{open:Z,initialValuesJson:V?JSON.stringify(V,null,2):void 0,onCreate:jt,onCancel:()=>{te(!1)}},se)]})},{Option:OZe}=$r,NZe=()=>{const{t:e}=$t(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=a2();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{children:e("tonies.content.title")}),t.length>1?b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,i,o])=>b.jsx(OZe,{value:o,children:i.join(", ")},o))}):""]}),b.jsx(p2,{special:"",overlay:n})]})]})]})},AZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.library.title")}),b.jsx(p2,{special:"library"})]})]})]})},{Text:DZe}=wn,MZe=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:i,listeners:o,setNodeRef:s,transform:l,transition:u,isDragging:d}=Sae({id:n.uid}),{t:p}=$t(),f={transform:Pd.Transform.toString(l),transition:u,cursor:"move"};return b.jsx("div",{ref:s,style:f,className:d?"is-dragging":"",...i,...o,children:b.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[b.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:b.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),b.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[b.jsx("span",{className:"",children:n.name}),b.jsx("br",{}),b.jsx(DZe,{type:"secondary",children:Vu(n.size?n.size:-1)})]}),b.jsx("span",{className:"ant-upload-list-item-actions picture",children:b.jsx(Rt,{title:p("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:b.jsx(Rd,{})})})]})})};function LZe(e,t,n,r,a,i){const o=new FileReader;o.onload=async s=>{try{if(s.target==null)return;const l=s.target.result,u=new AudioContext,d=48e3,p=await u.decodeAudioData(l),f=new OfflineAudioContext({numberOfChannels:p.numberOfChannels,length:Math.round(p.length*d/p.sampleRate),sampleRate:d}),m=f.createBufferSource();m.buffer=p,m.connect(f.destination),m.start();const g=await f.startRendering(),h=g.numberOfChannels,v=new Float32Array(g.getChannelData(0)),S=h>1?new Float32Array(g.getChannelData(1)):new Float32Array(g.getChannelData(0)),_=new Int16Array(v.length+S.length);for(let E=0,y=0;E{u(!0)},[]),_Qe(c.useMemo(()=>({onDragStart(p){let{active:f}=p;i(t.onDragStart({active:f}))},onDragMove(p){let{active:f,over:m}=p;t.onDragMove&&i(t.onDragMove({active:f,over:m}))},onDragOver(p){let{active:f,over:m}=p;i(t.onDragOver({active:f,over:m}))},onDragEnd(p){let{active:f,over:m}=p;i(t.onDragEnd({active:f,over:m}))},onDragCancel(p){let{active:f,over:m}=p;i(t.onDragCancel({active:f,over:m}))}}),[i,t])),!l)return null;const d=ce.createElement(ce.Fragment,null,ce.createElement(gQe,{id:r,value:a.draggable}),ce.createElement(hQe,{id:s,announcement:o}));return n?Ur.createPortal(d,n):d}var Br;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Br||(Br={}));function q_(){}function nae(e,t){return c.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const _o=Object.freeze({x:0,y:0});function CQe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function TQe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function xQe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),o=a-r,s=i-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const i of r){const{id:o}=i,s=n.get(o);if(s){const l=xQe(s,t);l>0&&a.push({id:o,data:{droppableContainer:i,value:l}})}}return a.sort(CQe)};function wQe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function rae(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:_o}function IQe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...n})}}const OQe=IQe(1);function NQe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function AQe(e,t,n){const r=NQe(t);if(!r)return e;const{scaleX:a,scaleY:i,x:o,y:s}=r,l=e.left-o-(1-a)*parseFloat(n),u=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,p=i?e.height/i:e.height;return{width:d,height:p,top:u,right:l+d,bottom:u+p,left:l}}const DQe={ignoreTransform:!1};function hp(e,t){t===void 0&&(t=DQe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Za(e).getComputedStyle(e);u&&(n=AQe(n,u,d))}const{top:r,left:a,width:i,height:o,bottom:s,right:l}=n;return{top:r,left:a,width:i,height:o,bottom:s,right:l}}function T9(e){return hp(e,{ignoreTransform:!0})}function MQe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function LQe(e,t){return t===void 0&&(t=Za(e).getComputedStyle(e)),t.position==="fixed"}function kQe(e,t){t===void 0&&(t=Za(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const i=t[a];return typeof i=="string"?n.test(i):!1})}function d2(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(l2(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Ag(a)||Jre(a)||n.includes(a))return n;const i=Za(e).getComputedStyle(a);return a!==e&&kQe(a,i)&&n.push(a),LQe(a,i)?n:r(a.parentNode)}return e?r(e):n}function aae(e){const[t]=d2(e,1);return t??null}function U1(e){return!eE||!e?null:mp(e)?e:s2(e)?l2(e)||e===gp(e).scrollingElement?window:Ag(e)?e:null:null}function iae(e){return mp(e)?e.scrollX:e.scrollLeft}function oae(e){return mp(e)?e.scrollY:e.scrollTop}function dM(e){return{x:iae(e),y:oae(e)}}var Xr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Xr||(Xr={}));function sae(e){return!eE||!e?!1:e===document.scrollingElement}function lae(e){const t={x:0,y:0},n=sae(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,o=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:i,isBottom:o,isRight:s,maxScroll:r,minScroll:t}}const PQe={x:.2,y:.2};function $Qe(e,t,n,r,a){let{top:i,left:o,right:s,bottom:l}=n;r===void 0&&(r=10),a===void 0&&(a=PQe);const{isTop:u,isBottom:d,isLeft:p,isRight:f}=lae(e),m={x:0,y:0},g={x:0,y:0},h={height:t.height*a.y,width:t.width*a.x};return!u&&i<=t.top+h.height?(m.y=Xr.Backward,g.y=r*Math.abs((t.top+h.height-i)/h.height)):!d&&l>=t.bottom-h.height&&(m.y=Xr.Forward,g.y=r*Math.abs((t.bottom-h.height-l)/h.height)),!f&&s>=t.right-h.width?(m.x=Xr.Forward,g.x=r*Math.abs((t.right-h.width-s)/h.width)):!p&&o<=t.left+h.width&&(m.x=Xr.Backward,g.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:m,speed:g}}function FQe(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:o}=window;return{top:0,left:0,right:i,bottom:o,width:i,height:o}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function cae(e){return e.reduce((t,n)=>ld(t,dM(n)),_o)}function BQe(e){return e.reduce((t,n)=>t+iae(n),0)}function UQe(e){return e.reduce((t,n)=>t+oae(n),0)}function jQe(e,t){if(t===void 0&&(t=hp),!e)return;const{top:n,left:r,bottom:a,right:i}=t(e);aae(e)&&(a<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const zQe=[["x",["left","right"],BQe],["y",["top","bottom"],UQe]];class p2{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=d2(n),a=cae(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,o,s]of zQe)for(const l of o)Object.defineProperty(this,l,{get:()=>{const u=s(r),d=a[i]-u;return this.rect[l]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Df{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function HQe(e){const{EventTarget:t}=Za(e);return e instanceof t?e:gp(e)}function j1(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var Di;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Di||(Di={}));function x9(e){e.preventDefault()}function GQe(e){e.stopPropagation()}var Mn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Mn||(Mn={}));const uae={start:[Mn.Space,Mn.Enter],cancel:[Mn.Esc],end:[Mn.Space,Mn.Enter]},VQe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Mn.Right:return{...n,x:n.x+25};case Mn.Left:return{...n,x:n.x-25};case Mn.Down:return{...n,y:n.y+25};case Mn.Up:return{...n,y:n.y-25}}};class dae{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Df(gp(n)),this.windowListeners=new Df(Za(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Di.Resize,this.handleCancel),this.windowListeners.add(Di.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Di.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&jQe(r),n(_o)}handleKeyDown(t){if(u2(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:i=uae,coordinateGetter:o=VQe,scrollBehavior:s="smooth"}=a,{code:l}=t;if(i.end.includes(l)){this.handleEnd(t);return}if(i.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:_o;this.referenceCoordinates||(this.referenceCoordinates=d);const p=o(t,{active:n,context:r.current,currentCoordinates:d});if(p){const f=V_(p,d),m={x:0,y:0},{scrollableAncestors:g}=r.current;for(const h of g){const v=t.code,{isTop:S,isRight:b,isLeft:E,isBottom:y,maxScroll:C,minScroll:T}=lae(h),x=FQe(h),R={x:Math.min(v===Mn.Right?x.right-x.width/2:x.right,Math.max(v===Mn.Right?x.left:x.left+x.width/2,p.x)),y:Math.min(v===Mn.Down?x.bottom-x.height/2:x.bottom,Math.max(v===Mn.Down?x.top:x.top+x.height/2,p.y))},w=v===Mn.Right&&!b||v===Mn.Left&&!E,I=v===Mn.Down&&!y||v===Mn.Up&&!S;if(w&&R.x!==p.x){const O=h.scrollLeft+f.x,k=v===Mn.Right&&O<=C.x||v===Mn.Left&&O>=T.x;if(k&&!f.y){h.scrollTo({left:O,behavior:s});return}k?m.x=h.scrollLeft-O:m.x=v===Mn.Right?h.scrollLeft-C.x:h.scrollLeft-T.x,m.x&&h.scrollBy({left:-m.x,behavior:s});break}else if(I&&R.y!==p.y){const O=h.scrollTop+f.y,k=v===Mn.Down&&O<=C.y||v===Mn.Up&&O>=T.y;if(k&&!f.x){h.scrollTo({top:O,behavior:s});return}k?m.y=h.scrollTop-O:m.y=v===Mn.Down?h.scrollTop-C.y:h.scrollTop-T.y,m.y&&h.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,ld(V_(p,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}dae.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=uae,onActivation:a}=t,{active:i}=n;const{code:o}=e.nativeEvent;if(r.start.includes(o)){const s=i.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function R9(e){return!!(e&&"distance"in e)}function w9(e){return!!(e&&"delay"in e)}class f2{constructor(t,n,r){var a;r===void 0&&(r=HQe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:o}=i;this.props=t,this.events=n,this.document=gp(o),this.documentListeners=new Df(this.document),this.listeners=new Df(r),this.windowListeners=new Df(Za(o)),this.initialCoordinates=(a=uM(i))!=null?a:_o,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(Di.Resize,this.handleCancel),this.windowListeners.add(Di.DragStart,x9),this.windowListeners.add(Di.VisibilityChange,this.handleCancel),this.windowListeners.add(Di.ContextMenu,x9),this.documentListeners.add(Di.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(w9(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(R9(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Di.Click,GQe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Di.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!a)return;const l=(n=uM(t))!=null?n:_o,u=V_(a,l);if(!r&&s){if(R9(s)){if(s.tolerance!=null&&j1(u,s.tolerance))return this.handleCancel();if(j1(u,s.distance))return this.handleStart()}return w9(s)&&j1(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(l)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Mn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const qQe={move:{name:"pointermove"},end:{name:"pointerup"}};class tE extends f2{constructor(t){const{event:n}=t,r=gp(n.target);super(t,qQe,r)}}tE.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const WQe={move:{name:"mousemove"},end:{name:"mouseup"}};var pM;(function(e){e[e.RightClick=2]="RightClick"})(pM||(pM={}));class YQe extends f2{constructor(t){super(t,WQe,gp(t.event.target))}}YQe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===pM.RightClick?!1:(r==null||r({event:n}),!0)}}];const z1={move:{name:"touchmove"},end:{name:"touchend"}};class KQe extends f2{constructor(t){super(t,z1)}static setup(){return window.addEventListener(z1.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(z1.move.name,t)};function t(){}}}KQe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var Mf;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Mf||(Mf={}));var W_;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(W_||(W_={}));function XQe(e){let{acceleration:t,activator:n=Mf.Pointer,canScroll:r,draggingRect:a,enabled:i,interval:o=5,order:s=W_.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:d,delta:p,threshold:f}=e;const m=ZQe({delta:p,disabled:!i}),[g,h]=uQe(),v=c.useRef({x:0,y:0}),S=c.useRef({x:0,y:0}),b=c.useMemo(()=>{switch(n){case Mf.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case Mf.DraggableRect:return a}},[n,a,l]),E=c.useRef(null),y=c.useCallback(()=>{const T=E.current;if(!T)return;const x=v.current.x*S.current.x,R=v.current.y*S.current.y;T.scrollBy(x,R)},[]),C=c.useMemo(()=>s===W_.TreeOrder?[...u].reverse():u,[s,u]);c.useEffect(()=>{if(!i||!u.length||!b){h();return}for(const T of C){if((r==null?void 0:r(T))===!1)continue;const x=u.indexOf(T),R=d[x];if(!R)continue;const{direction:w,speed:I}=$Qe(T,R,b,t,f);for(const O of["x","y"])m[O][w[O]]||(I[O]=0,w[O]=0);if(I.x>0||I.y>0){h(),E.current=T,g(y,o),v.current=I,S.current=w;return}}v.current={x:0,y:0},S.current={x:0,y:0},h()},[t,y,r,h,i,o,JSON.stringify(b),JSON.stringify(m),g,u,C,d,JSON.stringify(f)])}const QQe={x:{[Xr.Backward]:!1,[Xr.Forward]:!1},y:{[Xr.Backward]:!1,[Xr.Forward]:!1}};function ZQe(e){let{delta:t,disabled:n}=e;const r=cM(t);return Dg(a=>{if(n||!r||!a)return QQe;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Xr.Backward]:a.x[Xr.Backward]||i.x===-1,[Xr.Forward]:a.x[Xr.Forward]||i.x===1},y:{[Xr.Backward]:a.y[Xr.Backward]||i.y===-1,[Xr.Forward]:a.y[Xr.Forward]||i.y===1}}},[n,t,r])}function JQe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return Dg(a=>{var i;return t===null?null:(i=r??a)!=null?i:null},[r,t])}function eZe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,i=a.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,r)}));return[...n,...i]},[]),[e,t])}var Lm;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Lm||(Lm={}));var fM;(function(e){e.Optimized="optimized"})(fM||(fM={}));const I9=new Map;function tZe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[i,o]=c.useState(null),{frequency:s,measure:l,strategy:u}=a,d=c.useRef(e),p=v(),f=Mm(p),m=c.useCallback(function(S){S===void 0&&(S=[]),!f.current&&o(b=>b===null?S:b.concat(S.filter(E=>!b.includes(E))))},[f]),g=c.useRef(null),h=Dg(S=>{if(p&&!n)return I9;if(!S||S===I9||d.current!==e||i!=null){const b=new Map;for(let E of e){if(!E)continue;if(i&&i.length>0&&!i.includes(E.id)&&E.rect.current){b.set(E.id,E.rect.current);continue}const y=E.node.current,C=y?new p2(l(y),y):null;E.rect.current=C,C&&b.set(E.id,C)}return b}return S},[e,i,n,p,l]);return c.useEffect(()=>{d.current=e},[e]),c.useEffect(()=>{p||m()},[n,p]),c.useEffect(()=>{i&&i.length>0&&o(null)},[JSON.stringify(i)]),c.useEffect(()=>{p||typeof s!="number"||g.current!==null||(g.current=setTimeout(()=>{m(),g.current=null},s))},[s,p,m,...r]),{droppableRects:h,measureDroppableContainers:m,measuringScheduled:i!=null};function v(){switch(u){case Lm.Always:return!1;case Lm.BeforeDragging:return n;default:return!n}}}function pae(e,t){return Dg(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function nZe(e,t){return pae(e,t)}function rZe(e){let{callback:t,disabled:n}=e;const r=c2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function nE(e){let{callback:t,disabled:n}=e;const r=c2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function aZe(e){return new p2(hp(e),e)}function O9(e,t,n){t===void 0&&(t=aZe);const[r,a]=c.useReducer(s,null),i=rZe({callback(l){if(e)for(const u of l){const{type:d,target:p}=u;if(d==="childList"&&p instanceof HTMLElement&&p.contains(e)){a();break}}}}),o=nE({callback:a});return vo(()=>{a(),e?(o==null||o.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),i==null||i.disconnect())},[e]),r;function s(l){if(!e)return null;if(e.isConnected===!1){var u;return(u=l??n)!=null?u:null}const d=t(e);return JSON.stringify(l)===JSON.stringify(d)?l:d}}function iZe(e){const t=pae(e);return rae(e,t)}const N9=[];function oZe(e){const t=c.useRef(e),n=Dg(r=>e?r&&r!==N9&&e&&t.current&&e.parentNode===t.current.parentNode?r:d2(e):N9,[e]);return c.useEffect(()=>{t.current=e},[e]),n}function sZe(e){const[t,n]=c.useState(null),r=c.useRef(e),a=c.useCallback(i=>{const o=U1(i.target);o&&n(s=>s?(s.set(o,dM(o)),new Map(s)):null)},[]);return c.useEffect(()=>{const i=r.current;if(e!==i){o(i);const s=e.map(l=>{const u=U1(l);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,dM(u)]):null}).filter(l=>l!=null);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(i)};function o(s){s.forEach(l=>{const u=U1(l);u==null||u.removeEventListener("scroll",a)})}},[a,e]),c.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,o)=>ld(i,o),_o):cae(e):_o,[e,t])}function A9(e,t){t===void 0&&(t=[]);const n=c.useRef(null);return c.useEffect(()=>{n.current=null},t),c.useEffect(()=>{const r=e!==_o;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?V_(e,n.current):_o}function lZe(e){c.useEffect(()=>{if(!eE)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function cZe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:i}=r;return n[a]=o=>{i(o,t)},n},{}),[e,t])}function fae(e){return c.useMemo(()=>e?MQe(e):null,[e])}const H1=[];function uZe(e,t){t===void 0&&(t=hp);const[n]=e,r=fae(n?Za(n):null),[a,i]=c.useReducer(s,H1),o=nE({callback:i});return e.length>0&&a===H1&&i(),vo(()=>{e.length?e.forEach(l=>o==null?void 0:o.observe(l)):(o==null||o.disconnect(),i())},[e]),a;function s(){return e.length?e.map(l=>sae(l)?r:new p2(t(l),l)):H1}}function dZe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ag(t)?t:e}function pZe(e){let{measure:t}=e;const[n,r]=c.useState(null),a=c.useCallback(u=>{for(const{target:d}of u)if(Ag(d)){r(p=>{const f=t(d);return p?{...p,width:f.width,height:f.height}:f});break}},[t]),i=nE({callback:a}),o=c.useCallback(u=>{const d=dZe(u);i==null||i.disconnect(),d&&(i==null||i.observe(d)),r(d?t(d):null)},[t,i]),[s,l]=G_(o);return c.useMemo(()=>({nodeRef:s,rect:n,setRef:l}),[n,s,l])}const fZe=[{sensor:tE,options:{}},{sensor:dae,options:{}}],mZe={current:{}},Mv={draggable:{measure:T9},droppable:{measure:T9,strategy:Lm.WhileDragging,frequency:fM.Optimized},dragOverlay:{measure:hp}};class Lf extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const gZe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Lf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:q_},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Mv,measureDroppableContainers:q_,windowRect:null,measuringScheduled:!1},hZe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:q_,draggableNodes:new Map,over:null,measureDroppableContainers:q_},rE=c.createContext(hZe),mae=c.createContext(gZe);function vZe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Lf}}}function _Ze(e,t){switch(t.type){case Br.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Br.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Br.DragEnd:case Br.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Br.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new Lf(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Br.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const o=new Lf(e.droppable.containers);return o.set(n,{...i,disabled:a}),{...e,droppable:{...e.droppable,containers:o}}}case Br.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new Lf(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function bZe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=c.useContext(rE),i=cM(r),o=cM(n==null?void 0:n.id);return c.useEffect(()=>{if(!t&&!r&&i&&o!=null){if(!u2(i)||document.activeElement===i.target)return;const s=a.get(o);if(!s)return;const{activatorNode:l,node:u}=s;if(!l.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[l.current,u.current]){if(!d)continue;const p=fQe(d);if(p){p.focus();break}}})}},[r,t,a,o,i]),null}function SZe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,i)=>i({transform:a,...r}),n):n}function EZe(e){return c.useMemo(()=>({draggable:{...Mv.draggable,...e==null?void 0:e.draggable},droppable:{...Mv.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Mv.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function yZe(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const i=c.useRef(!1),{x:o,y:s}=typeof a=="boolean"?{x:a,y:a}:a;vo(()=>{if(!o&&!s||!t){i.current=!1;return}if(i.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),p=rae(d,r);if(o||(p.x=0),s||(p.y=0),i.current=!0,Math.abs(p.x)>0||Math.abs(p.y)>0){const f=aae(u);f&&f.scrollBy({top:p.y,left:p.x})}},[t,o,s,r,n])}const gae=c.createContext({..._o,scaleX:1,scaleY:1});var Hs;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Hs||(Hs={}));const hae=c.memo(function(t){var n,r,a,i;let{id:o,accessibility:s,autoScroll:l=!0,children:u,sensors:d=fZe,collisionDetection:p=RQe,measuring:f,modifiers:m,...g}=t;const h=c.useReducer(_Ze,void 0,vZe),[v,S]=h,[b,E]=bQe(),[y,C]=c.useState(Hs.Uninitialized),T=y===Hs.Initialized,{draggable:{active:x,nodes:R,translate:w},droppable:{containers:I}}=v,O=x?R.get(x):null,k=c.useRef({initial:null,translated:null}),P=c.useMemo(()=>{var Ce;return x!=null?{id:x,data:(Ce=O==null?void 0:O.data)!=null?Ce:mZe,rect:k}:null},[x,O]),M=c.useRef(null),[N,A]=c.useState(null),[D,L]=c.useState(null),$=Mm(g,Object.values(g)),F=Mg("DndDescribedBy",o),B=c.useMemo(()=>I.getEnabled(),[I]),z=EZe(f),{droppableRects:U,measureDroppableContainers:j,measuringScheduled:G}=tZe(B,{dragging:T,dependencies:[w.x,w.y],config:z.droppable}),J=JQe(R,x),Y=c.useMemo(()=>D?uM(D):null,[D]),Q=Me(),V=nZe(J,z.draggable.measure);yZe({activeNode:x?R.get(x):null,config:Q.layoutShiftCompensation,initialRect:V,measure:z.draggable.measure});const H=O9(J,z.draggable.measure,V),q=O9(J?J.parentElement:null),K=c.useRef({activatorEvent:null,active:null,activeNode:J,collisionRect:null,collisions:null,droppableRects:U,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:I,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Z=I.getNodeFor((n=K.current.over)==null?void 0:n.id),te=pZe({measure:z.dragOverlay.measure}),se=(r=te.nodeRef.current)!=null?r:J,ue=T?(a=te.rect)!=null?a:H:null,me=!!(te.nodeRef.current&&te.rect),de=iZe(me?null:H),Te=fae(se?Za(se):null),Ee=oZe(T?Z??J:null),ge=uZe(Ee),re=SZe(m,{transform:{x:w.x-de.x,y:w.y-de.y,scaleX:1,scaleY:1},activatorEvent:D,active:P,activeNodeRect:H,containerNodeRect:q,draggingNodeRect:ue,over:K.current.over,overlayNodeRect:te.rect,scrollableAncestors:Ee,scrollableAncestorRects:ge,windowRect:Te}),ne=Y?ld(Y,w):null,ae=sZe(Ee),le=A9(ae),pe=A9(ae,[H]),Re=ld(re,le),Se=ue?OQe(ue,re):null,Pe=P&&Se?p({active:P,collisionRect:Se,droppableRects:U,droppableContainers:B,pointerCoordinates:ne}):null,fe=TQe(Pe,"id"),[_e,Ae]=c.useState(null),ye=me?re:ld(re,pe),be=wQe(ye,(i=_e==null?void 0:_e.rect)!=null?i:null,H),Ne=c.useCallback((Ce,De)=>{let{sensor:Ue,options:Ye}=De;if(M.current==null)return;const He=R.get(M.current);if(!He)return;const ze=Ce.nativeEvent,Xe=new Ue({active:M.current,activeNode:He,event:ze,options:Ye,context:K,onStart(Je){const mt=M.current;if(mt==null)return;const pt=R.get(mt);if(!pt)return;const{onDragStart:We}=$.current,Ve={active:{id:mt,data:pt.data,rect:k}};Ur.unstable_batchedUpdates(()=>{We==null||We(Ve),C(Hs.Initializing),S({type:Br.DragStart,initialCoordinates:Je,active:mt}),b({type:"onDragStart",event:Ve})})},onMove(Je){S({type:Br.DragMove,coordinates:Je})},onEnd:Be(Br.DragEnd),onCancel:Be(Br.DragCancel)});Ur.unstable_batchedUpdates(()=>{A(Xe),L(Ce.nativeEvent)});function Be(Je){return async function(){const{active:pt,collisions:We,over:Ve,scrollAdjustedTranslate:Ze}=K.current;let dt=null;if(pt&&Ze){const{cancelDrop:It}=$.current;dt={activatorEvent:ze,active:pt,collisions:We,delta:Ze,over:Ve},Je===Br.DragEnd&&typeof It=="function"&&await Promise.resolve(It(dt))&&(Je=Br.DragCancel)}M.current=null,Ur.unstable_batchedUpdates(()=>{S({type:Je}),C(Hs.Uninitialized),Ae(null),A(null),L(null);const It=Je===Br.DragEnd?"onDragEnd":"onDragCancel";if(dt){const Nt=$.current[It];Nt==null||Nt(dt),b({type:It,event:dt})}})}}},[R]),we=c.useCallback((Ce,De)=>(Ue,Ye)=>{const He=Ue.nativeEvent,ze=R.get(Ye);if(M.current!==null||!ze||He.dndKit||He.defaultPrevented)return;const Xe={active:ze};Ce(Ue,De.options,Xe)===!0&&(He.dndKit={capturedBy:De.sensor},M.current=Ye,Ne(Ue,De))},[R,Ne]),xe=eZe(d,we);lZe(d),vo(()=>{H&&y===Hs.Initializing&&C(Hs.Initialized)},[H,y]),c.useEffect(()=>{const{onDragMove:Ce}=$.current,{active:De,activatorEvent:Ue,collisions:Ye,over:He}=K.current;if(!De||!Ue)return;const ze={active:De,activatorEvent:Ue,collisions:Ye,delta:{x:Re.x,y:Re.y},over:He};Ur.unstable_batchedUpdates(()=>{Ce==null||Ce(ze),b({type:"onDragMove",event:ze})})},[Re.x,Re.y]),c.useEffect(()=>{const{active:Ce,activatorEvent:De,collisions:Ue,droppableContainers:Ye,scrollAdjustedTranslate:He}=K.current;if(!Ce||M.current==null||!De||!He)return;const{onDragOver:ze}=$.current,Xe=Ye.get(fe),Be=Xe&&Xe.rect.current?{id:Xe.id,rect:Xe.rect.current,data:Xe.data,disabled:Xe.disabled}:null,Je={active:Ce,activatorEvent:De,collisions:Ue,delta:{x:He.x,y:He.y},over:Be};Ur.unstable_batchedUpdates(()=>{Ae(Be),ze==null||ze(Je),b({type:"onDragOver",event:Je})})},[fe]),vo(()=>{K.current={activatorEvent:D,active:P,activeNode:J,collisionRect:Se,collisions:Pe,droppableRects:U,draggableNodes:R,draggingNode:se,draggingNodeRect:ue,droppableContainers:I,over:_e,scrollableAncestors:Ee,scrollAdjustedTranslate:Re},k.current={initial:ue,translated:Se}},[P,J,Pe,Se,R,se,ue,U,I,_e,Ee,Re]),XQe({...Q,delta:w,draggingRect:Se,pointerCoordinates:ne,scrollableAncestors:Ee,scrollableAncestorRects:ge});const ke=c.useMemo(()=>({active:P,activeNode:J,activeNodeRect:H,activatorEvent:D,collisions:Pe,containerNodeRect:q,dragOverlay:te,draggableNodes:R,droppableContainers:I,droppableRects:U,over:_e,measureDroppableContainers:j,scrollableAncestors:Ee,scrollableAncestorRects:ge,measuringConfiguration:z,measuringScheduled:G,windowRect:Te}),[P,J,H,D,Pe,q,te,R,I,U,_e,j,Ee,ge,z,G,Te]),at=c.useMemo(()=>({activatorEvent:D,activators:xe,active:P,activeNodeRect:H,ariaDescribedById:{draggable:F},dispatch:S,draggableNodes:R,over:_e,measureDroppableContainers:j}),[D,xe,P,H,S,F,R,_e,j]);return ce.createElement(tae.Provider,{value:E},ce.createElement(rE.Provider,{value:at},ce.createElement(mae.Provider,{value:ke},ce.createElement(gae.Provider,{value:be},u)),ce.createElement(bZe,{disabled:(s==null?void 0:s.restoreFocus)===!1})),ce.createElement(yQe,{...s,hiddenTextDescribedById:F}));function Me(){const Ce=(N==null?void 0:N.autoScrollEnabled)===!1,De=typeof l=="object"?l.enabled===!1:l===!1,Ue=T&&!Ce&&!De;return typeof l=="object"?{...l,enabled:Ue}:{enabled:Ue}}}),CZe=c.createContext(null),D9="button",TZe="Droppable";function xZe(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const i=Mg(TZe),{activators:o,activatorEvent:s,active:l,activeNodeRect:u,ariaDescribedById:d,draggableNodes:p,over:f}=c.useContext(rE),{role:m=D9,roleDescription:g="draggable",tabIndex:h=0}=a??{},v=(l==null?void 0:l.id)===t,S=c.useContext(v?gae:CZe),[b,E]=G_(),[y,C]=G_(),T=cZe(o,t),x=Mm(n);vo(()=>(p.set(t,{id:t,key:i,node:b,activatorNode:y,data:x}),()=>{const w=p.get(t);w&&w.key===i&&p.delete(t)}),[p,t]);const R=c.useMemo(()=>({role:m,tabIndex:h,"aria-disabled":r,"aria-pressed":v&&m===D9?!0:void 0,"aria-roledescription":g,"aria-describedby":d.draggable}),[r,m,h,v,g,d.draggable]);return{active:l,activatorEvent:s,activeNodeRect:u,attributes:R,isDragging:v,listeners:r?void 0:T,node:b,over:f,setNodeRef:E,setActivatorNodeRef:C,transform:S}}function RZe(){return c.useContext(mae)}const wZe="Droppable",IZe={timeout:25};function OZe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const i=Mg(wZe),{active:o,dispatch:s,over:l,measureDroppableContainers:u}=c.useContext(rE),d=c.useRef({disabled:n}),p=c.useRef(!1),f=c.useRef(null),m=c.useRef(null),{disabled:g,updateMeasurementsFor:h,timeout:v}={...IZe,...a},S=Mm(h??r),b=c.useCallback(()=>{if(!p.current){p.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},v)},[v]),E=nE({callback:b,disabled:g||!o}),y=c.useCallback((R,w)=>{E&&(w&&(E.unobserve(w),p.current=!1),R&&E.observe(R))},[E]),[C,T]=G_(y),x=Mm(t);return c.useEffect(()=>{!E||!C.current||(E.disconnect(),p.current=!1,E.observe(C.current))},[C,E]),vo(()=>(s({type:Br.RegisterDroppable,element:{id:r,key:i,disabled:n,node:C,rect:f,data:x}}),()=>s({type:Br.UnregisterDroppable,key:i,id:r})),[r]),c.useEffect(()=>{n!==d.current.disabled&&(s({type:Br.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,s]),{active:o,rect:f,isOver:(l==null?void 0:l.id)===r,node:C,over:l,setNodeRef:T}}function aE(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function NZe(e,t){return e.reduce((n,r,a)=>{const i=t.get(r);return i&&(n[a]=i),n},Array(e.length))}function Hh(e){return e!==null&&e>=0}function AZe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const i=aE(t,r,n),o=t[a],s=i[a];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},Gh={scaleX:1,scaleY:1},_ae=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:i,overIndex:o}=e;const s=(t=i[n])!=null?t:r;if(!s)return null;if(a===n){const u=i[o];return u?{x:0,y:nn&&a<=o?{x:0,y:-s.height-l,...Gh}:a=o?{x:0,y:s.height+l,...Gh}:{x:0,y:0,...Gh}};function MZe(e,t,n){const r=e[t],a=e[t-1],i=e[t+1];return r?nr.map(T=>typeof T=="object"&&"id"in T?T.id:T),[r]),g=o!=null,h=o?m.indexOf(o.id):-1,v=u?m.indexOf(u.id):-1,S=c.useRef(m),b=!AZe(m,S.current),E=v!==-1&&h===-1||b,y=DZe(i);vo(()=>{b&&g&&d(m)},[b,m,g,d]),c.useEffect(()=>{S.current=m},[m]);const C=c.useMemo(()=>({activeIndex:h,containerId:p,disabled:y,disableTransforms:E,items:m,overIndex:v,useDragOverlay:f,sortedRects:NZe(m,l),strategy:a}),[h,p,y.draggable,y.droppable,E,m,v,l,f,a]);return ce.createElement(Sae.Provider,{value:C},t)}const LZe=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return aE(n,r,a).indexOf(t)},kZe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:i,newIndex:o,previousItems:s,previousContainerId:l,transition:u}=e;return!u||!r||s!==i&&a===o?!1:n?!0:o!==a&&t===l},PZe={duration:200,easing:"ease"},yae="transform",$Ze=Bd.Transition.toString({property:yae,duration:0,easing:"linear"}),FZe={roleDescription:"sortable"};function BZe(e){let{disabled:t,index:n,node:r,rect:a}=e;const[i,o]=c.useState(null),s=c.useRef(n);return vo(()=>{if(!t&&n!==s.current&&r.current){const l=a.current;if(l){const u=hp(r.current,{ignoreTransform:!0}),d={x:l.left-u.left,y:l.top-u.top,scaleX:l.width/u.width,scaleY:l.height/u.height};(d.x||d.y)&&o(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),c.useEffect(()=>{i&&o(null)},[i]),i}function Cae(e){let{animateLayoutChanges:t=kZe,attributes:n,disabled:r,data:a,getNewIndex:i=LZe,id:o,strategy:s,resizeObserverConfig:l,transition:u=PZe}=e;const{items:d,containerId:p,activeIndex:f,disabled:m,disableTransforms:g,sortedRects:h,overIndex:v,useDragOverlay:S,strategy:b}=c.useContext(Sae),E=UZe(r,m),y=d.indexOf(o),C=c.useMemo(()=>({sortable:{containerId:p,index:y,items:d},...a}),[p,a,y,d]),T=c.useMemo(()=>d.slice(d.indexOf(o)),[d,o]),{rect:x,node:R,isOver:w,setNodeRef:I}=OZe({id:o,data:C,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...l}}),{active:O,activatorEvent:k,activeNodeRect:P,attributes:M,setNodeRef:N,listeners:A,isDragging:D,over:L,setActivatorNodeRef:$,transform:F}=xZe({id:o,data:C,attributes:{...FZe,...n},disabled:E.draggable}),B=cQe(I,N),z=!!O,U=z&&!g&&Hh(f)&&Hh(v),j=!S&&D,G=j&&U?F:null,Y=U?G??(s??b)({rects:h,activeNodeRect:P,activeIndex:f,overIndex:v,index:y}):null,Q=Hh(f)&&Hh(v)?i({id:o,items:d,activeIndex:f,overIndex:v}):y,V=O==null?void 0:O.id,H=c.useRef({activeId:V,items:d,newIndex:Q,containerId:p}),q=d!==H.current.items,K=t({active:O,containerId:p,isDragging:D,isSorting:z,id:o,index:y,items:d,newIndex:H.current.newIndex,previousItems:H.current.items,previousContainerId:H.current.containerId,transition:u,wasDragging:H.current.activeId!=null}),Z=BZe({disabled:!K,index:y,node:R,rect:x});return c.useEffect(()=>{z&&H.current.newIndex!==Q&&(H.current.newIndex=Q),p!==H.current.containerId&&(H.current.containerId=p),d!==H.current.items&&(H.current.items=d)},[z,Q,p,d]),c.useEffect(()=>{if(V===H.current.activeId)return;if(V&&!H.current.activeId){H.current.activeId=V;return}const se=setTimeout(()=>{H.current.activeId=V},50);return()=>clearTimeout(se)},[V]),{active:O,activeIndex:f,attributes:M,data:C,rect:x,index:y,newIndex:Q,items:d,isOver:w,isSorting:z,isDragging:D,listeners:A,node:R,overIndex:v,over:L,setNodeRef:B,setActivatorNodeRef:$,setDroppableNodeRef:I,setDraggableNodeRef:N,transform:Z??Y,transition:te()};function te(){if(Z||q&&H.current.newIndex===y)return $Ze;if(!(j&&!u2(k)||!u)&&(z||K))return Bd.Transition.toString({...u,property:yae})}}function UZe(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Mn.Down,Mn.Right,Mn.Up,Mn.Left;const{useToken:jZe}=ka,zZe=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:i}=jZe(),{attributes:o,listeners:s,setNodeRef:l,transform:u,transition:d,isDragging:p}=Cae({id:n.uid}),{t:f}=$t(),m={transform:Bd.Transform.toString(u),transition:d,cursor:"move"};return _.jsx("div",{ref:l,style:m,className:p?"is-dragging":"",...o,...s,children:_.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${i.colorBorder}`},children:[_.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[_.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${i.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),_.jsxs("div",{children:[_.jsx("div",{children:n.name}),_.jsxs("div",{style:{fontSize:"smaller",color:`${i.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),_.jsx(wt,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:_.jsx(Od,{})})]})})},Tae=/[<>:"/\\|?*]/,kf=Tae.source.slice(1,-1).split("").join(" ");function Ku(e){return!Tae.test(e)}const Co=new xn(vn()),{useToken:HZe}=ka,M9=99,bu=n2,Qi={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},m2=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:i=!1,showColumns:o=void 0})=>{const{t:s}=$t(),{playAudio:l}=RS(),{token:u}=HZe(),d=uP(),p=c.useRef(null),f=c.useRef(null),m=c.useRef(null),g=c.useRef(null),h=c.useRef(null),[v,S]=Qe.useMessage(),b=Wo(),y=new URLSearchParams(b.search).get("path")||"",[C,T]=c.useState(y),[x,R]=c.useState([]),[w,I]=c.useState(!1),[O,k]=c.useState(""),[P,M]=c.useState([]),[N,A]=c.useState(Qi.id),[D,L]=c.useState([Qi]),[$,F]=c.useState([]),[B,z]=c.useState(""),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,Q]=c.useState(),[V,H]=c.useState(""),[q,K]=c.useState(!1),[Z,te]=c.useState(!1),[se,ue]=c.useState(0);c.useState(!1),c.useState(0);const[me,de]=c.useState(),[Te,Ee]=c.useState(!1),[ge,re]=c.useState(!0),[ne,ae]=c.useState(!1),[le,pe]=c.useState(!1),[Re,Se]=c.useState(!0),[Pe,fe]=c.useState(!1),[_e,Ae]=c.useState(1),[ye,be]=c.useState(y),[Ne,we]=c.useState(!1),[xe,ke]=c.useState(!1),[at,Me]=c.useState(null),[Ce,De]=c.useState(""),[Ue,Ye]=c.useState(""),[He,ze]=c.useState(!1),[Xe,Be]=c.useState(!1),[Je,mt]=c.useState(0),[pt,We]=c.useState(!1),[Ve,Ze]=c.useState([]),[dt,It]=c.useState(!1),[Nt,ht]=c.useState(!1),[ct,ot]=c.useState(0),[et,vt]=c.useState([]),[rt,bt]=c.useState(!1),[Tt,tt]=c.useState(!1),[it,Ke]=c.useState(0),[qe,_t]=c.useState([]);c.useEffect(()=>{(async()=>{const Ie=Vt(Qi.id);Co.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${Ie}&special=library`).then(je=>je.json()).then(je=>{var st=je.files;st=st.filter(At=>At.isDir&&At.name!=="..").sort((At,Zt)=>At.name===Zt.name?0:At.name.toLowerCase()>Zt.name.toLowerCase()?1:-1).map(At=>({id:Qi.id+"."+st.indexOf(At),pId:Qi.id,value:Qi.id+"."+st.indexOf(At),title:At.name,fullPath:`${Ie}/${At.name}/`})),L(D.concat(st))})})()},[]),c.useEffect(()=>{const Ie=new URLSearchParams(b.search).get("path")||"";T(Ie)},[]),c.useEffect(()=>{if(r){const Oe=new URLSearchParams(b.search);Oe.set("path",""),T("");const Ie=`${window.location.pathname}?${Oe.toString()}`;window.history.replaceState(null,"",Ie),I(je=>!je)}},[r]),c.useEffect(()=>{Co.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${C}&special=${e}`+(r?`&overlay=${r}`:"")).then(Oe=>Oe.json()).then(Oe=>{var Ie=Oe.files;i&&(Ie=Ie.filter(je=>je.isDir)),t.length>0&&(Ie=Ie.filter(je=>je.isDir||t.some(st=>je.name.endsWith(st)))),R(Ie)})},[C,e,i,w]),c.useEffect(()=>{Pe&&setTimeout(()=>{f.current&&f.current.focus()},0)},[Pe]),c.useEffect(()=>{p.current!==null&&h.current&&h.current.setSelectionRange(p.current,p.current)},[B]),c.useEffect(()=>{be(Vt(N))},[N]),c.useEffect(()=>{be(C)},[C]);function Rt(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,Oe=>(parseInt(Oe)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(Oe)/4).toString(16))}const kt=Oe=>{a&&d(`?path=${Oe}`),C===Oe&&I(Ie=>!Ie),j(!1),T(Oe)},tn=(Oe,Ie)=>{const je=Oe.split("/").filter(At=>At),st=[{title:_.jsx("span",{style:{cursor:"pointer"},onClick:()=>Ie(""),children:s("fileBrowser.root")}),key:"/"}];return je.forEach((At,Zt)=>{const yn=`/${je.slice(0,Zt+1).join("/")}`;st.push({title:_.jsx("span",{style:{cursor:"pointer"},onClick:()=>Ie(yn),children:At}),key:yn})}),_.jsx(tp,{items:st})},rn=({id:Oe})=>new Promise((Ie,je)=>{const st=Vt(Oe);Co.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${st}&special=library`).then(At=>At.json()).then(At=>{let Zt=At.files;Zt=Zt.filter(yn=>yn.isDir&&yn.name!=="..").sort((yn,Er)=>yn.name===Er.name?0:yn.name.toLowerCase()>Er.name.toLowerCase()?1:-1).map(yn=>({id:Oe+"."+Zt.indexOf(yn),pId:Oe,value:Oe+"."+Zt.indexOf(yn),title:yn.name,fullPath:`${st}/${yn.name}/`})),L(D.concat(Zt)),Ie(!0)}).then(()=>{je()})}),Vt=Oe=>{const Ie=D.filter(je=>je.value===Oe)[0];return Ie.pId==="-1"?"":Vt(D.filter(je=>je.id===Ie.pId)[0].id)+"/"+Ie.title},nn=(Oe,Ie)=>{for(const je of Ie)if(je.fullPath===Oe)return je.id;return null},xt=(Oe,Ie)=>{let je=[];for(const st of Ie)st.pId===Oe&&je.push(st);return je},Ot=Oe=>$.includes(Oe),Dt=_.jsx(Ml,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:N,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:A,loadData:rn,treeData:D,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:$,onTreeExpand:Oe=>F(Oe),disabled:rt||dt}),Rn=Oe=>{var Ie;!Oe.isDir&&((Ie=Oe.tonieInfo)!=null&&Ie.tracks)&&(Q(Oe),J(!0))},Gn=Oe=>{Vn((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),K(!0)},ur=()=>{K(!1)},Vn=async Oe=>{try{const je=await(await Co.apiGetTeddyCloudApiRaw(Oe)).json();H(je)}catch(Ie){console.error("Error fetching JSON data:",Ie)}},Pr=_.jsx(wt,{type:"primary",onClick:()=>K(!1),children:s("tonies.informationModal.ok")}),Rr=_.jsx(Sn,{className:"json-viewer",footer:Pr,width:700,title:"File: "+O,open:q,onCancel:ur,children:V?_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(V,null,2)}):"Loading..."}),qn=(Oe,Ie)=>{const je=Ie,{trackSeconds:st,...At}=je;j(!1),de(At),k(Oe),Ee(!0)},Yt=()=>{Ee(!1)},Bt=_.jsx(Sn,{className:"taf-header-viewer",footer:_.jsx(wt,{type:"primary",onClick:()=>Ee(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+O,open:Te,onCancel:Yt,children:me?_.jsx(El,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(me,null,2)}):"Loading..."}),qt=Oe=>{Oe.includes(".tap")&&(Vn((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),ue(je=>je+1),te(!0))},Ut=Oe=>{console.log("Received values of form: ",Oe),te(!1)},jt=(Oe,Ie)=>{},Et=(Oe,Ie,je)=>{j(!1),Me(Oe),De(Ie),Ye(je),we(!0)},Ct=()=>{we(!1),ke(!1)},cn=()=>{rr(Ce,Ue),I(Oe=>!Oe),we(!1)},En=()=>{ke(!0)},nr=async()=>{if(P.length>0){for(const Oe of P){const Ie=x.find(je=>je.name===Oe);if(Ie){const je=C+"/"+Ie.name,st="?special="+e+(r?`&overlay=${r}`:"");await rr(je,st)}}I(Oe=>!Oe),ke(!1),M([])}else Qe.warning("No rows selected for deletion.")},rr=async(Oe,Ie)=>{const je=Qe.loading(s("fileBrowser.messages.deleting"),0);try{const st=`/api/fileDelete${Ie}`,Zt=await(await Co.apiPostTeddyCloudRaw(st,Oe)).text();if(je(),Zt==="OK"){Qe.success(s("fileBrowser.messages.deleteSuccessful",{file:Oe}));const yn=nn(Oe+"/",D);yn&&L(Er=>Er.filter(Vr=>Vr.id!==yn)),ye===Oe+"/"&&be(C)}else Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${Zt}`)}catch(st){je(),Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${st}`)}},fr=()=>{re(!0),ae(!1),Ae(Oe=>Oe+1),j(!1),fe(!0)},zt=()=>{j(!1),fe(!1)},Ft=Oe=>{const Ie=Oe.target.value,je=!Ku(Ie.toString());ae(je),re(Ie==="")},ut=()=>{var Ie,je;const Oe=((je=(Ie=f.current)==null?void 0:Ie.input)==null?void 0:je.value)||"";try{Co.apiPostTeddyCloudRaw("/api/dirCreate?special=library",ye+"/"+Oe).then(st=>st.text()).then(st=>{if(st!=="OK")throw new Error(st);const At=nn(ye+"/",D)||Qi.id,Zt=`${At}.${D.length}`,yn=Ot(At),Er=xt(At,D);if(yn||Er.length>0){const Vr={id:Zt,pId:At,value:Zt,title:Oe,fullPath:ye+"/"+Oe+"/"};L([...D,Vr].sort((R2,w2)=>R2.title===w2.title?0:R2.title.toLowerCase()>w2.title.toLowerCase()?1:-1)),(He||Nt)&&A(Zt)}Qe.success(s("fileBrowser.createDirectory.directoryCreated")),fe(!1),I(Vr=>!Vr),be(C)}).catch(st=>{Qe.error(st.message)})}catch{Qe.error("Error while creating directory")}},Pt=ge||ne,fn=_.jsxs(Sn,{title:s("fileBrowser.createDirectory.modalTitle"),open:Pe,onCancel:zt,onOk:ut,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:Pt},children:[_.jsxs(Tn,{style:{marginBottom:8},children:[s("fileBrowser.createDirectory.parentPath")+" "+ye+"/"," "]}),_.jsxs(Xt.Item,{validateStatus:ne?"error":"",help:ne?s("inputValidator.invalidCharactersDetected",{invalidChar:kf}):"",required:!0,children:[" ",_.jsx(en,{ref:f,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:ne?"error":"",onChange:Ft})]})]},"createDirModal-"+_e),ar=async(Oe,Ie,je)=>{const st="source="+encodeURIComponent(Oe)+"&target="+encodeURIComponent(Ie),At=Qe.loading(s(je?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),0);try{const Zt=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,Er=await(await Co.apiPostTeddyCloudRaw(Zt,st)).text();if(At(),Er==="OK")Qe.success(je?s("fileBrowser.messages.movingSuccessful",{file:Oe}):s("fileBrowser.messages.renamingSuccessful",{file:Oe}));else throw Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Er}`),Er}catch(Zt){throw At(),Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Zt}`),Zt}},mn=Oe=>{A(Qi.id),k(Oe),ze(!0)},$r=()=>{ze(!1),be(C)},wr=async(Oe,Ie)=>{try{await ar(Oe+"/"+O,Ie+"/"+O,!0),I(je=>!je),ze(!1),A(Qi.id)}catch{}},Sr=async(Oe,Ie)=>{if(P.length>0){for(const je of P){const st=x.find(At=>At.name===je);st&&!st.isDir&&await ar(Oe+"/"+st.name,Ie+"/"+st.name,!0)}I(je=>!je),ze(!1),M([]),A(Qi.id)}else Qe.warning("No rows selected for moving.")},sa=!N||Vt(N)===C,Ja=_.jsxs(Sn,{title:s(O?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:He,onCancel:$r,onOk:()=>O?wr(C,Vt(N)):Sr(C,Vt(N)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:sa},children:[_.jsx(Zn,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),_.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[_.jsx(en,{type:"text",style:{borderTopRightRadius:O?0:"unset",borderBottomRightRadius:O?0:"unset"},disabled:!0,value:C+"/"+(O||""),placeholder:C+"/"+(O||"")}),_.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),_.jsxs("div",{style:{display:"flex"},children:[Dt,_.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:_.jsx(wt,{icon:_.jsx(RD,{}),onClick:()=>{be(Vt(N)),fr()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),Xo=Oe=>{k(Oe),re(!0),pe(!Ku(Oe)),mt(Ie=>Ie+1),Be(!0)},Mt=()=>{Be(!1)},Kt=async(Oe,Ie)=>{try{await ar(Oe+"/"+O,Oe+"/"+Ie,!1),I(je=>!je),Be(!1)}catch{}},Wn=Oe=>{const Ie=Oe.target.value,je=!Ku(Ie.toString()),st=!Ie.toString()||je;pe(je),Se(st),re(!Ie||Ie===O)},mr=ge||le||Re,Yn=_.jsxs(Sn,{title:s("fileBrowser.renameFile.modalTitle"),open:Xe,onCancel:Mt,onOk:()=>Kt(C,g.current&&g.current.input?g.current.input.value:O),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:mr},children:[_.jsx(Zn,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),_.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:_.jsx(Xt.Item,{validateStatus:le?"error":"",help:le?s("inputValidator.invalidCharactersDetected",{invalidChar:kf}):"",required:!0,children:_.jsx(en,{ref:g,type:"text",defaultValue:O,onChange:Wn,placeholder:O,status:le?"error":""})})})]},"renameModal-"+Je),As=()=>{Ke(Oe=>Oe+1),tt(!0)},eu=()=>{tt(!1)},Ep=()=>{vt(Oe=>[...Oe,...qe]),tt(!1),_t([])},tu=(Oe,Ie,je)=>{const st=[];if(Oe.length>0)for(const At of Oe){const Zt=Oe.find(yn=>yn.name===At.name&&bu.some(Er=>yn.name.toLowerCase().endsWith(Er)));Zt&&st.push({uid:Rt(),name:Zt.name,path:Ie})}_t(st)},die=_.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[_.jsx(wt,{onClick:eu,children:s("tonies.selectFileModal.cancel")}),_.jsx(wt,{type:"primary",onClick:Ep,children:s("tonies.selectFileModal.ok")})]}),pie=_.jsx(Sn,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:Tt,onOk:Ep,onCancel:eu,width:"auto",footer:die,children:_.jsx(r2,{special:"library",maxSelectedRows:M9-et.length-1,trackUrl:!1,filetypeFilter:bu,onFileSelectChange:tu},it)}),fie=()=>{re(!0),pe(!1),ot(Ie=>Ie+1),A(Qi.id);const Oe=[];for(const Ie of P){const je=x.find(st=>st.name===Ie&&bu.some(At=>st.name.toLowerCase().endsWith(At)));je&&Oe.push({uid:Rt(),name:je.name,path:C})}vt(Oe),ht(!0)},mie=()=>{ht(!1),be(C),vt([])},gie=async()=>{var st,At;bt(!0);const Oe=(At=(st=m==null?void 0:m.current)==null?void 0:st.input)==null?void 0:At.value,Ie=Qe.loading(s("fileBrowser.encodeFiles.encodingInProgress"),0),je=et.map(Zt=>`source=${encodeURIComponent(Zt.path+"/"+Zt.name)}`).join("&")+`&target=${encodeURIComponent(Vt(N)+"/"+Oe+".taf")}`;try{(await Co.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,je)).ok?(Ie(),Qe.success(s("fileBrowser.encodeFiles.encodingSuccessful")),ht(!1),A("1"),M([]),I(!w)):(Ie(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed")))}catch{Ie(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed"))}bt(!1)},hie=nae(tE,{activationConstraint:{distance:10}}),vie=({active:Oe,over:Ie})=>{Oe.id!==(Ie==null?void 0:Ie.id)&&vt(je=>{const st=je.findIndex(Zt=>Zt.uid===Oe.id),At=je.findIndex(Zt=>Zt.uid===(Ie==null?void 0:Ie.id));return aE(je,st,At)})},_ie=Oe=>{const Ie=et.indexOf(Oe),je=et.slice();je.splice(Ie,1),vt(je)},bie=()=>{vt(Oe=>[...Oe].sort((Ie,je)=>Ie.name.localeCompare(je.name)))},Sie=Oe=>{const Ie=Oe.target.value,je=!Ku(Ie.toString()),st=et.length>0&&!Ie.toString()||je;pe(je),Se(st),re(Ie==="")},Eie=_.jsxs(Sn,{title:s("fileBrowser.encodeFiles.modalTitle"),open:Nt,onCancel:mie,onOk:gie,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:rt||Re||ge||et.length===0},children:[pie,_.jsx(hae,{sensors:[hie],onDragEnd:vie,children:_.jsxs(Eae,{items:et.map(Oe=>Oe.uid),strategy:_ae,disabled:rt,children:[_.jsx(wt,{disabled:rt,onClick:As,children:s("fileBrowser.encodeFiles.addFiles")}),et.map(Oe=>_.jsx(zZe,{originNode:_.jsx("div",{children:Oe.name}),onRemove:_ie,disabled:rt,fileObjectList:et,file:Oe},Oe.uid))]})}),_.jsx(Na,{direction:"vertical",style:{display:"flex"},children:et.length>0?_.jsxs(_.Fragment,{children:[_.jsx(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:_.jsx(wt,{type:"default",disabled:rt,onClick:bie,children:s("tonies.encoder.sortAlphabetically")})}),_.jsx(Qr,{}),_.jsx("div",{style:{width:"100%"},className:"encoder",children:_.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[_.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[_.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),Dt,_.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:_.jsx(wt,{disabled:rt,icon:_.jsx(RD,{}),onClick:()=>{be(Vt(N)),fr()},style:{borderRadius:0}})}),_.jsx(en,{ref:m,addonAfter:".taf",required:!0,status:Re?"error":"",onChange:Sie,disabled:rt})]}),le?_.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:kf})}):""]})})]}):_.jsx(_.Fragment,{})})]},"encodeModal-"+ct),yie=()=>{We(!0)},y2=()=>{Ze([]),We(!1)},Cie={name:"file",multiple:!0,fileList:Ve,customRequest:async Oe=>{const{onSuccess:Ie,onError:je,file:st}=Oe;Ie("Ok")},onChange(Oe){const{status:Ie,fileList:je}=Oe;Ie!=="uploading"&&(Ze(je),console.log(Oe.file,Oe.fileList))},onDrop(Oe){console.log("Dropped files",Oe.dataTransfer.files)},onRemove:Oe=>{Ze(Ie=>Ie.filter(je=>je.uid!==Oe.uid))}},Tie=async Oe=>{if(!Oe.length)return;It(!0);let Ie=!1;for(let je=0;jeEr.filter(Vr=>Vr.uid!==st.uid)),Qe.success(s("fileBrowser.upload.uploadSuccessfulForFile",{file:st.name}))):(Ie=!0,At(),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr)),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})))}catch{Ie=!0,At(),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr))}}Ie?(I(!w),Qe.error(s("fileBrowser.upload.uploadFailed"))):(I(!w),We(!1),Qe.success(s("fileBrowser.upload.uploadSuccessful"))),It(!1)},xie=_.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[_.jsx(wt,{onClick:y2,children:s("fileBrowser.upload.cancel")}),_.jsx(wt,{type:"primary",onClick:()=>Tie(Ve),loading:dt,disabled:Ve.length===0||dt,children:s(dt?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),Rie=_.jsx(Sn,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:pt,onCancel:y2,footer:xie,children:_.jsx("div",{style:{width:"100%",marginBottom:8},children:_.jsxs(yg.Dragger,{...Cie,style:{width:"100%",marginBottom:8},children:[_.jsx("p",{className:"ant-upload-drag-icon",children:_.jsx(Hk,{})}),_.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),_.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),C2=(Oe,Ie,je)=>{try{v.open({type:"loading",content:s("fileBrowser.messages.migrationOngoing"),duration:0});const st=`ruid=${Oe}&libroot=${Ie}`;Co.apiPostTeddyCloudRaw("/api/migrateContent2Lib",st,je).then(At=>At.text()).then(At=>{v.destroy(),At==="OK"?(v.open({type:"success",content:s("fileBrowser.messages.migrationSuccessful")}),I(Zt=>!Zt)):v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})}).catch(At=>{v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})})}catch(st){v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+st})}},wie=Oe=>{z(Oe.target.value),p.current=Oe.target.selectionStart,j(!0)},Iie=()=>{z(""),p.current=0},Oie=()=>{j(!0)},Nie=()=>{j(!1)},Aie=Oe=>P.includes(Oe.key)?"highlight-row":"",Die=Oe=>{M(Oe)},Mie=Oe=>{const Ie=Oe===".."?C.split("/").slice(0,-1).join("/"):`${C}/${Oe}`;a&&d(`?path=${Ie}`),j(!1),M([]),T(Ie)},T2=(Oe,Ie)=>Ie.reduce((je,st)=>{if(je&&je[st]!==void 0)return je[st]},Oe),x2=(Oe,Ie,je)=>{const st=Array.isArray(je)?T2(Oe,je):Oe[je],At=Array.isArray(je)?T2(Ie,je):Ie[je];return st===void 0&&At===void 0?0:st===void 0?1:At===void 0?-1:typeof st=="string"&&typeof At=="string"?st.localeCompare(At):typeof st=="number"&&typeof At=="number"?st-At:(console.log("Unsupported types for sorting:",Oe,Ie),console.log("Unsupported types for sorting field:",je,st,At),0)},Lie=(Oe,Ie)=>Oe.isDir===Ie.isDir?x2(Oe,Ie,"name"):Oe.isDir?-1:1,kie=Oe=>Oe>0&&Oe<=M9;var Fl=[{title:P.length>0?_.jsxs("div",{style:{display:"flex",gap:8,minHeight:32},children:[x.filter(Oe=>P.includes(Oe.name)&&!Oe.isDir).length>0?_.jsx(Jt,{title:s("fileBrowser.moveMultiple"),children:_.jsx(wt,{icon:_.jsx(w4,{}),onClick:()=>mn(""),disabled:P.length===0})},"moveMultiple"):"",_.jsx(Jt,{title:s("fileBrowser.deleteMultiple"),children:_.jsx(wt,{icon:_.jsx(Od,{}),onClick:En,disabled:P.length===0})},"deleteMultiple"),kie(x.filter(Oe=>P.includes(Oe.name)&&bu.some(Ie=>Oe.name.toLowerCase().endsWith(Ie))).length)&&e==="library"?_.jsx(Jt,{title:s("fileBrowser.encodeFiles.encodeFiles")+bu.join(", "),children:_.jsx(wt,{icon:_.jsx(xD,{}),onClick:fie,disabled:P.length===0})},"encodeFiles"):""]}):_.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Oe,Ie)=>{var je,st;return Ie&&((je=Ie.tonieInfo)!=null&&je.picture)?_.jsx("img",{src:Ie.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>Rn(Ie),style:{width:100,cursor:!Ie.isDir&&((st=Ie==null?void 0:Ie.tonieInfo)!=null&&st.tracks)?"help":"default"}},`picture-${Ie.name}`):_.jsx(_.Fragment,{})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Lie,defaultSortOrder:"ascend",render:(Oe,Ie)=>{var je,st,At,Zt,yn;return Ie&&_.jsxs("div",{children:[_.jsxs("div",{className:"showSmallDevicesOnly",children:[_.jsxs("div",{children:[_.jsxs("div",{style:{wordBreak:Ie.isDir?"normal":"break-word"},children:[Ie.isDir?"["+Ie.name+"]":Ie.name," "]}),!Ie.isDir&&Ie.size?"("+Yu(Ie.size)+")":""]}),_.jsx("div",{children:(je=Ie.tonieInfo)==null?void 0:je.model}),_.jsx("div",{style:{wordBreak:Ie.isDir?"normal":"break-word"},children:((st=Ie.tonieInfo)!=null&&st.series?(At=Ie.tonieInfo)==null?void 0:At.series:"")+((Zt=Ie.tonieInfo)!=null&&Zt.episode?" - "+((yn=Ie.tonieInfo)==null?void 0:yn.episode):"")}),_.jsx("div",{children:!Ie.isDir&&new Date(Ie.date*1e3).toLocaleString()})]}),_.jsxs("div",{className:"showMediumDevicesOnly",children:[_.jsxs("div",{children:[_.jsxs("div",{style:{wordBreak:Ie.isDir?"normal":"break-word"},children:[Ie.isDir?"["+Ie.name+"]":Ie.name," "]}),!Ie.isDir&&Ie.size?"("+Yu(Ie.size)+")":""]}),_.jsx("div",{children:!Ie.isDir&&new Date(Ie.date*1e3).toLocaleString()})]}),_.jsx("div",{className:"showBigDevicesOnly",children:Ie.isDir?"["+Ie.name+"]":Ie.name})]},`name-${Ie.name}`)},filteredValue:[B],onFilter:(Oe,Ie)=>{var st,At,Zt,yn;const je=Oe.toLowerCase();return Ie.name===".."||Ie.name.toLowerCase().includes(je)||!Ie.isDir&&"tafHeader"in Ie&&Ie.tafHeader.size&&Yu(Ie.tafHeader.size).toString().includes(je)||"tafHeader"in Ie&&((st=Ie.tafHeader.audioId)==null?void 0:st.toString().includes(je))||"tonieInfo"in Ie&&((At=Ie.tonieInfo)==null?void 0:At.model.toLowerCase().includes(je))||"tonieInfo"in Ie&&((Zt=Ie.tonieInfo)==null?void 0:Zt.series.toLowerCase().includes(je))||"tonieInfo"in Ie&&((yn=Ie.tonieInfo)==null?void 0:yn.episode.toLowerCase().includes(je))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:(Oe,Ie)=>_.jsx("div",{children:Ie.isDir?"":Yu(Oe)},`size-${Ie.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Oe,Ie)=>{var je;return _.jsx("div",{children:(je=Ie.tonieInfo)==null?void 0:je.model},`model-${Ie.name}`)}},{title:_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),_.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Oe,Ie)=>{var je,st,At,Zt,yn,Er,Vr;return _.jsxs("div",{children:[_.jsxs("div",{className:"showMediumDevicesOnly",children:[_.jsx("div",{children:(je=Ie.tonieInfo)==null?void 0:je.model}),_.jsx("div",{style:{wordBreak:"break-word"},children:((st=Ie.tonieInfo)!=null&&st.series?(At=Ie.tonieInfo)==null?void 0:At.series:"")+((Zt=Ie.tonieInfo)!=null&&Zt.episode?" - "+((yn=Ie.tonieInfo)==null?void 0:yn.episode):"")})]}),_.jsx("div",{className:"showBigDevicesOnly",children:(Er=Ie.tonieInfo)!=null&&Er.series?(Vr=Ie.tonieInfo)==null?void 0:Vr.series:""})]},`series-${Ie.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Oe,Ie)=>{var je;return _.jsx("div",{children:(je=Ie.tonieInfo)==null?void 0:je.episode},`episode-${Ie.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:(Oe,Ie)=>_.jsx("div",{children:new Date(Oe*1e3).toLocaleString()},`date-${Ie.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:_.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Oe,Ie)=>{let je=[];return Ie.tafHeader?(e!=="library"&&(je.push(_.jsx(Jt,{title:s("fileBrowser.migrateContentToLib"),children:_.jsx(HOe,{onClick:()=>C2(C.replace("/","")+Ie.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${Ie.name}`)),je.push(_.jsx(Jt,{title:s("fileBrowser.migrateContentToLibRoot"),children:_.jsx(DAe,{onClick:()=>C2(C.replace("/","")+Ie.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${Ie.name}`))),je.push(_.jsx(Jt,{title:s("fileBrowser.playFile"),children:_.jsx(ko,{style:{margin:"0 8px 0 0"},onClick:()=>{var st;return l(encodeURI("/content"+C+"/"+Ie.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),Ie.tonieInfo,(st=Ie.tafHeader)==null?void 0:st.trackSeconds)}})},`action-play-${Ie.name}`))):bu.some(st=>Ie.name.endsWith(st))&&je.push(_.jsx(Jt,{title:s("fileBrowser.playFile"),children:_.jsx(ko,{style:{margin:"0 8px 0 0"},onClick:()=>l(encodeURI("/content"+C+"/"+Ie.name)+"?special="+e+(r?`&overlay=${r}`:""),Ie.tonieInfo)})},`action-play-${Ie.name}`)),n&&Ie.name.includes(".tap")&&(je.push(_.jsx(Jt,{title:s("fileBrowser.tap.edit"),children:_.jsx(ym,{style:{margin:"0 8px 0 0"},onClick:()=>qt(C+"/"+Ie.name)})},`action-edit-${Ie.name}`)),je.push(_.jsx(Jt,{title:s("fileBrowser.tap.copy"),children:_.jsx(kee,{style:{margin:"0 8px 0 0"}})},`action-copy-${Ie.name}`))),Ie.tafHeader&&je.push(_.jsx(Jt,{title:s("fileBrowser.tafMeta.edit"),children:_.jsx(ym,{style:{margin:"0 8px 0 0"},onClick:()=>jt()})},`action-edit-${Ie.name}`)),!Ie.isDir&&Ie.name!==".."&&je.push(_.jsx(Jt,{title:s("fileBrowser.rename"),children:_.jsx(V1e,{onClick:()=>Xo(Ie.name),style:{margin:"0 8px 0 0"}})},`action-rename-${Ie.name}`)),!Ie.isDir&&Ie.name!==".."&&je.push(_.jsx(Jt,{title:s("fileBrowser.move"),children:_.jsx(w4,{onClick:()=>mn(Ie.name),style:{margin:"0 8px 0 0"}})},`action-move-${Ie.name}`)),Ie.name!==".."&&je.push(_.jsx(Jt,{title:s("fileBrowser.delete"),children:_.jsx(Od,{onClick:()=>Et(Ie.name,C+"/"+Ie.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${Ie.name}`)),je},showOnDirOnly:!1}];return Fl.forEach(Oe=>{Oe.hasOwnProperty("sorter")||(Oe.sorter=(Ie,je)=>x2(Ie,je,Oe.dataIndex))}),i&&(Fl=Fl.filter(Oe=>Oe.showOnDirOnly)),o&&(Fl=Fl.filter(Oe=>typeof Oe.key=="string"?o.includes(Oe.key):!1)),_.jsxs(_.Fragment,{children:[S,_.jsx(Fd,{title:s("fileBrowser.confirmDeleteModal"),open:Ne,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:at}),handleOk:cn,handleCancel:Ct}),_.jsx(Fd,{title:s("fileBrowser.confirmDeleteModal"),open:xe,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),handleOk:nr,handleCancel:Ct}),Rr,Bt,fn,Rie,Ja,Yn,Eie,Y?_.jsx(t2,{open:G,tonieCardOrTAFRecord:Y,onClose:()=>J(!1),overlay:r}):"",_.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[_.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[_.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),tn(C,kt)]}),e==="library"?_.jsx("div",{style:{width:"100%",marginBottom:8},children:_.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[_.jsx(wt,{size:"small",onClick:fr,style:{marginBottom:8},children:s("fileBrowser.createDirectory.createDirectory")}),_.jsx(wt,{size:"small",onClick:yie,style:{marginBottom:8},children:s("fileBrowser.upload.showUploadFilesDragNDrop")})]})}):""]}),_.jsx(Ya,{dataSource:x,columns:Fl,rowKey:Oe=>Oe.name,pagination:!1,onRow:Oe=>({onDoubleClick:()=>{Oe.isDir?Mie(Oe.name):Oe.name.includes(".json")||Oe.name.includes(".tap")?Gn(C+"/"+Oe.name):Oe.tafHeader&&qn(Oe.name,Oe.tafHeader)}}),rowClassName:Aie,rowSelection:{selectedRowKeys:P,onChange:Die,getCheckboxProps:Oe=>({disabled:Oe.name===".."}),onSelectAll:(Oe,Ie)=>{const je=Oe?Ie.filter(st=>st.name!=="..").map(st=>st.name):[];M(je)}},components:{header:{wrapper:Oe=>_.jsx("thead",{...Oe}),row:Oe=>_.jsxs(_.Fragment,{children:[_.jsx("tr",{...Oe}),_.jsx("tr",{children:_.jsx("th",{style:{padding:"10px 8px"},colSpan:Fl.length+1,children:_.jsx(en,{placeholder:s("fileBrowser.filter"),value:B,onChange:wie,onFocus:Oie,onBlur:Nie,ref:h,style:{width:"100%"},autoFocus:U,addonAfter:_.jsx(na,{onClick:Iie,disabled:B.length===0,style:{color:B.length===0?u.colorTextDisabled:u.colorText,cursor:B.length===0?"default":"pointer"}})})})})]}),cell:Oe=>_.jsx("th",{...Oe,style:{position:"sticky",top:0,zIndex:20}})}}}),_.jsx(Zre,{open:Z,initialValuesJson:V?JSON.stringify(V,null,2):void 0,onCreate:Ut,onCancel:()=>{te(!1)}},se)]})},{Option:GZe}=kr,VZe=()=>{const{t:e}=$t(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=o2();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[_.jsx("h1",{children:e("tonies.content.title")}),t.length>1?_.jsx(kr,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,i,o])=>_.jsx(GZe,{value:o,children:i.join(", ")},o))}):""]}),_.jsx(m2,{special:"",overlay:n})]})]})]})},qZe=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonies.library.title")}),_.jsx(m2,{special:"library"})]})]})]})},{Text:WZe}=Tn,YZe=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:i,listeners:o,setNodeRef:s,transform:l,transition:u,isDragging:d}=Cae({id:n.uid}),{t:p}=$t(),f={transform:Bd.Transform.toString(l),transition:u,cursor:"move"};return _.jsx("div",{ref:s,style:f,className:d?"is-dragging":"",...i,...o,children:_.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[_.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:_.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),_.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[_.jsx("span",{className:"",children:n.name}),_.jsx("br",{}),_.jsx(WZe,{type:"secondary",children:Yu(n.size?n.size:-1)})]}),_.jsx("span",{className:"ant-upload-list-item-actions picture",children:_.jsx(wt,{title:p("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:_.jsx(Od,{})})})]})})};function KZe(e,t,n,r,a,i){const o=new FileReader;o.onload=async s=>{try{if(s.target==null)return;const l=s.target.result,u=new AudioContext,d=48e3,p=await u.decodeAudioData(l),f=new OfflineAudioContext({numberOfChannels:p.numberOfChannels,length:Math.round(p.length*d/p.sampleRate),sampleRate:d}),m=f.createBufferSource();m.buffer=p,m.connect(f.destination),m.start();const g=await f.startRendering(),h=g.numberOfChannels,v=new Float32Array(g.getChannelData(0)),S=h>1?new Float32Array(g.getChannelData(1)):new Float32Array(g.getChannelData(0)),b=new Int16Array(v.length+S.length);for(let E=0,y=0;E{t("Failed to read the file")},a.file&&o.readAsArrayBuffer(a.file)}const kZe=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),zh=new xn(vn()),{useToken:PZe}=Xa,_u={id:"1",pId:"-1",value:"1",title:"/"},Hh=99,$Ze=()=>{const{t:e}=$t(),{token:t}=PZe(),[n,r]=Qe.useMessage(),[a,i]=c.useState(!1),[o,s]=c.useState([]),[l,u]=c.useState(!1),[d,p]=c.useState(!1),[f,m]=c.useState(""),[g,h]=c.useState(_u.id),[v,S]=c.useState([_u]),[_,E]=c.useState(!1),[y,C]=c.useState(""),[T,x]=c.useState(!1),[R,w]=c.useState(!1),I=c.useRef(null);let O=0;c.useEffect(()=>{(async()=>{const H=new xn(vn());let q=!1;try{const K=await H.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!K.ok)throw new Error(`HTTP error! status: ${K.status}`);q=(await K.json()).toString()==="true"}catch(K){console.error("Error fetching debug.web.pcm_encode_console_url: ",K)}i(q)})(),(async()=>{const H=$(_u.id);zh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${H}&special=library`).then(q=>q.json()).then(q=>{var K=q.files;K=K.filter(Z=>Z.isDir&&Z.name!=="..").sort((Z,te)=>Z.name===te.name?0:Z.name.toLowerCase()>te.name.toLowerCase()?1:-1).map(Z=>({id:_u.id+"."+K.indexOf(Z),pId:_u.id,value:_u.id+"."+K.indexOf(Z),title:Z.name})),S(v.concat(K))})})()},[]),c.useEffect(()=>{_&&setTimeout(()=>{I.current&&I.current.focus()},0)},[_]),c.useEffect(()=>{O=o.length},[o]);const k=Jre(ZS,{activationConstraint:{distance:10}}),P=({active:X,over:V})=>{X.id!==(V==null?void 0:V.id)&&s(H=>{const q=H.findIndex(Z=>Z.uid===X.id),K=H.findIndex(Z=>Z.uid===(V==null?void 0:V.id));return tE(H,q,K)})},M=({fileList:X})=>{O++,O>Hh&&n.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:Hh})});const V=X.slice(0,Hh);if(V.length===1&&f===""){const q=V[0].name.replace(/\.[^/.]+$/,"");m(q)}s(V)},N=X=>{const V=o.indexOf(X),H=o.slice();H.splice(V,1),s(H)},A=async()=>{u(!0);const X=new FormData;for(const K of o)try{await new Promise((Z,te)=>LZe(Z,te,X,o,K,a))}catch(Z){Qe.error(e("tonies.encoder.errorFileProcessing")+" "+Z),u(!1);return}const V=Math.floor(Date.now()/1e3),H={name:f+".taf",audioId:V-1342177280,path:$(g),special:"library"};p(!0);const q=kZe(H);try{const K=await zh.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${q}`,X);K.ok?(Qe.success(e("tonies.encoder.uploadSuccessful")),s([]),m("")):Qe.error(e("tonies.encoder.uploadFailed")+": "+K.statusText),p(!1),u(!1)}catch{Qe.error(e("tonies.encoder.uploadFailed")),p(!1),u(!1)}},D={listType:"picture",multiple:!0,beforeUpload:X=>{const V=X;return V.file=X,o.push(V),s(o),!1},fileList:o,onChange:M,itemRender:(X,V)=>b.jsx(MZe,{originNode:X,fileList:o,file:V,onRemove:N,disabled:l})},L=({id:X})=>new Promise((V,H)=>{const q=$(X);zh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${q}&special=library`).then(K=>K.json()).then(K=>{let Z=K.files;Z=Z.filter(te=>te.isDir&&te.name!=="..").sort((te,se)=>te.name===se.name?0:te.name.toLowerCase()>se.name.toLowerCase()?1:-1).map(te=>({id:X+"."+Z.indexOf(te),pId:X,value:X+"."+Z.indexOf(te),title:te.name})),S(v.concat(Z)),V(!0)}).then(()=>{H()})}),$=X=>{const V=v.filter(H=>H.value===X)[0];return V.pId==="-1"?"":$(v.filter(H=>H.id===V.pId)[0].id)+"/"+V.title},F=()=>{s(X=>[...X].sort((V,H)=>V.name.localeCompare(H.name)))},B=()=>{s([])},z=()=>{E(!0)},U=X=>{w(!qu(X.target.value.toString())),C(X.target.value)},j=()=>{const X=$(g),V=`${g}.${v.length}`,H={id:V,pId:g,value:V,title:y};try{zh.apiPostTeddyCloudRaw("/api/dirCreate?special=library",X+"/"+y).then(q=>q.text()).then(q=>{if(q!=="OK")throw new Error(q);S([...v,H].sort((K,Z)=>K.title===Z.title?0:K.title.toLowerCase()>Z.title.toLowerCase()?1:-1)),h(V),Qe.success(e("fileBrowser.createDirectory.directoryCreated")),E(!1),C("")}).catch(q=>{Qe.error(q.message)})}catch{Qe.error("Error while creating directory")}},G=()=>{E(!1),C(""),w(!1)},J=b.jsxs(Sn,{title:e("fileBrowser.createDirectory.modalTitle"),open:_,onCancel:G,onOk:j,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:R},children:[b.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",b.jsxs("b",{children:[$(g),"/"]})]}),b.jsx(Xt.Item,{validateStatus:R?"error":"",help:R?e("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:b.jsx(en,{ref:I,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:y,status:R?"error":"",onChange:U})})]}),Y=X=>{const V=X.target.value;x(!qu(V)),m(V)};return b.jsxs(b.Fragment,{children:[r,b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.encoder.title")}),b.jsxs(Na,{direction:"vertical",style:{display:"flex"},children:[b.jsx(fae,{sensors:[k],onDragEnd:P,children:b.jsx(_ae,{items:o.map(X=>X.uid),strategy:gae,disabled:l,children:b.jsxs(bg.Dragger,{...D,disabled:l,children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Hh})}),b.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),o.length>0?b.jsxs(b.Fragment,{children:[b.jsxs(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[b.jsx(Rt,{type:"default",disabled:l,onClick:F,children:e("tonies.encoder.sortAlphabetically")}),b.jsx(Rt,{type:"default",disabled:l,style:{marginRight:16},onClick:B,children:e("tonies.encoder.clearList")})]}),b.jsx(Qr,{}),b.jsx("div",{style:{width:"100%"},className:"encoder",children:b.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[b.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[b.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),b.jsx(Dl,{treeLine:!0,treeDataSimpleMode:!0,disabled:l,style:{maxWidth:250},value:g,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:h,loadData:L,treeData:v}),b.jsx(Jt,{title:e("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{disabled:l,icon:b.jsx(TD,{}),onClick:z,style:{borderRadius:0}})}),b.jsx(en,{addonAfter:".taf",required:!0,defaultValue:f,style:{maxWidth:300},status:o.length>0&&f===""||T?"error":"",onChange:Y,disabled:l})]}),T?b.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:Mf})}):"",b.jsx(Na.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:b.jsx(Rt,{type:"primary",onClick:A,disabled:o.length===0||f===""||T,loading:l,children:e(l?d?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):b.jsx(b.Fragment,{})]})]})]}),J]})},{Paragraph:FZe}=wn,BZe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.tap.title")}),b.jsx(Xn,{message:e("settings.information"),description:b.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),b.jsx(p2,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),b.jsx(FZe,{children:b.jsxs("div",{children:[b.jsx(Rt,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),b.jsx(Kre,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},Gh=new xn(vn()),UZe=({overlay:e})=>{var d;const[t,n]=c.useState(),{t:r}=$t(),[a,i]=c.useState(""),[o,s]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const f=await Gh.apiGetTeddyCloudSettingRaw("core.settings_level");if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const m=await f.json();i(m.toString())}catch(f){console.error("Error fetching settings level: ",f)}})()},[]),c.useEffect(()=>{(async()=>{var m,g;s(!0);const f=await Gh.apiGetIndexGet(e);(m=f==null?void 0:f.options)!=null&&m.length&&((g=f==null?void 0:f.options)==null?void 0:g.length)>0&&n(f),s(!1)})()},[e,a]);const l=async()=>{try{await Gh.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},u=async p=>{try{await Gh.apiPostTeddyCloudSetting("core.settings_level",p),l(),i(p)}catch{Qe.error("Error while sending data to server.")}};return b.jsxs(b.Fragment,{children:[b.jsx(Xn,{message:r("settings.warning"),description:b.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),b.jsx(Qr,{children:r("settings.title")}),b.jsx(Jne,{initialValues:{test:"test"},onSubmit:p=>{},children:b.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(d=t==null?void 0:t.options)==null?void 0:d.map((p,f,m)=>{if(p.iD.includes("core.settings_level")||!p.iD.includes("core.certdir")&&!p.iD.includes("core.client_cert.")&&!p.iD.includes("core.flex_")&&!p.iD.includes("core.contentdir")&&!p.iD.includes("toniebox.")&&!p.iD.includes("cloud.enabled")&&!p.iD.includes("cloud.enableV1Claim")&&!p.iD.includes("cloud.enableV1CloudReset")&&!p.iD.includes("cloud.enableV1FreshnessCheck")&&!p.iD.includes("cloud.enableV1Log")&&!p.iD.includes("cloud.enableV1Time")&&!p.iD.includes("cloud.enableV1Ota")&&!p.iD.includes("cloud.enableV2Content")&&!p.iD.includes("cloud.cacheOta")&&!p.iD.includes("cloud.localOta")&&!p.iD.includes("cloud.cacheContent")&&!p.iD.includes("cloud.cacheToLibrary")&&!p.iD.includes("cloud.markCustomTagByPass")&&!p.iD.includes("cloud.prioCustomContent")&&!p.iD.includes("cloud.updateOnLowerAudioId")&&!p.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const g=p.iD.split("."),h=m[f-1]?m[f-1].iD.split("."):[];return b.jsxs(ce.Fragment,{children:[g.slice(0,-1).map((v,S)=>h[S]!==v?S===0?b.jsxs("h3",{style:{marginLeft:`${S*20}px`,marginBottom:"10px"},children:["Category ",v]},`category-${v}`):b.jsxs("h4",{style:{marginLeft:`${S*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",v]},`category-${v}`):null),b.jsx(ere,{option:p,overlayId:e},`option-item-${p.iD}`)]},`option-${p.iD}`)})})}),b.jsx(Qr,{children:r("settings.levelLabel")}),b.jsxs(di.Group,{value:a,onChange:p=>u(p.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[b.jsx(di.Button,{value:"1",children:"Basic"}),b.jsx(di.Button,{value:"2",children:"Detail"}),b.jsx(di.Button,{value:"3",children:"Expert"})]})]})},D9=new xn(vn());function yae(){const[e,t]=c.useState([]);return c.useEffect(()=>{async function n(){var r=[];try{const o=await(await D9.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming toniebox data:",i)}try{const o=await(await D9.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming custom toniebox data:",i)}const a=r.map(i=>({id:i.id,name:i.name,img_src:i.img_src,crop:i.crop||null}));t(a)}n()},[]),e}const ha=new xn(vn()),{Paragraph:zN,Text:jZe}=wn,{Meta:zZe}=tp,{useToken:HZe}=Xa,GZe=({tonieboxCard:e,tonieboxImages:t})=>{var Ie,xe,ke,rt,Me;const{t:n}=$t(),{token:r}=HZe(),[a,i]=Qe.useMessage(),[o,s]=c.useState(!1),[l,u]=c.useState(""),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),[v,S]=c.useState(null),[_,E]=c.useState(),[y,C]=c.useState(!1),[T,x]=c.useState(!1),[R,w]=c.useState(!1),[I,O]=c.useState(e.boxModel),[k,P]=c.useState(e.boxModel),[M,N]=c.useState(e.boxName),[A,D]=c.useState(e.boxName),[L,$]=c.useState(null),[F,B]=c.useState(!1),[z,U]=c.useState(!0),[j,G]=c.useState(0);c.useEffect(()=>{(async()=>{const De=await ha.apiGetTonieboxApiAccess(e.ID);U(De)})()},[e.ID,y]),c.useEffect(()=>{(async()=>{const He=await ha.apiGetTonieboxStatus(e.ID);s(He)})(),(async()=>{const He=await ha.apiGetTonieboxVersion(e.ID),ze={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(He in ze){const Xe=ze[He];u(Xe)}else u("UNKNOWN")})(),(async()=>{const He=await ha.apiGetTonieboxLastRUID(e.ID);if(He!=="ffffffffffffffff"&&He!==""){const ze=await ha.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Be=await ha.apiGetTagIndex(e.ID);V(Be.filter(Je=>Je.ruid===He),ze)})()}})(),o||(async()=>{const ze=await ha.apiGetLastOnline(e.ID);p(ze)})(),(async()=>{const ze=await(await ha.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();m(ze)})(),X(e.boxModel),P(e.boxModel)},[e.ID,e.boxModel]),c.useEffect(()=>{if(f&&l==="CC3200")try{fetch(`http://${f}/api/ajax?cmd=box-battery&sub=stats`).then(Ce=>Ce.text()).then(Ce=>{console.log("Battery Stats fetched --> assume CFW active"),h(!0)}).catch(Ce=>{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)}},[f,l]);const J=yae(),Y=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(J.map(Ce=>({label:Ce.name,value:Ce.id}))),X=Ce=>{const De=t.find(Ue=>Ue.id===Ce);$(De?b.jsx("img",{src:De.img_src,alt:"",style:{...re(Ce),position:"absolute",top:"0",left:"0"}}):b.jsx("img",{src:"https://cdn.tonies.de/thumbnails/03-0009-i.png",alt:"",style:{filter:"opacity(0.20)",width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}}))},V=(Ce,De)=>{S(b.jsx(b.Fragment,{children:b.jsx(wt,{to:"/tonies?tonieRUID="+Ce[0].ruid+"&overlay="+e.ID,children:b.jsx(Jt,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+Ce[0].tonieInfo.series+(Ce[0].tonieInfo.episode?" - "+Ce[0].tonieInfo.episode:"")+(De?" ("+De+")":""),children:b.jsx("img",{src:Ce[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},H=()=>{(async()=>{var Ue,Ye;const De=await ha.apiGetIndexGet(e.ID);(Ue=De==null?void 0:De.options)!=null&&Ue.length&&((Ye=De==null?void 0:De.options)==null?void 0:Ye.length)>0&&E(De)})(),q()},q=()=>{x(!0)},K=async()=>{x(!1)},Z=()=>{x(!1)},te=()=>{C(!0)},se=async()=>{C(!1)},ue=()=>{C(!1)},me=()=>{G(Ce=>Ce+1),te()},de=()=>{P(k===void 0?I:k),w(!0)},Te=()=>{P(I),D(A),N(A),w(!1)},Ee=async()=>{X(k),O(k);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxModel",k,e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:De}))}},ge=async()=>{D(M);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxName",M.toString(),e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:De}))}},re=Ce=>{const De=t.find(Ue=>Ue.id===Ce);if(De&&De.crop){const[Ue,Ye,He]=De.crop;return{width:"100%",height:"auto",transform:`scale(${He}) translateX(${Ue}px) translateY(${Ye}px)`}}else return{width:"100%",height:"auto"}},ne=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ae=async()=>{w(!1),M!==A&&ge(),I!==k&&Ee()},le=b.jsx(b.Fragment,{children:b.jsxs(Rt,{type:"primary",onClick:ae,disabled:M===A&&I===k,children:[b.jsx(Fee,{},"saveClick")," ",n("tonies.editModal.save")]})}),pe=b.jsxs(Sn,{title:b.jsx(b.Fragment,{children:b.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),b.jsx("br",{}),b.jsx(jZe,{type:"secondary",children:(l!=="UNKNOWN"?l:"MAC")+": "+ne()})]})}),open:R,footer:le,onCancel:Te,children:[b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),b.jsx(zN,{children:b.jsx(en,{name:"boxName",value:M,onChange:Ce=>N(Ce.target.value),addonBefore:b.jsx(na,{onClick:()=>N(A),style:{color:M===A?r.colorTextDisabled:r.colorText,cursor:M===A?"default":"pointer"}})})}),b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),b.jsx(zN,{children:b.jsx($r,{options:Y,value:k,onChange:Ce=>P(Ce)})})]}),Re=b.jsxs(Sn,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:T,onOk:K,onCancel:Z,children:[b.jsxs(zN,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",b.jsx("i",{children:(xe=(Ie=_==null?void 0:_.options)==null?void 0:Ie.find(Ce=>Ce.iD==="core.certdir"))==null?void 0:xe.value})," ",b.jsx("small",{children:(rt=(ke=_==null?void 0:_.options)==null?void 0:ke.find(Ce=>Ce.iD==="core.certdir"))!=null&&rt.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),b.jsx(Wre,{overlay:e.ID})]}),Se=b.jsx(Sn,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:y,onOk:se,onCancel:ue,children:b.jsx(UZe,{overlay:e.ID},j)}),Pe=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),ha.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(Ce=>Ce.text()).then(Ce=>{a.destroy(),Ce==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}).catch(Ce=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})})}catch(Ce){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}},fe=()=>{B(!0)},ve=()=>{Pe(),B(!1)},Ae=()=>{B(!1)},ye=b.jsx(kd,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:A}),handleOk:ve,handleCancel:Ae}),be=async()=>{try{await ha.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},Ne=async()=>{try{ha.apiPostTeddyCloudSetting("toniebox.api_access",!z,e.ID).then(()=>{be(),U(!z),z?Qe.success(n("tonieboxes.messages.apiAccessDisabled")):Qe.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(Ce=>{throw new Error(Ce.status+" "+Ce.statusText)})}catch(Ce){Qe.error(n("tonieboxes.messages.apiAccessNotChangedError")+Ce)}};return b.jsxs(b.Fragment,{children:[i,b.jsx(tp,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:b.jsx("span",{children:A}),cover:b.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[v,b.jsx("img",{src:(Me=t.find(Ce=>Ce.id==="03-0009"))==null?void 0:Me.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),L]}),actions:[b.jsx(b.Fragment,{children:z?o?b.jsx(Jt,{title:n("tonieboxes.online"),children:b.jsx(xD,{style:{color:"green",cursor:"default"}})}):b.jsx(Jt,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:b.jsx(xD,{style:{color:r.colorTextDescription,cursor:"default"}})}):b.jsx(Jt,{title:n("tonieboxes.accessApiDisabled"),children:b.jsx(h1e,{style:{color:"red",cursor:"pointer"},onClick:Ne})})}),b.jsx(Sm,{onClick:()=>de()},"edit"),b.jsx(zk,{style:{marginRight:8},onClick:H},"certificate"),b.jsx(Hk,{style:{marginRight:8},onClick:me},"edit"),b.jsx(Rd,{style:{marginRight:8},onClick:fe},"delete")],children:b.jsx(zZe,{description:[(l!=="UNKNOWN"&&l!==void 0&&l!==null?l:"MAC")+" ",g?b.jsx(Jt,{title:n("tonieboxes.linkToBoxCFW"),children:b.jsxs(wt,{to:"http://"+f,target:"_blank",children:[ne()," ",b.jsx(f1e,{})]})}):ne()]})}),Se,Re,pe,ye]})},VZe=({tonieboxCards:e})=>{const[t,n]=c.useState(!0),r=yae();return r.length===0&&t?b.jsx("div",{children:"Loading..."}):b.jsx(vl,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>b.jsx(vl.Item,{id:a.ID,children:b.jsx(GZe,{tonieboxCard:a,tonieboxImages:r})})})},qZe=()=>b.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12.000000pt",height:"12.000000pt",viewBox:"0 0 900.000000 900.000000",preserveAspectRatio:"xMidYMid meet",children:b.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[b.jsx("path",{d:"M5895 8380 c-4 -6 -21 -16 -38 -24 -60 -25 -301 -236 -416 -363 -42 -46 -101 -103 -131 -127 -30 -24 -116 -104 -190 -177 -75 -74 -167 -163 -205 -199 -39 -36 -132 -124 -208 -195 -186 -175 -194 -179 -368 -195 -138 -13 -274 -10 -303 7 -45 25 -385 357 -446 434 -65 84 -279 313 -345 369 -17 14 -58 40 -91 58 -59 31 -67 32 -177 32 -87 0 -117 -3 -127 -14 -6 -8 -23 -16 -37 -18 -28 -3 -61 -47 -62 -83 -1 -12 -5 -25 -10 -30 -5 -6 -28 -64 -50 -130 -51 -151 -94 -274 -121 -345 -12 -30 -32 -86 -45 -125 -13 -38 -38 -108 -54 -154 -17 -46 -31 -85 -31 -87 0 -2 -181 -4 -402 -4 -362 0 -410 -2 -473 -19 -93 -25 -147 -55 -209 -117 -62 -62 -92 -116 -117 -209 -18 -68 -19 -160 -19 -2724 0 -2915 -4 -2713 58 -2836 31 -62 127 -155 189 -185 109 -52 -33 -49 2843 -49 2835 0 2752 -2 2840 44 111 57 194 152 230 266 20 61 20 110 20 2759 0 2673 0 2697 -20 2755 -50 147 -153 247 -300 294 -33 10 -131 15 -370 20 l-325 6 -2 50 c-9 210 -37 703 -49 855 -8 102 -14 239 -14 306 0 171 9 164 -233 164 -115 0 -188 -4 -192 -10z m-1 -652 c3 -13 6 -68 6 -123 0 -55 7 -174 15 -265 8 -91 15 -202 15 -247 l0 -83 -420 0 c-356 0 -420 2 -420 14 0 8 4 16 9 18 5 2 34 26 63 53 29 28 118 111 198 185 147 137 229 213 402 378 53 51 103 92 111 92 8 0 17 -10 21 -22z m-2697 -470 c65 -61 146 -138 181 -171 34 -32 62 -63 62 -68 0 -5 -107 -9 -255 -9 -169 0 -255 3 -255 10 0 10 30 104 49 152 18 47 40 104 56 151 9 26 23 47 31 47 7 0 66 -50 131 -112z m3746 -698 c16 0 17 -130 15 -2622 l-3 -2623 -2642 -3 -2643 -2 -2 2617 c-2 1850 0 2620 8 2627 7 8 777 10 2630 9 1440 -2 2627 -3 2637 -3z"}),b.jsx("path",{d:"M5735 6087 c-54 -22 -72 -36 -104 -83 -27 -41 -31 -57 -31 -111 0 -129 77 -205 206 -205 90 0 154 42 188 126 66 160 -100 335 -259 273z"}),b.jsx("path",{d:"M2842 5359 c-52 -16 -118 -90 -132 -148 -36 -150 102 -286 252 -250 61 14 129 75 148 134 29 86 -9 195 -83 242 -45 29 -131 39 -185 22z"}),b.jsx("path",{d:"M5035 5362 c-90 -32 -145 -106 -145 -197 0 -96 68 -183 161 -205 39 -10 57 -9 101 4 63 19 75 28 116 85 28 39 32 52 32 110 0 120 -72 199 -186 206 -32 2 -68 1 -79 -3z"}),b.jsx("path",{d:"M5730 5359 c-85 -36 -130 -105 -130 -202 0 -56 4 -70 32 -108 40 -56 52 -65 112 -85 43 -15 57 -15 100 -4 235 59 212 392 -28 406 -33 2 -72 -1 -86 -7z"}),b.jsx("path",{d:"M2818 4620 c-48 -26 -93 -82 -108 -135 -29 -103 38 -216 147 -250 54 -17 58 -17 112 0 36 12 69 33 93 57 92 94 68 260 -47 325 -52 29 -144 31 -197 3z"}),b.jsx("path",{d:"M3506 4609 c-150 -100 -116 -315 59 -375 54 -18 56 -18 109 0 89 30 156 116 156 199 0 73 -68 172 -137 198 -13 5 -50 9 -82 9 -48 0 -66 -5 -105 -31z"}),b.jsx("path",{d:"M4258 4610 c-152 -101 -119 -316 57 -376 54 -18 56 -18 109 0 89 31 156 116 156 200 0 73 -66 170 -133 195 -16 6 -54 11 -86 11 -47 0 -66 -5 -103 -30z"}),b.jsx("path",{d:"M4984 4607 c-149 -103 -115 -318 60 -373 55 -17 59 -17 111 0 52 18 92 51 128 106 22 33 23 140 1 183 -40 78 -103 117 -193 117 -50 0 -66 -5 -107 -33z"}),b.jsx("path",{d:"M5715 4623 c-79 -41 -115 -103 -115 -195 0 -42 6 -72 17 -88 36 -55 76 -88 129 -106 53 -18 55 -18 109 1 121 41 182 154 143 266 -15 46 -42 79 -90 112 -34 22 -52 27 -102 27 -36 -1 -74 -7 -91 -17z"}),b.jsx("path",{d:"M2841 3901 c-60 -24 -107 -74 -127 -134 -15 -44 -15 -57 -4 -101 41 -161 208 -217 339 -114 48 37 65 78 66 155 0 63 -3 76 -30 115 -34 49 -120 98 -169 97 -17 0 -51 -8 -75 -18z"}),b.jsx("path",{d:"M3532 3894 c-162 -80 -161 -292 0 -375 46 -24 127 -25 171 -3 73 37 127 119 127 193 -1 77 -59 158 -138 192 -59 26 -98 24 -160 -7z"}),b.jsx("path",{d:"M4279 3892 c-99 -51 -148 -176 -103 -265 86 -170 309 -169 385 2 35 80 19 159 -47 225 -36 35 -105 66 -149 66 -18 0 -57 -13 -86 -28z"}),b.jsx("path",{d:"M5015 3896 c-60 -28 -94 -63 -112 -114 -28 -81 -10 -163 48 -220 104 -102 265 -77 330 50 22 42 26 146 8 181 -34 65 -128 127 -193 127 -17 0 -53 -11 -81 -24z"}),b.jsx("path",{d:"M5727 3901 c-45 -21 -93 -65 -113 -103 -21 -40 -18 -141 5 -186 37 -72 102 -112 181 -112 151 0 251 153 191 292 -23 52 -52 80 -111 107 -54 25 -102 25 -153 2z"}),b.jsx("path",{d:"M2855 3201 c-70 -17 -128 -80 -146 -159 -25 -105 47 -216 156 -242 49 -12 62 -11 110 4 148 46 194 226 86 337 -60 62 -122 80 -206 60z"}),b.jsx("path",{d:"M3546 3196 c-181 -67 -179 -326 3 -391 69 -24 127 -15 194 29 44 29 87 112 87 166 -1 59 -43 136 -95 172 -50 34 -132 45 -189 24z"}),b.jsx("path",{d:"M4296 3196 c-145 -54 -180 -230 -69 -348 27 -29 99 -58 142 -58 71 1 142 46 182 114 38 67 38 123 1 191 -51 93 -161 136 -256 101z"}),b.jsx("path",{d:"M5038 3203 c-36 -6 -115 -77 -133 -120 -45 -107 14 -239 124 -278 52 -18 84 -19 131 -2 49 17 72 35 108 86 28 39 32 52 32 110 0 80 -26 132 -85 173 -41 28 -117 42 -177 31z"}),b.jsx("path",{d:"M5737 3200 c-44 -14 -95 -58 -117 -100 -31 -61 -28 -153 8 -207 36 -55 69 -80 126 -95 129 -34 261 76 253 212 -4 71 -21 104 -78 152 -38 32 -54 39 -105 43 -32 2 -72 0 -87 -5z"}),b.jsx("path",{d:"M3535 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),b.jsx("path",{d:"M4285 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),b.jsx("path",{d:"M5012 2463 c-69 -38 -104 -83 -123 -162 -10 -46 20 -134 61 -176 32 -33 107 -65 151 -65 61 0 156 64 188 127 6 12 11 49 11 83 0 94 -42 161 -122 195 -50 20 -126 19 -166 -2z"})]})}),Ta=()=>{const{t:e}=$t(),t=Vo(),[n,r]=c.useState([]),a=o=>{const s=[];o.includes("/tonieboxes/boxsetup")&&(s.push("boxsetup"),o.includes("/tonieboxes/boxsetup/esp32")?s.push("esp32"):o.includes("/tonieboxes/boxsetup/cc3200")?s.push("cc3200"):o.includes("/tonieboxes/boxsetup/cc3235")&&s.push("cc3235")),r(l=>Array.from(new Set([...l,...s])))};c.useEffect(()=>{a(t.pathname)},[t.pathname]);const i=[{key:"tonieboxes",label:b.jsx(wt,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:ce.createElement(qZe),title:e("tonieboxes.navigationTitle")},{key:"identifyboxversion",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:ce.createElement(Gb),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:ce.createElement($ee),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/esp32/flashing",children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.esp32BoxFlashing.navigationTitle")},{key:"cc3200boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["boxsetup"],selectedKeys:[],items:i})},M9=new xn(vn()),WZe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1);c.useEffect(()=>{(async()=>{const l=await M9.apiGetTonieboxesIndex();n(l)})(),(async()=>{try{const l=await M9.apiGetNewBoxesAllowed();a(l)}catch(l){Qe.error("Fetching new box allowed: "+l)}})()},[]);const i=r?b.jsx(Xn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.title")}),i,b.jsx(VZe,{tonieboxCards:t})]})]})]})},Ya=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=o=>{const s=[];o.includes("/contribution")&&s.push("contribution"),n(l=>Array.from(new Set([...l,...s])))};c.useEffect(()=>{r(location.pathname)},[location.pathname]);const a=o=>{const s=o.find(u=>!t.includes(u)),l=t.find(u=>!o.includes(u));s?n(u=>[...u,s]):l&&n(u=>u.filter(d=>d!==l))},i=[{key:"community",label:b.jsx(wt,{to:"/community",children:e("community.navigationTitle")}),icon:ce.createElement(u1e),title:e("community.navigationTitle")},{key:"faq",label:b.jsx(wt,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:ce.createElement(uee),title:e("community.faq.navigationTitle")},{key:"contribution",label:b.jsx(wt,{to:"/community/contribution",style:{color:"currentColor"},children:e("community.contribution.navigationTitle")}),icon:ce.createElement(cNe),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:b.jsx(wt,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:ce.createElement(gRe),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:b.jsx(wt,{to:"/community/contribution/translations",children:e("community.translations.navigationTitle")}),icon:ce.createElement(Pee),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:b.jsx(wt,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:ce.createElement(MNe),title:e("community.contributors.navigationTitle")},{key:"changelog",label:b.jsx(wt,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:ce.createElement(SOe),title:e("community.changelog.navigationTitle")},{key:"Forum",label:b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:ce.createElement(QOe),title:e("community.forum.navigationTitle")}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["sub"],openKeys:t,selectedKeys:[],onOpenChange:a,items:i})},{Paragraph:L9}=wn,YZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.title")}),b.jsxs(L9,{children:[b.jsx("h2",{children:"Get involved"}),"Be a part of our global contributor community by writing code, commenting on issues, or participate in discussons in our telegram group."]}),b.jsxs(L9,{children:["Your best points of contact are the following locations",b.jsxs("ul",{children:[b.jsxs("li",{children:[b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),b.jsx("ul",{children:b.jsx("li",{children:"The place where all sources are stored for this and related projects. Where you can fork the repositories, contribute new or improved features, create issues or just give some feedback on already existing issues."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),b.jsx("ul",{children:b.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),b.jsx("ul",{children:b.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"}),b.jsx("ul",{children:b.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:bu}=wn,KZe=()=>{const{t:e}=$t(),t=["Use welcome and inclusive language.","Be respectful of differing viewpoints and experiences.","Gracefully accept constructive criticism.","Foster what's best for the community.","Show empathy for other community members.","Decisions are made based on technical merit and consensus. The Teddycloud community aspires to treat everyone equally, and to value all contributions."],n=["Write code.","Improve documentation.","Answer questions on our telegram group.","Investigate bugs and issues on GitHub.","Review and comment on pull requests from other developers.","Report an issue.","Give a “thumbs up” 👍 on issues that are relevant to you."];return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contribution.title")}),b.jsxs(bu,{children:[b.jsx(bu,{children:"The Teddycloud can only grow through the contributions of this community. Thanks so much for your enthusiasm and your work - we appreciate everything you do!"}),b.jsxs(bu,{children:[b.jsx("h2",{children:"Community values"}),b.jsx(bu,{children:"In the interest of fostering an open and welcoming environment, contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone - regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation."}),b.jsx(bu,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),b.jsx("ul",{children:t.map((r,a)=>b.jsx("li",{children:r},a))})]}),b.jsxs(bu,{children:[b.jsx("h2",{children:"Make your first contribution"}),"There are many ways to contribute to Teddycloud! You can contribute code and make improvements to the Teddycloud documentation. Our most common contributions include code, documentation, and community support.",b.jsx("ul",{children:n.map((r,a)=>b.jsx("li",{children:r},a))})]})]})]})]})]})},XZe=new xn(vn()),{Paragraph:k9}=wn,{Panel:QZe}=xd,ZZe=()=>{const{t:e}=$t(),[t,n]=c.useState({});return c.useEffect(()=>{async function r(){try{const s=(await(await XZe.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),l={};s.forEach(u=>{l[u.language]||(l[u.language]=[]),l[u.language].push(u)}),n(l)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contribution.toniesJson.title")}),b.jsx(k9,{children:e("community.contribution.toniesJson.text")}),b.jsx(k9,{children:b.jsx(xd,{accordion:!0,children:Object.keys(t).map((r,a)=>b.jsx(QZe,{header:r,children:b.jsx(vl,{children:Array.isArray(t[r])&&t[r].map((i,o)=>b.jsx(vl.Item,{id:i.model,children:b.jsxs("div",{children:[b.jsx("img",{src:i.pic,alt:"",style:{width:"100px",height:"auto"}}),i.model," - ",i.series," -"," ",i.episodes]})},o))})},a))})})]})]})]})},{Paragraph:Hp}=wn,JZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contributors.title")}),b.jsxs(Hp,{children:["This project relies on the tireless contributors who offer their free time and skills. Directly related to TeddyCloud are the contributors of the two projects teddycloud and teddycloud_web:",b.jsxs(Hp,{children:[b.jsx("h3",{children:"teddycloud"}),b.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),b.jsxs(Hp,{children:[b.jsx("h3",{children:"teddycloud_web"}),b.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),b.jsxs(Hp,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",b.jsx(wt,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),b.jsx(Na,{}),b.jsxs(Hp,{children:[b.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),b.jsx(r2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:P9,Text:HN}=wn,eJe=()=>{const{t:e}=$t(),t=[{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Integrated frontend.confirm_audioplayer_close","gui: Added Open Toniebox guide page (first version) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((o,s)=>a.test(o)?b.jsx(wt,{to:o,target:"_blank",rel:"noopener noreferrer",children:o},s):o)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.changelog.title")}),b.jsx(P9,{children:b.jsx(vl,{dataSource:t,renderItem:r=>b.jsxs(b.Fragment,{children:[b.jsxs("h2",{children:["Version ",r.version]}),b.jsxs(P9,{children:[b.jsx("h3",{children:"Changes"}),b.jsx("ul",{children:r.changes.map((a,i)=>b.jsx("li",{children:n(a)},i))})]}),r.commits&&r.commits.length>0&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),b.jsx("ul",{children:r.commits.map((a,i)=>b.jsx("li",{children:b.jsx(wt,{to:a,target:"_blank",children:a})},i))})]}),r.discussionLink&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"Discussion:"}),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"GitHub Release:"}),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class wa extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const tJe=4,$9=0,F9=1,nJe=2;function mp(e){let t=e.length;for(;--t>=0;)e[t]=0}const rJe=0,Cae=1,aJe=2,iJe=3,oJe=258,f2=29,Ag=256,Mm=Ag+1+f2,od=30,m2=19,Tae=2*Mm+1,oc=15,GN=16,sJe=7,g2=256,xae=16,Rae=17,wae=18,pM=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Nv=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),lJe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Iae=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),cJe=512,os=new Array((Mm+2)*2);mp(os);const Lf=new Array(od*2);mp(Lf);const Lm=new Array(cJe);mp(Lm);const km=new Array(oJe-iJe+1);mp(km);const h2=new Array(f2);mp(h2);const G_=new Array(od);mp(G_);function VN(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let Oae,Nae,Aae;function qN(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const Dae=e=>e<256?Lm[e]:Lm[256+(e>>>7)],Pm=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ha=(e,t,n)=>{e.bi_valid>GN-n?(e.bi_buf|=t<>GN-e.bi_valid,e.bi_valid+=n-GN):(e.bi_buf|=t<{Ha(e,n[t*2],n[t*2+1])},Mae=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},uJe=e=>{e.bi_valid===16?(Pm(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},dJe=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length;let u,d,p,f,m,g,h=0;for(f=0;f<=oc;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(f=l,h++),n[d*2+1]=f,!(d>r)&&(e.bl_count[f]++,m=0,d>=s&&(m=o[d-s]),g=n[d*2],e.opt_len+=g*(f+m),i&&(e.static_len+=g*(a[d*2+1]+m)));if(h!==0){do{for(f=l-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[l]--,h-=2}while(h>0);for(f=l;f!==0;f--)for(d=e.bl_count[f];d!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),d--)}},Lae=(e,t,n)=>{const r=new Array(oc+1);let a=0,i,o;for(i=1;i<=oc;i++)a=a+n[i-1]<<1,r[i]=a;for(o=0;o<=t;o++){let s=e[o*2+1];s!==0&&(e[o*2]=Mae(r[s]++,s))}},pJe=()=>{let e,t,n,r,a;const i=new Array(oc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?Pm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},B9=(e,t,n,r)=>{const a=t*2,i=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,i=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+i++]&255,r+=(e.pending_buf[e.sym_buf+i++]&255)<<8,a=e.pending_buf[e.sym_buf+i++],r===0?Ao(e,a,t):(o=km[a],Ao(e,o+Ag+1,t),s=pM[o],s!==0&&(a-=h2[o],Ha(e,a,s)),r--,o=Dae(r),Ao(e,o,n),s=Nv[o],s!==0&&(r-=G_[o],Ha(e,r,s)));while(i{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,i=t.stat_desc.elems;let o,s,l=-1,u;for(e.heap_len=0,e.heap_max=Tae,o=0;o>1;o>=1;o--)WN(e,n,o);u=i;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],WN(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[u*2]=n[o*2]+n[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=u,e.heap[1]=u++,WN(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],dJe(e,t),Lae(n,l,e.bl_count)},j9=(e,t,n)=>{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],!(++s{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s{let t;for(j9(e,e.dyn_ltree,e.l_desc.max_code),j9(e,e.dyn_dtree,e.d_desc.max_code),fM(e,e.bl_desc),t=m2-1;t>=3&&e.bl_tree[Iae[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},mJe=(e,t,n,r)=>{let a;for(Ha(e,t-257,5),Ha(e,n-1,5),Ha(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return $9;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return F9;for(n=32;n{H9||(pJe(),H9=!0),e.l_desc=new qN(e.dyn_ltree,Oae),e.d_desc=new qN(e.dyn_dtree,Nae),e.bl_desc=new qN(e.bl_tree,Aae),e.bi_buf=0,e.bi_valid=0,kae(e)},$ae=(e,t,n,r)=>{Ha(e,(rJe<<1)+(r?1:0),3),Pae(e),Pm(e,n),Pm(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},vJe=e=>{Ha(e,Cae<<1,3),Ao(e,g2,os),uJe(e)},_Je=(e,t,n,r)=>{let a,i,o=0;e.level>0?(e.strm.data_type===nJe&&(e.strm.data_type=gJe(e)),fM(e,e.l_desc),fM(e,e.d_desc),o=fJe(e),a=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=a&&(a=i)):a=i=n+5,n+4<=a&&t!==-1?$ae(e,t,n,r):e.strategy===tJe||i===a?(Ha(e,(Cae<<1)+(r?1:0),3),U9(e,os,Lf)):(Ha(e,(aJe<<1)+(r?1:0),3),mJe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),U9(e,e.dyn_ltree,e.dyn_dtree)),kae(e),r&&Pae(e)},bJe=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(km[n]+Ag+1)*2]++,e.dyn_dtree[Dae(t)*2]++),e.sym_next===e.sym_end);var SJe=hJe,EJe=$ae,yJe=_Je,CJe=bJe,TJe=vJe,xJe={_tr_init:SJe,_tr_stored_block:EJe,_tr_flush_block:yJe,_tr_tally:CJe,_tr_align:TJe};const RJe=(e,t,n,r)=>{let a=e&65535|0,i=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do a=a+t[r++]|0,i=i+a|0;while(--o);a%=65521,i%=65521}return a|i<<16|0};var $m=RJe;const wJe=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},IJe=new Uint32Array(wJe()),OJe=(e,t,n,r)=>{const a=IJe,i=r+n;e^=-1;for(let o=r;o>>8^a[(e^t[o])&255];return e^-1};var Wr=OJe,Lc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},gp={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:NJe,_tr_stored_block:mM,_tr_flush_block:AJe,_tr_tally:pl,_tr_align:DJe}=xJe,{Z_NO_FLUSH:fl,Z_PARTIAL_FLUSH:MJe,Z_FULL_FLUSH:LJe,Z_FINISH:Li,Z_BLOCK:G9,Z_OK:ca,Z_STREAM_END:V9,Z_STREAM_ERROR:$o,Z_DATA_ERROR:kJe,Z_BUF_ERROR:YN,Z_DEFAULT_COMPRESSION:PJe,Z_FILTERED:$Je,Z_HUFFMAN_ONLY:Vh,Z_RLE:FJe,Z_FIXED:BJe,Z_DEFAULT_STRATEGY:UJe,Z_UNKNOWN:jJe,Z_DEFLATED:nE}=gp,zJe=9,HJe=15,GJe=8,VJe=29,qJe=256,gM=qJe+1+VJe,WJe=30,YJe=19,KJe=2*gM+1,XJe=15,_n=3,el=258,Fo=el+_n+1,QJe=32,$d=42,v2=57,hM=69,vM=73,_M=91,bM=103,sc=113,af=666,Aa=1,hp=2,kc=3,vp=4,ZJe=3,lc=(e,t)=>(e.msg=Lc[t],t),q9=e=>e*2-(e>4?9:0),Vs=e=>{let t=e.length;for(;--t>=0;)e[t]=0},JJe=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let eet=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},pi=(e,t)=>{AJe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ii(e.strm)},On=(e,t)=>{e.pending_buf[e.pending++]=t},Gp=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},SM=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=$m(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Wr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},Fae=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,i,o=e.prev_length,s=e.nice_match;const l=e.strstart>e.w_size-Fo?e.strstart-(e.w_size-Fo):0,u=e.window,d=e.w_mask,p=e.prev,f=e.strstart+el;let m=u[r+o-1],g=u[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==g||u[a+o-1]!==m||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ro){if(e.match_start=t,o=i,i>=s)break;m=u[r+o-1],g=u[r+o]}}while((t=p[t&d])>l&&--n!==0);return o<=e.lookahead?o:e.lookahead},Fd=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Fo)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),JJe(e),r+=t),e.strm.avail_in===0)break;if(n=SM(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=_n)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=ml(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=ml(e,e.ins_h,e.window[a+_n-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<_n)););}while(e.lookahead{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,i,o=0,s=e.strm.avail_in;do{if(r=65535,i=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>i&&(r=i),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ii(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(SM(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_wateri&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(SM(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,n=i>e.w_size?e.w_size:i,a=e.strstart-e.block_start,(a>=n||(a||t===Li)&&t!==fl&&e.strm.avail_in===0&&a<=i)&&(r=a>i?i:a,o=t===Li&&e.strm.avail_in===0&&r===a?1:0,mM(e,e.block_start,r,o),e.block_start+=r,ii(e.strm)),o?kc:Aa)},KN=(e,t)=>{let n,r;for(;;){if(e.lookahead=_n&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-Fo&&(e.match_length=Fae(e,n)),e.match_length>=_n)if(r=pl(e,e.strstart-e.match_start,e.match_length-_n),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=_n){e.match_length--;do e.strstart++,e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ml(e,e.ins_h,e.window[e.strstart+1]);else r=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=e.strstart<_n-1?e.strstart:_n-1,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},Su=(e,t)=>{let n,r,a;for(;;){if(e.lookahead=_n&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=_n-1,n!==0&&e.prev_length4096)&&(e.match_length=_n-1)),e.prev_length>=_n&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-_n,r=pl(e,e.strstart-1-e.prev_match,e.prev_length-_n),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=_n-1,e.strstart++,r&&(pi(e,!1),e.strm.avail_out===0))return Aa}else if(e.match_available){if(r=pl(e,0,e.window[e.strstart-1]),r&&pi(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Aa}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=pl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<_n-1?e.strstart:_n-1,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},tet=(e,t)=>{let n,r,a,i;const o=e.window;for(;;){if(e.lookahead<=el){if(Fd(e),e.lookahead<=el&&t===fl)return Aa;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=_n&&e.strstart>0&&(a=e.strstart-1,r=o[a],r===o[++a]&&r===o[++a]&&r===o[++a])){i=e.strstart+el;do;while(r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=_n?(n=pl(e,1,e.match_length-_n),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},net=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(Fd(e),e.lookahead===0)){if(t===fl)return Aa;break}if(e.match_length=0,n=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp};function Co(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const of=[new Co(0,0,0,0,Bae),new Co(4,4,8,4,KN),new Co(4,5,16,8,KN),new Co(4,6,32,32,KN),new Co(4,4,16,16,Su),new Co(8,16,32,32,Su),new Co(8,16,128,128,Su),new Co(8,32,128,256,Su),new Co(32,128,258,1024,Su),new Co(32,258,258,4096,Su)],ret=e=>{e.window_size=2*e.w_size,Vs(e.head),e.max_lazy_match=of[e.level].max_lazy,e.good_match=of[e.level].good_length,e.nice_match=of[e.level].nice_length,e.max_chain_length=of[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=_n-1,e.match_available=0,e.ins_h=0};function aet(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=nE,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(KJe*2),this.dyn_dtree=new Uint16Array((2*WJe+1)*2),this.bl_tree=new Uint16Array((2*YJe+1)*2),Vs(this.dyn_ltree),Vs(this.dyn_dtree),Vs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(XJe+1),this.heap=new Uint16Array(2*gM+1),Vs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*gM+1),Vs(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Dg=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==$d&&t.status!==v2&&t.status!==hM&&t.status!==vM&&t.status!==_M&&t.status!==bM&&t.status!==sc&&t.status!==af?1:0},Uae=e=>{if(Dg(e))return lc(e,$o);e.total_in=e.total_out=0,e.data_type=jJe;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?v2:t.wrap?$d:sc,e.adler=t.wrap===2?0:1,t.last_flush=-2,NJe(t),ca},jae=e=>{const t=Uae(e);return t===ca&&ret(e.state),t},iet=(e,t)=>Dg(e)||e.state.wrap!==2?$o:(e.state.gzhead=t,ca),zae=(e,t,n,r,a,i)=>{if(!e)return $o;let o=1;if(t===PJe&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),a<1||a>zJe||n!==nE||r<8||r>15||t<0||t>9||i<0||i>BJe||r===8&&o!==1)return lc(e,$o);r===8&&(r=9);const s=new aet;return e.state=s,s.strm=e,s.status=$d,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<zae(e,t,nE,HJe,GJe,UJe),set=(e,t)=>{if(Dg(e)||t>G9||t<0)return e?lc(e,$o):$o;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===af&&t!==Li)return lc(e,e.avail_out===0?YN:$o);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(ii(e),e.avail_out===0)return n.last_flush=-1,ca}else if(e.avail_in===0&&q9(t)<=q9(r)&&t!==Li)return lc(e,YN);if(n.status===af&&e.avail_in!==0)return lc(e,YN);if(n.status===$d&&n.wrap===0&&(n.status=sc),n.status===$d){let a=nE+(n.w_bits-8<<4)<<8,i=-1;if(n.strategy>=Vh||n.level<2?i=0:n.level<6?i=1:n.level===6?i=2:i=3,a|=i<<6,n.strstart!==0&&(a|=QJe),a+=31-a%31,Gp(n,a),n.strstart!==0&&(Gp(n,e.adler>>>16),Gp(n,e.adler&65535)),e.adler=1,n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===v2){if(e.adler=0,On(n,31),On(n,139),On(n,8),n.gzhead)On(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),On(n,n.gzhead.time&255),On(n,n.gzhead.time>>8&255),On(n,n.gzhead.time>>16&255),On(n,n.gzhead.time>>24&255),On(n,n.level===9?2:n.strategy>=Vh||n.level<2?4:0),On(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(On(n,n.gzhead.extra.length&255),On(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Wr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=hM;else if(On(n,0),On(n,0),On(n,0),On(n,0),On(n,0),On(n,n.level===9?2:n.strategy>=Vh||n.level<2?4:0),On(n,ZJe),n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===hM){if(n.gzhead.extra){let a=n.pending,i=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+i>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0,i-=s}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=vM}if(n.status===vM){if(n.gzhead.name){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=_M}if(n.status===_M){if(n.gzhead.comment){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a))}n.status=bM}if(n.status===bM){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ii(e),n.pending!==0))return n.last_flush=-1,ca;On(n,e.adler&255),On(n,e.adler>>8&255),e.adler=0}if(n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(e.avail_in!==0||n.lookahead!==0||t!==fl&&n.status!==af){let a=n.level===0?Bae(n,t):n.strategy===Vh?net(n,t):n.strategy===FJe?tet(n,t):of[n.level].func(n,t);if((a===kc||a===vp)&&(n.status=af),a===Aa||a===kc)return e.avail_out===0&&(n.last_flush=-1),ca;if(a===hp&&(t===MJe?DJe(n):t!==G9&&(mM(n,0,0,!1),t===LJe&&(Vs(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),ii(e),e.avail_out===0))return n.last_flush=-1,ca}return t!==Li?ca:n.wrap<=0?V9:(n.wrap===2?(On(n,e.adler&255),On(n,e.adler>>8&255),On(n,e.adler>>16&255),On(n,e.adler>>24&255),On(n,e.total_in&255),On(n,e.total_in>>8&255),On(n,e.total_in>>16&255),On(n,e.total_in>>24&255)):(Gp(n,e.adler>>>16),Gp(n,e.adler&65535)),ii(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?ca:V9)},cet=e=>{if(Dg(e))return $o;const t=e.state.status;return e.state=null,t===sc?lc(e,kJe):ca},uet=(e,t)=>{let n=t.length;if(Dg(e))return $o;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==$d||r.lookahead)return $o;if(a===1&&(e.adler=$m(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(Vs(r.head),r.strstart=0,r.block_start=0,r.insert=0);let l=new Uint8Array(r.w_size);l.set(t.subarray(n-r.w_size,n),0),t=l,n=r.w_size}const i=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,Fd(r);r.lookahead>=_n;){let l=r.strstart,u=r.lookahead-(_n-1);do r.ins_h=ml(r,r.ins_h,r.window[l+_n-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++;while(--u);r.strstart=l,r.lookahead=_n-1,Fd(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=_n-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=i,r.wrap=a,ca};var det=oet,pet=zae,fet=jae,met=Uae,get=iet,het=set,vet=cet,_et=uet,bet="pako deflate (from Nodeca project)",kf={deflateInit:det,deflateInit2:pet,deflateReset:fet,deflateResetKeep:met,deflateSetHeader:get,deflate:het,deflateEnd:vet,deflateSetDictionary:_et,deflateInfo:bet};const Eet=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var yet=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)Eet(n,r)&&(e[r]=n[r])}}return e},Cet=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Fm[254]=Fm[254]=1;var Tet=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,i,o=e.length,s=0;for(a=0;a>>6,t[i++]=128|n&63):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|n&63):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|n&63);return t};const xet=(e,t)=>{if(t<65534&&e.subarray&&Hae)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const i=new Array(n*2);for(a=0,r=0;r4){i[a++]=65533,r+=s-1;continue}for(o&=s===2?31:s===3?15:7;s>1&&r1){i[a++]=65533;continue}o<65536?i[a++]=o:(o-=65536,i[a++]=55296|o>>10&1023,i[a++]=56320|o&1023)}return xet(i,a)},wet=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Fm[e[n]]>t?n:t},Bm={string2buf:Tet,buf2string:Ret,utf8border:wet};function Iet(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Gae=Iet;const Vae=Object.prototype.toString,{Z_NO_FLUSH:Oet,Z_SYNC_FLUSH:Net,Z_FULL_FLUSH:Aet,Z_FINISH:Det,Z_OK:V_,Z_STREAM_END:Met,Z_DEFAULT_COMPRESSION:Let,Z_DEFAULT_STRATEGY:ket,Z_DEFLATED:Pet}=gp;function Mg(e){this.options=rE.assign({level:Let,method:Pet,chunkSize:16384,windowBits:15,memLevel:8,strategy:ket},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gae,this.strm.avail_out=0;let n=kf.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==V_)throw new Error(Lc[n]);if(t.header&&kf.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Bm.string2buf(t.dictionary):Vae.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=kf.deflateSetDictionary(this.strm,r),n!==V_)throw new Error(Lc[n]);this._dict_set=!0}}Mg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,i;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?Det:Oet,typeof e=="string"?n.input=Bm.string2buf(e):Vae.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(i===Net||i===Aet)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=kf.deflate(n,i),a===Met)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=kf.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===V_;if(n.avail_out===0){this.onData(n.output);continue}if(i>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};Mg.prototype.onData=function(e){this.chunks.push(e)};Mg.prototype.onEnd=function(e){e===V_&&(this.result=rE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function _2(e,t){const n=new Mg(t);if(n.push(e,!0),n.err)throw n.msg||Lc[n.err];return n.result}function $et(e,t){return t=t||{},t.raw=!0,_2(e,t)}function Fet(e,t){return t=t||{},t.gzip=!0,_2(e,t)}var Bet=Mg,Uet=_2,jet=$et,zet=Fet,Het=gp,Get={Deflate:Bet,deflate:Uet,deflateRaw:jet,gzip:zet,constants:Het};const qh=16209,Vet=16191;var qet=function(t,n){let r,a,i,o,s,l,u,d,p,f,m,g,h,v,S,_,E,y,C,T,x,R,w,I;const O=t.state;r=t.next_in,w=t.input,a=r+(t.avail_in-5),i=t.next_out,I=t.output,o=i-(n-t.avail_out),s=i+(t.avail_out-257),l=O.dmax,u=O.wsize,d=O.whave,p=O.wnext,f=O.window,m=O.hold,g=O.bits,h=O.lencode,v=O.distcode,S=(1<>>24,m>>>=y,g-=y,y=E>>>16&255,y===0)I[i++]=E&65535;else if(y&16){C=E&65535,y&=15,y&&(g>>=y,g-=y),g<15&&(m+=w[r++]<>>24,m>>>=y,g-=y,y=E>>>16&255,y&16){if(T=E&65535,y&=15,gl){t.msg="invalid distance too far back",O.mode=qh;break e}if(m>>>=y,g-=y,y=i-o,T>y){if(y=T-y,y>d&&O.sane){t.msg="invalid distance too far back",O.mode=qh;break e}if(x=0,R=f,p===0){if(x+=u-y,y2;)I[i++]=R[x++],I[i++]=R[x++],I[i++]=R[x++],C-=3;C&&(I[i++]=R[x++],C>1&&(I[i++]=R[x++]))}else{x=i-T;do I[i++]=I[x++],I[i++]=I[x++],I[i++]=I[x++],C-=3;while(C>2);C&&(I[i++]=I[x++],C>1&&(I[i++]=I[x++]))}}else if(y&64){t.msg="invalid distance code",O.mode=qh;break e}else{E=v[(E&65535)+(m&(1<>3,r-=C,g-=C<<3,m&=(1<{const l=s.bits;let u=0,d=0,p=0,f=0,m=0,g=0,h=0,v=0,S=0,_=0,E,y,C,T,x,R=null,w;const I=new Uint16Array(Eu+1),O=new Uint16Array(Eu+1);let k=null,P,M,N;for(u=0;u<=Eu;u++)I[u]=0;for(d=0;d=1&&I[f]===0;f--);if(m>f&&(m=f),f===0)return a[i++]=1<<24|64<<16|0,a[i++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p0&&(e===K9||f!==1))return-1;for(O[1]=0,u=1;uW9||e===X9&&S>Y9)return 1;for(;;){P=u-h,o[d]+1=w?(M=k[o[d]-w],N=R[o[d]-w]):(M=96,N=0),E=1<>h)+y]=P<<24|M<<16|N|0;while(y!==0);for(E=1<>=1;if(E!==0?(_&=E-1,_+=E):_=0,d++,--I[u]===0){if(u===f)break;u=t[n+o[d]]}if(u>m&&(_&T)!==C){for(h===0&&(h=m),x+=p,g=u-h,v=1<W9||e===X9&&S>Y9)return 1;C=_&T,a[C]=m<<24|g<<16|x-i|0}}return _!==0&&(a[x+_]=u-h<<24|64<<16|0),s.bits=m,0};var Pf=Qet;const Zet=0,qae=1,Wae=2,{Z_FINISH:Q9,Z_BLOCK:Jet,Z_TREES:Wh,Z_OK:Pc,Z_STREAM_END:ett,Z_NEED_DICT:ttt,Z_STREAM_ERROR:Vi,Z_DATA_ERROR:Yae,Z_MEM_ERROR:Kae,Z_BUF_ERROR:ntt,Z_DEFLATED:Z9}=gp,aE=16180,J9=16181,eq=16182,tq=16183,nq=16184,rq=16185,aq=16186,iq=16187,oq=16188,sq=16189,q_=16190,Jo=16191,QN=16192,lq=16193,ZN=16194,cq=16195,uq=16196,dq=16197,pq=16198,Yh=16199,Kh=16200,fq=16201,mq=16202,gq=16203,hq=16204,vq=16205,JN=16206,_q=16207,bq=16208,ur=16209,Xae=16210,Qae=16211,rtt=852,att=592,itt=15,ott=itt,Sq=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function stt(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Jc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeQae?1:0},Zae=e=>{if(Jc(e))return Vi;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=aE,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(rtt),t.distcode=t.distdyn=new Int32Array(att),t.sane=1,t.back=-1,Pc},Jae=e=>{if(Jc(e))return Vi;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Zae(e)},eie=(e,t)=>{let n;if(Jc(e))return Vi;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Vi:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Jae(e))},tie=(e,t)=>{if(!e)return Vi;const n=new stt;e.state=n,n.strm=e,n.window=null,n.mode=aE;const r=eie(e,t);return r!==Pc&&(e.state=null),r},ltt=e=>tie(e,ott);let Eq=!0,e1,t1;const ctt=e=>{if(Eq){e1=new Int32Array(512),t1=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Pf(qae,e.lens,0,288,e1,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Pf(Wae,e.lens,0,32,t1,0,e.work,{bits:5}),Eq=!1}e.lencode=e1,e.lenbits=9,e.distcode=t1,e.distbits=5},nie=(e,t,n,r)=>{let a;const i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(a=i.wsize-i.wnext,a>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),r-=a,r?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave{let n,r,a,i,o,s,l,u,d,p,f,m,g,h,v=0,S,_,E,y,C,T,x,R;const w=new Uint8Array(4);let I,O;const k=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Jc(e)||!e.output||!e.input&&e.avail_in!==0)return Vi;n=e.state,n.mode===Jo&&(n.mode=QN),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,p=s,f=l,R=Pc;e:for(;;)switch(n.mode){case aE:if(n.wrap===0){n.mode=QN;break}for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0),u=0,d=0,n.mode=J9;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=ur;break}if((u&15)!==Z9){e.msg="unknown compression method",n.mode=ur;break}if(u>>>=4,d-=4,x=(u&15)+8,n.wbits===0&&(n.wbits=x),x>15||x>n.wbits){e.msg="invalid window size",n.mode=ur;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=eq;case eq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>8&255,w[2]=u>>>16&255,w[3]=u>>>24&255,n.check=Wr(n.check,w,4,0)),u=0,d=0,n.mode=tq;case tq:for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>8),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=nq;case nq:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=rq;case rq:if(n.flags&1024&&(m=n.length,m>s&&(m=s),m&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+m),x)),n.flags&512&&n.wrap&4&&(n.check=Wr(n.check,r,m,i)),s-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=aq;case aq:if(n.flags&2048){if(s===0)break e;m=0;do x=r[i+m++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x));while(x&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Jo;break;case sq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>=d&7,d-=d&7,n.mode=JN;break}for(;d<3;){if(s===0)break e;s--,u+=r[i++]<>>=1,d-=1,u&3){case 0:n.mode=lq;break;case 1:if(ctt(n),n.mode=Yh,t===Wh){u>>>=2,d-=2;break e}break;case 2:n.mode=uq;break;case 3:e.msg="invalid block type",n.mode=ur}u>>>=2,d-=2;break;case lq:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=ur;break}if(n.length=u&65535,u=0,d=0,n.mode=ZN,t===Wh)break e;case ZN:n.mode=cq;case cq:if(m=n.length,m){if(m>s&&(m=s),m>l&&(m=l),m===0)break e;a.set(r.subarray(i,i+m),o),s-=m,i+=m,l-=m,o+=m,n.length-=m;break}n.mode=Jo;break;case uq:for(;d<14;){if(s===0)break e;s--,u+=r[i++]<>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=ur;break}n.have=0,n.mode=dq;case dq:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[k[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},R=Pf(Zet,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid code lengths set",n.mode=ur;break}n.have=0,n.mode=pq;case pq:for(;n.have>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,n.lens[n.have++]=E;else{if(E===16){for(O=S+2;d>>=S,d-=S,n.have===0){e.msg="invalid bit length repeat",n.mode=ur;break}x=n.lens[n.have-1],m=3+(u&3),u>>>=2,d-=2}else if(E===17){for(O=S+3;d>>=S,d-=S,x=0,m=3+(u&7),u>>>=3,d-=3}else{for(O=S+7;d>>=S,d-=S,x=0,m=11+(u&127),u>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=ur;break}for(;m--;)n.lens[n.have++]=x}}if(n.mode===ur)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=ur;break}if(n.lenbits=9,I={bits:n.lenbits},R=Pf(qae,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid literal/lengths set",n.mode=ur;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},R=Pf(Wae,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,R){e.msg="invalid distances set",n.mode=ur;break}if(n.mode=Yh,t===Wh)break e;case Yh:n.mode=Kh;case Kh:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=u,n.bits=d,qet(e,f),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===Jo&&(n.back=-1);break}for(n.back=0;v=n.lencode[u&(1<>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,_=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,n.length=E,_===0){n.mode=vq;break}if(_&32){n.back=-1,n.mode=Jo;break}if(_&64){e.msg="invalid literal/length code",n.mode=ur;break}n.extra=_&15,n.mode=fq;case fq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=mq;case mq:for(;v=n.distcode[u&(1<>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,_=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,_&64){e.msg="invalid distance code",n.mode=ur;break}n.offset=E,n.extra=_&15,n.mode=gq;case gq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=ur;break}n.mode=hq;case hq:if(l===0)break e;if(m=f-l,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=ur;break}m>n.wnext?(m-=n.wnext,g=n.wsize-m):g=n.wnext-m,m>n.length&&(m=n.length),h=n.window}else h=a,g=o-n.offset,m=n.length;m>l&&(m=l),l-=m,n.length-=m;do a[o++]=h[g++];while(--m);n.length===0&&(n.mode=Kh);break;case vq:if(l===0)break e;a[o++]=n.length,l--,n.mode=Kh;break;case JN:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[i++]<{if(Jc(e))return Vi;let t=e.state;return t.window&&(t.window=null),e.state=null,Pc},ptt=(e,t)=>{if(Jc(e))return Vi;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,Pc):Vi},ftt=(e,t)=>{const n=t.length;let r,a,i;return Jc(e)||(r=e.state,r.wrap!==0&&r.mode!==q_)?Vi:r.mode===q_&&(a=1,a=$m(a,t,n,0),a!==r.check)?Yae:(i=nie(e,t,n,n),i?(r.mode=Xae,Kae):(r.havedict=1,Pc))};var mtt=Jae,gtt=eie,htt=Zae,vtt=ltt,_tt=tie,btt=utt,Stt=dtt,Ett=ptt,ytt=ftt,Ctt="pako inflate (from Nodeca project)",ss={inflateReset:mtt,inflateReset2:gtt,inflateResetKeep:htt,inflateInit:vtt,inflateInit2:_tt,inflate:btt,inflateEnd:Stt,inflateGetHeader:Ett,inflateSetDictionary:ytt,inflateInfo:Ctt};function Ttt(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var xtt=Ttt;const rie=Object.prototype.toString,{Z_NO_FLUSH:Rtt,Z_FINISH:wtt,Z_OK:Um,Z_STREAM_END:n1,Z_NEED_DICT:r1,Z_STREAM_ERROR:Itt,Z_DATA_ERROR:yq,Z_MEM_ERROR:Ott}=gp;function Lg(e){this.options=rE.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gae,this.strm.avail_out=0;let n=ss.inflateInit2(this.strm,t.windowBits);if(n!==Um)throw new Error(Lc[n]);if(this.header=new xtt,ss.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Bm.string2buf(t.dictionary):rie.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ss.inflateSetDictionary(this.strm,t.dictionary),n!==Um)))throw new Error(Lc[n])}Lg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let i,o,s;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?wtt:Rtt,rie.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=ss.inflate(n,o),i===r1&&a&&(i=ss.inflateSetDictionary(n,a),i===Um?i=ss.inflate(n,o):i===yq&&(i=r1));n.avail_in>0&&i===n1&&n.state.wrap>0&&e[n.next_in]!==0;)ss.inflateReset(n),i=ss.inflate(n,o);switch(i){case Itt:case yq:case r1:case Ott:return this.onEnd(i),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||i===n1))if(this.options.to==="string"){let l=Bm.utf8border(n.output,n.next_out),u=n.next_out-l,d=Bm.buf2string(n.output,l);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(l,l+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(i===Um&&s===0)){if(i===n1)return i=ss.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Lg.prototype.onData=function(e){this.chunks.push(e)};Lg.prototype.onEnd=function(e){e===Um&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=rE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function b2(e,t){const n=new Lg(t);if(n.push(e),n.err)throw n.msg||Lc[n.err];return n.result}function Ntt(e,t){return t=t||{},t.raw=!0,b2(e,t)}var Att=Lg,Dtt=b2,Mtt=Ntt,Ltt=b2,ktt=gp,Ptt={Inflate:Att,inflate:Dtt,inflateRaw:Mtt,ungzip:Ltt,constants:ktt};const{Deflate:Rnt,deflate:$tt,deflateRaw:wnt,gzip:Int}=Get,{Inflate:Ftt,inflate:Ont,inflateRaw:Nnt,ungzip:Ant}=Ptt;var Btt=$tt,Utt=Ftt;class Av{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` + `),n.append(a.name,new Blob([b.buffer]),`pcmData.${r.indexOf(a)}.pcm`),e(void 0)}catch(l){t(l)}},o.onerror=()=>{t("Failed to read the file")},a.file&&o.readAsArrayBuffer(a.file)}const XZe=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),Vh=new xn(vn()),{useToken:QZe}=ka,Su={id:"1",pId:"-1",value:"1",title:"/"},qh=99,ZZe=()=>{const{t:e}=$t(),{token:t}=QZe(),[n,r]=Qe.useMessage(),[a,i]=c.useState(!1),[o,s]=c.useState([]),[l,u]=c.useState(!1),[d,p]=c.useState(!1),[f,m]=c.useState(""),[g,h]=c.useState(Su.id),[v,S]=c.useState([Su]),[b,E]=c.useState(!1),[y,C]=c.useState(""),[T,x]=c.useState(!1),[R,w]=c.useState(!1),I=c.useRef(null);let O=0;c.useEffect(()=>{(async()=>{const H=new xn(vn());let q=!1;try{const K=await H.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!K.ok)throw new Error(`HTTP error! status: ${K.status}`);q=(await K.json()).toString()==="true"}catch(K){console.error("Error fetching debug.web.pcm_encode_console_url: ",K)}i(q)})(),(async()=>{const H=$(Su.id);Vh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${H}&special=library`).then(q=>q.json()).then(q=>{var K=q.files;K=K.filter(Z=>Z.isDir&&Z.name!=="..").sort((Z,te)=>Z.name===te.name?0:Z.name.toLowerCase()>te.name.toLowerCase()?1:-1).map(Z=>({id:Su.id+"."+K.indexOf(Z),pId:Su.id,value:Su.id+"."+K.indexOf(Z),title:Z.name})),S(v.concat(K))})})()},[]),c.useEffect(()=>{b&&setTimeout(()=>{I.current&&I.current.focus()},0)},[b]),c.useEffect(()=>{O=o.length},[o]);const k=nae(tE,{activationConstraint:{distance:10}}),P=({active:Q,over:V})=>{Q.id!==(V==null?void 0:V.id)&&s(H=>{const q=H.findIndex(Z=>Z.uid===Q.id),K=H.findIndex(Z=>Z.uid===(V==null?void 0:V.id));return aE(H,q,K)})},M=({fileList:Q})=>{O++,O>qh&&n.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:qh})});const V=Q.slice(0,qh);if(V.length===1&&f===""){const q=V[0].name.replace(/\.[^/.]+$/,"");m(q)}s(V)},N=Q=>{const V=o.indexOf(Q),H=o.slice();H.splice(V,1),s(H)},A=async()=>{u(!0);const Q=new FormData;for(const K of o)try{await new Promise((Z,te)=>KZe(Z,te,Q,o,K,a))}catch(Z){Qe.error(e("tonies.encoder.errorFileProcessing")+" "+Z),u(!1);return}const V=Math.floor(Date.now()/1e3),H={name:f+".taf",audioId:V-1342177280,path:$(g),special:"library"};p(!0);const q=XZe(H);try{const K=await Vh.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${q}`,Q);K.ok?(Qe.success(e("tonies.encoder.uploadSuccessful")),s([]),m("")):Qe.error(e("tonies.encoder.uploadFailed")+": "+K.statusText),p(!1),u(!1)}catch{Qe.error(e("tonies.encoder.uploadFailed")),p(!1),u(!1)}},D={listType:"picture",multiple:!0,beforeUpload:Q=>{const V=Q;return V.file=Q,o.push(V),s(o),!1},fileList:o,onChange:M,itemRender:(Q,V)=>_.jsx(YZe,{originNode:Q,fileList:o,file:V,onRemove:N,disabled:l})},L=({id:Q})=>new Promise((V,H)=>{const q=$(Q);Vh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${q}&special=library`).then(K=>K.json()).then(K=>{let Z=K.files;Z=Z.filter(te=>te.isDir&&te.name!=="..").sort((te,se)=>te.name===se.name?0:te.name.toLowerCase()>se.name.toLowerCase()?1:-1).map(te=>({id:Q+"."+Z.indexOf(te),pId:Q,value:Q+"."+Z.indexOf(te),title:te.name})),S(v.concat(Z)),V(!0)}).then(()=>{H()})}),$=Q=>{const V=v.filter(H=>H.value===Q)[0];return V.pId==="-1"?"":$(v.filter(H=>H.id===V.pId)[0].id)+"/"+V.title},F=()=>{s(Q=>[...Q].sort((V,H)=>V.name.localeCompare(H.name)))},B=()=>{s([])},z=()=>{E(!0)},U=Q=>{w(!Ku(Q.target.value.toString())),C(Q.target.value)},j=()=>{const Q=$(g),V=`${g}.${v.length}`,H={id:V,pId:g,value:V,title:y};try{Vh.apiPostTeddyCloudRaw("/api/dirCreate?special=library",Q+"/"+y).then(q=>q.text()).then(q=>{if(q!=="OK")throw new Error(q);S([...v,H].sort((K,Z)=>K.title===Z.title?0:K.title.toLowerCase()>Z.title.toLowerCase()?1:-1)),h(V),Qe.success(e("fileBrowser.createDirectory.directoryCreated")),E(!1),C("")}).catch(q=>{Qe.error(q.message)})}catch{Qe.error("Error while creating directory")}},G=()=>{E(!1),C(""),w(!1)},J=_.jsxs(Sn,{title:e("fileBrowser.createDirectory.modalTitle"),open:b,onCancel:G,onOk:j,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:R},children:[_.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",_.jsxs("b",{children:[$(g),"/"]})]}),_.jsx(Xt.Item,{validateStatus:R?"error":"",help:R?e("inputValidator.invalidCharactersDetected",{invalidChar:kf}):"",required:!0,children:_.jsx(en,{ref:I,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:y,status:R?"error":"",onChange:U})})]}),Y=Q=>{const V=Q.target.value;x(!Ku(V)),m(V)};return _.jsxs(_.Fragment,{children:[r,_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonies.encoder.title")}),_.jsxs(Na,{direction:"vertical",style:{display:"flex"},children:[_.jsx(hae,{sensors:[k],onDragEnd:P,children:_.jsx(Eae,{items:o.map(Q=>Q.uid),strategy:_ae,disabled:l,children:_.jsxs(yg.Dragger,{...D,disabled:l,children:[_.jsx("p",{className:"ant-upload-drag-icon",children:_.jsx(Hk,{})}),_.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:qh})}),_.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),o.length>0?_.jsxs(_.Fragment,{children:[_.jsxs(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[_.jsx(wt,{type:"default",disabled:l,onClick:F,children:e("tonies.encoder.sortAlphabetically")}),_.jsx(wt,{type:"default",disabled:l,style:{marginRight:16},onClick:B,children:e("tonies.encoder.clearList")})]}),_.jsx(Qr,{}),_.jsx("div",{style:{width:"100%"},className:"encoder",children:_.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[_.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[_.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),_.jsx(Ml,{treeLine:!0,treeDataSimpleMode:!0,disabled:l,style:{maxWidth:250},value:g,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:h,loadData:L,treeData:v}),_.jsx(Jt,{title:e("fileBrowser.createDirectory.createDirectory"),children:_.jsx(wt,{disabled:l,icon:_.jsx(RD,{}),onClick:z,style:{borderRadius:0}})}),_.jsx(en,{addonAfter:".taf",required:!0,defaultValue:f,style:{maxWidth:300},status:o.length>0&&f===""||T?"error":"",onChange:Y,disabled:l})]}),T?_.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:kf})}):"",_.jsx(Na.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:_.jsx(wt,{type:"primary",onClick:A,disabled:o.length===0||f===""||T,loading:l,children:e(l?d?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):_.jsx(_.Fragment,{})]})]})]}),J]})},{Paragraph:JZe}=Tn,eJe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Vi,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Vi,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonies.tap.title")}),_.jsx(Zn,{message:e("settings.information"),description:_.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),_.jsx(m2,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),_.jsx(JZe,{children:_.jsxs("div",{children:[_.jsx(wt,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),_.jsx(Zre,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},Wh=new xn(vn()),tJe=({overlay:e})=>{var d;const[t,n]=c.useState(),{t:r}=$t(),[a,i]=c.useState(""),[o,s]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const f=await Wh.apiGetTeddyCloudSettingRaw("core.settings_level");if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const m=await f.json();i(m.toString())}catch(f){console.error("Error fetching settings level: ",f)}})()},[]),c.useEffect(()=>{(async()=>{var m,g;s(!0);const f=await Wh.apiGetIndexGet(e);(m=f==null?void 0:f.options)!=null&&m.length&&((g=f==null?void 0:f.options)==null?void 0:g.length)>0&&n(f),s(!1)})()},[e,a]);const l=async()=>{try{await Wh.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},u=async p=>{try{await Wh.apiPostTeddyCloudSetting("core.settings_level",p),l(),i(p)}catch{Qe.error("Error while sending data to server.")}};return _.jsxs(_.Fragment,{children:[_.jsx(Zn,{message:r("settings.warning"),description:_.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),_.jsx(Qr,{children:r("settings.title")}),_.jsx(nre,{initialValues:{test:"test"},onSubmit:p=>{},children:_.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(d=t==null?void 0:t.options)==null?void 0:d.map((p,f,m)=>{if(p.iD.includes("core.settings_level")||!p.iD.includes("core.certdir")&&!p.iD.includes("core.client_cert.")&&!p.iD.includes("core.flex_")&&!p.iD.includes("core.contentdir")&&!p.iD.includes("toniebox.")&&!p.iD.includes("cloud.enabled")&&!p.iD.includes("cloud.enableV1Claim")&&!p.iD.includes("cloud.enableV1CloudReset")&&!p.iD.includes("cloud.enableV1FreshnessCheck")&&!p.iD.includes("cloud.enableV1Log")&&!p.iD.includes("cloud.enableV1Time")&&!p.iD.includes("cloud.enableV1Ota")&&!p.iD.includes("cloud.enableV2Content")&&!p.iD.includes("cloud.cacheOta")&&!p.iD.includes("cloud.localOta")&&!p.iD.includes("cloud.cacheContent")&&!p.iD.includes("cloud.cacheToLibrary")&&!p.iD.includes("cloud.markCustomTagByPass")&&!p.iD.includes("cloud.prioCustomContent")&&!p.iD.includes("cloud.updateOnLowerAudioId")&&!p.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const g=p.iD.split("."),h=m[f-1]?m[f-1].iD.split("."):[];return _.jsxs(ce.Fragment,{children:[g.slice(0,-1).map((v,S)=>h[S]!==v?S===0?_.jsxs("h3",{style:{marginLeft:`${S*20}px`,marginBottom:"10px"},children:["Category ",v]},`category-${v}`):_.jsxs("h4",{style:{marginLeft:`${S*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",v]},`category-${v}`):null),_.jsx(rre,{option:p,overlayId:e},`option-item-${p.iD}`)]},`option-${p.iD}`)})})}),_.jsx(Qr,{children:r("settings.levelLabel")}),_.jsxs(di.Group,{value:a,onChange:p=>u(p.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[_.jsx(di.Button,{value:"1",children:"Basic"}),_.jsx(di.Button,{value:"2",children:"Detail"}),_.jsx(di.Button,{value:"3",children:"Expert"})]})]})},L9=new xn(vn());function xae(){const[e,t]=c.useState([]);return c.useEffect(()=>{async function n(){var r=[];try{const o=await(await L9.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming toniebox data:",i)}try{const o=await(await L9.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming custom toniebox data:",i)}const a=r.map(i=>({id:i.id,name:i.name,img_src:i.img_src,crop:i.crop||null}));t(a)}n()},[]),e}const ha=new xn(vn()),{Paragraph:G1,Text:nJe}=Tn,{Meta:rJe}=ap,{useToken:aJe}=ka,iJe=({tonieboxCard:e,tonieboxImages:t})=>{var we,xe,ke,at,Me;const{t:n}=$t(),{token:r}=aJe(),[a,i]=Qe.useMessage(),[o,s]=c.useState(!1),[l,u]=c.useState(""),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),[v,S]=c.useState(null),[b,E]=c.useState(),[y,C]=c.useState(!1),[T,x]=c.useState(!1),[R,w]=c.useState(!1),[I,O]=c.useState(e.boxModel),[k,P]=c.useState(e.boxModel),[M,N]=c.useState(e.boxName),[A,D]=c.useState(e.boxName),[L,$]=c.useState(null),[F,B]=c.useState(!1),[z,U]=c.useState(!0),[j,G]=c.useState(0);c.useEffect(()=>{(async()=>{const De=await ha.apiGetTonieboxApiAccess(e.ID);U(De)})()},[e.ID,y]),c.useEffect(()=>{(async()=>{const He=await ha.apiGetTonieboxStatus(e.ID);s(He)})(),(async()=>{const He=await ha.apiGetTonieboxVersion(e.ID),ze={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(He in ze){const Xe=ze[He];u(Xe)}else u("UNKNOWN")})(),(async()=>{const He=await ha.apiGetTonieboxLastRUID(e.ID);if(He!=="ffffffffffffffff"&&He!==""){const ze=await ha.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Be=await ha.apiGetTagIndex(e.ID);V(Be.filter(Je=>Je.ruid===He),ze)})()}})(),o||(async()=>{const ze=await ha.apiGetLastOnline(e.ID);p(ze)})(),(async()=>{const ze=await(await ha.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();m(ze)})(),Q(e.boxModel),P(e.boxModel)},[e.ID,e.boxModel]),c.useEffect(()=>{if(f&&l==="CC3200")try{fetch(`http://${f}/api/ajax?cmd=box-battery&sub=stats`).then(Ce=>Ce.text()).then(Ce=>{console.log("Battery Stats fetched --> assume CFW active"),h(!0)}).catch(Ce=>{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)}},[f,l]);const J=xae(),Y=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(J.map(Ce=>({label:Ce.name,value:Ce.id}))),Q=Ce=>{const De=t.find(Ue=>Ue.id===Ce);$(De?_.jsx("img",{src:De.img_src,alt:"",style:{...re(Ce),position:"absolute",top:"0",left:"0"}}):_.jsx("img",{src:"https://cdn.tonies.de/thumbnails/03-0009-i.png",alt:"",style:{filter:"opacity(0.20)",width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}}))},V=(Ce,De)=>{S(_.jsx(_.Fragment,{children:_.jsx(St,{to:"/tonies?tonieRUID="+Ce[0].ruid+"&overlay="+e.ID,children:_.jsx(Jt,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+Ce[0].tonieInfo.series+(Ce[0].tonieInfo.episode?" - "+Ce[0].tonieInfo.episode:"")+(De?" ("+De+")":""),children:_.jsx("img",{src:Ce[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},H=()=>{(async()=>{var Ue,Ye;const De=await ha.apiGetIndexGet(e.ID);(Ue=De==null?void 0:De.options)!=null&&Ue.length&&((Ye=De==null?void 0:De.options)==null?void 0:Ye.length)>0&&E(De)})(),q()},q=()=>{x(!0)},K=async()=>{x(!1)},Z=()=>{x(!1)},te=()=>{C(!0)},se=async()=>{C(!1)},ue=()=>{C(!1)},me=()=>{G(Ce=>Ce+1),te()},de=()=>{P(k===void 0?I:k),w(!0)},Te=()=>{P(I),D(A),N(A),w(!1)},Ee=async()=>{Q(k),O(k);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxModel",k,e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:De}))}},ge=async()=>{D(M);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxName",M.toString(),e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:De}))}},re=Ce=>{const De=t.find(Ue=>Ue.id===Ce);if(De&&De.crop){const[Ue,Ye,He]=De.crop;return{width:"100%",height:"auto",transform:`scale(${He}) translateX(${Ue}px) translateY(${Ye}px)`}}else return{width:"100%",height:"auto"}},ne=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ae=async()=>{w(!1),M!==A&&ge(),I!==k&&Ee()},le=_.jsx(_.Fragment,{children:_.jsxs(wt,{type:"primary",onClick:ae,disabled:M===A&&I===k,children:[_.jsx(Bee,{},"saveClick")," ",n("tonies.editModal.save")]})}),pe=_.jsxs(Sn,{title:_.jsx(_.Fragment,{children:_.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),_.jsx("br",{}),_.jsx(nJe,{type:"secondary",children:(l!=="UNKNOWN"?l:"MAC")+": "+ne()})]})}),open:R,footer:le,onCancel:Te,children:[_.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),_.jsx(G1,{children:_.jsx(en,{name:"boxName",value:M,onChange:Ce=>N(Ce.target.value),addonBefore:_.jsx(na,{onClick:()=>N(A),style:{color:M===A?r.colorTextDisabled:r.colorText,cursor:M===A?"default":"pointer"}})})}),_.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),_.jsx(G1,{children:_.jsx(kr,{options:Y,value:k,onChange:Ce=>P(Ce)})})]}),Re=_.jsxs(Sn,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:T,onOk:K,onCancel:Z,children:[_.jsxs(G1,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",_.jsx("i",{children:(xe=(we=b==null?void 0:b.options)==null?void 0:we.find(Ce=>Ce.iD==="core.certdir"))==null?void 0:xe.value})," ",_.jsx("small",{children:(at=(ke=b==null?void 0:b.options)==null?void 0:ke.find(Ce=>Ce.iD==="core.certdir"))!=null&&at.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),_.jsx(Xre,{overlay:e.ID})]}),Se=_.jsx(Sn,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:y,onOk:se,onCancel:ue,children:_.jsx(tJe,{overlay:e.ID},j)}),Pe=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),ha.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(Ce=>Ce.text()).then(Ce=>{a.destroy(),Ce==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}).catch(Ce=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})})}catch(Ce){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}},fe=()=>{B(!0)},_e=()=>{Pe(),B(!1)},Ae=()=>{B(!1)},ye=_.jsx(Fd,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:A}),handleOk:_e,handleCancel:Ae}),be=async()=>{try{await ha.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},Ne=async()=>{try{ha.apiPostTeddyCloudSetting("toniebox.api_access",!z,e.ID).then(()=>{be(),U(!z),z?Qe.success(n("tonieboxes.messages.apiAccessDisabled")):Qe.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(Ce=>{throw new Error(Ce.status+" "+Ce.statusText)})}catch(Ce){Qe.error(n("tonieboxes.messages.apiAccessNotChangedError")+Ce)}};return _.jsxs(_.Fragment,{children:[i,_.jsx(ap,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:_.jsx("span",{children:A}),cover:_.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[v,_.jsx("img",{src:(Me=t.find(Ce=>Ce.id==="03-0009"))==null?void 0:Me.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),L]}),actions:[_.jsx(_.Fragment,{children:z?o?_.jsx(Jt,{title:n("tonieboxes.online"),children:_.jsx(wD,{style:{color:"green",cursor:"default"}})}):_.jsx(Jt,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:_.jsx(wD,{style:{color:r.colorTextDescription,cursor:"default"}})}):_.jsx(Jt,{title:n("tonieboxes.accessApiDisabled"),children:_.jsx(_Ne,{style:{color:"red",cursor:"pointer"},onClick:Ne})})}),_.jsx(ym,{onClick:()=>de()},"edit"),_.jsx(Gk,{style:{marginRight:8},onClick:H},"certificate"),_.jsx(Vk,{style:{marginRight:8},onClick:me},"edit"),_.jsx(Od,{style:{marginRight:8},onClick:fe},"delete")],children:_.jsx(rJe,{description:[(l!=="UNKNOWN"&&l!==void 0&&l!==null?l:"MAC")+" ",g?_.jsx(Jt,{title:n("tonieboxes.linkToBoxCFW"),children:_.jsxs(St,{to:"http://"+f,target:"_blank",children:[ne()," ",_.jsx(gNe,{})]})}):ne()]})}),Se,Re,pe,ye]})},oJe=({tonieboxCards:e})=>{const[t,n]=c.useState(!0),r=xae();return r.length===0&&t?_.jsx("div",{children:"Loading..."}):_.jsx(_l,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>_.jsx(_l.Item,{id:a.ID,children:_.jsx(iJe,{tonieboxCard:a,tonieboxImages:r})})})},sJe=()=>_.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12.000000pt",height:"12.000000pt",viewBox:"0 0 900.000000 900.000000",preserveAspectRatio:"xMidYMid meet",children:_.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[_.jsx("path",{d:"M5895 8380 c-4 -6 -21 -16 -38 -24 -60 -25 -301 -236 -416 -363 -42 -46 -101 -103 -131 -127 -30 -24 -116 -104 -190 -177 -75 -74 -167 -163 -205 -199 -39 -36 -132 -124 -208 -195 -186 -175 -194 -179 -368 -195 -138 -13 -274 -10 -303 7 -45 25 -385 357 -446 434 -65 84 -279 313 -345 369 -17 14 -58 40 -91 58 -59 31 -67 32 -177 32 -87 0 -117 -3 -127 -14 -6 -8 -23 -16 -37 -18 -28 -3 -61 -47 -62 -83 -1 -12 -5 -25 -10 -30 -5 -6 -28 -64 -50 -130 -51 -151 -94 -274 -121 -345 -12 -30 -32 -86 -45 -125 -13 -38 -38 -108 -54 -154 -17 -46 -31 -85 -31 -87 0 -2 -181 -4 -402 -4 -362 0 -410 -2 -473 -19 -93 -25 -147 -55 -209 -117 -62 -62 -92 -116 -117 -209 -18 -68 -19 -160 -19 -2724 0 -2915 -4 -2713 58 -2836 31 -62 127 -155 189 -185 109 -52 -33 -49 2843 -49 2835 0 2752 -2 2840 44 111 57 194 152 230 266 20 61 20 110 20 2759 0 2673 0 2697 -20 2755 -50 147 -153 247 -300 294 -33 10 -131 15 -370 20 l-325 6 -2 50 c-9 210 -37 703 -49 855 -8 102 -14 239 -14 306 0 171 9 164 -233 164 -115 0 -188 -4 -192 -10z m-1 -652 c3 -13 6 -68 6 -123 0 -55 7 -174 15 -265 8 -91 15 -202 15 -247 l0 -83 -420 0 c-356 0 -420 2 -420 14 0 8 4 16 9 18 5 2 34 26 63 53 29 28 118 111 198 185 147 137 229 213 402 378 53 51 103 92 111 92 8 0 17 -10 21 -22z m-2697 -470 c65 -61 146 -138 181 -171 34 -32 62 -63 62 -68 0 -5 -107 -9 -255 -9 -169 0 -255 3 -255 10 0 10 30 104 49 152 18 47 40 104 56 151 9 26 23 47 31 47 7 0 66 -50 131 -112z m3746 -698 c16 0 17 -130 15 -2622 l-3 -2623 -2642 -3 -2643 -2 -2 2617 c-2 1850 0 2620 8 2627 7 8 777 10 2630 9 1440 -2 2627 -3 2637 -3z"}),_.jsx("path",{d:"M5735 6087 c-54 -22 -72 -36 -104 -83 -27 -41 -31 -57 -31 -111 0 -129 77 -205 206 -205 90 0 154 42 188 126 66 160 -100 335 -259 273z"}),_.jsx("path",{d:"M2842 5359 c-52 -16 -118 -90 -132 -148 -36 -150 102 -286 252 -250 61 14 129 75 148 134 29 86 -9 195 -83 242 -45 29 -131 39 -185 22z"}),_.jsx("path",{d:"M5035 5362 c-90 -32 -145 -106 -145 -197 0 -96 68 -183 161 -205 39 -10 57 -9 101 4 63 19 75 28 116 85 28 39 32 52 32 110 0 120 -72 199 -186 206 -32 2 -68 1 -79 -3z"}),_.jsx("path",{d:"M5730 5359 c-85 -36 -130 -105 -130 -202 0 -56 4 -70 32 -108 40 -56 52 -65 112 -85 43 -15 57 -15 100 -4 235 59 212 392 -28 406 -33 2 -72 -1 -86 -7z"}),_.jsx("path",{d:"M2818 4620 c-48 -26 -93 -82 -108 -135 -29 -103 38 -216 147 -250 54 -17 58 -17 112 0 36 12 69 33 93 57 92 94 68 260 -47 325 -52 29 -144 31 -197 3z"}),_.jsx("path",{d:"M3506 4609 c-150 -100 -116 -315 59 -375 54 -18 56 -18 109 0 89 30 156 116 156 199 0 73 -68 172 -137 198 -13 5 -50 9 -82 9 -48 0 -66 -5 -105 -31z"}),_.jsx("path",{d:"M4258 4610 c-152 -101 -119 -316 57 -376 54 -18 56 -18 109 0 89 31 156 116 156 200 0 73 -66 170 -133 195 -16 6 -54 11 -86 11 -47 0 -66 -5 -103 -30z"}),_.jsx("path",{d:"M4984 4607 c-149 -103 -115 -318 60 -373 55 -17 59 -17 111 0 52 18 92 51 128 106 22 33 23 140 1 183 -40 78 -103 117 -193 117 -50 0 -66 -5 -107 -33z"}),_.jsx("path",{d:"M5715 4623 c-79 -41 -115 -103 -115 -195 0 -42 6 -72 17 -88 36 -55 76 -88 129 -106 53 -18 55 -18 109 1 121 41 182 154 143 266 -15 46 -42 79 -90 112 -34 22 -52 27 -102 27 -36 -1 -74 -7 -91 -17z"}),_.jsx("path",{d:"M2841 3901 c-60 -24 -107 -74 -127 -134 -15 -44 -15 -57 -4 -101 41 -161 208 -217 339 -114 48 37 65 78 66 155 0 63 -3 76 -30 115 -34 49 -120 98 -169 97 -17 0 -51 -8 -75 -18z"}),_.jsx("path",{d:"M3532 3894 c-162 -80 -161 -292 0 -375 46 -24 127 -25 171 -3 73 37 127 119 127 193 -1 77 -59 158 -138 192 -59 26 -98 24 -160 -7z"}),_.jsx("path",{d:"M4279 3892 c-99 -51 -148 -176 -103 -265 86 -170 309 -169 385 2 35 80 19 159 -47 225 -36 35 -105 66 -149 66 -18 0 -57 -13 -86 -28z"}),_.jsx("path",{d:"M5015 3896 c-60 -28 -94 -63 -112 -114 -28 -81 -10 -163 48 -220 104 -102 265 -77 330 50 22 42 26 146 8 181 -34 65 -128 127 -193 127 -17 0 -53 -11 -81 -24z"}),_.jsx("path",{d:"M5727 3901 c-45 -21 -93 -65 -113 -103 -21 -40 -18 -141 5 -186 37 -72 102 -112 181 -112 151 0 251 153 191 292 -23 52 -52 80 -111 107 -54 25 -102 25 -153 2z"}),_.jsx("path",{d:"M2855 3201 c-70 -17 -128 -80 -146 -159 -25 -105 47 -216 156 -242 49 -12 62 -11 110 4 148 46 194 226 86 337 -60 62 -122 80 -206 60z"}),_.jsx("path",{d:"M3546 3196 c-181 -67 -179 -326 3 -391 69 -24 127 -15 194 29 44 29 87 112 87 166 -1 59 -43 136 -95 172 -50 34 -132 45 -189 24z"}),_.jsx("path",{d:"M4296 3196 c-145 -54 -180 -230 -69 -348 27 -29 99 -58 142 -58 71 1 142 46 182 114 38 67 38 123 1 191 -51 93 -161 136 -256 101z"}),_.jsx("path",{d:"M5038 3203 c-36 -6 -115 -77 -133 -120 -45 -107 14 -239 124 -278 52 -18 84 -19 131 -2 49 17 72 35 108 86 28 39 32 52 32 110 0 80 -26 132 -85 173 -41 28 -117 42 -177 31z"}),_.jsx("path",{d:"M5737 3200 c-44 -14 -95 -58 -117 -100 -31 -61 -28 -153 8 -207 36 -55 69 -80 126 -95 129 -34 261 76 253 212 -4 71 -21 104 -78 152 -38 32 -54 39 -105 43 -32 2 -72 0 -87 -5z"}),_.jsx("path",{d:"M3535 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),_.jsx("path",{d:"M4285 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),_.jsx("path",{d:"M5012 2463 c-69 -38 -104 -83 -123 -162 -10 -46 20 -134 61 -176 32 -33 107 -65 151 -65 61 0 156 64 188 127 6 12 11 49 11 83 0 94 -42 161 -122 195 -50 20 -126 19 -166 -2z"})]})}),Ta=()=>{const{t:e}=$t(),t=Wo(),[n,r]=c.useState([]),a=s=>{const l=[];s.includes("/tonieboxes/boxsetup")&&(l.push("boxsetup"),s.includes("/tonieboxes/boxsetup/esp32")?l.push("esp32"):s.includes("/tonieboxes/boxsetup/cc3200")?l.push("cc3200"):s.includes("/tonieboxes/boxsetup/cc3235")&&l.push("cc3235")),r(u=>Array.from(new Set([...u,...l])))};c.useEffect(()=>{a(t.pathname)},[t.pathname]);const i=s=>{const l=s.find(d=>!n.includes(d)),u=n.find(d=>!s.includes(d));l?r(d=>[...d,l]):u&&r(d=>d.filter(p=>p!==u))},o=[{key:"tonieboxes",label:_.jsx(St,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:ce.createElement(sJe),title:e("tonieboxes.navigationTitle")},{key:"boxsetup",label:_.jsx(St,{to:"/tonieboxes/boxsetup",style:{color:"currentColor",marginLeft:8},children:e("tonieboxes.boxSetup.navigationTitle")}),icon:ce.createElement(Fee),title:e("tonieboxes.boxSetup.navigationTitle"),children:[{key:"identifyboxversion",label:_.jsx(St,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:ce.createElement(cg),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:_.jsx(St,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:ce.createElement(FNe),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32",label:_.jsx(St,{to:"/tonieboxes/boxsetup/esp32/flashing",children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:ce.createElement(Tv),title:e("tonieboxes.esp32BoxFlashing.navigationTitle")},{key:"cc3200",label:_.jsx(St,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:ce.createElement(Tv),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235",label:_.jsx(St,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:ce.createElement(Tv),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}];return _.jsx(xg,{mode:"inline",defaultOpenKeys:["sub"],openKeys:n,selectedKeys:[],onOpenChange:i,items:o})},k9=new xn(vn()),lJe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1);c.useEffect(()=>{(async()=>{const l=await k9.apiGetTonieboxesIndex();n(l)})(),(async()=>{try{const l=await k9.apiGetNewBoxesAllowed();a(l)}catch(l){Qe.error("Fetching new box allowed: "+l)}})()},[]);const i=r?_.jsx(Zn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.title")}),i,_.jsx(oJe,{tonieboxCards:t})]})]})]})},Ka=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=o=>{const s=[];o.includes("/contribution")&&s.push("contribution"),n(l=>Array.from(new Set([...l,...s])))};c.useEffect(()=>{r(location.pathname)},[location.pathname]);const a=o=>{const s=o.find(u=>!t.includes(u)),l=t.find(u=>!o.includes(u));s?n(u=>[...u,s]):l&&n(u=>u.filter(d=>d!==l))},i=[{key:"community",label:_.jsx(St,{to:"/community",children:e("community.navigationTitle")}),icon:ce.createElement(pNe),title:e("community.navigationTitle")},{key:"faq",label:_.jsx(St,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:ce.createElement(dee),title:e("community.faq.navigationTitle")},{key:"contribution",label:_.jsx(St,{to:"/community/contribution",style:{color:"currentColor"},children:e("community.contribution.navigationTitle")}),icon:ce.createElement(d1e),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:_.jsx(St,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:ce.createElement(vRe),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:_.jsx(St,{to:"/community/contribution/translations",children:e("community.translations.navigationTitle")}),icon:ce.createElement($ee),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:_.jsx(St,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:ce.createElement(k1e),title:e("community.contributors.navigationTitle")},{key:"changelog",label:_.jsx(St,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:ce.createElement(yOe),title:e("community.changelog.navigationTitle")},{key:"Forum",label:_.jsx(St,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:ce.createElement(JOe),title:e("community.forum.navigationTitle")}];return _.jsx(xg,{mode:"inline",defaultOpenKeys:["sub"],openKeys:t,selectedKeys:[],onOpenChange:a,items:i})},{Paragraph:P9}=Tn,cJe=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.title")}),_.jsxs(P9,{children:[_.jsx("h2",{children:"Get involved"}),"Be a part of our global contributor community by writing code, commenting on issues, or participate in discussons in our telegram group."]}),_.jsxs(P9,{children:["Your best points of contact are the following locations",_.jsxs("ul",{children:[_.jsxs("li",{children:[_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),_.jsx("ul",{children:_.jsx("li",{children:"The place where all sources are stored for this and related projects. Where you can fork the repositories, contribute new or improved features, create issues or just give some feedback on already existing issues."})})]}),_.jsxs("li",{children:[_.jsx(St,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),_.jsx("ul",{children:_.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),_.jsxs("li",{children:[_.jsx(St,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),_.jsx("ul",{children:_.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),_.jsxs("li",{children:[_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"}),_.jsx("ul",{children:_.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:Eu}=Tn,uJe=()=>{const{t:e}=$t(),t=["Use welcome and inclusive language.","Be respectful of differing viewpoints and experiences.","Gracefully accept constructive criticism.","Foster what's best for the community.","Show empathy for other community members.","Decisions are made based on technical merit and consensus. The Teddycloud community aspires to treat everyone equally, and to value all contributions."],n=["Write code.","Improve documentation.","Answer questions on our telegram group.","Investigate bugs and issues on GitHub.","Review and comment on pull requests from other developers.","Report an issue.","Give a “thumbs up” 👍 on issues that are relevant to you."];return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.contribution.title")}),_.jsxs(Eu,{children:[_.jsx(Eu,{children:"The Teddycloud can only grow through the contributions of this community. Thanks so much for your enthusiasm and your work - we appreciate everything you do!"}),_.jsxs(Eu,{children:[_.jsx("h2",{children:"Community values"}),_.jsx(Eu,{children:"In the interest of fostering an open and welcoming environment, contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone - regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation."}),_.jsx(Eu,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),_.jsx("ul",{children:t.map((r,a)=>_.jsx("li",{children:r},a))})]}),_.jsxs(Eu,{children:[_.jsx("h2",{children:"Make your first contribution"}),"There are many ways to contribute to Teddycloud! You can contribute code and make improvements to the Teddycloud documentation. Our most common contributions include code, documentation, and community support.",_.jsx("ul",{children:n.map((r,a)=>_.jsx("li",{children:r},a))})]})]})]})]})]})},dJe=new xn(vn()),{Paragraph:$9}=Tn,{Panel:pJe}=Id,fJe=()=>{const{t:e}=$t(),[t,n]=c.useState({});return c.useEffect(()=>{async function r(){try{const s=(await(await dJe.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),l={};s.forEach(u=>{l[u.language]||(l[u.language]=[]),l[u.language].push(u)}),n(l)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),_.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.contribution.toniesJson.title")}),_.jsx($9,{children:e("community.contribution.toniesJson.text")}),_.jsx($9,{children:_.jsx(Id,{accordion:!0,children:Object.keys(t).map((r,a)=>_.jsx(pJe,{header:r,children:_.jsx(_l,{children:Array.isArray(t[r])&&t[r].map((i,o)=>_.jsx(_l.Item,{id:i.model,children:_.jsxs("div",{children:[_.jsx("img",{src:i.pic,alt:"",style:{width:"100px",height:"auto"}}),i.model," - ",i.series," -"," ",i.episodes]})},o))})},a))})})]})]})]})},{Paragraph:Vp}=Tn,mJe=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.contributors.title")}),_.jsxs(Vp,{children:["This project relies on the tireless contributors who offer their free time and skills. Directly related to TeddyCloud are the contributors of the two projects teddycloud and teddycloud_web:",_.jsxs(Vp,{children:[_.jsx("h3",{children:"teddycloud"}),_.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),_.jsxs(Vp,{children:[_.jsx("h3",{children:"teddycloud_web"}),_.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),_.jsxs(Vp,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",_.jsx(St,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),_.jsx(Na,{}),_.jsxs(Vp,{children:[_.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),_.jsx(i2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:F9,Text:V1}=Tn,gJe=()=>{const{t:e}=$t(),t=[{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Integrated frontend.confirm_audioplayer_close","gui: Added Open Toniebox guide page (first version) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((o,s)=>a.test(o)?_.jsx(St,{to:o,target:"_blank",rel:"noopener noreferrer",children:o},s):o)};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.changelog.title")}),_.jsx(F9,{children:_.jsx(_l,{dataSource:t,renderItem:r=>_.jsxs(_.Fragment,{children:[_.jsxs("h2",{children:["Version ",r.version]}),_.jsxs(F9,{children:[_.jsx("h3",{children:"Changes"}),_.jsx("ul",{children:r.changes.map((a,i)=>_.jsx("li",{children:n(a)},i))})]}),r.commits&&r.commits.length>0&&_.jsxs(_.Fragment,{children:[_.jsx(V1,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),_.jsx("ul",{children:r.commits.map((a,i)=>_.jsx("li",{children:_.jsx(St,{to:a,target:"_blank",children:a})},i))})]}),r.discussionLink&&_.jsxs(_.Fragment,{children:[_.jsx(V1,{strong:!0,children:"Discussion:"}),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&_.jsxs(_.Fragment,{children:[_.jsx(V1,{strong:!0,children:"GitHub Release:"}),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class wa extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const hJe=4,B9=0,U9=1,vJe=2;function vp(e){let t=e.length;for(;--t>=0;)e[t]=0}const _Je=0,Rae=1,bJe=2,SJe=3,EJe=258,g2=29,Lg=256,km=Lg+1+g2,cd=30,h2=19,wae=2*km+1,oc=15,q1=16,yJe=7,v2=256,Iae=16,Oae=17,Nae=18,mM=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Lv=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),CJe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Aae=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),TJe=512,ls=new Array((km+2)*2);vp(ls);const Pf=new Array(cd*2);vp(Pf);const Pm=new Array(TJe);vp(Pm);const $m=new Array(EJe-SJe+1);vp($m);const _2=new Array(g2);vp(_2);const Y_=new Array(cd);vp(Y_);function W1(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let Dae,Mae,Lae;function Y1(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const kae=e=>e<256?Pm[e]:Pm[256+(e>>>7)],Fm=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ga=(e,t,n)=>{e.bi_valid>q1-n?(e.bi_buf|=t<>q1-e.bi_valid,e.bi_valid+=n-q1):(e.bi_buf|=t<{Ga(e,n[t*2],n[t*2+1])},Pae=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},xJe=e=>{e.bi_valid===16?(Fm(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},RJe=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length;let u,d,p,f,m,g,h=0;for(f=0;f<=oc;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(f=l,h++),n[d*2+1]=f,!(d>r)&&(e.bl_count[f]++,m=0,d>=s&&(m=o[d-s]),g=n[d*2],e.opt_len+=g*(f+m),i&&(e.static_len+=g*(a[d*2+1]+m)));if(h!==0){do{for(f=l-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[l]--,h-=2}while(h>0);for(f=l;f!==0;f--)for(d=e.bl_count[f];d!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),d--)}},$ae=(e,t,n)=>{const r=new Array(oc+1);let a=0,i,o;for(i=1;i<=oc;i++)a=a+n[i-1]<<1,r[i]=a;for(o=0;o<=t;o++){let s=e[o*2+1];s!==0&&(e[o*2]=Pae(r[s]++,s))}},wJe=()=>{let e,t,n,r,a;const i=new Array(oc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?Fm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},j9=(e,t,n,r)=>{const a=t*2,i=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,i=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+i++]&255,r+=(e.pending_buf[e.sym_buf+i++]&255)<<8,a=e.pending_buf[e.sym_buf+i++],r===0?Do(e,a,t):(o=$m[a],Do(e,o+Lg+1,t),s=mM[o],s!==0&&(a-=_2[o],Ga(e,a,s)),r--,o=kae(r),Do(e,o,n),s=Lv[o],s!==0&&(r-=Y_[o],Ga(e,r,s)));while(i{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,i=t.stat_desc.elems;let o,s,l=-1,u;for(e.heap_len=0,e.heap_max=wae,o=0;o>1;o>=1;o--)K1(e,n,o);u=i;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],K1(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[u*2]=n[o*2]+n[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=u,e.heap[1]=u++,K1(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],RJe(e,t),$ae(n,l,e.bl_count)},H9=(e,t,n)=>{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],!(++s{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s{let t;for(H9(e,e.dyn_ltree,e.l_desc.max_code),H9(e,e.dyn_dtree,e.d_desc.max_code),gM(e,e.bl_desc),t=h2-1;t>=3&&e.bl_tree[Aae[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},OJe=(e,t,n,r)=>{let a;for(Ga(e,t-257,5),Ga(e,n-1,5),Ga(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return B9;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return U9;for(n=32;n{V9||(wJe(),V9=!0),e.l_desc=new Y1(e.dyn_ltree,Dae),e.d_desc=new Y1(e.dyn_dtree,Mae),e.bl_desc=new Y1(e.bl_tree,Lae),e.bi_buf=0,e.bi_valid=0,Fae(e)},Uae=(e,t,n,r)=>{Ga(e,(_Je<<1)+(r?1:0),3),Bae(e),Fm(e,n),Fm(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},DJe=e=>{Ga(e,Rae<<1,3),Do(e,v2,ls),xJe(e)},MJe=(e,t,n,r)=>{let a,i,o=0;e.level>0?(e.strm.data_type===vJe&&(e.strm.data_type=NJe(e)),gM(e,e.l_desc),gM(e,e.d_desc),o=IJe(e),a=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=a&&(a=i)):a=i=n+5,n+4<=a&&t!==-1?Uae(e,t,n,r):e.strategy===hJe||i===a?(Ga(e,(Rae<<1)+(r?1:0),3),z9(e,ls,Pf)):(Ga(e,(bJe<<1)+(r?1:0),3),OJe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),z9(e,e.dyn_ltree,e.dyn_dtree)),Fae(e),r&&Bae(e)},LJe=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[($m[n]+Lg+1)*2]++,e.dyn_dtree[kae(t)*2]++),e.sym_next===e.sym_end);var kJe=AJe,PJe=Uae,$Je=MJe,FJe=LJe,BJe=DJe,UJe={_tr_init:kJe,_tr_stored_block:PJe,_tr_flush_block:$Je,_tr_tally:FJe,_tr_align:BJe};const jJe=(e,t,n,r)=>{let a=e&65535|0,i=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do a=a+t[r++]|0,i=i+a|0;while(--o);a%=65521,i%=65521}return a|i<<16|0};var Bm=jJe;const zJe=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},HJe=new Uint32Array(zJe()),GJe=(e,t,n,r)=>{const a=HJe,i=r+n;e^=-1;for(let o=r;o>>8^a[(e^t[o])&255];return e^-1};var Wr=GJe,Lc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},_p={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:VJe,_tr_stored_block:hM,_tr_flush_block:qJe,_tr_tally:fl,_tr_align:WJe}=UJe,{Z_NO_FLUSH:ml,Z_PARTIAL_FLUSH:YJe,Z_FULL_FLUSH:KJe,Z_FINISH:ki,Z_BLOCK:q9,Z_OK:ca,Z_STREAM_END:W9,Z_STREAM_ERROR:Fo,Z_DATA_ERROR:XJe,Z_BUF_ERROR:X1,Z_DEFAULT_COMPRESSION:QJe,Z_FILTERED:ZJe,Z_HUFFMAN_ONLY:Yh,Z_RLE:JJe,Z_FIXED:eet,Z_DEFAULT_STRATEGY:tet,Z_UNKNOWN:net,Z_DEFLATED:iE}=_p,ret=9,aet=15,iet=8,oet=29,set=256,vM=set+1+oet,cet=30,uet=19,det=2*vM+1,pet=15,_n=3,tl=258,Bo=tl+_n+1,fet=32,Ud=42,b2=57,_M=69,bM=73,SM=91,EM=103,sc=113,sf=666,Aa=1,bp=2,kc=3,Sp=4,met=3,lc=(e,t)=>(e.msg=Lc[t],t),Y9=e=>e*2-(e>4?9:0),qs=e=>{let t=e.length;for(;--t>=0;)e[t]=0},get=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let het=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},pi=(e,t)=>{qJe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ii(e.strm)},On=(e,t)=>{e.pending_buf[e.pending++]=t},qp=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},yM=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=Bm(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Wr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},jae=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,i,o=e.prev_length,s=e.nice_match;const l=e.strstart>e.w_size-Bo?e.strstart-(e.w_size-Bo):0,u=e.window,d=e.w_mask,p=e.prev,f=e.strstart+tl;let m=u[r+o-1],g=u[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==g||u[a+o-1]!==m||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ro){if(e.match_start=t,o=i,i>=s)break;m=u[r+o-1],g=u[r+o]}}while((t=p[t&d])>l&&--n!==0);return o<=e.lookahead?o:e.lookahead},jd=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Bo)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),get(e),r+=t),e.strm.avail_in===0)break;if(n=yM(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=_n)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=gl(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=gl(e,e.ins_h,e.window[a+_n-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<_n)););}while(e.lookahead{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,i,o=0,s=e.strm.avail_in;do{if(r=65535,i=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>i&&(r=i),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ii(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(yM(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_wateri&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(yM(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,n=i>e.w_size?e.w_size:i,a=e.strstart-e.block_start,(a>=n||(a||t===ki)&&t!==ml&&e.strm.avail_in===0&&a<=i)&&(r=a>i?i:a,o=t===ki&&e.strm.avail_in===0&&r===a?1:0,hM(e,e.block_start,r,o),e.block_start+=r,ii(e.strm)),o?kc:Aa)},Q1=(e,t)=>{let n,r;for(;;){if(e.lookahead=_n&&(e.ins_h=gl(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-Bo&&(e.match_length=jae(e,n)),e.match_length>=_n)if(r=fl(e,e.strstart-e.match_start,e.match_length-_n),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=_n){e.match_length--;do e.strstart++,e.ins_h=gl(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=gl(e,e.ins_h,e.window[e.strstart+1]);else r=fl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=e.strstart<_n-1?e.strstart:_n-1,t===ki?(pi(e,!0),e.strm.avail_out===0?kc:Sp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:bp},yu=(e,t)=>{let n,r,a;for(;;){if(e.lookahead=_n&&(e.ins_h=gl(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=_n-1,n!==0&&e.prev_length4096)&&(e.match_length=_n-1)),e.prev_length>=_n&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-_n,r=fl(e,e.strstart-1-e.prev_match,e.prev_length-_n),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=gl(e,e.ins_h,e.window[e.strstart+_n-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=_n-1,e.strstart++,r&&(pi(e,!1),e.strm.avail_out===0))return Aa}else if(e.match_available){if(r=fl(e,0,e.window[e.strstart-1]),r&&pi(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Aa}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=fl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<_n-1?e.strstart:_n-1,t===ki?(pi(e,!0),e.strm.avail_out===0?kc:Sp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:bp},vet=(e,t)=>{let n,r,a,i;const o=e.window;for(;;){if(e.lookahead<=tl){if(jd(e),e.lookahead<=tl&&t===ml)return Aa;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=_n&&e.strstart>0&&(a=e.strstart-1,r=o[a],r===o[++a]&&r===o[++a]&&r===o[++a])){i=e.strstart+tl;do;while(r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=_n?(n=fl(e,1,e.match_length-_n),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=fl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===ki?(pi(e,!0),e.strm.avail_out===0?kc:Sp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:bp},_et=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(jd(e),e.lookahead===0)){if(t===ml)return Aa;break}if(e.match_length=0,n=fl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===ki?(pi(e,!0),e.strm.avail_out===0?kc:Sp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:bp};function To(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const lf=[new To(0,0,0,0,zae),new To(4,4,8,4,Q1),new To(4,5,16,8,Q1),new To(4,6,32,32,Q1),new To(4,4,16,16,yu),new To(8,16,32,32,yu),new To(8,16,128,128,yu),new To(8,32,128,256,yu),new To(32,128,258,1024,yu),new To(32,258,258,4096,yu)],bet=e=>{e.window_size=2*e.w_size,qs(e.head),e.max_lazy_match=lf[e.level].max_lazy,e.good_match=lf[e.level].good_length,e.nice_match=lf[e.level].nice_length,e.max_chain_length=lf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=_n-1,e.match_available=0,e.ins_h=0};function Eet(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=iE,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(det*2),this.dyn_dtree=new Uint16Array((2*cet+1)*2),this.bl_tree=new Uint16Array((2*uet+1)*2),qs(this.dyn_ltree),qs(this.dyn_dtree),qs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(pet+1),this.heap=new Uint16Array(2*vM+1),qs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*vM+1),qs(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const kg=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Ud&&t.status!==b2&&t.status!==_M&&t.status!==bM&&t.status!==SM&&t.status!==EM&&t.status!==sc&&t.status!==sf?1:0},Hae=e=>{if(kg(e))return lc(e,Fo);e.total_in=e.total_out=0,e.data_type=net;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?b2:t.wrap?Ud:sc,e.adler=t.wrap===2?0:1,t.last_flush=-2,VJe(t),ca},Gae=e=>{const t=Hae(e);return t===ca&&bet(e.state),t},yet=(e,t)=>kg(e)||e.state.wrap!==2?Fo:(e.state.gzhead=t,ca),Vae=(e,t,n,r,a,i)=>{if(!e)return Fo;let o=1;if(t===QJe&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),a<1||a>ret||n!==iE||r<8||r>15||t<0||t>9||i<0||i>eet||r===8&&o!==1)return lc(e,Fo);r===8&&(r=9);const s=new Eet;return e.state=s,s.strm=e,s.status=Ud,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<Vae(e,t,iE,aet,iet,tet),Tet=(e,t)=>{if(kg(e)||t>q9||t<0)return e?lc(e,Fo):Fo;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===sf&&t!==ki)return lc(e,e.avail_out===0?X1:Fo);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(ii(e),e.avail_out===0)return n.last_flush=-1,ca}else if(e.avail_in===0&&Y9(t)<=Y9(r)&&t!==ki)return lc(e,X1);if(n.status===sf&&e.avail_in!==0)return lc(e,X1);if(n.status===Ud&&n.wrap===0&&(n.status=sc),n.status===Ud){let a=iE+(n.w_bits-8<<4)<<8,i=-1;if(n.strategy>=Yh||n.level<2?i=0:n.level<6?i=1:n.level===6?i=2:i=3,a|=i<<6,n.strstart!==0&&(a|=fet),a+=31-a%31,qp(n,a),n.strstart!==0&&(qp(n,e.adler>>>16),qp(n,e.adler&65535)),e.adler=1,n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===b2){if(e.adler=0,On(n,31),On(n,139),On(n,8),n.gzhead)On(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),On(n,n.gzhead.time&255),On(n,n.gzhead.time>>8&255),On(n,n.gzhead.time>>16&255),On(n,n.gzhead.time>>24&255),On(n,n.level===9?2:n.strategy>=Yh||n.level<2?4:0),On(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(On(n,n.gzhead.extra.length&255),On(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Wr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=_M;else if(On(n,0),On(n,0),On(n,0),On(n,0),On(n,0),On(n,n.level===9?2:n.strategy>=Yh||n.level<2?4:0),On(n,met),n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===_M){if(n.gzhead.extra){let a=n.pending,i=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+i>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0,i-=s}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=bM}if(n.status===bM){if(n.gzhead.name){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=SM}if(n.status===SM){if(n.gzhead.comment){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a))}n.status=EM}if(n.status===EM){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ii(e),n.pending!==0))return n.last_flush=-1,ca;On(n,e.adler&255),On(n,e.adler>>8&255),e.adler=0}if(n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(e.avail_in!==0||n.lookahead!==0||t!==ml&&n.status!==sf){let a=n.level===0?zae(n,t):n.strategy===Yh?_et(n,t):n.strategy===JJe?vet(n,t):lf[n.level].func(n,t);if((a===kc||a===Sp)&&(n.status=sf),a===Aa||a===kc)return e.avail_out===0&&(n.last_flush=-1),ca;if(a===bp&&(t===YJe?WJe(n):t!==q9&&(hM(n,0,0,!1),t===KJe&&(qs(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),ii(e),e.avail_out===0))return n.last_flush=-1,ca}return t!==ki?ca:n.wrap<=0?W9:(n.wrap===2?(On(n,e.adler&255),On(n,e.adler>>8&255),On(n,e.adler>>16&255),On(n,e.adler>>24&255),On(n,e.total_in&255),On(n,e.total_in>>8&255),On(n,e.total_in>>16&255),On(n,e.total_in>>24&255)):(qp(n,e.adler>>>16),qp(n,e.adler&65535)),ii(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?ca:W9)},xet=e=>{if(kg(e))return Fo;const t=e.state.status;return e.state=null,t===sc?lc(e,XJe):ca},Ret=(e,t)=>{let n=t.length;if(kg(e))return Fo;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==Ud||r.lookahead)return Fo;if(a===1&&(e.adler=Bm(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(qs(r.head),r.strstart=0,r.block_start=0,r.insert=0);let l=new Uint8Array(r.w_size);l.set(t.subarray(n-r.w_size,n),0),t=l,n=r.w_size}const i=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,jd(r);r.lookahead>=_n;){let l=r.strstart,u=r.lookahead-(_n-1);do r.ins_h=gl(r,r.ins_h,r.window[l+_n-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++;while(--u);r.strstart=l,r.lookahead=_n-1,jd(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=_n-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=i,r.wrap=a,ca};var wet=Cet,Iet=Vae,Oet=Gae,Net=Hae,Aet=yet,Det=Tet,Met=xet,Let=Ret,ket="pako deflate (from Nodeca project)",$f={deflateInit:wet,deflateInit2:Iet,deflateReset:Oet,deflateResetKeep:Net,deflateSetHeader:Aet,deflate:Det,deflateEnd:Met,deflateSetDictionary:Let,deflateInfo:ket};const Pet=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var $et=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)Pet(n,r)&&(e[r]=n[r])}}return e},Fet=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Um[254]=Um[254]=1;var Bet=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,i,o=e.length,s=0;for(a=0;a>>6,t[i++]=128|n&63):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|n&63):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|n&63);return t};const Uet=(e,t)=>{if(t<65534&&e.subarray&&qae)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const i=new Array(n*2);for(a=0,r=0;r4){i[a++]=65533,r+=s-1;continue}for(o&=s===2?31:s===3?15:7;s>1&&r1){i[a++]=65533;continue}o<65536?i[a++]=o:(o-=65536,i[a++]=55296|o>>10&1023,i[a++]=56320|o&1023)}return Uet(i,a)},zet=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Um[e[n]]>t?n:t},jm={string2buf:Bet,buf2string:jet,utf8border:zet};function Het(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Wae=Het;const Yae=Object.prototype.toString,{Z_NO_FLUSH:Get,Z_SYNC_FLUSH:Vet,Z_FULL_FLUSH:qet,Z_FINISH:Wet,Z_OK:K_,Z_STREAM_END:Yet,Z_DEFAULT_COMPRESSION:Ket,Z_DEFAULT_STRATEGY:Xet,Z_DEFLATED:Qet}=_p;function Pg(e){this.options=oE.assign({level:Ket,method:Qet,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xet},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Wae,this.strm.avail_out=0;let n=$f.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==K_)throw new Error(Lc[n]);if(t.header&&$f.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=jm.string2buf(t.dictionary):Yae.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=$f.deflateSetDictionary(this.strm,r),n!==K_)throw new Error(Lc[n]);this._dict_set=!0}}Pg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,i;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?Wet:Get,typeof e=="string"?n.input=jm.string2buf(e):Yae.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(i===Vet||i===qet)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=$f.deflate(n,i),a===Yet)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=$f.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===K_;if(n.avail_out===0){this.onData(n.output);continue}if(i>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};Pg.prototype.onData=function(e){this.chunks.push(e)};Pg.prototype.onEnd=function(e){e===K_&&(this.result=oE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function S2(e,t){const n=new Pg(t);if(n.push(e,!0),n.err)throw n.msg||Lc[n.err];return n.result}function Zet(e,t){return t=t||{},t.raw=!0,S2(e,t)}function Jet(e,t){return t=t||{},t.gzip=!0,S2(e,t)}var ett=Pg,ttt=S2,ntt=Zet,rtt=Jet,att=_p,itt={Deflate:ett,deflate:ttt,deflateRaw:ntt,gzip:rtt,constants:att};const Kh=16209,ott=16191;var stt=function(t,n){let r,a,i,o,s,l,u,d,p,f,m,g,h,v,S,b,E,y,C,T,x,R,w,I;const O=t.state;r=t.next_in,w=t.input,a=r+(t.avail_in-5),i=t.next_out,I=t.output,o=i-(n-t.avail_out),s=i+(t.avail_out-257),l=O.dmax,u=O.wsize,d=O.whave,p=O.wnext,f=O.window,m=O.hold,g=O.bits,h=O.lencode,v=O.distcode,S=(1<>>24,m>>>=y,g-=y,y=E>>>16&255,y===0)I[i++]=E&65535;else if(y&16){C=E&65535,y&=15,y&&(g>>=y,g-=y),g<15&&(m+=w[r++]<>>24,m>>>=y,g-=y,y=E>>>16&255,y&16){if(T=E&65535,y&=15,gl){t.msg="invalid distance too far back",O.mode=Kh;break e}if(m>>>=y,g-=y,y=i-o,T>y){if(y=T-y,y>d&&O.sane){t.msg="invalid distance too far back",O.mode=Kh;break e}if(x=0,R=f,p===0){if(x+=u-y,y2;)I[i++]=R[x++],I[i++]=R[x++],I[i++]=R[x++],C-=3;C&&(I[i++]=R[x++],C>1&&(I[i++]=R[x++]))}else{x=i-T;do I[i++]=I[x++],I[i++]=I[x++],I[i++]=I[x++],C-=3;while(C>2);C&&(I[i++]=I[x++],C>1&&(I[i++]=I[x++]))}}else if(y&64){t.msg="invalid distance code",O.mode=Kh;break e}else{E=v[(E&65535)+(m&(1<>3,r-=C,g-=C<<3,m&=(1<{const l=s.bits;let u=0,d=0,p=0,f=0,m=0,g=0,h=0,v=0,S=0,b=0,E,y,C,T,x,R=null,w;const I=new Uint16Array(Cu+1),O=new Uint16Array(Cu+1);let k=null,P,M,N;for(u=0;u<=Cu;u++)I[u]=0;for(d=0;d=1&&I[f]===0;f--);if(m>f&&(m=f),f===0)return a[i++]=1<<24|64<<16|0,a[i++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p0&&(e===Q9||f!==1))return-1;for(O[1]=0,u=1;uK9||e===Z9&&S>X9)return 1;for(;;){P=u-h,o[d]+1=w?(M=k[o[d]-w],N=R[o[d]-w]):(M=96,N=0),E=1<>h)+y]=P<<24|M<<16|N|0;while(y!==0);for(E=1<>=1;if(E!==0?(b&=E-1,b+=E):b=0,d++,--I[u]===0){if(u===f)break;u=t[n+o[d]]}if(u>m&&(b&T)!==C){for(h===0&&(h=m),x+=p,g=u-h,v=1<K9||e===Z9&&S>X9)return 1;C=b&T,a[C]=m<<24|g<<16|x-i|0}}return b!==0&&(a[x+b]=u-h<<24|64<<16|0),s.bits=m,0};var Ff=ptt;const ftt=0,Kae=1,Xae=2,{Z_FINISH:J9,Z_BLOCK:mtt,Z_TREES:Xh,Z_OK:Pc,Z_STREAM_END:gtt,Z_NEED_DICT:htt,Z_STREAM_ERROR:qi,Z_DATA_ERROR:Qae,Z_MEM_ERROR:Zae,Z_BUF_ERROR:vtt,Z_DEFLATED:eq}=_p,sE=16180,tq=16181,nq=16182,rq=16183,aq=16184,iq=16185,oq=16186,sq=16187,lq=16188,cq=16189,X_=16190,ts=16191,J1=16192,uq=16193,eN=16194,dq=16195,pq=16196,fq=16197,mq=16198,Qh=16199,Zh=16200,gq=16201,hq=16202,vq=16203,_q=16204,bq=16205,tN=16206,Sq=16207,Eq=16208,dr=16209,Jae=16210,eie=16211,_tt=852,btt=592,Stt=15,Ett=Stt,yq=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function ytt(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Jc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeeie?1:0},tie=e=>{if(Jc(e))return qi;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=sE,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(_tt),t.distcode=t.distdyn=new Int32Array(btt),t.sane=1,t.back=-1,Pc},nie=e=>{if(Jc(e))return qi;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,tie(e)},rie=(e,t)=>{let n;if(Jc(e))return qi;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?qi:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,nie(e))},aie=(e,t)=>{if(!e)return qi;const n=new ytt;e.state=n,n.strm=e,n.window=null,n.mode=sE;const r=rie(e,t);return r!==Pc&&(e.state=null),r},Ctt=e=>aie(e,Ett);let Cq=!0,nN,rN;const Ttt=e=>{if(Cq){nN=new Int32Array(512),rN=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ff(Kae,e.lens,0,288,nN,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ff(Xae,e.lens,0,32,rN,0,e.work,{bits:5}),Cq=!1}e.lencode=nN,e.lenbits=9,e.distcode=rN,e.distbits=5},iie=(e,t,n,r)=>{let a;const i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(a=i.wsize-i.wnext,a>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),r-=a,r?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave{let n,r,a,i,o,s,l,u,d,p,f,m,g,h,v=0,S,b,E,y,C,T,x,R;const w=new Uint8Array(4);let I,O;const k=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Jc(e)||!e.output||!e.input&&e.avail_in!==0)return qi;n=e.state,n.mode===ts&&(n.mode=J1),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,p=s,f=l,R=Pc;e:for(;;)switch(n.mode){case sE:if(n.wrap===0){n.mode=J1;break}for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0),u=0,d=0,n.mode=tq;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=dr;break}if((u&15)!==eq){e.msg="unknown compression method",n.mode=dr;break}if(u>>>=4,d-=4,x=(u&15)+8,n.wbits===0&&(n.wbits=x),x>15||x>n.wbits){e.msg="invalid window size",n.mode=dr;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=nq;case nq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>8&255,w[2]=u>>>16&255,w[3]=u>>>24&255,n.check=Wr(n.check,w,4,0)),u=0,d=0,n.mode=rq;case rq:for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>8),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=aq;case aq:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=iq;case iq:if(n.flags&1024&&(m=n.length,m>s&&(m=s),m&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+m),x)),n.flags&512&&n.wrap&4&&(n.check=Wr(n.check,r,m,i)),s-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=oq;case oq:if(n.flags&2048){if(s===0)break e;m=0;do x=r[i+m++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x));while(x&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=ts;break;case cq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>=d&7,d-=d&7,n.mode=tN;break}for(;d<3;){if(s===0)break e;s--,u+=r[i++]<>>=1,d-=1,u&3){case 0:n.mode=uq;break;case 1:if(Ttt(n),n.mode=Qh,t===Xh){u>>>=2,d-=2;break e}break;case 2:n.mode=pq;break;case 3:e.msg="invalid block type",n.mode=dr}u>>>=2,d-=2;break;case uq:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=dr;break}if(n.length=u&65535,u=0,d=0,n.mode=eN,t===Xh)break e;case eN:n.mode=dq;case dq:if(m=n.length,m){if(m>s&&(m=s),m>l&&(m=l),m===0)break e;a.set(r.subarray(i,i+m),o),s-=m,i+=m,l-=m,o+=m,n.length-=m;break}n.mode=ts;break;case pq:for(;d<14;){if(s===0)break e;s--,u+=r[i++]<>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=dr;break}n.have=0,n.mode=fq;case fq:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[k[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},R=Ff(ftt,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid code lengths set",n.mode=dr;break}n.have=0,n.mode=mq;case mq:for(;n.have>>24,b=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,n.lens[n.have++]=E;else{if(E===16){for(O=S+2;d>>=S,d-=S,n.have===0){e.msg="invalid bit length repeat",n.mode=dr;break}x=n.lens[n.have-1],m=3+(u&3),u>>>=2,d-=2}else if(E===17){for(O=S+3;d>>=S,d-=S,x=0,m=3+(u&7),u>>>=3,d-=3}else{for(O=S+7;d>>=S,d-=S,x=0,m=11+(u&127),u>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=dr;break}for(;m--;)n.lens[n.have++]=x}}if(n.mode===dr)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=dr;break}if(n.lenbits=9,I={bits:n.lenbits},R=Ff(Kae,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid literal/lengths set",n.mode=dr;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},R=Ff(Xae,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,R){e.msg="invalid distances set",n.mode=dr;break}if(n.mode=Qh,t===Xh)break e;case Qh:n.mode=Zh;case Zh:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=u,n.bits=d,stt(e,f),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===ts&&(n.back=-1);break}for(n.back=0;v=n.lencode[u&(1<>>24,b=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,b=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,n.length=E,b===0){n.mode=bq;break}if(b&32){n.back=-1,n.mode=ts;break}if(b&64){e.msg="invalid literal/length code",n.mode=dr;break}n.extra=b&15,n.mode=gq;case gq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=hq;case hq:for(;v=n.distcode[u&(1<>>24,b=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,b=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,b&64){e.msg="invalid distance code",n.mode=dr;break}n.offset=E,n.extra=b&15,n.mode=vq;case vq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=dr;break}n.mode=_q;case _q:if(l===0)break e;if(m=f-l,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=dr;break}m>n.wnext?(m-=n.wnext,g=n.wsize-m):g=n.wnext-m,m>n.length&&(m=n.length),h=n.window}else h=a,g=o-n.offset,m=n.length;m>l&&(m=l),l-=m,n.length-=m;do a[o++]=h[g++];while(--m);n.length===0&&(n.mode=Zh);break;case bq:if(l===0)break e;a[o++]=n.length,l--,n.mode=Zh;break;case tN:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[i++]<{if(Jc(e))return qi;let t=e.state;return t.window&&(t.window=null),e.state=null,Pc},wtt=(e,t)=>{if(Jc(e))return qi;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,Pc):qi},Itt=(e,t)=>{const n=t.length;let r,a,i;return Jc(e)||(r=e.state,r.wrap!==0&&r.mode!==X_)?qi:r.mode===X_&&(a=1,a=Bm(a,t,n,0),a!==r.check)?Qae:(i=iie(e,t,n,n),i?(r.mode=Jae,Zae):(r.havedict=1,Pc))};var Ott=nie,Ntt=rie,Att=tie,Dtt=Ctt,Mtt=aie,Ltt=xtt,ktt=Rtt,Ptt=wtt,$tt=Itt,Ftt="pako inflate (from Nodeca project)",cs={inflateReset:Ott,inflateReset2:Ntt,inflateResetKeep:Att,inflateInit:Dtt,inflateInit2:Mtt,inflate:Ltt,inflateEnd:ktt,inflateGetHeader:Ptt,inflateSetDictionary:$tt,inflateInfo:Ftt};function Btt(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Utt=Btt;const oie=Object.prototype.toString,{Z_NO_FLUSH:jtt,Z_FINISH:ztt,Z_OK:zm,Z_STREAM_END:aN,Z_NEED_DICT:iN,Z_STREAM_ERROR:Htt,Z_DATA_ERROR:Tq,Z_MEM_ERROR:Gtt}=_p;function $g(e){this.options=oE.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Wae,this.strm.avail_out=0;let n=cs.inflateInit2(this.strm,t.windowBits);if(n!==zm)throw new Error(Lc[n]);if(this.header=new Utt,cs.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=jm.string2buf(t.dictionary):oie.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=cs.inflateSetDictionary(this.strm,t.dictionary),n!==zm)))throw new Error(Lc[n])}$g.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let i,o,s;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?ztt:jtt,oie.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=cs.inflate(n,o),i===iN&&a&&(i=cs.inflateSetDictionary(n,a),i===zm?i=cs.inflate(n,o):i===Tq&&(i=iN));n.avail_in>0&&i===aN&&n.state.wrap>0&&e[n.next_in]!==0;)cs.inflateReset(n),i=cs.inflate(n,o);switch(i){case Htt:case Tq:case iN:case Gtt:return this.onEnd(i),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||i===aN))if(this.options.to==="string"){let l=jm.utf8border(n.output,n.next_out),u=n.next_out-l,d=jm.buf2string(n.output,l);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(l,l+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(i===zm&&s===0)){if(i===aN)return i=cs.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};$g.prototype.onData=function(e){this.chunks.push(e)};$g.prototype.onEnd=function(e){e===zm&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=oE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function E2(e,t){const n=new $g(t);if(n.push(e),n.err)throw n.msg||Lc[n.err];return n.result}function Vtt(e,t){return t=t||{},t.raw=!0,E2(e,t)}var qtt=$g,Wtt=E2,Ytt=Vtt,Ktt=E2,Xtt=_p,Qtt={Inflate:qtt,inflate:Wtt,inflateRaw:Ytt,ungzip:Ktt,constants:Xtt};const{Deflate:znt,deflate:Ztt,deflateRaw:Hnt,gzip:Gnt}=itt,{Inflate:Jtt,inflate:Vnt,inflateRaw:qnt,ungzip:Wnt}=Qtt;var ent=Ztt,tnt=Jtt;class kv{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` `}async returnTrace(){try{await navigator.clipboard.writeText(this.traceLog),console.log("Text copied to clipboard!")}catch(t){console.error("Failed to copy text:",t)}}hexify(t){return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("").padEnd(16," ")}hexConvert(t,n=!0){if(n&&t.length>16){let r="",a=t;for(;a.length>0;){const i=a.slice(0,16),o=String.fromCharCode(...i).split("").map(s=>s===" "||s>=" "&&s<="~"&&s!==" "?s:".").join("");a=a.slice(16),r+=` - ${this.hexify(i.slice(0,8))} ${this.hexify(i.slice(8))} | ${o}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return i;a=this.leftOver,this.leftOver=new Uint8Array(0)}if(this.device.readable==null)return this.leftOver;this.reader=this.device.readable.getReader();try{t>0&&(r=setTimeout(()=>{this.reader&&this.reader.cancel()},t));do{const{value:i,done:o}=await this.reader.read();if(o)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,i.buffer))}while(a.length0&&clearTimeout(r),this.reader.releaseLock()}if(this.tracing&&(console.log("Read bytes"),this.trace(`Read ${a.length} bytes: ${this.hexConvert(a)}`)),this.slipReaderEnabled){const i=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${i.length} bytes: ${this.hexConvert(i)}`)),i}return a}async rawRead(t=0){if(this.leftOver.length!=0){const r=this.leftOver;return this.leftOver=new Uint8Array(0),r}if(!this.device.readable)return this.leftOver;this.reader=this.device.readable.getReader();let n;try{t>0&&(n=setTimeout(()=>{this.reader&&this.reader.cancel()},t));const{value:r,done:a}=await this.reader.read();return a||this.tracing&&(console.log("Raw Read bytes"),this.trace(`Read ${r.length} bytes: ${this.hexConvert(r)}`)),r}finally{t>0&&clearTimeout(n),this.reader.releaseLock()}}async setRTS(t){await this.device.setSignals({requestToSend:t}),await this.setDTR(this._DTR_state)}async setDTR(t){this._DTR_state=t,await this.device.setSignals({dataTerminalReady:t})}async connect(t=115200,n={}){await this.device.open({baudRate:t,dataBits:n==null?void 0:n.dataBits,stopBits:n==null?void 0:n.stopBits,bufferSize:n==null?void 0:n.bufferSize,parity:n==null?void 0:n.parity,flowControl:n==null?void 0:n.flowControl}),this.baudrate=t,this.leftOver=new Uint8Array(0)}async sleep(t){return new Promise(n=>setTimeout(n,t))}async waitForUnlock(t){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(t)}async disconnect(){var t,n;!((t=this.device.readable)===null||t===void 0)&&t.locked&&await((n=this.reader)===null||n===void 0?void 0:n.cancel()),await this.waitForUnlock(400),this.reader=void 0,await this.device.close()}}function Dv(e){return new Promise(t=>setTimeout(t,e))}async function jtt(e){await e.setRTS(!1),await e.setDTR(!1),await Dv(100),await e.setDTR(!0),await e.setRTS(!1),await Dv(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await Dv(100),await e.setRTS(!1),await e.setDTR(!1)}function ztt(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],i=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(i!=="0"&&i!=="1")return!1}else if(a==="W"){const o=parseInt(i);if(isNaN(o)||o<=0)return!1}}return!0}async function Htt(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await Dv(r)};try{if(!ztt(t))return;const a=t.split("|");for(const i of a){const o=i[0],s=i.slice(1);o==="W"?await n.W(Number(s)):(o==="D"||o==="R")&&await n[o](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var Gtt=function(t){return atob(t)};const Cq=xa(Gtt);async function Vtt(e){switch(e){case 15736195:{const{ESP32ROM:t}=await Zo(async()=>{const{ESP32ROM:n}=await import("./esp32-BPYaDt9v.js");return{ESP32ROM:n}},__vite__mapDeps([0,1]));return new t}case 1867591791:case 2084675695:{const{ESP32C2ROM:t}=await Zo(async()=>{const{ESP32C2ROM:n}=await import("./esp32c2-CtjOOsCE.js");return{ESP32C2ROM:n}},__vite__mapDeps([2,3,1]));return new t}case 1763790959:case 456216687:case 1216438383:case 1130455151:{const{ESP32C3ROM:t}=await Zo(async()=>{const{ESP32C3ROM:n}=await import("./esp32c3-DDsZSfEd.js");return{ESP32C3ROM:n}},__vite__mapDeps([3,1]));return new t}case 752910447:{const{ESP32C6ROM:t}=await Zo(async()=>{const{ESP32C6ROM:n}=await import("./esp32c6-BRG5ZpJ8.js");return{ESP32C6ROM:n}},__vite__mapDeps([4,1]));return new t}case 3619110528:{const{ESP32H2ROM:t}=await Zo(async()=>{const{ESP32H2ROM:n}=await import("./esp32h2-Cf8JbGZQ.js");return{ESP32H2ROM:n}},__vite__mapDeps([5,1]));return new t}case 9:{const{ESP32S3ROM:t}=await Zo(async()=>{const{ESP32S3ROM:n}=await import("./esp32s3-DkgZlzv1.js");return{ESP32S3ROM:n}},__vite__mapDeps([6,1]));return new t}case 1990:{const{ESP32S2ROM:t}=await Zo(async()=>{const{ESP32S2ROM:n}=await import("./esp32s2-BOsRKhcm.js");return{ESP32S2ROM:n}},__vite__mapDeps([7,1]));return new t}case 4293968129:{const{ESP8266ROM:t}=await Zo(async()=>{const{ESP8266ROM:n}=await import("./esp8266-8VKmCx7J.js");return{ESP8266ROM:n}},__vite__mapDeps([8,1]));return new t}case 0:case 182303440:case 117676761:{const{ESP32P4ROM:t}=await Zo(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([9,0,1]));return new t}default:return null}}class a1{constructor(t){this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_READ_FLASH=210,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.FLASH_READ_TIMEOUT=1e5,this.MAX_TIMEOUT=this.CHIP_ERASE_TIMEOUT*2,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.DETECTED_FLASH_SIZES_NUM={18:256,19:512,20:1024,21:2048,22:4096,23:8192,24:16384},this.USB_JTAG_SERIAL_PID=4097,this.romBaudrate=115200,this.debugLogging=!1,this.syncStubDetected=!1,this.checksum=function(n){let r,a=239;for(r=0;rsetTimeout(n,t))}write(t,n=!0){this.terminal?n?this.terminal.writeLine(t):this.terminal.write(t):console.log(t)}error(t,n=!0){this.write(`Error: ${t}`,n)}info(t,n=!0){this.write(t,n)}debug(t,n=!0){this.debugLogging&&this.write(`Debug: ${t}`,n)}_shortToBytearray(t){return new Uint8Array([t&255,t>>8&255])}_intToByteArray(t){return new Uint8Array([t&255,t>>8&255,t>>16&255,t>>24&255])}_byteArrayToShort(t,n){return t|n>>8}_byteArrayToInt(t,n,r,a){return t|n<<8|r<<16|a<<24}_appendBuffer(t,n){const r=new Uint8Array(t.byteLength+n.byteLength);return r.set(new Uint8Array(t),0),r.set(new Uint8Array(n),t.byteLength),r.buffer}_appendArray(t,n){const r=new Uint8Array(t.length+n.length);return r.set(t,0),r.set(n,t.length),r}ui8ToBstr(t){let n="";for(let r=0;r0&&(o=this._appendArray(o,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(i))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,o)}async sync(){this.debug("Sync");const t=new Uint8Array(36);let n;for(t[0]=7,t[1]=7,t[2]=18,t[3]=32,n=0;n<32;n++)t[4+n]=85;try{const r=await this.command(8,t,void 0,void 0,100);return this.syncStubDetected=this.syncStubDetected&&r[0]===0,r}catch(r){throw this.debug("Sync err "+r),r}}async _connectAttempt(t="default_reset",n=!1){if(this.debug("_connect_attempt "+t+" "+n),t!=="no_reset")if(this.transport.getPid()===this.USB_JTAG_SERIAL_PID)await jtt(this.transport);else{const i=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await Htt(this.transport,i)}let r=0,a=!0;for(;a;){try{const i=await this.transport.read(1e3);r+=i.length}catch(i){if(this.debug(i.message),i instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const i=await this.sync();return this.debug(i[0].toString()),"success"}catch(i){i instanceof Error&&(n?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(t="default_reset",n=7,r=!1){let a,i;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+o.toString(16));const s=await Vtt(o);if(this.chip===null)throw new wa(`Unexpected CHIP magic value ${o}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,i=3e3){this.debug("check_command "+t);const o=await this.command(n,r,a,void 0,i);return o[1].length>4?o[1]:o[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let i=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));i=this._appendArray(i,this._intToByteArray(r)),i=this._appendArray(i,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,i)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),i=new Date,o=i.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let l=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));l=this._appendArray(l,this._intToByteArray(this.FLASH_WRITE_SIZE)),l=this._appendArray(l,this._intToByteArray(n)),this.IS_STUB==!1&&(l=this._appendArray(l,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,l,void 0,s);const u=i.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-o)/1e3+"."+(u-o)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=new Date,s=o.getTime();let l,u;this.IS_STUB?(l=t,u=3e3):(l=i*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,l)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(l),this._intToByteArray(a));d=this._appendArray(d,this._intToByteArray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(d=this._appendArray(d,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,d,void 0,u);const p=o.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(p-s)/1e3+"."+(p-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,i,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,i,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,l=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,p=s+this.chip.SPI_USR2_OFFS,f=s+this.chip.SPI_W0_OFFS;let m;this.chip.SPI_MOSI_DLEN_OFFS!=null?m=async(x,R)=>{const w=s+this.chip.SPI_MOSI_DLEN_OFFS,I=s+this.chip.SPI_MISO_DLEN_OFFS;x>0&&await this.writeReg(w,x-1),R>0&&await this.writeReg(I,R-1)}:m=async(x,R)=>{const w=d,I=17,O=8,k=x===0?0:x-1,M=(R===0?0:R-1)<32)throw new wa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new wa("Writing more than 64 bytes of data with one SPI command is unsupported");const v=n.length*8,S=await this.readReg(u),_=await this.readReg(p);let E=-2147483648,y;r>0&&(E|=268435456),v>0&&(E|=134217728),await m(v,r),await this.writeReg(u,E);let C=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let i=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return i instanceof Uint8Array&&i.length>16&&(i=i.slice(0,16)),this.toHex(i)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const i=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(i!=0)throw new wa("Failed to read memory: "+i);let o=new Uint8Array(0);for(;o.length0&&(o=this._appendArray(o,s),await this.transport.write(this._intToByteArray(o.length)),r&&r(s,o.length,n));else throw new wa("Failed to read memory: "+s)}return o}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=Cq(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=Cq(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let i=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),o;for(await this.memBegin(r.length,i,this.ESP_RAM_BLOCK,this.chip.TEXT_START),o=0;o"u")throw new wa("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,i){if(this.debug("_update_image_flash_params "+r+" "+a+" "+i),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&i==="keep")return this.info("Not changing the image"),t;const o=parseInt(t[0]);let s=parseInt(t[2]);const l=parseInt(t[3]);if(o!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=l&15;i!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[i]);let d=l&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const p=s<<8|u+d;return this.info("Flash params set to "+p.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+d&&(t=t.substring(0,3)+(u+d).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let i=0;ia)throw new wa(`File ${i+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-i)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let o=null;t.calculateMD5Hash&&(o=t.calculateMD5Hash(n),this.debug("Image MD5 "+o));const s=n.length;let l;if(t.compress){const _=this.bstrToUi8(n);n=this.ui8ToBstr(Btt(_,{level:9})),l=await this.flashDeflBegin(s,n.length,r)}else l=await this.flashBegin(s,r);let u=0,d=0;const p=n.length;t.reportProgress&&t.reportProgress(a,0,p);let f=new Date;const m=f.getTime();let g=5e3;const h=new Utt({chunkSize:1});let v=0;for(h.onData=function(_){v+=_.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+l),this.info("Writing at 0x"+(r+v).toString(16)+"... ("+Math.floor(100*(u+1)/l)+"%)");const _=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const E=v;h.push(_,!1);const y=v-E;let C=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)>3e3&&(C=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)),this.IS_STUB===!1&&(g=C),await this.flashDeflBlock(_,u,g),this.IS_STUB&&(g=C)}else throw new wa("Yet to handle Non Compressed writes");d+=_.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,p)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,g),f=new Date;const S=f.getTime()-m;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+S/1e3+" seconds."),o){const _=await this.flashMd5sum(r,s);if(new String(_).valueOf()!=new String(o).valueOf())throw this.info("File md5: "+o),this.info("Flash md5: "+_),new wa("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new wa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const qtt=()=>{const[e,t]=c.useState(0),n=["",".","..","...","....","....."];return c.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),b.jsx(b.Fragment,{children:n[e]})},Wtt=()=>"serial"in navigator,yu=new xn(vn()),{Paragraph:Nr,Text:Ytt}=wn,{Step:Ktt}=hg,Xtt=()=>{const{t:e}=$t(),t=ra.language,n=c.useRef(null),[r,a]=c.useState(!1),[i,o]=c.useState(""),[s,l]=c.useState(!1),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState("certs/client"),[h,v]=c.useState(""),[S,_]=c.useState(0),[E,y]=c.useState([b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{})]),[C,T]=c.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,hostname:window.location.hostname,wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1}),[x,R]=c.useState(!1),w=921600,I=115200;function O(ne){const ae=new Uint8Array(ne);let le="";for(let pe=0;pe{(async()=>{const le=await(await yu.apiGetTeddyCloudSettingRaw("core.certdir")).text();g(le)})()},[]),c.useEffect(()=>{R(Wtt())},[]),c.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const ne=async()=>{try{return await(await yu.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(pe){console.error("Error fetching https port: ",pe)}},ae=async()=>{try{return await(await yu.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(pe){console.error("Error fetching http port: ",pe)}};(async()=>{const pe=await ne()||"",Re=await ae()||"",Se=new URL(window.location.href);Se.protocol="https:",Se.port?Se.port=Se.port===Re?pe:Se.port:Se.port=pe,o(Se.toString())})()}else a(!0)},[]),c.useEffect(()=>{F(S,(()=>{switch(S){case 0:return Y;case 1:return X;case 2:return V;case 3:return q;default:return b.jsx("div",{})}})())},[C,t]),c.useEffect(()=>{C.proceed&&me()},[C.proceed]),c.useEffect(()=>{l(C.actionInProgress)},[C.actionInProgress]);const k=()=>{i&&(window.location.href=i)},P=async ne=>{if(C.port)return console.log(C.port.getInfo),C.port;T(le=>({...le,showStatus:!0,showProgress:!1,progress:0,state:ne||"Open serial port"}));let ae=null;try{ae=await navigator.serial.requestPort(),await ae.open({baudRate:115200}),await ae.close()}catch(le){return le==="NetworkError"?(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):le==="NotFoundError"?T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+le,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${le}`)),null}return ae?(console.log("port done"),T(le=>({...le,port:ae})),ae):(T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},M=async ne=>{if(console.log("loadFlashFile"),!ne.target.files)return;const ae=ne.target.files[0];if(!ae)return;T(pe=>({...pe,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+ae+"'");const le=new FileReader;le.onload=async pe=>{var Pe;console.log("Connecting to ESP32");const Re=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(Re===null||C.connected){T(fe=>({...fe,actionInProgress:!1}));return}T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${C.port}`,showFlash:!1,connected:!0}));let Se=null;try{const fe=new Av(Re);Se=new a1({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await Re.close();return}try{T(Ie=>({...Ie,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await Se.main();let fe=await Se.chip.readMac(Se);T(Ie=>({...Ie,chipMac:fe})),console.log("Chip MAC: "+fe),await Re.close();const ve=(Pe=pe.target)==null?void 0:Pe.result,Ae=new Uint8Array(ve),ye=`ESP32_${fe.replace(/:/g,"")}`,be=new Blob([Ae],{type:"application/octet-stream"}),Ne=URL.createObjectURL(be);await A(Ae,ye),pe.target&&T(Ie=>{var xe;return{...Ie,patchedFlash:(xe=pe.target)==null?void 0:xe.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:Ne}}),console.log("Done")}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await Re.close();return}},le.readAsArrayBuffer(ae),T(pe=>({...pe,actionInProgress:!1})),ne.target.value=""},N=async()=>{let ne=null,ae=null,le="";ae=new Uint8Array(1024);const pe=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(pe===null||C.connected)return;T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${pe.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const fe=new Av(pe);ne=new a1({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await pe.close();return}try{T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ne.main(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),le=await ne.chip.readMac(ne),T(ye=>({...ye,chipMac:le})),console.log("Chip MAC: "+le);const fe=await ne.chip.getChipDescription(ne);T(ye=>({...ye,chipType:fe}));let ve=await ne.readFlashId();T(ye=>({...ye,flashId:""+ve,flashManuf:""+(ve&255),flashDevice:""+(ve>>8&255)}));let Ae=await ne.getFlashSize();if(T(ye=>({...ye,flashSize:""+Ae})),Ae<0||Ae>16384){T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await pe.close();return}T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),ae=await ne.readFlash(0,Ae*1024,(ye,be,Ne)=>{const Ie=100*be/Ne;T(xe=>({...xe,progress:Ie}))}),await pe.close(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:ae,connected:!1}))}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await pe.close();return}const Re=`ESP32_${le.replace(/:/g,"")}`,Se=new Blob([ae],{type:"application/octet-stream"}),Pe=URL.createObjectURL(Se);T(fe=>({...fe,downloadLink:Pe,showProgress:!1})),await A(ae,Re),console.log("Done")},A=async(ne,ae)=>{try{T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const le=new FormData;le.append(ae,new Blob([ne.buffer]),ae);const pe=await yu.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",le);if(pe.ok&&pe.status===200){const Re=await pe.text();T(Se=>({...Se,showDownload:!0,filename:Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${Re}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(le){console.error("There was an error when uploading!",le),T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},D=async()=>{if(C.wifi_ssid&&!C.wifi_pass||!C.wifi_ssid&&C.wifi_pass){T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}T(ae=>({...ae,actionInProgress:!0})),T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const ne=await yu.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${C.filename}&hostname=${encodeURIComponent(C.hostname)}`+(C.wifi_ssid&&C.wifi_pass?`&wifi_ssid=${encodeURIComponent(C.wifi_ssid)}&wifi_pass=${encodeURIComponent(C.wifi_pass)}`:""));if(T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),ne.ok&&ne.status===200){const ae=await ne.arrayBuffer();T(Re=>({...Re,patchedFlash:ae,showFlash:!0,flashName:"patched"}));const le=new Blob([ae],{type:"application/octet-stream"}),pe=URL.createObjectURL(le);T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(ae.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:pe})),me()}else T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));T(ae=>({...ae,actionInProgress:!1}))},L=async()=>{const ne=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(ne===null||C.connected)return;T(le=>({...le,actionInProgress:!0,error:!1})),T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${ne.getInfo()}`,connected:!0}));let ae=null;try{const le=new Av(ne);ae=new a1({transport:le,baudrate:w,romBaudrate:I})}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),alert(le),await ne.close();return}try{T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ae.main(),T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let le=await ae.chip.readMac(ae);T(ve=>({...ve,chipMac:le})),console.log("Chip MAC: "+le);const pe=await ae.chip.getChipDescription(ae);T(ve=>({...ve,chipType:pe}));let Re=await ae.readFlashId();T(ve=>({...ve,flashId:""+Re,flashManuf:""+(Re&255),flashDevice:""+(Re>>8&255)}));let Se=await ae.getFlashSize();if(T(ve=>({...ve,flashSize:""+Se})),Se<0||Se>16384){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await ne.close();return}T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Pe=[];Pe.push({data:O(C.patchedFlash),address:0});let fe={fileArray:Pe,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(ve,Ae,ye)=>{const be=100*Ae/ye;T(Ne=>({...Ne,progress:be}))}};T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await ae.writeFlash(fe),await ne.close(),T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),console.error(le),alert(le),await ne.close();return}},$=async ne=>{const ae=Qe.loading(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates"),0);ne&&f(!1);try{const le=await yu.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${C.filename}`+(ne?"&overwrite=true":""));if(le.ok&&le.status===200)ae(),Qe.success(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful",{file:C.filename}));else if(!le.ok&&le.status===409){ae();const pe=await le.text();Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+pe),v(pe),f(!0)}else ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+await le.text())}catch(le){ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+le)}},F=(ne,ae)=>{y(le=>{const pe=[...le];return pe[ne]=ae,pe})},B=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],z=b.jsx(b.Fragment,{children:C.showProgress&&b.jsx("div",{children:b.jsx("div",{children:b.jsx(gS,{percent:C.progress||0,format:ne=>`${(ne??0).toFixed(2)}%`})})})}),U=b.jsx(b.Fragment,{children:(C.chipType||C.chipMac)&&b.jsxs("div",{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),b.jsx("table",{className:"info-table",children:b.jsxs("tbody",{children:[C.chipType&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),b.jsx("td",{children:C.chipType})]}),C.chipMac&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),b.jsx("td",{children:C.chipMac})]}),C.flashId&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),b.jsxs("td",{children:["0x",C.flashId.toString()]})]}),C.flashManuf&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),b.jsxs("td",{children:["0x",C.flashManuf.toString()]})]}),C.flashDevice&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),b.jsxs("td",{children:["0x",C.flashDevice.toString()]})]}),C.flashSize&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),b.jsxs("td",{children:[C.flashSize," KiB"]})]})]})})]})}),j=ne=>ne.replace(/[^a-zA-Z0-9-.]/g,"").trim(),G=ne=>{if(ne.endsWith("...")){const ae=ne.slice(0,-3);return b.jsxs("div",{style:{display:"flex"},children:[ae,b.jsx(qtt,{})]})}return ne},J=C.showStatus&&b.jsx("div",{className:"status",style:{marginBottom:16,color:C.error?"#CC3010":"unset"},children:b.jsx("i",{children:G(C.state)})}),Y=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!C.actionInProgress&&b.jsxs(b.Fragment,{children:[b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),b.jsx(Nr,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")})]}),J,b.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:M}),z]}),X=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),b.jsxs("div",{children:[!C.actionInProgress&&b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),J,!C.actionInProgress&&C.downloadLink?b.jsxs("div",{style:{marginBottom:16},children:[" ",b.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",b.jsxs(Xt,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextHostname?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:C.hostname,onChange:ne=>{let ae=j(ne.target.value),le="";ae.length>12?le=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):le="",T(pe=>({...pe,hostname:ae,warningTextHostname:le}))}})})]}),C.warningTextHostname&&b.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),b.jsx(Xt.Item,{children:b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",defaultValue:C.wifi_ssid,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_ssid:ae,warningTextWifi:ne.target.value&&C.wifi_pass||!ne.target.value&&!C.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en.Password,{defaultValue:C.wifi_pass,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_pass:ae,warningTextWifi:ne.target.value&&C.wifi_ssid||!ne.target.value&&!C.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),C.warningTextWifi&&b.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),z]}),V=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!C.actionInProgress&&b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),J,!C.actionInProgress&&C.downloadLinkPatched?b.jsxs("div",{style:{marginBottom:16},children:[" ",b.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",z]}),H=`${m}/${C.chipMac?C.chipMac.replaceAll(":","").toLowerCase():""}`,q=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),J,z,(C.downloadLink||C.downloadLinkPatched)&&b.jsxs(b.Fragment,{children:[b.jsx(Xn,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:b.jsxs("div",{children:[b.jsxs(wn,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),b.jsx(Rt,{icon:b.jsx(zk,{}),disabled:s,type:"primary",onClick:()=>ue(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:m,mac:C.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),b.jsx(wn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),b.jsx(wn,{children:b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:b.jsxs(wn,{children:[b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",b.jsx(Ytt,{code:!0,children:"docker exec -it bash"}),"."]}),b.jsx(Nr,{children:b.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup + ${this.hexify(i.slice(0,8))} ${this.hexify(i.slice(8))} | ${o}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return i;a=this.leftOver,this.leftOver=new Uint8Array(0)}if(this.device.readable==null)return this.leftOver;this.reader=this.device.readable.getReader();try{t>0&&(r=setTimeout(()=>{this.reader&&this.reader.cancel()},t));do{const{value:i,done:o}=await this.reader.read();if(o)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,i.buffer))}while(a.length0&&clearTimeout(r),this.reader.releaseLock()}if(this.tracing&&(console.log("Read bytes"),this.trace(`Read ${a.length} bytes: ${this.hexConvert(a)}`)),this.slipReaderEnabled){const i=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${i.length} bytes: ${this.hexConvert(i)}`)),i}return a}async rawRead(t=0){if(this.leftOver.length!=0){const r=this.leftOver;return this.leftOver=new Uint8Array(0),r}if(!this.device.readable)return this.leftOver;this.reader=this.device.readable.getReader();let n;try{t>0&&(n=setTimeout(()=>{this.reader&&this.reader.cancel()},t));const{value:r,done:a}=await this.reader.read();return a||this.tracing&&(console.log("Raw Read bytes"),this.trace(`Read ${r.length} bytes: ${this.hexConvert(r)}`)),r}finally{t>0&&clearTimeout(n),this.reader.releaseLock()}}async setRTS(t){await this.device.setSignals({requestToSend:t}),await this.setDTR(this._DTR_state)}async setDTR(t){this._DTR_state=t,await this.device.setSignals({dataTerminalReady:t})}async connect(t=115200,n={}){await this.device.open({baudRate:t,dataBits:n==null?void 0:n.dataBits,stopBits:n==null?void 0:n.stopBits,bufferSize:n==null?void 0:n.bufferSize,parity:n==null?void 0:n.parity,flowControl:n==null?void 0:n.flowControl}),this.baudrate=t,this.leftOver=new Uint8Array(0)}async sleep(t){return new Promise(n=>setTimeout(n,t))}async waitForUnlock(t){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(t)}async disconnect(){var t,n;!((t=this.device.readable)===null||t===void 0)&&t.locked&&await((n=this.reader)===null||n===void 0?void 0:n.cancel()),await this.waitForUnlock(400),this.reader=void 0,await this.device.close()}}function Pv(e){return new Promise(t=>setTimeout(t,e))}async function nnt(e){await e.setRTS(!1),await e.setDTR(!1),await Pv(100),await e.setDTR(!0),await e.setRTS(!1),await Pv(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await Pv(100),await e.setRTS(!1),await e.setDTR(!1)}function rnt(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],i=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(i!=="0"&&i!=="1")return!1}else if(a==="W"){const o=parseInt(i);if(isNaN(o)||o<=0)return!1}}return!0}async function ant(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await Pv(r)};try{if(!rnt(t))return;const a=t.split("|");for(const i of a){const o=i[0],s=i.slice(1);o==="W"?await n.W(Number(s)):(o==="D"||o==="R")&&await n[o](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var int=function(t){return atob(t)};const xq=xa(int);async function ont(e){switch(e){case 15736195:{const{ESP32ROM:t}=await es(async()=>{const{ESP32ROM:n}=await import("./esp32-BPYaDt9v.js");return{ESP32ROM:n}},__vite__mapDeps([0,1]));return new t}case 1867591791:case 2084675695:{const{ESP32C2ROM:t}=await es(async()=>{const{ESP32C2ROM:n}=await import("./esp32c2-CtjOOsCE.js");return{ESP32C2ROM:n}},__vite__mapDeps([2,3,1]));return new t}case 1763790959:case 456216687:case 1216438383:case 1130455151:{const{ESP32C3ROM:t}=await es(async()=>{const{ESP32C3ROM:n}=await import("./esp32c3-DDsZSfEd.js");return{ESP32C3ROM:n}},__vite__mapDeps([3,1]));return new t}case 752910447:{const{ESP32C6ROM:t}=await es(async()=>{const{ESP32C6ROM:n}=await import("./esp32c6-BRG5ZpJ8.js");return{ESP32C6ROM:n}},__vite__mapDeps([4,1]));return new t}case 3619110528:{const{ESP32H2ROM:t}=await es(async()=>{const{ESP32H2ROM:n}=await import("./esp32h2-Cf8JbGZQ.js");return{ESP32H2ROM:n}},__vite__mapDeps([5,1]));return new t}case 9:{const{ESP32S3ROM:t}=await es(async()=>{const{ESP32S3ROM:n}=await import("./esp32s3-DkgZlzv1.js");return{ESP32S3ROM:n}},__vite__mapDeps([6,1]));return new t}case 1990:{const{ESP32S2ROM:t}=await es(async()=>{const{ESP32S2ROM:n}=await import("./esp32s2-BOsRKhcm.js");return{ESP32S2ROM:n}},__vite__mapDeps([7,1]));return new t}case 4293968129:{const{ESP8266ROM:t}=await es(async()=>{const{ESP8266ROM:n}=await import("./esp8266-8VKmCx7J.js");return{ESP8266ROM:n}},__vite__mapDeps([8,1]));return new t}case 0:case 182303440:case 117676761:{const{ESP32P4ROM:t}=await es(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([9,0,1]));return new t}default:return null}}class oN{constructor(t){this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_READ_FLASH=210,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.FLASH_READ_TIMEOUT=1e5,this.MAX_TIMEOUT=this.CHIP_ERASE_TIMEOUT*2,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.DETECTED_FLASH_SIZES_NUM={18:256,19:512,20:1024,21:2048,22:4096,23:8192,24:16384},this.USB_JTAG_SERIAL_PID=4097,this.romBaudrate=115200,this.debugLogging=!1,this.syncStubDetected=!1,this.checksum=function(n){let r,a=239;for(r=0;rsetTimeout(n,t))}write(t,n=!0){this.terminal?n?this.terminal.writeLine(t):this.terminal.write(t):console.log(t)}error(t,n=!0){this.write(`Error: ${t}`,n)}info(t,n=!0){this.write(t,n)}debug(t,n=!0){this.debugLogging&&this.write(`Debug: ${t}`,n)}_shortToBytearray(t){return new Uint8Array([t&255,t>>8&255])}_intToByteArray(t){return new Uint8Array([t&255,t>>8&255,t>>16&255,t>>24&255])}_byteArrayToShort(t,n){return t|n>>8}_byteArrayToInt(t,n,r,a){return t|n<<8|r<<16|a<<24}_appendBuffer(t,n){const r=new Uint8Array(t.byteLength+n.byteLength);return r.set(new Uint8Array(t),0),r.set(new Uint8Array(n),t.byteLength),r.buffer}_appendArray(t,n){const r=new Uint8Array(t.length+n.length);return r.set(t,0),r.set(n,t.length),r}ui8ToBstr(t){let n="";for(let r=0;r0&&(o=this._appendArray(o,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(i))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,o)}async sync(){this.debug("Sync");const t=new Uint8Array(36);let n;for(t[0]=7,t[1]=7,t[2]=18,t[3]=32,n=0;n<32;n++)t[4+n]=85;try{const r=await this.command(8,t,void 0,void 0,100);return this.syncStubDetected=this.syncStubDetected&&r[0]===0,r}catch(r){throw this.debug("Sync err "+r),r}}async _connectAttempt(t="default_reset",n=!1){if(this.debug("_connect_attempt "+t+" "+n),t!=="no_reset")if(this.transport.getPid()===this.USB_JTAG_SERIAL_PID)await nnt(this.transport);else{const i=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await ant(this.transport,i)}let r=0,a=!0;for(;a;){try{const i=await this.transport.read(1e3);r+=i.length}catch(i){if(this.debug(i.message),i instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const i=await this.sync();return this.debug(i[0].toString()),"success"}catch(i){i instanceof Error&&(n?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(t="default_reset",n=7,r=!1){let a,i;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+o.toString(16));const s=await ont(o);if(this.chip===null)throw new wa(`Unexpected CHIP magic value ${o}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,i=3e3){this.debug("check_command "+t);const o=await this.command(n,r,a,void 0,i);return o[1].length>4?o[1]:o[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let i=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));i=this._appendArray(i,this._intToByteArray(r)),i=this._appendArray(i,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,i)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),i=new Date,o=i.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let l=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));l=this._appendArray(l,this._intToByteArray(this.FLASH_WRITE_SIZE)),l=this._appendArray(l,this._intToByteArray(n)),this.IS_STUB==!1&&(l=this._appendArray(l,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,l,void 0,s);const u=i.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-o)/1e3+"."+(u-o)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=new Date,s=o.getTime();let l,u;this.IS_STUB?(l=t,u=3e3):(l=i*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,l)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(l),this._intToByteArray(a));d=this._appendArray(d,this._intToByteArray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(d=this._appendArray(d,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,d,void 0,u);const p=o.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(p-s)/1e3+"."+(p-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,i,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,i,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,l=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,p=s+this.chip.SPI_USR2_OFFS,f=s+this.chip.SPI_W0_OFFS;let m;this.chip.SPI_MOSI_DLEN_OFFS!=null?m=async(x,R)=>{const w=s+this.chip.SPI_MOSI_DLEN_OFFS,I=s+this.chip.SPI_MISO_DLEN_OFFS;x>0&&await this.writeReg(w,x-1),R>0&&await this.writeReg(I,R-1)}:m=async(x,R)=>{const w=d,I=17,O=8,k=x===0?0:x-1,M=(R===0?0:R-1)<32)throw new wa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new wa("Writing more than 64 bytes of data with one SPI command is unsupported");const v=n.length*8,S=await this.readReg(u),b=await this.readReg(p);let E=-2147483648,y;r>0&&(E|=268435456),v>0&&(E|=134217728),await m(v,r),await this.writeReg(u,E);let C=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let i=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return i instanceof Uint8Array&&i.length>16&&(i=i.slice(0,16)),this.toHex(i)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const i=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(i!=0)throw new wa("Failed to read memory: "+i);let o=new Uint8Array(0);for(;o.length0&&(o=this._appendArray(o,s),await this.transport.write(this._intToByteArray(o.length)),r&&r(s,o.length,n));else throw new wa("Failed to read memory: "+s)}return o}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=xq(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=xq(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let i=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),o;for(await this.memBegin(r.length,i,this.ESP_RAM_BLOCK,this.chip.TEXT_START),o=0;o"u")throw new wa("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,i){if(this.debug("_update_image_flash_params "+r+" "+a+" "+i),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&i==="keep")return this.info("Not changing the image"),t;const o=parseInt(t[0]);let s=parseInt(t[2]);const l=parseInt(t[3]);if(o!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=l&15;i!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[i]);let d=l&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const p=s<<8|u+d;return this.info("Flash params set to "+p.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+d&&(t=t.substring(0,3)+(u+d).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let i=0;ia)throw new wa(`File ${i+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-i)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let o=null;t.calculateMD5Hash&&(o=t.calculateMD5Hash(n),this.debug("Image MD5 "+o));const s=n.length;let l;if(t.compress){const b=this.bstrToUi8(n);n=this.ui8ToBstr(ent(b,{level:9})),l=await this.flashDeflBegin(s,n.length,r)}else l=await this.flashBegin(s,r);let u=0,d=0;const p=n.length;t.reportProgress&&t.reportProgress(a,0,p);let f=new Date;const m=f.getTime();let g=5e3;const h=new tnt({chunkSize:1});let v=0;for(h.onData=function(b){v+=b.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+l),this.info("Writing at 0x"+(r+v).toString(16)+"... ("+Math.floor(100*(u+1)/l)+"%)");const b=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const E=v;h.push(b,!1);const y=v-E;let C=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)>3e3&&(C=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)),this.IS_STUB===!1&&(g=C),await this.flashDeflBlock(b,u,g),this.IS_STUB&&(g=C)}else throw new wa("Yet to handle Non Compressed writes");d+=b.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,p)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,g),f=new Date;const S=f.getTime()-m;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+S/1e3+" seconds."),o){const b=await this.flashMd5sum(r,s);if(new String(b).valueOf()!=new String(o).valueOf())throw this.info("File md5: "+o),this.info("Flash md5: "+b),new wa("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new wa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const snt=()=>{const[e,t]=c.useState(0),n=["",".","..","...","....","....."];return c.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),_.jsx(_.Fragment,{children:n[e]})},lnt=()=>"serial"in navigator,Tu=new xn(vn()),{Paragraph:Ir,Text:cnt}=Tn,{Step:unt}=bg,dnt=()=>{const{t:e}=$t(),t=ra.language,n=c.useRef(null),[r,a]=c.useState(!1),[i,o]=c.useState(""),[s,l]=c.useState(!1),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState("certs/client"),[h,v]=c.useState(""),[S,b]=c.useState(0),[E,y]=c.useState([_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{})]),[C,T]=c.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,hostname:window.location.hostname,wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1}),[x,R]=c.useState(!1),w=921600,I=115200;function O(ne){const ae=new Uint8Array(ne);let le="";for(let pe=0;pe{(async()=>{const le=await(await Tu.apiGetTeddyCloudSettingRaw("core.certdir")).text();g(le)})()},[]),c.useEffect(()=>{R(lnt())},[]),c.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const ne=async()=>{try{return await(await Tu.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(pe){console.error("Error fetching https port: ",pe)}},ae=async()=>{try{return await(await Tu.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(pe){console.error("Error fetching http port: ",pe)}};(async()=>{const pe=await ne()||"",Re=await ae()||"",Se=new URL(window.location.href);Se.protocol="https:",Se.port?Se.port=Se.port===Re?pe:Se.port:Se.port=pe,o(Se.toString())})()}else a(!0)},[]),c.useEffect(()=>{F(S,(()=>{switch(S){case 0:return Y;case 1:return Q;case 2:return V;case 3:return q;default:return _.jsx("div",{})}})())},[C,t]),c.useEffect(()=>{C.proceed&&me()},[C.proceed]),c.useEffect(()=>{l(C.actionInProgress)},[C.actionInProgress]);const k=()=>{i&&(window.location.href=i)},P=async ne=>{if(C.port)return console.log(C.port.getInfo),C.port;T(le=>({...le,showStatus:!0,showProgress:!1,progress:0,state:ne||"Open serial port"}));let ae=null;try{ae=await navigator.serial.requestPort(),await ae.open({baudRate:115200}),await ae.close()}catch(le){return le==="NetworkError"?(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):le==="NotFoundError"?T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+le,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${le}`)),null}return ae?(console.log("port done"),T(le=>({...le,port:ae})),ae):(T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},M=async ne=>{if(console.log("loadFlashFile"),!ne.target.files)return;const ae=ne.target.files[0];if(!ae)return;T(pe=>({...pe,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+ae+"'");const le=new FileReader;le.onload=async pe=>{var Pe;console.log("Connecting to ESP32");const Re=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(Re===null||C.connected){T(fe=>({...fe,actionInProgress:!1}));return}T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${C.port}`,showFlash:!1,connected:!0}));let Se=null;try{const fe=new kv(Re);Se=new oN({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await Re.close();return}try{T(we=>({...we,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await Se.main();let fe=await Se.chip.readMac(Se);T(we=>({...we,chipMac:fe})),console.log("Chip MAC: "+fe),await Re.close();const _e=(Pe=pe.target)==null?void 0:Pe.result,Ae=new Uint8Array(_e),ye=`ESP32_${fe.replace(/:/g,"")}`,be=new Blob([Ae],{type:"application/octet-stream"}),Ne=URL.createObjectURL(be);await A(Ae,ye),pe.target&&T(we=>{var xe;return{...we,patchedFlash:(xe=pe.target)==null?void 0:xe.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:Ne}}),console.log("Done")}catch(fe){T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await Re.close();return}},le.readAsArrayBuffer(ae),T(pe=>({...pe,actionInProgress:!1})),ne.target.value=""},N=async()=>{let ne=null,ae=null,le="";ae=new Uint8Array(1024);const pe=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(pe===null||C.connected)return;T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${pe.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const fe=new kv(pe);ne=new oN({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await pe.close();return}try{T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ne.main(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),le=await ne.chip.readMac(ne),T(ye=>({...ye,chipMac:le})),console.log("Chip MAC: "+le);const fe=await ne.chip.getChipDescription(ne);T(ye=>({...ye,chipType:fe}));let _e=await ne.readFlashId();T(ye=>({...ye,flashId:""+_e,flashManuf:""+(_e&255),flashDevice:""+(_e>>8&255)}));let Ae=await ne.getFlashSize();if(T(ye=>({...ye,flashSize:""+Ae})),Ae<0||Ae>16384){T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await pe.close();return}T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),ae=await ne.readFlash(0,Ae*1024,(ye,be,Ne)=>{const we=100*be/Ne;T(xe=>({...xe,progress:we}))}),await pe.close(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:ae,connected:!1}))}catch(fe){T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await pe.close();return}const Re=`ESP32_${le.replace(/:/g,"")}`,Se=new Blob([ae],{type:"application/octet-stream"}),Pe=URL.createObjectURL(Se);T(fe=>({...fe,downloadLink:Pe,showProgress:!1})),await A(ae,Re),console.log("Done")},A=async(ne,ae)=>{try{T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const le=new FormData;le.append(ae,new Blob([ne.buffer]),ae);const pe=await Tu.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",le);if(pe.ok&&pe.status===200){const Re=await pe.text();T(Se=>({...Se,showDownload:!0,filename:Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${Re}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(le){console.error("There was an error when uploading!",le),T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},D=async()=>{if(C.wifi_ssid&&!C.wifi_pass||!C.wifi_ssid&&C.wifi_pass){T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}T(ae=>({...ae,actionInProgress:!0})),T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const ne=await Tu.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${C.filename}&hostname=${encodeURIComponent(C.hostname)}`+(C.wifi_ssid&&C.wifi_pass?`&wifi_ssid=${encodeURIComponent(C.wifi_ssid)}&wifi_pass=${encodeURIComponent(C.wifi_pass)}`:""));if(T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),ne.ok&&ne.status===200){const ae=await ne.arrayBuffer();T(Re=>({...Re,patchedFlash:ae,showFlash:!0,flashName:"patched"}));const le=new Blob([ae],{type:"application/octet-stream"}),pe=URL.createObjectURL(le);T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(ae.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:pe})),me()}else T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));T(ae=>({...ae,actionInProgress:!1}))},L=async()=>{const ne=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(ne===null||C.connected)return;T(le=>({...le,actionInProgress:!0,error:!1})),T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${ne.getInfo()}`,connected:!0}));let ae=null;try{const le=new kv(ne);ae=new oN({transport:le,baudrate:w,romBaudrate:I})}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),alert(le),await ne.close();return}try{T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ae.main(),T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let le=await ae.chip.readMac(ae);T(_e=>({..._e,chipMac:le})),console.log("Chip MAC: "+le);const pe=await ae.chip.getChipDescription(ae);T(_e=>({..._e,chipType:pe}));let Re=await ae.readFlashId();T(_e=>({..._e,flashId:""+Re,flashManuf:""+(Re&255),flashDevice:""+(Re>>8&255)}));let Se=await ae.getFlashSize();if(T(_e=>({..._e,flashSize:""+Se})),Se<0||Se>16384){T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await ne.close();return}T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Pe=[];Pe.push({data:O(C.patchedFlash),address:0});let fe={fileArray:Pe,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(_e,Ae,ye)=>{const be=100*Ae/ye;T(Ne=>({...Ne,progress:be}))}};T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await ae.writeFlash(fe),await ne.close(),T(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),console.error(le),alert(le),await ne.close();return}},$=async ne=>{const ae=Qe.loading(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates"),0);ne&&f(!1);try{const le=await Tu.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${C.filename}`+(ne?"&overwrite=true":""));if(le.ok&&le.status===200)ae(),Qe.success(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful",{file:C.filename}));else if(!le.ok&&le.status===409){ae();const pe=await le.text();Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+pe),v(pe),f(!0)}else ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+await le.text())}catch(le){ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+le)}},F=(ne,ae)=>{y(le=>{const pe=[...le];return pe[ne]=ae,pe})},B=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],z=_.jsx(_.Fragment,{children:C.showProgress&&_.jsx("div",{children:_.jsx("div",{children:_.jsx(_S,{percent:C.progress||0,format:ne=>`${(ne??0).toFixed(2)}%`})})})}),U=_.jsx(_.Fragment,{children:(C.chipType||C.chipMac)&&_.jsxs("div",{children:[_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),_.jsx("table",{className:"info-table",children:_.jsxs("tbody",{children:[C.chipType&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),_.jsx("td",{children:C.chipType})]}),C.chipMac&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),_.jsx("td",{children:C.chipMac})]}),C.flashId&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),_.jsxs("td",{children:["0x",C.flashId.toString()]})]}),C.flashManuf&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),_.jsxs("td",{children:["0x",C.flashManuf.toString()]})]}),C.flashDevice&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),_.jsxs("td",{children:["0x",C.flashDevice.toString()]})]}),C.flashSize&&_.jsxs("tr",{children:[_.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),_.jsxs("td",{children:[C.flashSize," KiB"]})]})]})})]})}),j=ne=>ne.replace(/[^a-zA-Z0-9-.]/g,"").trim(),G=ne=>{if(ne.endsWith("...")){const ae=ne.slice(0,-3);return _.jsxs("div",{style:{display:"flex"},children:[ae,_.jsx(snt,{})]})}return ne},J=C.showStatus&&_.jsx("div",{className:"status",style:{marginBottom:16,color:C.error?"#CC3010":"unset"},children:_.jsx("i",{children:G(C.state)})}),Y=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!C.actionInProgress&&_.jsxs(_.Fragment,{children:[_.jsx(Zn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),_.jsx(Ir,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")})]}),J,_.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:M}),z]}),Q=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),_.jsxs("div",{children:[!C.actionInProgress&&_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),J,!C.actionInProgress&&C.downloadLink?_.jsxs("div",{style:{marginBottom:16},children:[" ",_.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",_.jsxs(Xt,{children:[_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),_.jsxs(Xt.Item,{children:[_.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[_.jsx(wn,{style:{flex:"0 0 200px",color:C.warningTextHostname?"#CC3010":"unset"},children:_.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),_.jsx(wn,{style:{flex:"1 1 auto"},children:_.jsx(en,{type:"text",value:C.hostname,onChange:ne=>{let ae=j(ne.target.value),le="";ae.length>12?le=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):le="",T(pe=>({...pe,hostname:ae,warningTextHostname:le}))}})})]}),C.warningTextHostname&&_.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),_.jsx(Xt.Item,{children:_.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[_.jsx(wn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:_.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),_.jsx(wn,{style:{flex:"1 1 auto"},children:_.jsx(en,{type:"text",defaultValue:C.wifi_ssid,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_ssid:ae,warningTextWifi:ne.target.value&&C.wifi_pass||!ne.target.value&&!C.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),_.jsxs(Xt.Item,{children:[_.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[_.jsx(wn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:_.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),_.jsx(wn,{style:{flex:"1 1 auto"},children:_.jsx(en.Password,{defaultValue:C.wifi_pass,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_pass:ae,warningTextWifi:ne.target.value&&C.wifi_ssid||!ne.target.value&&!C.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),C.warningTextWifi&&_.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),z]}),V=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!C.actionInProgress&&_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),J,!C.actionInProgress&&C.downloadLinkPatched?_.jsxs("div",{style:{marginBottom:16},children:[" ",_.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",z]}),H=`${m}/${C.chipMac?C.chipMac.replaceAll(":","").toLowerCase():""}`,q=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),J,z,(C.downloadLink||C.downloadLinkPatched)&&_.jsxs(_.Fragment,{children:[_.jsx(Zn,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:_.jsxs("div",{children:[_.jsxs(Tn,{children:[_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),_.jsx(wt,{icon:_.jsx(Gk,{}),disabled:s,type:"primary",onClick:()=>ue(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:m,mac:C.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),_.jsx(Tn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),_.jsx(Tn,{children:_.jsx(Id,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:_.jsxs(Tn,{children:[_.jsxs(Ir,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",_.jsx(cnt,{code:!0,children:"docker exec -it bash"}),"."]}),_.jsx(Ir,{children:_.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup # Be sure you are in the TeddyCloud directory # cd /teddycloud/ # just for docker mkdir ${H} -teddycloud --esp32-extract data/firmware/`+(C.filename?C.filename:"ESP32_.bin")+` --destination ${H}`})}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),b.jsx(Nr,{children:b.jsx("pre",{style:{fontSize:12},children:`mv ${H}/CLIENT.DER ${H}/client.der +teddycloud --esp32-extract data/firmware/`+(C.filename?C.filename:"ESP32_.bin")+` --destination ${H}`})}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),_.jsx(Ir,{children:_.jsx("pre",{style:{fontSize:12},children:`mv ${H}/CLIENT.DER ${H}/client.der mv ${H}/PRIVATE.DER ${m}/${H}/private.der -mv ${H}/CA.DER ${m}/${H}/ca.der`})}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),b.jsx(Nr,{children:b.jsx("pre",{style:{fontSize:12},children:`cp ${H}/client.der ${m}/client.der +mv ${H}/CA.DER ${m}/${H}/ca.der`})}),_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),_.jsx(Ir,{children:_.jsx("pre",{style:{fontSize:12},children:`cp ${H}/client.der ${m}/client.der cp ${H}/private.der ${m}/private.der -cp ${H}/ca.der ${m}/ca.der`})})]})}]})})]})}),b.jsxs(Nr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),b.jsxs("ul",{style:{marginTop:8},children:[C.downloadLink&&b.jsx("li",{children:b.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),C.downloadLinkPatched&&b.jsx("li",{children:b.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),K=()=>{N()},Z=()=>{n.current&&n.current.click()},te=()=>{D()},se=()=>{L()},ue=()=>{$()},me=()=>{T(ne=>({...ne,proceed:!1})),_(S+1)},de=()=>{T(ne=>({...ne,state:"",showProgress:!1,error:!1})),_(S-1)},Te=()=>{d(!1),se()},Ee=()=>{d(!1)},ge=b.jsx(Rt,{icon:b.jsx(Nc,{}),disabled:s,onClick:()=>de(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),re=x?b.jsxs(b.Fragment,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.title")}),b.jsx(kd,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:u,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:Te,handleCancel:Ee}),b.jsx(hg,{current:S,children:B.map((ne,ae)=>b.jsx(Ktt,{title:ne.title,status:ae===S&&ae===B.length-1?"finish":ae===S?C.error?"error":"process":aeZ(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),b.jsx(Rt,{icon:b.jsx(Bk,{}),disabled:s,type:"primary",onClick:()=>K(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:!C.proceed&&!C.filename||s,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===1&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{style:{display:"flex",gap:8},children:b.jsx(Rt,{icon:b.jsx(Fk,{}),disabled:s,type:"primary",onClick:()=>te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:s||!C.showFlash,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===2&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{style:{display:"flex",gap:8},children:b.jsx(Rt,{icon:b.jsx(NAe,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),b.jsx("div",{})]}),S===3&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{}),b.jsx("div",{})]}),U]})]}):b.jsxs(b.Fragment,{children:[b.jsx(Nr,{children:b.jsx(Xn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiGeneral")})})})]}),b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki2"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/esp32/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiSpecific")})})})]})]});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?re:b.jsx(Xn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:b.jsxs(b.Fragment,{children:[b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),b.jsx(Nr,{children:b.jsx(Rt,{icon:b.jsx(Uee,{}),onClick:k,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),b.jsx(kd,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:h}),open:p,handleOk:()=>$(!0),handleCancel:()=>f(!1)})]})]})]})},{Paragraph:Qtt}=wn,Ztt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),b.jsx(Pn,{children:b.jsx(Qtt,{children:b.jsx(r2,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:Tq}=wn,Jtt=()=>{const{t:e}=$t(),t=e("faq",{returnObjects:!0});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.faq.title")}),b.jsx(Tq,{children:e("community.faq.intro")}),b.jsx(Tq,{children:t.map((n,r)=>b.jsxs("div",{style:{marginBottom:"20px"},children:[b.jsx("h3",{children:n.question}),b.jsx("p",{children:n.answer})]},r))})]})]})]})},i1=new xn(vn()),ent=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=c.useState(""),[i,o]=c.useState("");c.useEffect(()=>{i1.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),i1.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),i1.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>o(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,p)=>b.jsx("ul",{children:Object.keys(d).map(f=>{const m=d[f],g=`${p}.${f}`;return typeof m=="object"&&m.items?b.jsxs("li",{children:[e(`${g}.title`),s(m.items,g+".items")]},f):b.jsx("li",{children:e(g)},f)})}),l=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("home.features.title")+" "+r}),b.jsx("p",{children:e("home.features.description")}),b.jsxs("p",{children:["Build:"," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+i,target:"_blank",children:t.replace(r,"")})]}),b.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(l,"home.features.features"),b.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},{Paragraph:o1}=wn,tnt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),b.jsx(o1,{style:{marginTop:16}}),b.jsxs(o1,{children:[e("tonieboxes.cc3235BoxFlashing.hint"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"Patching your Toniebox for using with TeddyCloud"})})})]}),b.jsxs(o1,{children:[e("tonieboxes.cc3235BoxFlashing.hint2"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3235/",target:"_blank",children:"CC3235 specific setup"})})})]})]})]})]})},s1=new xn(vn()),{Paragraph:Ii}=wn,{Step:nnt}=hg;function xq(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const rnt=()=>{const{t:e}=$t(),t=ra.language,[n,r]=c.useState(0),[a,i]=c.useState([b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{})]),[o,s]=c.useState(!1),[l,u]=c.useState([]),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),v=(Y,X)=>{i(V=>{const H=[...V];return H[Y]=X,H})},S=Y=>Y.replace(/[^a-zA-Z0-9-.]/g,"").trim(),_=[{title:e("tonieboxes.cc3200BoxFlashing.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.cc3200BoxFlashing.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],E=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.preparations")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installCC3200tool")}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool?tab=readme-ov-file#installation",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installCC3200toolLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/wiki/cc3200/debug-port/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxLink")})]}),y=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/install/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installBootloaderLink")})]}),C=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.certificates")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.dumpCertificates")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.dumpCertificatesLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/flash-ca/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementLink")})]}),T=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),b.jsx(Xn,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),b.jsxs(Xt,{children:[b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:f?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:d,onChange:Y=>{let X=S(Y.target.value),V="";X.length>12?V=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):V="",p(X),m(V)}})})]}),f&&b.jsx("p",{style:{color:"#CC3010"},children:f})]})]})]}),x=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],R=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],w=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:b.jsxs(b.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],I={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},O=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:b.jsxs(Ii,{children:[b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),b.jsxs(Ii,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),b.jsx(Wa,{dataSource:x,columns:R,pagination:!1,size:"small"}),b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),b.jsx(Wa,{dataSource:w,columns:R,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:b.jsx(Ii,{children:b.jsx(vre,{language:"json",style:xq()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(I,null,2)})})}],style:{marginBottom:16}}),b.jsx(Ii,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]});c.useEffect(()=>{v(n,(()=>{switch(n){case 0:return E;case 1:return y;case 2:return C;case 3:return T;case 4:return O;default:return b.jsx("div",{})}})())},[n,d,t,xq()]);const k=()=>{r(n-1)},P=()=>{r(n+1)},M=b.jsx(Rt,{icon:b.jsx(Nc,{}),disabled:o,onClick:()=>k(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),N=Y=>{r(Y)},A=()=>{(async()=>{const X=await s1.apiGetTonieboxesIndex(),V=await Promise.all(X.map(async H=>{const K=await s1.apiGetTonieboxStatus(H.ID)?"Online":"Offline",Z=await s1.apiGetTonieboxVersion(H.ID),te={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};let se=null;return Z in te&&(se=te[Z]),{...H,status:K,version:se||"UNKNOWN"}}));u(V)})(),D()},D=()=>{h(!0)},L=()=>{h(!1)},$=()=>{h(!1)},F=[{title:e("tonieboxes.cc3200BoxFlashing.commonName"),dataIndex:"commonName",key:"commonName"},{title:e("tonieboxes.cc3200BoxFlashing.boxVersion"),dataIndex:"version",key:"version"},{title:e("tonieboxes.cc3200BoxFlashing.status"),dataIndex:"status",key:"status"}],B=b.jsxs(Sn,{title:e("tonieboxes.cc3200BoxFlashing.availableBoxes"),open:g,onOk:L,onCancel:$,children:[b.jsxs(Ii,{children:[b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.newBoxAvailable")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.troubleShooting")})]}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.availableBoxes")}),b.jsx(Wa,{dataSource:l.filter(Y=>Y.version==="CC3200"),columns:F,rowKey:"ID",pagination:!1})]}),z={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},U=(Y,X)=>{const V=Y.split("").map(te=>te.charCodeAt(0).toString(16).padStart(2,"0"));V.push("00");const H=V.length,K=X-H;return K>0?V.concat(Array.from({length:K},()=>"??")):V},j=Y=>({...z,searchAndReplace:(V=>V.map(H=>{const q=U(Y,H.replace.length);return{...H,_desc:`${H._desc}${Y}`,replace:q}}))(z.searchAndReplace)}),G=Y=>`{ +cp ${H}/ca.der ${m}/ca.der`})})]})}]})})]})}),_.jsxs(Ir,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),_.jsxs("ul",{style:{marginTop:8},children:[C.downloadLink&&_.jsx("li",{children:_.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),C.downloadLinkPatched&&_.jsx("li",{children:_.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),K=()=>{N()},Z=()=>{n.current&&n.current.click()},te=()=>{D()},se=()=>{L()},ue=()=>{$()},me=()=>{T(ne=>({...ne,proceed:!1})),b(S+1)},de=()=>{T(ne=>({...ne,state:"",showProgress:!1,error:!1})),b(S-1)},Te=()=>{d(!1),se()},Ee=()=>{d(!1)},ge=_.jsx(wt,{icon:_.jsx(Nc,{}),disabled:s,onClick:()=>de(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),re=x?_.jsxs(_.Fragment,{children:[_.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.title")}),_.jsx(Fd,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:u,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:Te,handleCancel:Ee}),_.jsx(bg,{current:S,children:B.map((ne,ae)=>_.jsx(unt,{title:ne.title,status:ae===S&&ae===B.length-1?"finish":ae===S?C.error?"error":"process":aeZ(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),_.jsx(wt,{icon:_.jsx(jk,{}),disabled:s,type:"primary",onClick:()=>K(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),_.jsx(wt,{icon:_.jsx(Fi,{}),iconPosition:"end",disabled:!C.proceed&&!C.filename||s,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===1&&_.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,_.jsx("div",{style:{display:"flex",gap:8},children:_.jsx(wt,{icon:_.jsx(Uk,{}),disabled:s,type:"primary",onClick:()=>te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),_.jsx(wt,{icon:_.jsx(Fi,{}),iconPosition:"end",disabled:s||!C.showFlash,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===2&&_.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,_.jsx("div",{style:{display:"flex",gap:8},children:_.jsx(wt,{icon:_.jsx(FAe,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),_.jsx("div",{})]}),S===3&&_.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,_.jsx("div",{}),_.jsx("div",{})]}),U]})]}):_.jsxs(_.Fragment,{children:[_.jsx(Ir,{children:_.jsx(Zn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),_.jsxs(Ir,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki"),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiGeneral")})})})]}),_.jsxs(Ir,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki2"),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/esp32/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiSpecific")})})})]})]});return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?re:_.jsx(Zn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:_.jsxs(_.Fragment,{children:[_.jsx(Ir,{children:e("tonieboxes.esp32BoxFlashing.hint")}),_.jsx(Ir,{children:_.jsx(wt,{icon:_.jsx(jee,{}),onClick:k,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),_.jsx(Fd,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:h}),open:p,handleOk:()=>$(!0),handleCancel:()=>f(!1)})]})]})]})},{Paragraph:pnt}=Tn,fnt=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Tl,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Tl,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),_.jsx(Pn,{children:_.jsx(pnt,{children:_.jsx(i2,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:Rq}=Tn,mnt=()=>{const{t:e}=$t(),t=e("faq",{returnObjects:!0});return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.faq.title")}),_.jsx(Rq,{children:e("community.faq.intro")}),_.jsx(Rq,{children:t.map((n,r)=>_.jsxs("div",{style:{marginBottom:"20px"},children:[_.jsx("h3",{children:n.question}),_.jsx("p",{children:n.answer})]},r))})]})]})]})},sN=new xn(vn()),gnt=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=c.useState(""),[i,o]=c.useState("");c.useEffect(()=>{sN.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),sN.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),sN.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>o(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,p)=>_.jsx("ul",{children:Object.keys(d).map(f=>{const m=d[f],g=`${p}.${f}`;return typeof m=="object"&&m.items?_.jsxs("li",{children:[e(`${g}.title`),s(m.items,g+".items")]},f):_.jsx("li",{children:e(g)},f)})}),l=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Tl,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Tl,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("home.features.title")+" "+r}),_.jsx("p",{children:e("home.features.description")}),_.jsxs("p",{children:["Build:"," ",_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+i,target:"_blank",children:t.replace(r,"")})]}),_.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(l,"home.features.features"),_.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},{Paragraph:lN}=Tn,hnt=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),_.jsx(Zn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),_.jsx(lN,{style:{marginTop:16}}),_.jsxs(lN,{children:[e("tonieboxes.cc3235BoxFlashing.hint"),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"Patching your Toniebox for using with TeddyCloud"})})})]}),_.jsxs(lN,{children:[e("tonieboxes.cc3235BoxFlashing.hint2"),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3235/",target:"_blank",children:"CC3235 specific setup"})})})]})]})]})]})},cN=new xn(vn()),{Paragraph:Oi}=Tn,{Step:vnt}=bg,_nt=()=>{const{t:e}=$t(),t=ra.language,[n,r]=c.useState(0),[a,i]=c.useState([_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{}),_.jsx(_.Fragment,{})]),[o,s]=c.useState(!1),[l,u]=c.useState([]),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),v=(Y,Q)=>{i(V=>{const H=[...V];return H[Y]=Q,H})},S=Y=>Y.replace(/[^a-zA-Z0-9-.]/g,"").trim(),b=[{title:e("tonieboxes.cc3200BoxFlashing.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.cc3200BoxFlashing.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],E=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.preparations")}),_.jsx(Zn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installCC3200tool")}),_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool?tab=readme-ov-file#installation",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installCC3200toolLink")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/wiki/cc3200/debug-port/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxLink")})]}),y=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/install/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installBootloaderLink")})]}),C=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.certificates")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.dumpCertificates")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.dumpCertificatesLink")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/flash-ca/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementLink")})]}),T=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),_.jsx(Zn,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),_.jsxs(Xt,{children:[_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),_.jsxs(Xt.Item,{children:[_.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[_.jsx(wn,{style:{flex:"0 0 200px",color:f?"#CC3010":"unset"},children:_.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),_.jsx(wn,{style:{flex:"1 1 auto"},children:_.jsx(en,{type:"text",value:d,onChange:Y=>{let Q=S(Y.target.value),V="";Q.length>12?V=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):V="",p(Q),m(V)}})})]}),f&&_.jsx("p",{style:{color:"#CC3010"},children:f})]})]})]}),x=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],R=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],w=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:_.jsxs(_.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],I={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},O=_.jsxs(_.Fragment,{children:[_.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),_.jsx(Id,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:_.jsxs(Oi,{children:[_.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),_.jsxs(Oi,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",_.jsx(St,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),_.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),_.jsx(Ya,{dataSource:x,columns:R,pagination:!1,size:"small"}),_.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),_.jsx(Ya,{dataSource:w,columns:R,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),_.jsx(Id,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:_.jsx(Oi,{children:_.jsx(Sre,{language:"json",style:hi()==="dark"?yl:Cl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(I,null,2)})})}],style:{marginBottom:16}}),_.jsx(Oi,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]});c.useEffect(()=>{v(n,(()=>{switch(n){case 0:return E;case 1:return y;case 2:return C;case 3:return T;case 4:return O;default:return _.jsx("div",{})}})())},[n,d,t,hi()]);const k=()=>{r(n-1)},P=()=>{r(n+1)},M=_.jsx(wt,{icon:_.jsx(Nc,{}),disabled:o,onClick:()=>k(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),N=Y=>{r(Y)},A=()=>{(async()=>{const Q=await cN.apiGetTonieboxesIndex(),V=await Promise.all(Q.map(async H=>{const K=await cN.apiGetTonieboxStatus(H.ID)?"Online":"Offline",Z=await cN.apiGetTonieboxVersion(H.ID),te={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};let se=null;return Z in te&&(se=te[Z]),{...H,status:K,version:se||"UNKNOWN"}}));u(V)})(),D()},D=()=>{h(!0)},L=()=>{h(!1)},$=()=>{h(!1)},F=[{title:e("tonieboxes.cc3200BoxFlashing.commonName"),dataIndex:"commonName",key:"commonName"},{title:e("tonieboxes.cc3200BoxFlashing.boxVersion"),dataIndex:"version",key:"version"},{title:e("tonieboxes.cc3200BoxFlashing.status"),dataIndex:"status",key:"status"}],B=_.jsxs(Sn,{title:e("tonieboxes.cc3200BoxFlashing.availableBoxes"),open:g,onOk:L,onCancel:$,children:[_.jsxs(Oi,{children:[_.jsx(Oi,{children:e("tonieboxes.cc3200BoxFlashing.newBoxAvailable")}),_.jsx(St,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.troubleShooting")})]}),_.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.availableBoxes")}),_.jsx(Ya,{dataSource:l.filter(Y=>Y.version==="CC3200"),columns:F,rowKey:"ID",pagination:!1})]}),z={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},U=(Y,Q)=>{const V=Y.split("").map(te=>te.charCodeAt(0).toString(16).padStart(2,"0"));V.push("00");const H=V.length,K=Q-H;return K>0?V.concat(Array.from({length:K},()=>"??")):V},j=Y=>({...z,searchAndReplace:(V=>V.map(H=>{const q=U(Y,H.replace.length);return{...H,_desc:`${H._desc}${Y}`,replace:q}}))(z.searchAndReplace)}),G=Y=>`{ "general": { "_desc": "${Y.general._desc}", "_memPos": "${Y.general._memPos}", "_fwVer": "${Y.general._fwVer}" }, - "searchAndReplace": [${Y.searchAndReplace.map(X=>`{ - "_desc": "${X._desc}", - "search": ["${X.search.join('", "')}"], - "replace": ["${X.replace.join('", "')}"] + "searchAndReplace": [${Y.searchAndReplace.map(Q=>`{ + "_desc": "${Q._desc}", + "search": ["${Q.search.join('", "')}"], + "replace": ["${Q.replace.join('", "')}"] }`).join(", ")}] -}`,J=()=>{(X=>{const V=j(X),H=G(V),q=new Blob([H],{type:"application/json"}),K=URL.createObjectURL(q),Z=document.createElement("a");Z.href=K,Z.download="altUrl.custom.305.json",document.body.appendChild(Z),Z.click(),document.body.removeChild(Z)})(d)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),b.jsx(Qr,{children:e("tonieboxes.cc3200BoxFlashing.title")}),b.jsxs(Ii,{children:[b.jsx(hg,{current:n,onChange:N,children:_.map((Y,X)=>b.jsx(nnt,{title:Y.title,status:X===n&&X===_.length?"finish":X===n?"process":X12||d.length===0,type:"primary",onClick:J,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),b.jsx("div",{children:b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:o,onClick:()=>P(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[M,b.jsx("div",{children:b.jsx(Rt,{icon:b.jsx(uS,{}),disabled:o,type:"primary",onClick:A,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),b.jsx("div",{})]})]})]}),B]})]})]})},ant=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),"tbd"]})]})]})},int="/web/assets/3235_pcb-B8suHx9F.png",ont="/web/assets/3200_pcb-Czbc8CMj.png",snt="/web/assets/cc3200-B-jSkbsy.jpg",lnt="/web/assets/cc3235-Cr21bWbC.jpg",cnt="/web/assets/esp32_pcb-Df7OjtFN.png",unt="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:ks}=wn,{useToken:dnt}=Xa,pnt=()=>{const{t:e}=$t(),{token:t}=dnt(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(null),[l,u]=c.useState(null),d=y=>y.replace(/[^a-zA-Z0-9-:]/g,"").trim(),p=async()=>{s(null),u(null);try{const y=await fetch(`https://api.macvendors.com/${encodeURIComponent(n)}`);if(!y.ok)throw new Error("MAC address not found or invalid");const C=await y.text();s(C)}catch(y){u(y.message)}},[f,m]=c.useState(o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200");c.useEffect(()=>{o!=null&&o.toLowerCase().includes("espressif")?m("esp32"):m("cc3200")},[o]);const g=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),b.jsx(Yl,{src:ont,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3200"})," ",b.jsx(Yl,{src:snt,height:300,alt:"Chip CC3200"})]}),h=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),b.jsx(Yl,{src:int,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3235"})," ",b.jsx(Yl,{src:lnt,height:300,alt:"Chip CC3235"})]}),v=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),b.jsx(Yl,{src:cnt,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB ESP32"})," ",b.jsx(Yl,{src:unt,height:300,alt:"Chip ESP32"})]}),S=[{key:"cc3200",label:"CC3200",children:g},{key:"cc3235",label:"CC3235",children:h},{key:"esp32",label:"ESP32",children:v}],_=b.jsxs(b.Fragment,{children:[b.jsx(Tk,{activeKey:f,onChange:y=>m(y),defaultActiveKey:o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200",items:S.filter(y=>((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3200"||((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3235"||((o==null?void 0:o.toLowerCase().includes("espressif"))||!o)&&y.key==="esp32"),indicator:{size:y=>y-20,align:"center"}}),b.jsxs(ks,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," ",b.jsxs(wt,{to:`../tonieboxes/boxsetup/${f}/flashing`,children:[f.toUpperCase()," ",e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")]})]})]}),E=()=>{r(""),s(null),i(""),u(null)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),b.jsxs(Xt,{children:[b.jsxs(ks,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 250px",color:a?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:n,onChange:y=>{let C=d(y.target.value),T="";C.length>17?T=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):T="",r(C),i(T)},addonBefore:b.jsx(na,{onClick:E,style:{color:n?t.colorText:t.colorTextDisabled,cursor:n?"pointer":"default"}})})})]}),a&&b.jsx("p",{style:{color:"#CC3010"},children:a})]}),b.jsx(Rt,{icon:b.jsx(Fk,{}),disabled:n.length>17||n.length===0,type:"primary",onClick:p,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),b.jsxs(ks,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",b.jsx(wt,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),o?b.jsxs(b.Fragment,{children:[b.jsx(Xn,{style:{marginTop:16},type:"success",description:b.jsxs(b.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",b.jsx("b",{children:o})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),o.includes("Espressif")?b.jsx("b",{children:" ESP32"}):b.jsxs(b.Fragment,{children:[b.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),b.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),o.toLowerCase().includes("texas")?b.jsx(ks,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):l?b.jsx(Xn,{style:{marginTop:16},type:"error",description:b.jsx(b.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",b.jsxs(ks,{style:{marginTop:16},children:[o?"":b.jsxs(b.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",b.jsx(Jt,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:b.jsx(wt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),_]})]})]})]})},fnt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),"tbd"]})]})]})},aie=(e,t,n="")=>{const r=[];return Object.keys(e).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;t[a][s]||r.push(l,u)}):e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...iie(e[a],i)):r.push(...aie(e[a],t[a],i)):a in t||r.push(i)}),r},iie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...iie(e[r],a)):n.push(a)}),n},oie=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;e[a][s]||r.push(l,u)}):t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(i):r.push(...oie(e[a],t[a],i)):a in e||r.push(i)}),r},mnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState({}),[i,o]=c.useState({}),[s,l]=c.useState(!0),u=["en","fr","de","es"],d="en";return c.useEffect(()=>{(async()=>{const f={};for(let m of u){const h=await(await fetch(`/web/translations/${m}.json`)).json();f[m]=h}n(f),l(!1)})()},[]),c.useEffect(()=>{if(!s&&t[d]){const p=t[d],f={},m={};u.forEach(g=>{if(g!==d){const h=t[g];f[g]=aie(p,h),m[g]=oie(p,h)}}),a(f),o(m)}},[s,t]),s?b.jsx("p",{children:"Loading translations..."}):b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(p=>{var f,m;return p===d||((f=r[p])==null?void 0:f.length)===0&&((m=i[p])==null?void 0:m.length)===0})?b.jsx("p",{children:e("community.translations.noDiscrepancies")}):b.jsx("div",{children:u.map(p=>{var f,m;return p!==d&&b.jsxs("div",{children:[b.jsxs("h2",{children:[e("community.translations.language"),": ",p.toUpperCase()]}),b.jsx("h3",{children:e("community.translations.missingKeys")}),((f=r[p])==null?void 0:f.length)>0?b.jsx("ul",{children:r[p].map((g,h)=>b.jsx("li",{children:g},h))}):b.jsx("p",{children:e("community.translations.noMissingKeys")}),b.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((m=i[p])==null?void 0:m.length)>0?b.jsx("ul",{children:i[p].map((g,h)=>b.jsx("li",{children:g},h))}):b.jsx("p",{children:e("community.translations.noExtraKeys")})]},p)})})]})},sie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...sie(e[r],a)):n.push(a)}),n},gnt=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[i,o]=a.split("["),s=parseInt(o.replace("]",""),10);if(r=r[i],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},hnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState(!0),i=["en","fr","de","es"],o="en";if(c.useEffect(()=>{(async()=>{const p={};for(let f of i){const g=await(await fetch(`/web/translations/${f}.json`)).json();p[f]=g}n(p),a(!1)})()},[]),r)return b.jsx("p",{children:"Loading translations..."});const s=sie(t[o]),l=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"20%",render:d=>b.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:d})},...i.map(d=>({title:d.toUpperCase(),dataIndex:d,key:d}))],u=s.map(d=>{const p={key:d};return i.forEach(f=>{const m=gnt(t[f],d);p[f]=m||"<"+e("community.translations.missing")+">"}),p});return b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:e("community.translations.allTranslationStrings")}),b.jsx(Wa,{size:"small",columns:l,dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:vnt}=wn,_nt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.translations.title")}),b.jsx(vnt,{children:e("community.translations.hint")}),b.jsx(mnt,{}),b.jsx(hnt,{})]})]})]})},{Paragraph:bnt}=wn,Snt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),b.jsx(bnt,{children:e("tonieboxes.boxSetup.openBoxGuide.intro")}),b.jsxs("ul",{children:[b.jsx("li",{children:b.jsx(wt,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:e("tonieboxes.boxSetup.openBoxGuide.link1")})}),b.jsx("li",{children:b.jsx(wt,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})})]})]})]})]})};function l1(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}function Ent(){const{defaultAlgorithm:e,darkAlgorithm:t}=Xa,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=c.useState(()=>localStorage.getItem("theme")||"auto"),[i,o]=c.useState(l1()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};c.useEffect(()=>{localStorage.setItem("theme",r),o(l1()==="dark"),l1()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let l;return r==="dark"?l=b.jsx(I1e,{onClick:s}):r==="light"?l=b.jsx(bAe,{onClick:s}):l=b.jsx(COe,{onClick:s}),b.jsx(_o,{theme:{algorithm:i?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:b.jsx("div",{className:"App",children:b.jsx(Ho,{style:{minHeight:"100vh"},children:b.jsx(B2e,{basename:"/web",children:b.jsxs(G2e,{children:[b.jsx(LXe,{themeSwitch:l}),b.jsx(Ho,{children:b.jsxs(D2e,{children:[b.jsx(Nn,{path:"/",element:b.jsx(hXe,{})}),b.jsx(Nn,{path:"/home/stats",element:b.jsx(TXe,{})}),b.jsx(Nn,{path:"/home/features",element:b.jsx(ent,{})}),b.jsx(Nn,{path:"/home/toniemeeting",element:b.jsx(Ztt,{})}),b.jsx(Nn,{path:"/tonies",element:b.jsx(zXe,{})}),b.jsx(Nn,{path:"/tonies/system-sounds",element:b.jsx(VXe,{})}),b.jsx(Nn,{path:"/tonies/content",element:b.jsx(NZe,{})}),b.jsx(Nn,{path:"/tonies/library",element:b.jsx(AZe,{})}),b.jsx(Nn,{path:"/tonies/encoder",element:b.jsx($Ze,{})}),b.jsx(Nn,{path:"/tonies/tap",element:b.jsx(BZe,{})}),b.jsx(Nn,{path:"/tonieboxes",element:b.jsx(WZe,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup",element:b.jsx(ant,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/identifyboxversion",element:b.jsx(pnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/openboxguide",element:b.jsx(Snt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/flashing",element:b.jsx(Xtt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/legacy",element:b.jsx(fnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:b.jsx(rnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:b.jsx(tnt,{})}),b.jsx(Nn,{path:"/settings",element:b.jsx(VUe,{})}),b.jsx(Nn,{path:"/settings/certificates",element:b.jsx(eXe,{})}),b.jsx(Nn,{path:"/settings/rtnl",element:b.jsx(JKe,{})}),b.jsx(Nn,{path:"/community",element:b.jsx(YZe,{})}),b.jsx(Nn,{path:"/community/faq",element:b.jsx(Jtt,{})}),b.jsx(Nn,{path:"/community/contribution",element:b.jsx(KZe,{})}),b.jsx(Nn,{path:"/community/contribution/tonies-json",element:b.jsx(ZZe,{})}),b.jsx(Nn,{path:"/community/contribution/translations",element:b.jsx(_nt,{})}),b.jsx(Nn,{path:"/community/contributors",element:b.jsx(JZe,{})}),b.jsx(Nn,{path:"/community/changelog",element:b.jsx(eJe,{})}),b.jsx(Nn,{path:"/uitest",element:b.jsx(q2e,{})}),b.jsx(Nn,{path:"/*",element:b.jsx(yXe,{})})]})}),b.jsx(BXe,{})]})})})})})}const ynt=c1.createRoot(document.getElementById("root"));ynt.render(b.jsx(ce.StrictMode,{children:b.jsx(Ent,{})}))});export default Cnt(); +}`,J=()=>{(Q=>{const V=j(Q),H=G(V),q=new Blob([H],{type:"application/json"}),K=URL.createObjectURL(q),Z=document.createElement("a");Z.href=K,Z.download="altUrl.custom.305.json",document.body.appendChild(Z),Z.click(),document.body.removeChild(Z)})(d)};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),_.jsx(Qr,{children:e("tonieboxes.cc3200BoxFlashing.title")}),_.jsxs(Oi,{children:[_.jsx(bg,{current:n,onChange:N,children:b.map((Y,Q)=>_.jsx(vnt,{title:Y.title,status:Q===n&&Q===b.length?"finish":Q===n?"process":Q12||d.length===0,type:"primary",onClick:J,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),_.jsx("div",{children:_.jsx(wt,{icon:_.jsx(Fi,{}),iconPosition:"end",disabled:o,onClick:()=>P(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&_.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[M,_.jsx("div",{children:_.jsx(wt,{icon:_.jsx(fS,{}),disabled:o,type:"primary",onClick:A,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),_.jsx("div",{})]})]})]}),B]})]})]})},{Paragraph:xu}=Tn,{useToken:bnt}=ka,Snt=()=>{const{t:e}=$t(),{token:t}=bnt(),n=[{children:_.jsxs(_.Fragment,{children:[_.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.setupTeddyCloud")}),_.jsx(xu,{children:e("tonieboxes.boxSetup.setupTeddyCloudText")})]}),dot:_.jsx(TD,{}),color:t.colorSuccess,style:{paddingBottom:8}},{children:_.jsxs(_.Fragment,{children:[_.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.identifyTonieboxVersion")}),_.jsx(xu,{children:e("tonieboxes.boxSetup.identifyTonieboxVersionText")}),_.jsx("ul",{children:_.jsx("li",{children:_.jsx(St,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})})})]}),dot:_.jsx(cg,{}),style:{paddingBottom:8}},{children:_.jsxs(_.Fragment,{children:[_.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.flashBox")}),_.jsx(xu,{children:e("tonieboxes.boxSetup.flashBoxText")}),_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(St,{to:"/tonieboxes/boxsetup/esp32/flashing",children:"ESP32"})}),_.jsx("li",{children:_.jsx(St,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:"CC3200"})}),_.jsx("li",{children:_.jsx(St,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:"CC3235"})})]})]}),dot:_.jsx(Tv,{}),style:{paddingBottom:8}},{children:_.jsxs(_.Fragment,{children:[_.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.useIt")}),_.jsx(xu,{children:e("tonieboxes.boxSetup.useItText")})]}),dot:_.jsx(hAe,{}),style:{paddingBottom:8}}];return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.boxSetup.title")}),_.jsx(Zn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),_.jsxs(xu,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.boxSetupIntro1")," ",_.jsx(St,{to:"https://forum.revvox.de/",target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroForum")})," ",e("tonieboxes.boxSetup.boxSetupIntro2")," ",_.jsx(St,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroTelegram")})," ",e("tonieboxes.boxSetup.boxSetupIntro3")]}),_.jsx(xu,{style:{marginTop:16},children:_.jsx(Rte,{items:n})})," "]})]})]})},Ent="/web/assets/3235_pcb-Dy4fG8vy.png",ynt="/web/assets/3200_pcb-CxpDMf4o.png",Cnt="/web/assets/cc3200-B-jSkbsy.jpg",Tnt="/web/assets/cc3235-Cr21bWbC.jpg",xnt="/web/assets/esp32_pcb-DVlC-F6T.png",Rnt="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:Ps}=Tn,{useToken:wnt}=ka,Int=()=>{const{t:e}=$t(),{token:t}=wnt(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(null),[l,u]=c.useState(null),d=y=>y.replace(/[^a-zA-Z0-9-:]/g,"").trim(),p=async()=>{s(null),u(null);try{const y=await fetch(`https://api.macvendors.com/${encodeURIComponent(n)}`);if(!y.ok)throw new Error("MAC address not found or invalid");const C=await y.text();s(C)}catch(y){u(y.message)}},[f,m]=c.useState(o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200");c.useEffect(()=>{o!=null&&o.toLowerCase().includes("espressif")?m("esp32"):m("cc3200")},[o]);const g=_.jsxs(_.Fragment,{children:[_.jsx(Ps,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),_.jsx(Yl,{src:ynt,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3200"})," ",_.jsx(Yl,{src:Cnt,height:300,alt:"Chip CC3200"})]}),h=_.jsxs(_.Fragment,{children:[_.jsx(Ps,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),_.jsx(Yl,{src:Ent,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3235"})," ",_.jsx(Yl,{src:Tnt,height:300,alt:"Chip CC3235"})]}),v=_.jsxs(_.Fragment,{children:[_.jsx(Ps,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),_.jsx(Yl,{src:xnt,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB ESP32"})," ",_.jsx(Yl,{src:Rnt,height:300,alt:"Chip ESP32"})]}),S=[{key:"cc3200",label:"CC3200",children:g},{key:"cc3235",label:"CC3235",children:h},{key:"esp32",label:"ESP32",children:v}],b=_.jsxs(_.Fragment,{children:[_.jsx(Rk,{activeKey:f,onChange:y=>m(y),defaultActiveKey:o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200",items:S.filter(y=>((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3200"||((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3235"||((o==null?void 0:o.toLowerCase().includes("espressif"))||!o)&&y.key==="esp32"),indicator:{size:y=>y-20,align:"center"}}),_.jsxs(Ps,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," ",_.jsxs(St,{to:`../tonieboxes/boxsetup/${f}/flashing`,children:[f.toUpperCase()," ",e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")]})]})]}),E=()=>{r(""),s(null),i(""),u(null)};return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),_.jsxs(Xt,{children:[_.jsxs(Ps,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),_.jsxs(Xt.Item,{children:[_.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[_.jsx(wn,{style:{flex:"0 0 250px",color:a?"#CC3010":"unset"},children:_.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),_.jsx(wn,{style:{flex:"1 1 auto"},children:_.jsx(en,{type:"text",value:n,onChange:y=>{let C=d(y.target.value),T="";C.length>17?T=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):T="",r(C),i(T)},addonBefore:_.jsx(na,{onClick:E,style:{color:n?t.colorText:t.colorTextDisabled,cursor:n?"pointer":"default"}})})})]}),a&&_.jsx("p",{style:{color:"#CC3010"},children:a})]}),_.jsx(wt,{icon:_.jsx(Uk,{}),disabled:n.length>17||n.length===0,type:"primary",onClick:p,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),_.jsxs(Ps,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",_.jsx(St,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),o?_.jsxs(_.Fragment,{children:[_.jsx(Zn,{style:{marginTop:16},type:"success",description:_.jsxs(_.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",_.jsx("b",{children:o})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),o.includes("Espressif")?_.jsx("b",{children:" ESP32"}):_.jsxs(_.Fragment,{children:[_.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),_.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),o.toLowerCase().includes("texas")?_.jsx(Ps,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):l?_.jsx(Zn,{style:{marginTop:16},type:"error",description:_.jsx(_.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",_.jsxs(Ps,{style:{marginTop:16},children:[o?"":_.jsxs(_.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",_.jsx(Jt,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:_.jsx(St,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),b]})]})]})]})},Ont=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.BoxFlashing.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.BoxFlashing.title")}),_.jsx(Zn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),"tbd"]})]})]})},sie=(e,t,n="")=>{const r=[];return Object.keys(e).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;t[a][s]||r.push(l,u)}):e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...lie(e[a],i)):r.push(...sie(e[a],t[a],i)):a in t||r.push(i)}),r},lie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...lie(e[r],a)):n.push(a)}),n},cie=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;e[a][s]||r.push(l,u)}):t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(i):r.push(...cie(e[a],t[a],i)):a in e||r.push(i)}),r},Nnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState({}),[i,o]=c.useState({}),[s,l]=c.useState(!0),u=["en","fr","de","es"],d="en";return c.useEffect(()=>{(async()=>{const f={};for(let m of u){const h=await(await fetch(`/web/translations/${m}.json`)).json();f[m]=h}n(f),l(!1)})()},[]),c.useEffect(()=>{if(!s&&t[d]){const p=t[d],f={},m={};u.forEach(g=>{if(g!==d){const h=t[g];f[g]=sie(p,h),m[g]=cie(p,h)}}),a(f),o(m)}},[s,t]),s?_.jsx("p",{children:"Loading translations..."}):_.jsxs(_.Fragment,{children:[_.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(p=>{var f,m;return p===d||((f=r[p])==null?void 0:f.length)===0&&((m=i[p])==null?void 0:m.length)===0})?_.jsx("p",{children:e("community.translations.noDiscrepancies")}):_.jsx("div",{children:u.map(p=>{var f,m;return p!==d&&_.jsxs("div",{children:[_.jsxs("h2",{children:[e("community.translations.language"),": ",p.toUpperCase()]}),_.jsx("h3",{children:e("community.translations.missingKeys")}),((f=r[p])==null?void 0:f.length)>0?_.jsx("ul",{children:r[p].map((g,h)=>_.jsx("li",{children:g},h))}):_.jsx("p",{children:e("community.translations.noMissingKeys")}),_.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((m=i[p])==null?void 0:m.length)>0?_.jsx("ul",{children:i[p].map((g,h)=>_.jsx("li",{children:g},h))}):_.jsx("p",{children:e("community.translations.noExtraKeys")})]},p)})})]})},uie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...uie(e[r],a)):n.push(a)}),n},Ant=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[i,o]=a.split("["),s=parseInt(o.replace("]",""),10);if(r=r[i],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},Dnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState(!0),i=["en","fr","de","es"],o="en";if(c.useEffect(()=>{(async()=>{const p={};for(let f of i){const g=await(await fetch(`/web/translations/${f}.json`)).json();p[f]=g}n(p),a(!1)})()},[]),r)return _.jsx("p",{children:"Loading translations..."});const s=uie(t[o]),l=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"20%",render:d=>_.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:d})},...i.map(d=>({title:d.toUpperCase(),dataIndex:d,key:d}))],u=s.map(d=>{const p={key:d};return i.forEach(f=>{const m=Ant(t[f],d);p[f]=m||"<"+e("community.translations.missing")+">"}),p});return _.jsxs(_.Fragment,{children:[_.jsx("h2",{children:e("community.translations.allTranslationStrings")}),_.jsx(Ya,{size:"small",columns:l,dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:Mnt}=Tn,Lnt=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ka,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ka,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("community.translations.title")}),_.jsx(Mnt,{children:e("community.translations.hint")}),_.jsx(Nnt,{}),_.jsx(Dnt,{})]})]})]})},{Paragraph:knt}=Tn,Pnt=()=>{const{t:e}=$t();return _.jsxs(_.Fragment,{children:[_.jsx(Bn,{children:_.jsx(Ta,{})}),_.jsxs(Un,{children:[_.jsx(In,{children:_.jsx(Ta,{})}),_.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),_.jsxs(Pn,{children:[_.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),_.jsx(knt,{children:e("tonieboxes.boxSetup.openBoxGuide.intro")}),_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(St,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:e("tonieboxes.boxSetup.openBoxGuide.link1")})}),_.jsx("li",{children:_.jsx(St,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})})]})]})]})]})};function $nt(){const{defaultAlgorithm:e,darkAlgorithm:t}=ka,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=c.useState(()=>localStorage.getItem("theme")||"auto"),[i,o]=c.useState(hi()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};c.useEffect(()=>{localStorage.setItem("theme",r),o(hi()==="dark"),hi()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let l;return r==="dark"?l=_.jsx(NNe,{onClick:s}):r==="light"?l=_.jsx(wAe,{onClick:s}):l=_.jsx(xOe,{onClick:s}),_.jsx(bo,{theme:{algorithm:i?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:_.jsx("div",{className:"App",children:_.jsx(Vo,{style:{minHeight:"100vh"},children:_.jsx(e$e,{basename:"/web",children:_.jsxs(i$e,{children:[_.jsx(KXe,{themeSwitch:l}),_.jsx(Vo,{children:_.jsxs(W2e,{children:[_.jsx(Nn,{path:"/",element:_.jsx(AXe,{})}),_.jsx(Nn,{path:"/home/stats",element:_.jsx(BXe,{})}),_.jsx(Nn,{path:"/home/features",element:_.jsx(gnt,{})}),_.jsx(Nn,{path:"/home/toniemeeting",element:_.jsx(fnt,{})}),_.jsx(Nn,{path:"/tonies",element:_.jsx(rQe,{})}),_.jsx(Nn,{path:"/tonies/system-sounds",element:_.jsx(oQe,{})}),_.jsx(Nn,{path:"/tonies/content",element:_.jsx(VZe,{})}),_.jsx(Nn,{path:"/tonies/library",element:_.jsx(qZe,{})}),_.jsx(Nn,{path:"/tonies/encoder",element:_.jsx(ZZe,{})}),_.jsx(Nn,{path:"/tonies/tap",element:_.jsx(eJe,{})}),_.jsx(Nn,{path:"/tonieboxes",element:_.jsx(lJe,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup",element:_.jsx(Snt,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/identifyboxversion",element:_.jsx(Int,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/openboxguide",element:_.jsx(Pnt,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/flashing",element:_.jsx(dnt,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/legacy",element:_.jsx(Ont,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:_.jsx(_nt,{})}),_.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:_.jsx(hnt,{})}),_.jsx(Nn,{path:"/settings",element:_.jsx(o6e,{})}),_.jsx(Nn,{path:"/settings/certificates",element:_.jsx(gXe,{})}),_.jsx(Nn,{path:"/settings/rtnl",element:_.jsx(mXe,{})}),_.jsx(Nn,{path:"/community",element:_.jsx(cJe,{})}),_.jsx(Nn,{path:"/community/faq",element:_.jsx(mnt,{})}),_.jsx(Nn,{path:"/community/contribution",element:_.jsx(uJe,{})}),_.jsx(Nn,{path:"/community/contribution/tonies-json",element:_.jsx(fJe,{})}),_.jsx(Nn,{path:"/community/contribution/translations",element:_.jsx(Lnt,{})}),_.jsx(Nn,{path:"/community/contributors",element:_.jsx(mJe,{})}),_.jsx(Nn,{path:"/community/changelog",element:_.jsx(gJe,{})}),_.jsx(Nn,{path:"/uitest",element:_.jsx(s$e,{})}),_.jsx(Nn,{path:"/*",element:_.jsx($Xe,{})})]})}),_.jsx(eQe,{})]})})})})})}const Fnt=uN.createRoot(document.getElementById("root"));Fnt.render(_.jsx(ce.StrictMode,{children:_.jsx($nt,{})}))});export default Bnt(); diff --git a/contrib/data/www/web/index.html b/contrib/data/www/web/index.html index 749e1ea0..71c7582e 100644 --- a/contrib/data/www/web/index.html +++ b/contrib/data/www/web/index.html @@ -12,7 +12,7 @@ --> TeddyCloud - + diff --git a/contrib/data/www/web/translations/de.json b/contrib/data/www/web/translations/de.json index 408fd61d..79591fe0 100644 --- a/contrib/data/www/web/translations/de.json +++ b/contrib/data/www/web/translations/de.json @@ -382,6 +382,21 @@ "accessApiDisabled": "Zugriff auf TeddyCloud APIs deaktiviert.", "accessApiEnabled": "Zugriff auf TeddyCloud APIs aktiviert.", "boxSetup": { + "navigationTitle": "Toniebox hinzufügen", + "title": "Füge deine Toniebox zu TeddyCloud hinzu", + "setupTeddyCloud": "TeddyCloud einrichten", + "setupTeddyCloudText": "Herzlichen Glückwunsch! Da du diese Seite erreicht hast, hast du TeddyCloud erfolgreich eingerichtet!", + "identifyTonieboxVersion": "Identifiziere deine Toniebox-Version", + "identifyTonieboxVersionText": "Der erste Schritt, um deine Toniebox zu TeddyCloud hinzuzufügen, ist die Identifizierung der Version. Die Version bestimmt die spezifische Methode, um deine Toniebox mit TeddyCloud kompatibel zu machen.", + "flashBox": "Toniebox flashen", + "flashBoxText": "Um deine Toniebox zu TeddyCloud hinzuzufügen, sind einige Modifikationen erforderlich. Abhängig von deiner Toniebox-Version gibt es drei spezifische Anleitungen:", + "useIt": "Nutze es!", + "useItText": "Jetzt kannst du deinen Tonies oder eigenen Tags benutzerdefinierte Inhalte zuweisen, dich zurücklehnen und die endlosen Möglichkeiten deiner freigeschalteten Toniebox genießen!", + "boxSetupIntro1": "Diese Seite bietet eine vollständige Übersicht über die erforderlichen Schritte, um deine Toniebox zu TeddyCloud hinzuzufügen. Wenn du auf Probleme stößt, besuche gerne das", + "boxSetupIntroForum": "Forum", + "boxSetupIntro2": "oder trete der", + "boxSetupIntroTelegram": "Telegram-Gruppe", + "boxSetupIntro3": "bei, um Unterstützung von der Community zu erhalten.", "identifyVersion": { "navigationTitle": "Tonieboxversion", "title": "Identifiziere deine Toniebox-Version", diff --git a/contrib/data/www/web/translations/en.json b/contrib/data/www/web/translations/en.json index cb06aba4..71368a31 100644 --- a/contrib/data/www/web/translations/en.json +++ b/contrib/data/www/web/translations/en.json @@ -382,6 +382,21 @@ "accessApiDisabled": "Access to TeddyCloud APIs disabled.", "accessApiEnabled": "Access to TeddyCloud APIs enabled.", "boxSetup": { + "navigationTitle": "Add Toniebox", + "title": "Add your Toniebox to TeddyCloud", + "setupTeddyCloud": "Setup TeddyCloud", + "setupTeddyCloudText": "Congratulations! By reaching this page, you've successfully set up TeddyCloud!", + "identifyTonieboxVersion": "Identify your Toniebox version", + "identifyTonieboxVersionText": "The first step in adding your Toniebox to TeddyCloud is identifying its version. The version determines the specific method needed to modify your Toniebox to make it compatible with TeddyCloud.", + "flashBox": "Flash Toniebox", + "flashBoxText": "To add your Toniebox to TeddyCloud, some modifications are required. Depending on your Toniebox version, there are three specific guidelines to follow:", + "useIt": "Use it!", + "useItText": "Now you can assign custom content to your Tonies or custom tags, sit back, and enjoy the endless possibilities of your unlocked Toniebox!", + "boxSetupIntro1": "This page provides a complete overview of the steps required to add your Toniebox to TeddyCloud. If you encounter any issues, feel free to visit the", + "boxSetupIntroForum": "forum", + "boxSetupIntro2": "or join the", + "boxSetupIntroTelegram": "Telegram group", + "boxSetupIntro3": "for community support.", "identifyVersion": { "navigationTitle": "Toniebox version", "title": "Identify your Toniebox version", diff --git a/contrib/data/www/web/translations/es.json b/contrib/data/www/web/translations/es.json index ae67ec9e..993482d4 100644 --- a/contrib/data/www/web/translations/es.json +++ b/contrib/data/www/web/translations/es.json @@ -382,6 +382,21 @@ "accessApiDisabled": "Acceso a las API de TeddyCloud deshabilitado.", "accessApiEnabled": "Acceso a las API de TeddyCloud habilitado.", "boxSetup": { + "navigationTitle": "Añadir Toniebox", + "title": "Añade tu Toniebox a TeddyCloud", + "setupTeddyCloud": "Configurar TeddyCloud", + "setupTeddyCloudText": "¡Felicidades! Al llegar a esta página, ¡has configurado TeddyCloud con éxito!", + "identifyTonieboxVersion": "Identifica la versión de tu Toniebox", + "identifyTonieboxVersionText": "El primer paso para añadir tu Toniebox a TeddyCloud es identificar su versión. La versión determina el método específico necesario para modificar tu Toniebox y hacerla compatible con TeddyCloud.", + "flashBox": "Flashear Toniebox", + "flashBoxText": "Para añadir tu Toniebox a TeddyCloud, se requieren algunas modificaciones. Dependiendo de la versión de tu Toniebox, hay tres guías específicas a seguir:", + "useIt": "¡Úsala!", + "useItText": "Ahora puedes asignar contenido personalizado a tus Tonies o etiquetas personalizadas, relajarte y disfrutar de las infinitas posibilidades de tu Toniebox liberada.", + "boxSetupIntro1": "Esta página proporciona una visión general completa de los pasos necesarios para añadir tu Toniebox a TeddyCloud. Si encuentras algún problema, no dudes en visitar el", + "boxSetupIntroForum": "foro", + "boxSetupIntro2": "o unirte al", + "boxSetupIntroTelegram": "grupo de Telegram", + "boxSetupIntro3": "para recibir soporte de la comunidad.", "identifyVersion": { "navigationTitle": "Versión de la Toniebox", "title": "Identifica la versión de tu Toniebox", diff --git a/contrib/data/www/web/translations/fr.json b/contrib/data/www/web/translations/fr.json index 5c02c263..85b601f3 100644 --- a/contrib/data/www/web/translations/fr.json +++ b/contrib/data/www/web/translations/fr.json @@ -382,6 +382,21 @@ "accessApiDisabled": "Accès aux API de TeddyCloud désactivé.", "accessApiEnabled": "Accès aux API de TeddyCloud activé.", "boxSetup": { + "navigationTitle": "Ajouter Toniebox", + "title": "Ajoutez votre Toniebox à TeddyCloud", + "setupTeddyCloud": "Configurer TeddyCloud", + "setupTeddyCloudText": "Félicitations ! En atteignant cette page, vous avez réussi à configurer TeddyCloud !", + "identifyTonieboxVersion": "Identifiez la version de votre Toniebox", + "identifyTonieboxVersionText": "La première étape pour ajouter votre Toniebox à TeddyCloud consiste à identifier sa version. La version détermine la méthode spécifique nécessaire pour modifier votre Toniebox afin qu'elle soit compatible avec TeddyCloud.", + "flashBox": "Flasher la Toniebox", + "flashBoxText": "Pour ajouter votre Toniebox à TeddyCloud, certaines modifications sont nécessaires. Selon la version de votre Toniebox, il existe trois directives spécifiques à suivre :", + "useIt": "Utilisez-la !", + "useItText": "Vous pouvez maintenant attribuer du contenu personnalisé à vos Tonies ou à des étiquettes personnalisées, vous détendre et profiter des possibilités infinies de votre Toniebox déverrouillée !", + "boxSetupIntro1": "Cette page fournit un aperçu complet des étapes nécessaires pour ajouter votre Toniebox à TeddyCloud. Si vous rencontrez des problèmes, n'hésitez pas à visiter le", + "boxSetupIntroForum": "forum", + "boxSetupIntro2": "ou à rejoindre le", + "boxSetupIntroTelegram": "groupe Telegram", + "boxSetupIntro3": "pour obtenir de l'aide de la communauté.", "identifyVersion": { "navigationTitle": "Version de la Toniebox", "title": "Identifie ta version de Toniebox", diff --git a/contrib/data/www/web/web_version.json b/contrib/data/www/web/web_version.json index 892fa179..fe7e1446 100644 --- a/contrib/data/www/web/web_version.json +++ b/contrib/data/www/web/web_version.json @@ -2,9 +2,9 @@ "web_version": "vX.X.X", "web_gitDirty": "0", "web_gitTag": "undefined", - "web_gitDateTime": "2024-10-16 22:55:23 +0200", - "web_gitSha": "a422b7743f118ece56fea50d79d480517c5ec587", + "web_gitDateTime": "2024-10-17 21:13:10 +0200", + "web_gitSha": "510f3d8b4a1422917375c4573dc9109ab8259f24", "web_gitTagPrefix": "undefined", - "web_gitShortSha": "a422b77", + "web_gitShortSha": "510f3d8", "_eof":"" } diff --git a/teddycloud_web b/teddycloud_web index a422b774..510f3d8b 160000 --- a/teddycloud_web +++ b/teddycloud_web @@ -1 +1 @@ -Subproject commit a422b7743f118ece56fea50d79d480517c5ec587 +Subproject commit 510f3d8b4a1422917375c4573dc9109ab8259f24