mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
190 lines
2.6 MiB
190 lines
2.6 MiB
var oC=Object.defineProperty,aC=Object.defineProperties;var sC=Object.getOwnPropertyDescriptors;var Jl=Object.getOwnPropertySymbols;var fh=Object.prototype.hasOwnProperty,hh=Object.prototype.propertyIsEnumerable;var ph=(e,t,n)=>t in e?oC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||(t={}))fh.call(t,n)&&ph(e,n,t[n]);if(Jl)for(var n of Jl(t))hh.call(t,n)&&ph(e,n,t[n]);return e},qe=(e,t)=>aC(e,sC(t));var hm=e=>typeof e=="symbol"?e:e+"",gh=(e,t)=>{var n={};for(var i in e)fh.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Jl)for(var i of Jl(e))t.indexOf(i)<0&&hh.call(e,i)&&(n[i]=e[i]);return n};function Ns(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in e)){var o=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const lC=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}};lC();var Qe,il,Mb,bh,Lb,$c={},tf=[],cC=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function so(e,t){for(var n in t)e[n]=t[n];return e}function Fb(e){var t=e.parentNode;t&&t.removeChild(e)}function T(e,t,n){var i,o,r,a=arguments,s={};for(r in t)r=="key"?i=t[r]:r=="ref"?o=t[r]:s[r]=t[r];if(arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(a[r]);if(n!=null&&(s.children=n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)s[r]===void 0&&(s[r]=e.defaultProps[r]);return rl(e,s,i,o,null)}function rl(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++Qe.__v:o};return Qe.vnode!=null&&Qe.vnode(r),r}function dC(){return{current:null}}function vt(e){return e.children}function fr(e,t){this.props=e,this.context=t}function ml(e,t){if(t==null)return e.__?ml(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?ml(e):null}function Pb(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Pb(e)}}function up(e){(!e.__d&&(e.__d=!0)&&il.push(e)&&!Uc.__r++||bh!==Qe.debounceRendering)&&((bh=Qe.debounceRendering)||Mb)(Uc)}function Uc(){for(var e;Uc.__r=il.length;)e=il.sort(function(t,n){return t.__v.__b-n.__v.__b}),il=[],e.some(function(t){var n,i,o,r,a,s;t.__d&&(a=(r=(n=t).__v).__e,(s=n.__P)&&(i=[],(o=so({},r)).__v=r.__v+1,nf(s,r,o,n.__n,s.ownerSVGElement!==void 0,r.__h!=null?[a]:null,i,a==null?ml(r):a,r.__h),Gb(i,r),r.__e!=a&&Pb(r)))})}function Bb(e,t,n,i,o,r,a,s,c,l){var _,d,u,m,f,p,h,b=i&&i.__k||tf,g=b.length;for(n.__k=[],_=0;_<t.length;_++)if((m=n.__k[_]=(m=t[_])==null||typeof m=="boolean"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?rl(null,m,null,null,m):Array.isArray(m)?rl(vt,{children:m},null,null,null):m.__b>0?rl(m.type,m.props,m.key,null,m.__v):m)!=null){if(m.__=n,m.__b=n.__b+1,(u=b[_])===null||u&&m.key==u.key&&m.type===u.type)b[_]=void 0;else for(d=0;d<g;d++){if((u=b[d])&&m.key==u.key&&m.type===u.type){b[d]=void 0;break}u=null}nf(e,m,u=u||$c,o,r,a,s,c,l),f=m.__e,(d=m.ref)&&u.ref!=d&&(h||(h=[]),u.ref&&h.push(u.ref,null,m),h.push(d,m.__c||f,m)),f!=null?(p==null&&(p=f),typeof m.type=="function"&&m.__k!=null&&m.__k===u.__k?m.__d=c=$b(m,c,e):c=Ub(e,m,u,b,f,c),l||n.type!=="option"?typeof n.type=="function"&&(n.__d=c):e.value=""):c&&u.__e==c&&c.parentNode!=e&&(c=ml(u))}for(n.__e=p,_=g;_--;)b[_]!=null&&(typeof n.type=="function"&&b[_].__e!=null&&b[_].__e==n.__d&&(n.__d=ml(i,_+1)),Yb(b[_],b[_]));if(h)for(_=0;_<h.length;_++)zb(h[_],h[++_],h[++_])}function $b(e,t,n){var i,o;for(i=0;i<e.__k.length;i++)(o=e.__k[i])&&(o.__=e,t=typeof o.type=="function"?$b(o,t,n):Ub(n,o,o,e.__k,o.__e,t));return t}function hr(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){hr(n,t)}):t.push(e)),t}function Ub(e,t,n,i,o,r){var a,s,c;if(t.__d!==void 0)a=t.__d,t.__d=void 0;else if(n==null||o!=r||o.parentNode==null)e:if(r==null||r.parentNode!==e)e.appendChild(o),a=null;else{for(s=r,c=0;(s=s.nextSibling)&&c<i.length;c+=2)if(s==o)break e;e.insertBefore(o,r),a=r}return a!==void 0?a:o.nextSibling}function uC(e,t,n,i,o){var r;for(r in n)r==="children"||r==="key"||r in t||Gc(e,r,null,n[r],i);for(r in t)o&&typeof t[r]!="function"||r==="children"||r==="key"||r==="value"||r==="checked"||n[r]===t[r]||Gc(e,r,t[r],n[r],i)}function Eh(e,t,n){t[0]==="-"?e.setProperty(t,n):e[t]=n==null?"":typeof n!="number"||cC.test(t)?n:n+"px"}function Gc(e,t,n,i,o){var r;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||Eh(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||Eh(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i||e.addEventListener(t,r?Sh:vh,r):e.removeEventListener(t,r?Sh:vh,r);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=n==null?"":n;break e}catch{}typeof n=="function"||(n!=null&&(n!==!1||t[0]==="a"&&t[1]==="r")?e.setAttribute(t,n):e.removeAttribute(t))}}function vh(e){this.l[e.type+!1](Qe.event?Qe.event(e):e)}function Sh(e){this.l[e.type+!0](Qe.event?Qe.event(e):e)}function nf(e,t,n,i,o,r,a,s,c){var l,_,d,u,m,f,p,h,b,g,v,E=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(c=n.__h,s=t.__e=n.__e,t.__h=null,r=[s]),(l=Qe.__b)&&l(t);try{e:if(typeof E=="function"){if(h=t.props,b=(l=E.contextType)&&i[l.__c],g=l?b?b.props.value:l.__:i,n.__c?p=(_=t.__c=n.__c).__=_.__E:("prototype"in E&&E.prototype.render?t.__c=_=new E(h,g):(t.__c=_=new fr(h,g),_.constructor=E,_.render=mC),b&&b.sub(_),_.props=h,_.state||(_.state={}),_.context=g,_.__n=i,d=_.__d=!0,_.__h=[]),_.__s==null&&(_.__s=_.state),E.getDerivedStateFromProps!=null&&(_.__s==_.state&&(_.__s=so({},_.__s)),so(_.__s,E.getDerivedStateFromProps(h,_.__s))),u=_.props,m=_.state,d)E.getDerivedStateFromProps==null&&_.componentWillMount!=null&&_.componentWillMount(),_.componentDidMount!=null&&_.__h.push(_.componentDidMount);else{if(E.getDerivedStateFromProps==null&&h!==u&&_.componentWillReceiveProps!=null&&_.componentWillReceiveProps(h,g),!_.__e&&_.shouldComponentUpdate!=null&&_.shouldComponentUpdate(h,_.__s,g)===!1||t.__v===n.__v){_.props=h,_.state=_.__s,t.__v!==n.__v&&(_.__d=!1),_.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(S){S&&(S.__=t)}),_.__h.length&&a.push(_);break e}_.componentWillUpdate!=null&&_.componentWillUpdate(h,_.__s,g),_.componentDidUpdate!=null&&_.__h.push(function(){_.componentDidUpdate(u,m,f)})}_.context=g,_.props=h,_.state=_.__s,(l=Qe.__r)&&l(t),_.__d=!1,_.__v=t,_.__P=e,l=_.render(_.props,_.state,_.context),_.state=_.__s,_.getChildContext!=null&&(i=so(so({},i),_.getChildContext())),d||_.getSnapshotBeforeUpdate==null||(f=_.getSnapshotBeforeUpdate(u,m)),v=l!=null&&l.type===vt&&l.key==null?l.props.children:l,Bb(e,Array.isArray(v)?v:[v],t,n,i,o,r,a,s,c),_.base=t.__e,t.__h=null,_.__h.length&&a.push(_),p&&(_.__E=_.__=null),_.__e=!1}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=_C(n.__e,t,n,i,o,r,a,c);(l=Qe.diffed)&&l(t)}catch(S){t.__v=null,(c||r!=null)&&(t.__e=s,t.__h=!!c,r[r.indexOf(s)]=null),Qe.__e(S,t,n)}}function Gb(e,t){Qe.__c&&Qe.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(i){i.call(n)})}catch(i){Qe.__e(i,n.__v)}})}function _C(e,t,n,i,o,r,a,s){var c,l,_,d,u=n.props,m=t.props,f=t.type,p=0;if(f==="svg"&&(o=!0),r!=null){for(;p<r.length;p++)if((c=r[p])&&(c===e||(f?c.localName==f:c.nodeType==3))){e=c,r[p]=null;break}}if(e==null){if(f===null)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,m.is&&m),r=null,s=!1}if(f===null)u===m||s&&e.data===m||(e.data=m);else{if(r=r&&tf.slice.call(e.childNodes),l=(u=n.props||$c).dangerouslySetInnerHTML,_=m.dangerouslySetInnerHTML,!s){if(r!=null)for(u={},d=0;d<e.attributes.length;d++)u[e.attributes[d].name]=e.attributes[d].value;(_||l)&&(_&&(l&&_.__html==l.__html||_.__html===e.innerHTML)||(e.innerHTML=_&&_.__html||""))}if(uC(e,m,u,o,s),_)t.__k=[];else if(p=t.props.children,Bb(e,Array.isArray(p)?p:[p],t,n,i,o&&f!=="foreignObject",r,a,e.firstChild,s),r!=null)for(p=r.length;p--;)r[p]!=null&&Fb(r[p]);s||("value"in m&&(p=m.value)!==void 0&&(p!==e.value||f==="progress"&&!p)&&Gc(e,"value",p,u.value,!1),"checked"in m&&(p=m.checked)!==void 0&&p!==e.checked&&Gc(e,"checked",p,u.checked,!1))}return e}function zb(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(i){Qe.__e(i,n)}}function Yb(e,t,n){var i,o,r;if(Qe.unmount&&Qe.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||zb(i,null,t)),n||typeof e.type=="function"||(n=(o=e.__e)!=null),e.__e=e.__d=void 0,(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(a){Qe.__e(a,t)}i.base=i.__P=null}if(i=e.__k)for(r=0;r<i.length;r++)i[r]&&Yb(i[r],t,n);o!=null&&Fb(o)}function mC(e,t,n){return this.constructor(e,n)}function ds(e,t,n){var i,o,r;Qe.__&&Qe.__(e,t),o=(i=typeof n=="function")?null:n&&n.__k||t.__k,r=[],nf(t,e=(!i&&n||t).__k=T(vt,null,[e]),o||$c,$c,t.ownerSVGElement!==void 0,!i&&n?[n]:o?null:t.firstChild?tf.slice.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i),Gb(r,e)}function Hb(e,t){ds(e,t,Hb)}function Vb(e,t,n){var i,o,r,a=arguments,s=so({},e.props);for(r in t)r=="key"?i=t[r]:r=="ref"?o=t[r]:s[r]=t[r];if(arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(a[r]);return n!=null&&(s.children=n),rl(e.type,s,i||e.key,o||e.ref,null)}function Cs(e,t){var n={__c:t="__cC"+Lb++,__:e,Consumer:function(i,o){return i.children(o)},Provider:function(i){var o,r;return this.getChildContext||(o=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(up)},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),i.children}};return n.Provider.__=n.Consumer.contextType=n}Qe={__e:function(e,t){for(var n,i,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&i.getDerivedStateFromError!=null&&(n.setState(i.getDerivedStateFromError(e)),o=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(r){e=r}throw e},__v:0},fr.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=so({},this.state),typeof e=="function"&&(e=e(so({},n),this.props)),e&&so(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),up(this))},fr.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),up(this))},fr.prototype.render=vt,il=[],Mb=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Uc.__r=0,Lb=0;var pC={};function Wb(e,t){for(var n in t)e[n]=t[n];return e}function jb(e,t,n){var i=/(?:\?([^#]*))?(#.*)?$/,o=e.match(i),r={},a;if(o&&o[1])for(var s=o[1].split("&"),c=0;c<s.length;c++){var l=s[c].split("=");r[decodeURIComponent(l[0])]=decodeURIComponent(l.slice(1).join("="))}e=_p(e.replace(i,"")),t=_p(t||"");for(var _=Math.max(e.length,t.length),d=0;d<_;d++)if(t[d]&&t[d].charAt(0)===":"){var u=t[d].replace(/(^:|[+*?]+$)/g,""),m=(t[d].match(/[+*?]+$/)||pC)[0]||"",f=~m.indexOf("+"),p=~m.indexOf("*"),h=e[d]||"";if(!h&&!p&&(m.indexOf("?")<0||f)){a=!1;break}if(r[u]=decodeURIComponent(h),f||p){r[u]=e.slice(d).map(decodeURIComponent).join("/");break}}else if(t[d]!==e[d]){a=!1;break}return n.default!==!0&&a===!1?!1:r}function fC(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function hC(e,t){return e.index=t,e.rank=EC(e),e.props}function _p(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function gC(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function bC(e){return _p(e).map(gC).join("")}function EC(e){return e.props.default?0:bC(e.props.path)}var $i=null,Ca=[],mp=[],vC={};function SC(e,t){t===void 0&&(t="push"),$i&&$i[t]?$i[t](e):typeof history!="undefined"&&history[t+"State"]&&history[t+"State"](null,null,e)}function us(){var e;return $i&&$i.location?e=$i.location:$i&&$i.getCurrentLocation?e=$i.getCurrentLocation():e=typeof location!="undefined"?location:vC,""+(e.pathname||"")+(e.search||"")}function Qo(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),yC(e)&&SC(e,t?"replace":"push"),qb(e)}function yC(e){for(var t=Ca.length;t--;)if(Ca[t].canRoute(e))return!0;return!1}function qb(e){for(var t=!1,n=0;n<Ca.length;n++)Ca[n].routeTo(e)===!0&&(t=!0);for(var i=mp.length;i--;)mp[i](e);return t}function Kb(e){if(!(!e||!e.getAttribute)){var t=e.getAttribute("href"),n=e.getAttribute("target");if(!(!t||!t.match(/^\//g)||n&&!n.match(/^_?self$/i)))return Qo(t)}}function NC(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Kb(e.currentTarget||e.target||this),Qb(e)}function Qb(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function CC(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)){var t=e.target;do if(String(t.nodeName).toUpperCase()==="A"&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(Kb(t))return Qb(e)}while(t=t.parentNode)}}var yh=!1;function AC(){yh||(typeof addEventListener=="function"&&($i||addEventListener("popstate",function(){qb(us())}),addEventListener("click",CC)),yh=!0)}var ho=function(e){function t(n){e.call(this,n),n.history&&($i=n.history),this.state={url:n.url||us()},AC()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.shouldComponentUpdate=function(i){return i.static!==!0?!0:i.url!==this.props.url||i.onChange!==this.props.onChange},t.prototype.canRoute=function(i){var o=hr(this.props.children);return this.getMatchingChildren(o,i,!1).length>0},t.prototype.routeTo=function(i){this.setState({url:i});var o=this.canRoute(i);return this.updating||this.forceUpdate(),o},t.prototype.componentWillMount=function(){Ca.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var i=this;$i&&(this.unlisten=$i.listen(function(o){i.routeTo(""+(o.pathname||"")+(o.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),Ca.splice(Ca.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(i,o,r){return i.filter(hC).sort(fC).map(function(a){var s=jb(o,a.props.path,a.props);if(s){if(r!==!1){var c={url:o,matches:s};return Wb(c,s),delete c.ref,delete c.key,Vb(a,c)}return a}}).filter(Boolean)},t.prototype.render=function(i,o){var r=i.children,a=i.onChange,s=o.url,c=this.getMatchingChildren(hr(r),s,!0),l=c[0]||null,_=this.previousUrl;return s!==_&&(this.previousUrl=s,typeof a=="function"&&a({router:this,url:s,previous:_,active:c,current:l})),l},t}(fr),Xb=function(e){return T("a",Wb({onClick:NC},e))},OC=function(e){return T(e.component,e)};ho.subscribers=mp;ho.getCurrentUrl=us;ho.route=Qo;ho.Router=ho;ho.Route=OC;ho.Link=Xb;ho.exec=jb;var zn;(e=>{const t="Site",n="Generator";function l(v,E,S){ga("send","event",v,E,S)}function _(v,E){ga("set",`dimension${v}`,E)}function d(v){ga("set","page",v),ga("send","pageview")}e.pageview=d;function u(v){_(4,v),l(t,"set-language",v)}e.setLanguage=u;function m(v){_(1,v),l(t,"set-theme",v)}e.setTheme=m;function f(v){_(3,v),l(n,"set-version",v)}e.setVersion=f;function p(v){_(5,v),l(n,"set-preview",v)}e.setPreview=p;function h(v){_(6,v)}e.setGenerator=h;function b(v){_(7,v)}e.setPrefersColorScheme=b;function g(v,E){l(n,v,E)}e.generatorEvent=g})(zn||(zn={}));var Fa,_i,Nh,_s=0,pp=[],Ch=Qe.__b,Ah=Qe.__r,Oh=Qe.diffed,Th=Qe.__c,wh=Qe.unmount;function As(e,t){Qe.__h&&Qe.__h(_i,e,_s||t),_s=0;var n=_i.__H||(_i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function we(e){return _s=1,Zb(tE,e)}function Zb(e,t,n){var i=As(Fa++,2);return i.t=e,i.__c||(i.__=[n?n(t):tE(void 0,t),function(o){var r=i.t(i.__[0],o);i.__[0]!==r&&(i.__=[r,i.__[1]],i.__c.setState({}))}],i.__c=_i),i.__}function ct(e,t){var n=As(Fa++,3);!Qe.__s&&rf(n.__H,t)&&(n.__=e,n.__H=t,_i.__H.__h.push(n))}function Jb(e,t){var n=As(Fa++,4);!Qe.__s&&rf(n.__H,t)&&(n.__=e,n.__H=t,_i.__h.push(n))}function an(e){return _s=5,bn(function(){return{current:e}},[])}function TC(e,t,n){_s=6,Jb(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))}function bn(e,t){var n=As(Fa++,7);return rf(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function li(e,t){return _s=8,bn(function(){return e},t)}function Os(e){var t=_i.context[e.__c],n=As(Fa++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(_i)),t.props.value):e.__}function wC(e,t){Qe.useDebugValue&&Qe.useDebugValue(t?t(e):e)}function eE(e){var t=As(Fa++,10),n=we();return t.__=e,_i.componentDidCatch||(_i.componentDidCatch=function(i){t.__&&t.__(i),n[1](i)}),[n[0],function(){n[1](void 0)}]}function RC(){pp.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(yc),e.__H.__h.forEach(fp),e.__H.__h=[]}catch(t){e.__H.__h=[],Qe.__e(t,e.__v)}}),pp=[]}Qe.__b=function(e){_i=null,Ch&&Ch(e)},Qe.__r=function(e){Ah&&Ah(e),Fa=0;var t=(_i=e.__c).__H;t&&(t.__h.forEach(yc),t.__h.forEach(fp),t.__h=[])},Qe.diffed=function(e){Oh&&Oh(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(pp.push(t)!==1&&Nh===Qe.requestAnimationFrame||((Nh=Qe.requestAnimationFrame)||function(n){var i,o=function(){clearTimeout(r),Rh&&cancelAnimationFrame(i),setTimeout(n)},r=setTimeout(o,100);Rh&&(i=requestAnimationFrame(o))})(RC)),_i=void 0},Qe.__c=function(e,t){t.some(function(n){try{n.__h.forEach(yc),n.__h=n.__h.filter(function(i){return!i.__||fp(i)})}catch(i){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Qe.__e(i,n.__v)}}),Th&&Th(e,t)},Qe.unmount=function(e){wh&&wh(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(yc)}catch(n){Qe.__e(n,t.__v)}};var Rh=typeof requestAnimationFrame=="function";function yc(e){var t=_i;typeof e.__c=="function"&&e.__c(),_i=t}function fp(e){var t=_i;e.__c=e.__(),_i=t}function rf(e,t){return!e||e.length!==t.length||t.some(function(n,i){return n!==e[i]})}function tE(e,t){return typeof t=="function"?t(e):t}function Bl({type:e,id:t}){return ct(()=>{var n;(n=document.getElementById("ad-placeholder"))==null||n.remove(),"ethicalads"in window&ðicalads.load()},[]),T("div",{"data-ea-publisher":"misode-github-io","data-ea-type":e,class:"ad dark flat",id:t})}function tt({icon:e,label:t,active:n,class:i,tooltip:o,tooltipLoc:r,onClick:a}){return T("div",{class:`btn${n?" active":""}${i?` ${i}`:""}${o?` tooltipped tip-${r!=null?r:"sw"}`:""}${n?" tip-shown":""}`,onClick:a,"aria-label":o},e&&At[e],t&&T("span",null,t))}var ut=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function nE(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 j={},Pr={},Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});Mr.ModelPath=Mr.Path=Mr.relativePath=void 0;function xC(e,t){return t.reduce((n,i)=>i==="pop"?n.pop():n.push(i.push),e)}Mr.relativePath=xC;class to{constructor(t,n){this.modelArr=t!=null?t:[],this.contextArr=n!=null?n:[]}last(){return this.modelArr[this.modelArr.length-1]}slice(t,n){return new to(this.modelArr.slice(t,n),this.contextArr)}shift(){return new to(this.modelArr.slice(1),this.contextArr)}pop(){return new to(this.modelArr.slice(0,-1),this.contextArr)}push(t){return this.modelPush(t).contextPush(t)}modelPush(t){return new to([...this.modelArr,t],[...this.contextArr])}contextPush(t){if(typeof t=="number")return this.copy();const n=t.startsWith("minecraft:")?t.slice(10):t;return new to([...this.modelArr],[...this.contextArr,n])}copy(){return new to([...this.modelArr],[...this.contextArr])}getArray(){return this.modelArr}withModel(t){return new no(t,this)}getContext(){return this.contextArr}equals(t){return t.modelArr.length===this.modelArr.length&&t.modelArr.every((n,i)=>n===this.modelArr[i])}startsWith(t){return this.modelArr.length<t.modelArr.length?!1:t.modelArr.every((n,i)=>n===this.modelArr[i])}endsWith(t){const n=this.modelArr.length-t.modelArr.length;return n<0?!1:t.modelArr.every((i,o)=>i===this.modelArr[n+o])}toString(){return this.modelArr.map(t=>typeof t=="string"?`.${t}`:`[${t}]`).join("").replace(/^\./,"")}forEach(t,n){return this.modelArr.forEach(t,n)}}Mr.Path=to;class no extends to{constructor(t,n){super(n==null?void 0:n.modelArr,n==null?void 0:n.contextArr),this.model=t}getModel(){return this.model}get(){var t;return(t=this.model)===null||t===void 0?void 0:t.get(this)}set(t){var n;(n=this.model)===null||n===void 0||n.set(this,t)}slice(t,n){return new no(this.model,super.slice(t,n))}shift(){return new no(this.model,super.shift())}pop(){return new no(this.model,super.pop())}push(t){return this.modelPush(t).contextPush(t)}modelPush(t){return new no(this.model,super.modelPush(t))}contextPush(t){return new no(this.model,super.contextPush(t))}copy(){return new no(this.model,super.copy())}}Mr.ModelPath=no;var Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.Errors=void 0;class DC{constructor(){this.errors=[]}add(t,n,...i){return this.errors.push({path:t,error:n,params:i}),!1}get(t,n=!1){return n?this.errors.filter(i=>i.path.equals(t)):this.errors.filter(i=>i.path.startsWith(t))}getAll(){return this.errors}clear(){this.errors=[]}count(){return this.errors.length}*[Symbol.iterator](){for(const t of this.errors)yield t}}Ts.Errors=DC;var Lr={};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.hexId=Lr.quoteString=Lr.escapeString=void 0;function iE(e){return e.replace(/(\\|")/g,"\\$1")}Lr.escapeString=iE;function IC(e){return`"${iE(e)}"`}Lr.quoteString=IC;const kC=e=>("0"+e.toString(16)).substr(-2);function MC(e=12){var t=new Uint8Array(e/2);return window.crypto.getRandomValues(t),Array.from(t,kC).join("")}Lr.hexId=MC;Object.defineProperty(Pr,"__esModule",{value:!0});Pr.DataModel=void 0;const LC=Mr,xh=Ts,gm=Lr;class of{constructor(t,n){var i,o,r,a;this.historyMax=(i=n==null?void 0:n.historyMax)!==null&&i!==void 0?i:50,this.verbose=(o=n==null?void 0:n.verbose)!==null&&o!==void 0?o:!1,this.wrapLists=(r=n==null?void 0:n.wrapLists)!==null&&r!==void 0?r:!1,this.schema=t;const s=(a=n==null?void 0:n.initialData)!==null&&a!==void 0?a:t.default();this.data=this.wrapLists?of.wrapLists(s):s,this.listeners=[],this.errors=new xh.Errors,this.history=[JSON.stringify(this.data)],this.historyIndex=0}addListener(t){this.listeners.push(t)}removeListener(t){const n=this.listeners.indexOf(t);n>-1&&this.listeners.splice(n,1)}invalidate(){const t=JSON.stringify(this.data);this.history[this.historyIndex]!==t&&(this.historyIndex+=1,this.history.splice(this.historyIndex,this.historyMax,t),this.history.length>this.historyMax&&(this.history.splice(0,1),this.historyIndex-=1)),this.silentInvalidate()}silentInvalidate(){this.listeners.forEach(t=>{t.invalidated&&t.invalidated(this),t.errors&&t.errors(this.errors)})}reset(t,n){this.data=t,this.validate(n),this.invalidate()}get(t){let n=this.data;return t.forEach(i=>{if(n===void 0)return n;this.wrapLists&&typeof i=="number"?n=n[i].node:n=n[i]}),n}set(t,n,i){if(t.getArray().length===0){this.reset(n,!0);return}let o=this.data;t.pop().forEach(r=>{(o[r]===void 0||typeof o[r]=="string"||typeof o[r]=="number")&&(this.wrapLists&&typeof r=="number"?o[r]={node:{},id:(0,gm.hexId)()}:o[r]={}),this.wrapLists&&typeof r=="number"?o=o[r].node:o=o[r]}),o!==null&&(n===void 0||typeof n=="number"&&isNaN(n)?typeof t.last()=="number"?o.splice(t.last(),1):delete o[t.last()]:this.wrapLists&&typeof t.last()=="number"?o[t.last()]={node:n,id:(0,gm.hexId)()}:o[t.last()]=n,!i&&(this.verbose&&console.log("Set",t.toString(),JSON.stringify(n)),this.validate(!0),this.invalidate()))}undo(){this.historyIndex>0&&(this.historyIndex-=1,this.data=JSON.parse(this.history[this.historyIndex]),this.validate(!1),this.silentInvalidate())}redo(){this.historyIndex<this.history.length-1&&(this.historyIndex+=1,this.data=JSON.parse(this.history[this.historyIndex]),this.validate(!1),this.silentInvalidate())}validate(t){var n;const i=new LC.Path().withModel(this);this.errors.clear(),this.data=(n=this.schema.validate(i,this.data,this.errors,{loose:t,wrapLists:this.wrapLists}))!==null&&n!==void 0?n:{}}error(t,n,...i){const o=new xh.Errors;o.add(t,n,i),this.listeners.forEach(r=>{r.errors&&r.errors(o)})}static wrapLists(t){if(Array.isArray(t)){const n=t.map(i=>({node:this.wrapLists(i),id:(0,gm.hexId)()}));for(const i of Object.getOwnPropertySymbols(t))n[i]=t[i];return n}else if(typeof t=="object"&&t!==null){const n={};Object.entries(t).map(([i,o])=>{n[i]=this.wrapLists(o)});for(const i of Object.getOwnPropertySymbols(t))n[i]=t[i];return n}else return t}static unwrapLists(t){if(Array.isArray(t)){const n=t.map(i=>this.unwrapLists(i.node));for(const i of Object.getOwnPropertySymbols(t))n[i]=t[i];return n}else if(typeof t=="object"&&t!==null){const n={};Object.entries(t).map(([i,o])=>{n[i]=this.unwrapLists(o)});for(const i of Object.getOwnPropertySymbols(t))n[i]=t[i];return n}else return t}}Pr.DataModel=of;var So={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Keep=e.Opt=e.Has=e.Mod=e.Base=void 0,e.Base={type:()=>"base",category:()=>{},default:()=>{},enabled:()=>!0,keep:()=>!1,optional:()=>!1,navigate(){return this},pathPush:r=>r,suggest:()=>[],validate:(r,a)=>a,validationOption:()=>{},hook(r,a,...s){return r.base({node:this},a,...s)},canUpdate:()=>!1,update:()=>[]};const t=(r,a)=>H(H({},r),typeof a=="function"?a(r):a);e.Mod=t;const n=(r,a)=>(0,e.Mod)(a,{enabled:s=>s.push(r).get()!==void 0});e.Has=n;function i(r){return qe(H({},r),{optional:()=>!0})}e.Opt=i;function o(r){return qe(H({},r),{keep:()=>!0})}e.Keep=o})(So);var sd={};Object.defineProperty(sd,"__esModule",{value:!0});sd.BooleanNode=void 0;const FC=Pr,PC=So,BC=()=>qe(H({},PC.Base),{type:()=>"boolean",default:()=>!1,suggest:()=>["false","true"],validate(e,t,n,i){return i.loose&&typeof t!="boolean"&&(t=i.wrapLists?FC.DataModel.wrapLists(this.default()):this.default()),(typeof t!="boolean"||t===void 0)&&n.add(e,"error.expected_boolean"),t},hook(e,t,...n){var i;return((i=e.boolean)!==null&&i!==void 0?i:e.base).call(e,{node:this},t,...n)}});sd.BooleanNode=BC;var rE={},$l={};Object.defineProperty($l,"__esModule",{value:!0});$l.ListNode=void 0;const $C=Pr,UC=So,GC=(e,t)=>{var n,i;const o=(n=t==null?void 0:t.minLength)!==null&&n!==void 0?n:0,r=(i=t==null?void 0:t.maxLength)!==null&&i!==void 0?i:1/0,a=(t==null?void 0:t.minLength)&&(t==null?void 0:t.maxLength);return qe(H({},UC.Base),{type:()=>"list",default:()=>t!=null&&t.minLength?[...Array(o)].map(s=>e.default()):[],navigate(s,c){const l=c+1;return s.getArray().length<=l?this:e.navigate(s,l)},pathPush(s,c){return s.push(parseInt(c.toString())).contextPush("entry")},validate(s,c,l,_){if(_.loose&&!Array.isArray(c)&&(c=_.wrapLists?$C.DataModel.wrapLists(this.default()):this.default()),Array.isArray(c))a&&(c.length<o||c.length>r)?o===r?l.add(s,"error.invalid_list_range.exact",c.length,o):l.add(s,"error.invalid_list_range.between",c.length,o,r):c.length<o?l.add(s,"error.invalid_list_range.smaller",c.length,o):c.length>r&&l.add(s,"error.invalid_list_range.larger",c.length,r);else return l.add(s,"error.expected_list"),c;const d=c.map((u,m)=>{const f=e.validate(s.push(m),_.wrapLists?u.node:u,l,_);return _.wrapLists?{node:f,id:u.id}:f});for(const u of Object.getOwnPropertySymbols(c))d[u]=c[u];return d},hook(s,c,...l){var _;return((_=s.list)!==null&&_!==void 0?_:s.base).call(s,{node:this,children:e,config:t!=null?t:{}},c,...l)}})};$l.ListNode=GC;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.SwitchNode=void 0;const zC=So,YC=e=>qe(H({},zC.Base),{type(t){return this.activeCase(t,!0).node.type(t)},category(t){return this.activeCase(t,!0).node.category(t)},default:()=>e[0].node.default(),navigate(t,n){var i;const o=n+1;return(i=this.activeCase(t.slice(0,o)))===null||i===void 0?void 0:i.node.navigate(t,n)},pathPush(t,n){var i,o;return(o=(i=this.activeCase(t))===null||i===void 0?void 0:i.node.pathPush(t,n))!==null&&o!==void 0?o:t},suggest(t,n){var i,o;return(o=(i=this.activeCase(t))===null||i===void 0?void 0:i.node.suggest(t,n))!==null&&o!==void 0?o:e.filter(r=>r.match(t)).map(r=>r.node.suggest(t,n)).reduce((r,a)=>r.concat(a))},validate(t,n,i,o){let r=this.activeCase(t);return r===void 0?n:r.node.validate(t,n,i,o)},validationOption(t){var n;return(n=this.activeCase(t))===null||n===void 0?void 0:n.node.validationOption(t)},activeCase(t,n){const i=(r,a)=>{var s,c;return((s=a.priority)!==null&&s!==void 0?s:0)-((c=r.priority)!==null&&c!==void 0?c:0)},o=e.filter(r=>r.match(t)).sort(i);return n&&o.length===0?e.sort(i)[0]:o.length>0?o[0]:void 0},hook(t,n,...i){return this.activeCase(n,!0).node.hook(t,n,...i)}});Ul.SwitchNode=YC;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectOrPreset=e.StringOrList=e.ObjectOrList=e.ChoiceNode=void 0;const t=$l,n=Ul,i=(a,s)=>{const c=(_,d)=>{if(_.match)return _.match(d);switch(_.type){case"list":return Array.isArray(d);case"object":return typeof d=="object"&&!Array.isArray(d);default:return typeof d===_.type}},l=(0,n.SwitchNode)(a.map(_=>({type:_.type,priority:_.priority,match:d=>c(_,d.get()),node:_.node})));return qe(H({},l),{validate(_,d,u,m){let f=l.activeCase(_,!0);return f.node.optional()?d:f.node.validate(_,d,u,m)},hook(_,d,...u){var m;return((m=_.choice)!==null&&m!==void 0?m:_.base).call(_,{node:this,choices:a,config:s!=null?s:{},switchNode:l},d,...u)}})};e.ChoiceNode=i;const o=a=>(s,c)=>(0,e.ChoiceNode)([{type:a,node:s,change:l=>{var _;return(_=l[0])!==null&&_!==void 0?_:s.default()}},{type:"list",node:(0,t.ListNode)(s),change:l=>l?[l]:[]}],c);e.ObjectOrList=o("object"),e.StringOrList=o("string");const r=(a,s,c)=>(0,e.ChoiceNode)([{type:"string",priority:1,node:a,change:l=>Object.keys(c)[0]},{type:"object",node:s,change:l=>{var _;return(_=c[l])!==null&&_!==void 0?_:c[Object.keys(c)[0]]}}]);e.ObjectOrPreset=r})(rE);var ld={};Object.defineProperty(ld,"__esModule",{value:!0});ld.MapNode=void 0;const HC=So,VC=Pr,WC=(e,t,n)=>qe(H({},HC.Base),{type:()=>"map",default:()=>({}),navigate(i,o){const r=o+1;return i.getArray().length<=r?this:t.navigate(i,r)},pathPush(i,o){return i.modelPush(o)},suggest:i=>e.suggest(i,""),validate(i,o,r,a){if(a.loose&&typeof o!="object"&&(o=a.wrapLists?VC.DataModel.wrapLists(this.default()):this.default()),o===null||typeof o!="object")return r.add(i,"error.expected_object"),o;const s={};Object.keys(o).forEach(c=>{e.validate(i,c,r,a),s[c]=t.validate(i.push(c),o[c],r,a)});for(const c of Object.getOwnPropertySymbols(o))s[c]=o[c];return s},validationOption(i){var o;return(o=n==null?void 0:n.validation)!==null&&o!==void 0?o:e.validationOption(i.push(""))},hook(i,o,...r){var a;return((a=i.map)!==null&&a!==void 0?a:i.base).call(i,{node:this,keys:e,children:t,config:n!=null?n:{}},o,...r)}});ld.MapNode=WC;var oE={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NumberEnum=e.NumberNode=void 0;const t=j,n=Pr,i=So,o=a=>{var s,c,l;const _=a!=null&&a.color?!0:(s=a==null?void 0:a.integer)!==null&&s!==void 0?s:!1,d=a!=null&&a.color?0:(c=a==null?void 0:a.min)!==null&&c!==void 0?c:-1/0,u=a!=null&&a.color?16777215:(l=a==null?void 0:a.max)!==null&&l!==void 0?l:1/0,m=(a==null?void 0:a.min)!==void 0&&(a==null?void 0:a.max)!==void 0;return qe(H({},i.Base),{type:()=>"number",default:()=>d>0?d:0,validate(f,p,h,b){return b.loose&&typeof p!="number"&&(p=b.wrapLists?n.DataModel.wrapLists(this.default()):this.default()),typeof p!="number"?h.add(f,"error.expected_number"):_&&!Number.isInteger(p)?h.add(f,"error.expected_integer"):m&&(p<d||p>u)?h.add(f,"error.invalid_number_range.between",p,d,u):p<d?h.add(f,"error.invalid_number_range.smaller",p,d):p>u&&h.add(f,"error.invalid_number_range.larger",p,u),p},hook(f,p,...h){var b;return((b=f.number)!==null&&b!==void 0?b:f.base).call(f,{node:this,integer:_,min:d,max:u,between:m,config:a!=null?a:{}},p,...h)}})};e.NumberNode=o;const r=({integer:a,values:s})=>(0,t.Mod)((0,e.NumberNode)({integer:a}),c=>({validate:(l,_,d,u)=>(_=c.validate(l,_,d,u),s.includes(_)||d.add(l,"error.invalid_number_enum",s.join(", ")),_)}));e.NumberEnum=r})(oE);var aE={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectNode=e.Case=e.Switch=void 0;const t=So,n=Mr,i=Ts,o=Lr,r=Pr;e.Switch=Symbol("switch"),e.Case=Symbol("case");const a=(s,c)=>{var f,p;const h=s,{[f=e.Switch]:l,[p=e.Case]:_}=h,d=gh(h,[hm(f),hm(p)]),u=b=>{if(l===void 0)return d;const g=(0,n.relativePath)(b,l).get(),v=_[g];return H(H({},d),v)},m=(b,g)=>{var v;const E=l?(0,n.relativePath)(b,l).get():void 0,S=l?(v=_[E])!==null&&v!==void 0?v:{}:{},N=Object.keys(S),C=c!=null&&c.context?new n.ModelPath(b.getModel(),new n.Path(b.getArray(),[c.context])):b;return(!(c!=null&&c.disableSwitchContext)&&E&&N.includes(g)?C.contextPush(E):C).push(g)};return qe(H({},t.Base),{type:()=>"object",category:()=>c==null?void 0:c.category,default:()=>({}),keep(){return this.optional()},navigate(b,g){const v=g+1,E=b.getArray();if(E.length<=v)return this;const N=u(b.slice(0,v))[E[v]];return N==null?void 0:N.navigate(b,v)},pathPush(b,g){return m(b,g.toString())},suggest(b,g){const v=u(b),E=Object.keys(typeof g=="object"?g:{});return Object.keys(v).filter(S=>v[S].enabled(b)).filter(S=>!E.includes(S)).map(o.quoteString)},validate(b,g,v,E){if(E.loose&&typeof g!="object"&&(g=E.wrapLists?r.DataModel.wrapLists(this.default()):this.default()),typeof g!="object"||g===null)return v.add(b,"error.expected_object"),g;let S=d;if(l){const R=(0,n.relativePath)(b,l);let D=R.get();if(b.equals(R.pop())){const M=R.last();D=d[M].validate(b.push(M),g[M],new i.Errors,E)}S=H(H({},S),_[D])}const N=Object.keys(S),C=N.filter(R=>!S[R].optional()),y=new Set([...C,...Object.keys(g)]),A={};y.forEach(R=>{if(N.includes(R)){if(!S[R].enabled(b))return;const D=S[R].validate(b.push(R),g[R],v,E);!S[R].keep()&&S[R].optional()&&(D===void 0||Array.isArray(D)&&D.length===0||D.constructor===Object&&Object.keys(D).length===0)?delete A[R]:(A[R]=D,b.getModel().set(b.push(R),D,!0))}else A[R]=g[R]});for(const R of Object.getOwnPropertySymbols(g))A[R]=g[R];return A},hook(b,g,...v){var E;return((E=b.object)!==null&&E!==void 0?E:b.base).call(b,{node:this,fields:d,config:c!=null?c:{},filter:l,cases:_,getActiveFields:u,getChildModelPath:m},g,...v)}})};e.ObjectNode=a})(aE);var cd={};Object.defineProperty(cd,"__esModule",{value:!0});cd.Reference=void 0;const jC=(e,t)=>({type(n){return e.get(t).type.bind(this)(n)},category(n){return e.get(t).category.bind(this)(n)},default(){return e.get(t).default.bind(this)()},transform(n,i){return e.get(t).transform(n,i)},enabled(n){return e.get(t).enabled.bind(this)(n)},keep(){return e.get(t).keep.bind(this)()},optional(){return e.get(t).optional.bind(this)()},navigate(n,i){return e.get(t).navigate.bind(this)(n,i)},pathPush(n,i){return e.get(t).pathPush.bind(this)(n,i)},suggest(n,i){return e.get(t).suggest.bind(this)(n,i)},validate(n,i,o,r){return e.get(t).validate.bind(this)(n,i,o,r)},validationOption(n){return e.get(t).validationOption.bind(this)(n)},hook(n,i,...o){return e.get(t).hook.bind(this)(n,i,...o)},activeCase(n,i){return e.get(t).activeCase.bind(this)(n,i)},canUpdate(n,i){return e.get(t).canUpdate.bind(this)(n,i)},update(n,i){return e.get(t).update.bind(this)(n,i)}});cd.Reference=jC;var dd={};Object.defineProperty(dd,"__esModule",{value:!0});dd.StringNode=void 0;const qC=So,KC=Lr,QC=Pr,Dh=e=>!!(e!=null&&e.enum),Ih=e=>!!(e!=null&&e.validator),XC=(e,t)=>{const n=()=>{var i,o,r,a;if(Dh(t))return typeof t.enum=="string"?(i=e==null?void 0:e.get(t.enum))!==null&&i!==void 0?i:[]:t.enum;if((t==null?void 0:t.validator)==="resource"){if(typeof t.params.pool=="string"){if(t.params.requireTag)return(o=e==null?void 0:e.get(`tag/${t.params.pool}`).map(c=>`#${c}`))!==null&&o!==void 0?o:[];const s=t.params.pool.replace(/^\$/,"");return[...t.params.allowTag?(r=e==null?void 0:e.get(`tag/${s}`).map(c=>`#${c}`))!==null&&r!==void 0?r:[]:[],...(a=e==null?void 0:e.get(s))!==null&&a!==void 0?a:[]]}return t.params.pool}return[]};return qe(H({},qC.Base),{type:()=>"string",default:()=>"",validate(i,o,r,a){if(a.loose&&typeof o!="string"&&(o=(a.wrapLists?QC.DataModel.wrapLists(this.default()):this.default())||void 0),typeof o!="string")return r.add(i,"error.expected_string"),o;if(Ih(t)){if(t.validator==="resource"&&o.length>0&&!o.includes(":")&&(o=o.startsWith("#")?"#minecraft:"+o.slice(1):"minecraft:"+o),t.validator==="resource"&&typeof o=="string"){let c=o;if(o.startsWith("#")){if(typeof t.params.pool=="string"&&t.params.pool.startsWith("$tag/"))return r.add(i,"error.disallowed_tag_prefix"),o;if(!t.params.allowTag&&!t.params.requireTag)return r.add(i,"error.disallowed_tag"),o;c=c.slice(1)}else if(t.params.requireTag)return r.add(i,"error.expected_tag"),o;if(!c.match(/^(?:[_\-a-z0-9.]*:)?[_\-a-z0-9/.]*$/g))return r.add(i,"error.invalid_resource_location"),o}if(t.validator==="resource"&&(typeof t.params.pool=="string"&&t.params.pool.startsWith("$")||(t.params.allowTag||t.params.requireTag)&&o.startsWith("#")||t.params.isDefinition||t.params.allowUnknown))return o}if(Dh(t)&&t.additional)return o;const s=n();return s.length>0&&!s.includes(o)&&r.add(i,"error.invalid_enum_option",o),o},suggest:()=>n().map(KC.quoteString),validationOption(){return Ih(t)?t:void 0},hook(i,o,...r){var a;return((a=i.string)!==null&&a!==void 0?a:i.base).call(i,{node:this,getValues:n,config:t},o,...r)}})};dd.StringNode=XC;var sE={};Object.defineProperty(sE,"__esModule",{value:!0});var ms={};Object.defineProperty(ms,"__esModule",{value:!0});ms.CollectionRegistry=ms.SchemaRegistry=void 0;class ZC{constructor(){this.registry={}}register(t,n){this.registry[t]=n}get(t){const n=this.registry[t];return n===void 0&&console.error(`Tried to access schema "${t}", but that doesn't exist.`),n}}ms.SchemaRegistry=ZC;class JC{constructor(){this.registry={}}register(t,n){this.registry[t]=n}get(t){const n=this.registry[t];return n===void 0&&console.warn(`Tried to access collection "${t}", but that doesn't exist.`),n!=null?n:[]}}ms.CollectionRegistry=JC;var lE={};Object.defineProperty(lE,"__esModule",{value:!0});(function(e){var t=ut&&ut.__createBinding||(Object.create?function(i,o,r,a){a===void 0&&(a=r);var s=Object.getOwnPropertyDescriptor(o,r);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[r]}}),Object.defineProperty(i,a,s)}:function(i,o,r,a){a===void 0&&(a=r),i[a]=o[r]}),n=ut&&ut.__exportStar||function(i,o){for(var r in i)r!=="default"&&!Object.prototype.hasOwnProperty.call(o,r)&&t(o,i,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Pr,e),n(Mr,e),n(Ts,e),n(So,e),n(sd,e),n(rE,e),n($l,e),n(ld,e),n(oE,e),n(aE,e),n(cd,e),n(dd,e),n(Ul,e),n(sE,e),n(ms,e),n(lE,e)})(j);var Dn={},Gl={},lr={};function cE(e){return typeof e=="undefined"||e===null}function eA(e){return typeof e=="object"&&e!==null}function tA(e){return Array.isArray(e)?e:cE(e)?[]:[e]}function nA(e,t){var n,i,o,r;if(t)for(r=Object.keys(t),n=0,i=r.length;n<i;n+=1)o=r[n],e[o]=t[o];return e}function iA(e,t){var n="",i;for(i=0;i<t;i+=1)n+=e;return n}function rA(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}lr.isNothing=cE;lr.isObject=eA;lr.toArray=tA;lr.repeat=iA;lr.isNegativeZero=rA;lr.extend=nA;function pl(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}pl.prototype=Object.create(Error.prototype);pl.prototype.constructor=pl;pl.prototype.toString=function(t){var n=this.name+": ";return n+=this.reason||"(unknown reason)",!t&&this.mark&&(n+=" "+this.mark.toString()),n};var zl=pl,kh=lr;function af(e,t,n,i,o){this.name=e,this.buffer=t,this.position=n,this.line=i,this.column=o}af.prototype.getSnippet=function(t,n){var i,o,r,a,s;if(!this.buffer)return null;for(t=t||4,n=n||75,i="",o=this.position;o>0&&`\0\r
|
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(o-1))===-1;)if(o-=1,this.position-o>n/2-1){i=" ... ",o+=5;break}for(r="",a=this.position;a<this.buffer.length&&`\0\r
|
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(a))===-1;)if(a+=1,a-this.position>n/2-1){r=" ... ",a-=5;break}return s=this.buffer.slice(o,a),kh.repeat(" ",t)+i+s+r+`
|
|
`+kh.repeat(" ",t+this.position-o+i.length)+"^"};af.prototype.toString=function(t){var n,i="";return this.name&&(i+='in "'+this.name+'" '),i+="at line "+(this.line+1)+", column "+(this.column+1),t||(n=this.getSnippet(),n&&(i+=`:
|
|
`+n)),i};var oA=af,Mh=zl,aA=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],sA=["scalar","sequence","mapping"];function lA(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(i){t[String(i)]=n})}),t}function cA(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(aA.indexOf(n)===-1)throw new Mh('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=lA(t.styleAliases||null),sA.indexOf(this.kind)===-1)throw new Mh('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ci=cA,Lh=lr,Nc=zl,dA=ci;function hp(e,t,n){var i=[];return e.include.forEach(function(o){n=hp(o,t,n)}),e[t].forEach(function(o){n.forEach(function(r,a){r.tag===o.tag&&r.kind===o.kind&&i.push(a)}),n.push(o)}),n.filter(function(o,r){return i.indexOf(r)===-1})}function uA(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,n;function i(o){e[o.kind][o.tag]=e.fallback[o.tag]=o}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(i);return e}function es(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(t){if(t.loadKind&&t.loadKind!=="scalar")throw new Nc("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=hp(this,"implicit",[]),this.compiledExplicit=hp(this,"explicit",[]),this.compiledTypeMap=uA(this.compiledImplicit,this.compiledExplicit)}es.DEFAULT=null;es.create=function(){var t,n;switch(arguments.length){case 1:t=es.DEFAULT,n=arguments[0];break;case 2:t=arguments[0],n=arguments[1];break;default:throw new Nc("Wrong number of arguments for Schema.create function")}if(t=Lh.toArray(t),n=Lh.toArray(n),!t.every(function(i){return i instanceof es}))throw new Nc("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!n.every(function(i){return i instanceof dA}))throw new Nc("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new es({include:t,explicit:n})};var ws=es,_A=ci,mA=new _A("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),pA=ci,fA=new pA("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),hA=ci,gA=new hA("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),bA=ws,sf=new bA({explicit:[mA,fA,gA]}),EA=ci;function vA(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function SA(){return null}function yA(e){return e===null}var NA=new EA("tag:yaml.org,2002:null",{kind:"scalar",resolve:vA,construct:SA,predicate:yA,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),CA=ci;function AA(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function OA(e){return e==="true"||e==="True"||e==="TRUE"}function TA(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var wA=new CA("tag:yaml.org,2002:bool",{kind:"scalar",resolve:AA,construct:OA,predicate:TA,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),RA=lr,xA=ci;function DA(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function IA(e){return 48<=e&&e<=55}function kA(e){return 48<=e&&e<=57}function MA(e){if(e===null)return!1;var t=e.length,n=0,i=!1,o;if(!t)return!1;if(o=e[n],(o==="-"||o==="+")&&(o=e[++n]),o==="0"){if(n+1===t)return!0;if(o=e[++n],o==="b"){for(n++;n<t;n++)if(o=e[n],o!=="_"){if(o!=="0"&&o!=="1")return!1;i=!0}return i&&o!=="_"}if(o==="x"){for(n++;n<t;n++)if(o=e[n],o!=="_"){if(!DA(e.charCodeAt(n)))return!1;i=!0}return i&&o!=="_"}for(;n<t;n++)if(o=e[n],o!=="_"){if(!IA(e.charCodeAt(n)))return!1;i=!0}return i&&o!=="_"}if(o==="_")return!1;for(;n<t;n++)if(o=e[n],o!=="_"){if(o===":")break;if(!kA(e.charCodeAt(n)))return!1;i=!0}return!i||o==="_"?!1:o!==":"?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(n))}function LA(e){var t=e,n=1,i,o,r=[];return t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),i=t[0],(i==="-"||i==="+")&&(i==="-"&&(n=-1),t=t.slice(1),i=t[0]),t==="0"?0:i==="0"?t[1]==="b"?n*parseInt(t.slice(2),2):t[1]==="x"?n*parseInt(t,16):n*parseInt(t,8):t.indexOf(":")!==-1?(t.split(":").forEach(function(a){r.unshift(parseInt(a,10))}),t=0,o=1,r.forEach(function(a){t+=a*o,o*=60}),n*t):n*parseInt(t,10)}function FA(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!RA.isNegativeZero(e)}var PA=new xA("tag:yaml.org,2002:int",{kind:"scalar",resolve:MA,construct:LA,predicate:FA,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),dE=lr,BA=ci,$A=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function UA(e){return!(e===null||!$A.test(e)||e[e.length-1]==="_")}function GA(e){var t,n,i,o;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:t.indexOf(":")>=0?(t.split(":").forEach(function(r){o.unshift(parseFloat(r,10))}),t=0,i=1,o.forEach(function(r){t+=r*i,i*=60}),n*t):n*parseFloat(t,10)}var zA=/^[-+]?[0-9]+e/;function YA(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(dE.isNegativeZero(e))return"-0.0";return n=e.toString(10),zA.test(n)?n.replace("e",".e"):n}function HA(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||dE.isNegativeZero(e))}var VA=new BA("tag:yaml.org,2002:float",{kind:"scalar",resolve:UA,construct:GA,predicate:HA,represent:YA,defaultStyle:"lowercase"}),WA=ws,uE=new WA({include:[sf],implicit:[NA,wA,PA,VA]}),jA=ws,_E=new jA({include:[uE]}),qA=ci,mE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),pE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function KA(e){return e===null?!1:mE.exec(e)!==null||pE.exec(e)!==null}function QA(e){var t,n,i,o,r,a,s,c=0,l=null,_,d,u;if(t=mE.exec(e),t===null&&(t=pE.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,i,o));if(r=+t[4],a=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(_=+t[10],d=+(t[11]||0),l=(_*60+d)*6e4,t[9]==="-"&&(l=-l)),u=new Date(Date.UTC(n,i,o,r,a,s,c)),l&&u.setTime(u.getTime()-l),u}function XA(e){return e.toISOString()}var ZA=new qA("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:KA,construct:QA,instanceOf:Date,represent:XA}),JA=ci;function eO(e){return e==="<<"||e===null}var tO=new JA("tag:yaml.org,2002:merge",{kind:"scalar",resolve:eO}),Sa;try{var nO=nE;Sa=nO("buffer").Buffer}catch{}var iO=ci,lf=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
\r`;function rO(e){if(e===null)return!1;var t,n,i=0,o=e.length,r=lf;for(n=0;n<o;n++)if(t=r.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;i+=6}return i%8===0}function oO(e){var t,n,i=e.replace(/[\r\n=]/g,""),o=i.length,r=lf,a=0,s=[];for(t=0;t<o;t++)t%4===0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|r.indexOf(i.charAt(t));return n=o%4*6,n===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):n===18?(s.push(a>>10&255),s.push(a>>2&255)):n===12&&s.push(a>>4&255),Sa?Sa.from?Sa.from(s):new Sa(s):s}function aO(e){var t="",n=0,i,o,r=e.length,a=lf;for(i=0;i<r;i++)i%3===0&&i&&(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]),n=(n<<8)+e[i];return o=r%3,o===0?(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]):o===2?(t+=a[n>>10&63],t+=a[n>>4&63],t+=a[n<<2&63],t+=a[64]):o===1&&(t+=a[n>>2&63],t+=a[n<<4&63],t+=a[64],t+=a[64]),t}function sO(e){return Sa&&Sa.isBuffer(e)}var lO=new iO("tag:yaml.org,2002:binary",{kind:"scalar",resolve:rO,construct:oO,predicate:sO,represent:aO}),cO=ci,dO=Object.prototype.hasOwnProperty,uO=Object.prototype.toString;function _O(e){if(e===null)return!0;var t=[],n,i,o,r,a,s=e;for(n=0,i=s.length;n<i;n+=1){if(o=s[n],a=!1,uO.call(o)!=="[object Object]")return!1;for(r in o)if(dO.call(o,r))if(!a)a=!0;else return!1;if(!a)return!1;if(t.indexOf(r)===-1)t.push(r);else return!1}return!0}function mO(e){return e!==null?e:[]}var pO=new cO("tag:yaml.org,2002:omap",{kind:"sequence",resolve:_O,construct:mO}),fO=ci,hO=Object.prototype.toString;function gO(e){if(e===null)return!0;var t,n,i,o,r,a=e;for(r=new Array(a.length),t=0,n=a.length;t<n;t+=1){if(i=a[t],hO.call(i)!=="[object Object]"||(o=Object.keys(i),o.length!==1))return!1;r[t]=[o[0],i[o[0]]]}return!0}function bO(e){if(e===null)return[];var t,n,i,o,r,a=e;for(r=new Array(a.length),t=0,n=a.length;t<n;t+=1)i=a[t],o=Object.keys(i),r[t]=[o[0],i[o[0]]];return r}var EO=new fO("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:gO,construct:bO}),vO=ci,SO=Object.prototype.hasOwnProperty;function yO(e){if(e===null)return!0;var t,n=e;for(t in n)if(SO.call(n,t)&&n[t]!==null)return!1;return!0}function NO(e){return e!==null?e:{}}var CO=new vO("tag:yaml.org,2002:set",{kind:"mapping",resolve:yO,construct:NO}),AO=ws,Yl=new AO({include:[_E],implicit:[ZA,tO],explicit:[lO,pO,EO,CO]}),OO=ci;function TO(){return!0}function wO(){}function RO(){return""}function xO(e){return typeof e=="undefined"}var DO=new OO("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:TO,construct:wO,predicate:xO,represent:RO}),IO=ci;function kO(e){if(e===null||e.length===0)return!1;var t=e,n=/\/([gim]*)$/.exec(e),i="";return!(t[0]==="/"&&(n&&(i=n[1]),i.length>3||t[t.length-i.length-1]!=="/"))}function MO(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return t[0]==="/"&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)}function LO(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function FO(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var PO=new IO("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:kO,construct:MO,predicate:FO,represent:LO}),zc;try{var BO=nE;zc=BO("esprima")}catch{typeof window!="undefined"&&(zc=window.esprima)}var $O=ci;function UO(e){if(e===null)return!1;try{var t="("+e+")",n=zc.parse(t,{range:!0});return!(n.type!=="Program"||n.body.length!==1||n.body[0].type!=="ExpressionStatement"||n.body[0].expression.type!=="ArrowFunctionExpression"&&n.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function GO(e){var t="("+e+")",n=zc.parse(t,{range:!0}),i=[],o;if(n.type!=="Program"||n.body.length!==1||n.body[0].type!=="ExpressionStatement"||n.body[0].expression.type!=="ArrowFunctionExpression"&&n.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return n.body[0].expression.params.forEach(function(r){i.push(r.name)}),o=n.body[0].expression.body.range,n.body[0].expression.body.type==="BlockStatement"?new Function(i,t.slice(o[0]+1,o[1]-1)):new Function(i,"return "+t.slice(o[0],o[1]))}function zO(e){return e.toString()}function YO(e){return Object.prototype.toString.call(e)==="[object Function]"}var HO=new $O("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:UO,construct:GO,predicate:YO,represent:zO}),Fh=ws,ud=Fh.DEFAULT=new Fh({include:[Yl],explicit:[DO,PO,HO]}),ao=lr,fE=zl,VO=oA,hE=Yl,WO=ud,Xo=Object.prototype.hasOwnProperty,Yc=1,gE=2,bE=3,Hc=4,bm=1,jO=2,Ph=3,qO=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,KO=/[\x85\u2028\u2029]/,QO=/[,\[\]\{\}]/,EE=/^(?:!|!!|![a-z\-]+!)$/i,vE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Bh(e){return Object.prototype.toString.call(e)}function Fr(e){return e===10||e===13}function Aa(e){return e===9||e===32}function wi(e){return e===9||e===32||e===10||e===13}function ts(e){return e===44||e===91||e===93||e===123||e===125}function XO(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function ZO(e){return e===120?2:e===117?4:e===85?8:0}function JO(e){return 48<=e&&e<=57?e-48:-1}function $h(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
|
|
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function eT(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var SE=new Array(256),yE=new Array(256);for(var Ua=0;Ua<256;Ua++)SE[Ua]=$h(Ua)?1:0,yE[Ua]=$h(Ua);function tT(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||WO,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function NE(e,t){return new fE(t,new VO(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function nt(e,t){throw NE(e,t)}function Vc(e,t){e.onWarning&&e.onWarning.call(null,NE(e,t))}var Uh={YAML:function(t,n,i){var o,r,a;t.version!==null&&nt(t,"duplication of %YAML directive"),i.length!==1&&nt(t,"YAML directive accepts exactly one argument"),o=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),o===null&&nt(t,"ill-formed argument of the YAML directive"),r=parseInt(o[1],10),a=parseInt(o[2],10),r!==1&&nt(t,"unacceptable YAML version of the document"),t.version=i[0],t.checkLineBreaks=a<2,a!==1&&a!==2&&Vc(t,"unsupported YAML version of the document")},TAG:function(t,n,i){var o,r;i.length!==2&&nt(t,"TAG directive accepts exactly two arguments"),o=i[0],r=i[1],EE.test(o)||nt(t,"ill-formed tag handle (first argument) of the TAG directive"),Xo.call(t.tagMap,o)&&nt(t,'there is a previously declared suffix for "'+o+'" tag handle'),vE.test(r)||nt(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[o]=r}};function Vo(e,t,n,i){var o,r,a,s;if(t<n){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;o<r;o+=1)a=s.charCodeAt(o),a===9||32<=a&&a<=1114111||nt(e,"expected valid JSON character");else qO.test(s)&&nt(e,"the stream contains non-printable characters");e.result+=s}}function Gh(e,t,n,i){var o,r,a,s;for(ao.isObject(n)||nt(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;a<s;a+=1)r=o[a],Xo.call(t,r)||(t[r]=n[r],i[r]=!0)}function ns(e,t,n,i,o,r,a,s){var c,l;if(Array.isArray(o))for(o=Array.prototype.slice.call(o),c=0,l=o.length;c<l;c+=1)Array.isArray(o[c])&&nt(e,"nested arrays are not supported inside keys"),typeof o=="object"&&Bh(o[c])==="[object Object]"&&(o[c]="[object Object]");if(typeof o=="object"&&Bh(o)==="[object Object]"&&(o="[object Object]"),o=String(o),t===null&&(t={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(r))for(c=0,l=r.length;c<l;c+=1)Gh(e,t,r[c],n);else Gh(e,t,r,n);else!e.json&&!Xo.call(n,o)&&Xo.call(t,o)&&(e.line=a||e.line,e.position=s||e.position,nt(e,"duplicated mapping key")),t[o]=r,delete n[o];return t}function cf(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):nt(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function Wn(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);o!==0;){for(;Aa(o);)o=e.input.charCodeAt(++e.position);if(t&&o===35)do o=e.input.charCodeAt(++e.position);while(o!==10&&o!==13&&o!==0);if(Fr(o))for(cf(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;o===32;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return n!==-1&&i!==0&&e.lineIndent<n&&Vc(e,"deficient indentation"),i}function _d(e){var t=e.position,n;return n=e.input.charCodeAt(t),!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||wi(n)))}function df(e,t){t===1?e.result+=" ":t>1&&(e.result+=ao.repeat(`
|
|
`,t-1))}function nT(e,t,n){var i,o,r,a,s,c,l,_,d=e.kind,u=e.result,m;if(m=e.input.charCodeAt(e.position),wi(m)||ts(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(o=e.input.charCodeAt(e.position+1),wi(o)||n&&ts(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;m!==0;){if(m===58){if(o=e.input.charCodeAt(e.position+1),wi(o)||n&&ts(o))break}else if(m===35){if(i=e.input.charCodeAt(e.position-1),wi(i))break}else{if(e.position===e.lineStart&&_d(e)||n&&ts(m))break;if(Fr(m))if(c=e.line,l=e.lineStart,_=e.lineIndent,Wn(e,!1,-1),e.lineIndent>=t){s=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=c,e.lineStart=l,e.lineIndent=_;break}}s&&(Vo(e,r,a,!1),df(e,e.line-c),r=a=e.position,s=!1),Aa(m)||(a=e.position+1),m=e.input.charCodeAt(++e.position)}return Vo(e,r,a,!1),e.result?!0:(e.kind=d,e.result=u,!1)}function iT(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(Vo(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)i=e.position,e.position++,o=e.position;else return!0;else Fr(n)?(Vo(e,i,o,!0),df(e,Wn(e,!1,t)),i=o=e.position):e.position===e.lineStart&&_d(e)?nt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);nt(e,"unexpected end of the stream within a single quoted scalar")}function rT(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Vo(e,n,e.position,!0),e.position++,!0;if(s===92){if(Vo(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),Fr(s))Wn(e,!1,t);else if(s<256&&SE[s])e.result+=yE[s],e.position++;else if((a=ZO(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=XO(s))>=0?r=(r<<4)+a:nt(e,"expected hexadecimal character");e.result+=eT(r),e.position++}else nt(e,"unknown escape sequence");n=i=e.position}else Fr(s)?(Vo(e,n,i,!0),df(e,Wn(e,!1,t)),n=i=e.position):e.position===e.lineStart&&_d(e)?nt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}nt(e,"unexpected end of the stream within a double quoted scalar")}function oT(e,t){var n=!0,i,o=e.tag,r,a=e.anchor,s,c,l,_,d,u={},m,f,p,h;if(h=e.input.charCodeAt(e.position),h===91)c=93,d=!1,r=[];else if(h===123)c=125,d=!0,r={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=r),h=e.input.charCodeAt(++e.position);h!==0;){if(Wn(e,!0,t),h=e.input.charCodeAt(e.position),h===c)return e.position++,e.tag=o,e.anchor=a,e.kind=d?"mapping":"sequence",e.result=r,!0;n||nt(e,"missed comma between flow collection entries"),f=m=p=null,l=_=!1,h===63&&(s=e.input.charCodeAt(e.position+1),wi(s)&&(l=_=!0,e.position++,Wn(e,!0,t))),i=e.line,ps(e,t,Yc,!1,!0),f=e.tag,m=e.result,Wn(e,!0,t),h=e.input.charCodeAt(e.position),(_||e.line===i)&&h===58&&(l=!0,h=e.input.charCodeAt(++e.position),Wn(e,!0,t),ps(e,t,Yc,!1,!0),p=e.result),d?ns(e,r,u,f,m,p):l?r.push(ns(e,null,u,f,m,p)):r.push(m),Wn(e,!0,t),h=e.input.charCodeAt(e.position),h===44?(n=!0,h=e.input.charCodeAt(++e.position)):n=!1}nt(e,"unexpected end of the stream within a flow collection")}function aT(e,t){var n,i,o=bm,r=!1,a=!1,s=t,c=0,l=!1,_,d;if(d=e.input.charCodeAt(e.position),d===124)i=!1;else if(d===62)i=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)bm===o?o=d===43?Ph:jO:nt(e,"repeat of a chomping mode identifier");else if((_=JO(d))>=0)_===0?nt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?nt(e,"repeat of an indentation width identifier"):(s=t+_-1,a=!0);else break;if(Aa(d)){do d=e.input.charCodeAt(++e.position);while(Aa(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Fr(d)&&d!==0)}for(;d!==0;){for(cf(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!a||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!a&&e.lineIndent>s&&(s=e.lineIndent),Fr(d)){c++;continue}if(e.lineIndent<s){o===Ph?e.result+=ao.repeat(`
|
|
`,r?1+c:c):o===bm&&r&&(e.result+=`
|
|
`);break}for(i?Aa(d)?(l=!0,e.result+=ao.repeat(`
|
|
`,r?1+c:c)):l?(l=!1,e.result+=ao.repeat(`
|
|
`,c+1)):c===0?r&&(e.result+=" "):e.result+=ao.repeat(`
|
|
`,c):e.result+=ao.repeat(`
|
|
`,r?1+c:c),r=!0,a=!0,c=0,n=e.position;!Fr(d)&&d!==0;)d=e.input.charCodeAt(++e.position);Vo(e,n,e.position,!1)}return!0}function zh(e,t){var n,i=e.tag,o=e.anchor,r=[],a,s=!1,c;for(e.anchor!==null&&(e.anchorMap[e.anchor]=r),c=e.input.charCodeAt(e.position);c!==0&&!(c!==45||(a=e.input.charCodeAt(e.position+1),!wi(a)));){if(s=!0,e.position++,Wn(e,!0,-1)&&e.lineIndent<=t){r.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,ps(e,t,bE,!1,!0),r.push(e.result),Wn(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)nt(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=i,e.anchor=o,e.kind="sequence",e.result=r,!0):!1}function sT(e,t,n){var i,o,r,a,s=e.tag,c=e.anchor,l={},_={},d=null,u=null,m=null,f=!1,p=!1,h;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),h=e.input.charCodeAt(e.position);h!==0;){if(i=e.input.charCodeAt(e.position+1),r=e.line,a=e.position,(h===63||h===58)&&wi(i))h===63?(f&&(ns(e,l,_,d,u,null),d=u=m=null),p=!0,f=!0,o=!0):f?(f=!1,o=!0):nt(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,h=i;else if(ps(e,n,gE,!1,!0))if(e.line===r){for(h=e.input.charCodeAt(e.position);Aa(h);)h=e.input.charCodeAt(++e.position);if(h===58)h=e.input.charCodeAt(++e.position),wi(h)||nt(e,"a whitespace character is expected after the key-value separator within a block mapping"),f&&(ns(e,l,_,d,u,null),d=u=m=null),p=!0,f=!1,o=!1,d=e.tag,u=e.result;else if(p)nt(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=s,e.anchor=c,!0}else if(p)nt(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=s,e.anchor=c,!0;else break;if((e.line===r||e.lineIndent>t)&&(ps(e,t,Hc,!0,o)&&(f?u=e.result:m=e.result),f||(ns(e,l,_,d,u,m,r,a),d=u=m=null),Wn(e,!0,-1),h=e.input.charCodeAt(e.position)),e.lineIndent>t&&h!==0)nt(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return f&&ns(e,l,_,d,u,null),p&&(e.tag=s,e.anchor=c,e.kind="mapping",e.result=l),p}function lT(e){var t,n=!1,i=!1,o,r,a;if(a=e.input.charCodeAt(e.position),a!==33)return!1;if(e.tag!==null&&nt(e,"duplication of a tag property"),a=e.input.charCodeAt(++e.position),a===60?(n=!0,a=e.input.charCodeAt(++e.position)):a===33?(i=!0,o="!!",a=e.input.charCodeAt(++e.position)):o="!",t=e.position,n){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(r=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):nt(e,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!wi(a);)a===33&&(i?nt(e,"tag suffix cannot contain exclamation marks"):(o=e.input.slice(t-1,e.position+1),EE.test(o)||nt(e,"named tag handle cannot contain such characters"),i=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),QO.test(r)&&nt(e,"tag suffix cannot contain flow indicator characters")}return r&&!vE.test(r)&&nt(e,"tag name cannot contain such characters: "+r),n?e.tag=r:Xo.call(e.tagMap,o)?e.tag=e.tagMap[o]+r:o==="!"?e.tag="!"+r:o==="!!"?e.tag="tag:yaml.org,2002:"+r:nt(e,'undeclared tag handle "'+o+'"'),!0}function cT(e){var t,n;if(n=e.input.charCodeAt(e.position),n!==38)return!1;for(e.anchor!==null&&nt(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!wi(n)&&!ts(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&nt(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function dT(e){var t,n,i;if(i=e.input.charCodeAt(e.position),i!==42)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;i!==0&&!wi(i)&&!ts(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&nt(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),Xo.call(e.anchorMap,n)||nt(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Wn(e,!0,-1),!0}function ps(e,t,n,i,o){var r,a,s,c=1,l=!1,_=!1,d,u,m,f,p;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,r=a=s=Hc===n||bE===n,i&&Wn(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;lT(e)||cT(e);)Wn(e,!0,-1)?(l=!0,s=r,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&(s=l||o),(c===1||Hc===n)&&(Yc===n||gE===n?f=t:f=t+1,p=e.position-e.lineStart,c===1?s&&(zh(e,p)||sT(e,p,f))||oT(e,f)?_=!0:(a&&aT(e,f)||iT(e,f)||rT(e,f)?_=!0:dT(e)?(_=!0,(e.tag!==null||e.anchor!==null)&&nt(e,"alias node should not have any properties")):nT(e,f,Yc===n)&&(_=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(_=s&&zh(e,p))),e.tag!==null&&e.tag!=="!")if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&nt(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),d=0,u=e.implicitTypes.length;d<u;d+=1)if(m=e.implicitTypes[d],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else Xo.call(e.typeMap[e.kind||"fallback"],e.tag)?(m=e.typeMap[e.kind||"fallback"][e.tag],e.result!==null&&m.kind!==e.kind&&nt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result)?(e.result=m.construct(e.result),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):nt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):nt(e,"unknown tag !<"+e.tag+">");return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||_}function uT(e){var t=e.position,n,i,o,r=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};(a=e.input.charCodeAt(e.position))!==0&&(Wn(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(r=!0,a=e.input.charCodeAt(++e.position),n=e.position;a!==0&&!wi(a);)a=e.input.charCodeAt(++e.position);for(i=e.input.slice(n,e.position),o=[],i.length<1&&nt(e,"directive name must not be less than one character in length");a!==0;){for(;Aa(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!Fr(a));break}if(Fr(a))break;for(n=e.position;a!==0&&!wi(a);)a=e.input.charCodeAt(++e.position);o.push(e.input.slice(n,e.position))}a!==0&&cf(e),Xo.call(Uh,i)?Uh[i](e,i,o):Vc(e,'unknown document directive "'+i+'"')}if(Wn(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Wn(e,!0,-1)):r&&nt(e,"directives end mark is expected"),ps(e,e.lineIndent-1,Hc,!1,!0),Wn(e,!0,-1),e.checkLineBreaks&&KO.test(e.input.slice(t,e.position))&&Vc(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&_d(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Wn(e,!0,-1));return}if(e.position<e.length-1)nt(e,"end of the stream or a document separator is expected");else return}function CE(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new tT(e,t),i=e.indexOf("\0");for(i!==-1&&(n.position=i,nt(n,"null byte is not allowed in input")),n.input+="\0";n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)uT(n);return n.documents}function AE(e,t,n){t!==null&&typeof t=="object"&&typeof n=="undefined"&&(n=t,t=null);var i=CE(e,n);if(typeof t!="function")return i;for(var o=0,r=i.length;o<r;o+=1)t(i[o])}function OE(e,t){var n=CE(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new fE("expected a single document in the stream, but found more")}}function _T(e,t,n){return typeof t=="object"&&t!==null&&typeof n=="undefined"&&(n=t,t=null),AE(e,t,ao.extend({schema:hE},n))}function mT(e,t){return OE(e,ao.extend({schema:hE},t))}Gl.loadAll=AE;Gl.load=OE;Gl.safeLoadAll=_T;Gl.safeLoad=mT;var uf={},Hl=lr,Vl=zl,pT=ud,fT=Yl,TE=Object.prototype.toString,wE=Object.prototype.hasOwnProperty,hT=9,fl=10,gT=13,bT=32,ET=33,vT=34,RE=35,ST=37,yT=38,NT=39,CT=42,xE=44,AT=45,DE=58,OT=61,TT=62,wT=63,RT=64,IE=91,kE=93,xT=96,ME=123,DT=124,LE=125,hi={};hi[0]="\\0";hi[7]="\\a";hi[8]="\\b";hi[9]="\\t";hi[10]="\\n";hi[11]="\\v";hi[12]="\\f";hi[13]="\\r";hi[27]="\\e";hi[34]='\\"';hi[92]="\\\\";hi[133]="\\N";hi[160]="\\_";hi[8232]="\\L";hi[8233]="\\P";var IT=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function kT(e,t){var n,i,o,r,a,s,c;if(t===null)return{};for(n={},i=Object.keys(t),o=0,r=i.length;o<r;o+=1)a=i[o],s=String(t[a]),a.slice(0,2)==="!!"&&(a="tag:yaml.org,2002:"+a.slice(2)),c=e.compiledTypeMap.fallback[a],c&&wE.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[a]=s;return n}function Yh(e){var t,n,i;if(t=e.toString(16).toUpperCase(),e<=255)n="x",i=2;else if(e<=65535)n="u",i=4;else if(e<=4294967295)n="U",i=8;else throw new Vl("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+Hl.repeat("0",i-t.length)+t}function MT(e){this.schema=e.schema||pT,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Hl.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=kT(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Hh(e,t){for(var n=Hl.repeat(" ",t),i=0,o=-1,r="",a,s=e.length;i<s;)o=e.indexOf(`
|
|
`,i),o===-1?(a=e.slice(i),i=s):(a=e.slice(i,o+1),i=o+1),a.length&&a!==`
|
|
`&&(r+=n),r+=a;return r}function gp(e,t){return`
|
|
`+Hl.repeat(" ",e.indent*t)}function LT(e,t){var n,i,o;for(n=0,i=e.implicitTypes.length;n<i;n+=1)if(o=e.implicitTypes[n],o.resolve(t))return!0;return!1}function _f(e){return e===bT||e===hT}function fs(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==65279||65536<=e&&e<=1114111}function FT(e){return fs(e)&&!_f(e)&&e!==65279&&e!==gT&&e!==fl}function Vh(e,t){return fs(e)&&e!==65279&&e!==xE&&e!==IE&&e!==kE&&e!==ME&&e!==LE&&e!==DE&&(e!==RE||t&&FT(t))}function PT(e){return fs(e)&&e!==65279&&!_f(e)&&e!==AT&&e!==wT&&e!==DE&&e!==xE&&e!==IE&&e!==kE&&e!==ME&&e!==LE&&e!==RE&&e!==yT&&e!==CT&&e!==ET&&e!==DT&&e!==OT&&e!==TT&&e!==NT&&e!==vT&&e!==ST&&e!==RT&&e!==xT}function FE(e){var t=/^\n* /;return t.test(e)}var PE=1,BE=2,$E=3,UE=4,Cc=5;function BT(e,t,n,i,o){var r,a,s,c=!1,l=!1,_=i!==-1,d=-1,u=PT(e.charCodeAt(0))&&!_f(e.charCodeAt(e.length-1));if(t)for(r=0;r<e.length;r++){if(a=e.charCodeAt(r),!fs(a))return Cc;s=r>0?e.charCodeAt(r-1):null,u=u&&Vh(a,s)}else{for(r=0;r<e.length;r++){if(a=e.charCodeAt(r),a===fl)c=!0,_&&(l=l||r-d-1>i&&e[d+1]!==" ",d=r);else if(!fs(a))return Cc;s=r>0?e.charCodeAt(r-1):null,u=u&&Vh(a,s)}l=l||_&&r-d-1>i&&e[d+1]!==" "}return!c&&!l?u&&!o(e)?PE:BE:n>9&&FE(e)?Cc:l?UE:$E}function $T(e,t,n,i){e.dump=function(){if(t.length===0)return"''";if(!e.noCompatMode&&IT.indexOf(t)!==-1)return"'"+t+"'";var o=e.indent*Math.max(1,n),r=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),a=i||e.flowLevel>-1&&n>=e.flowLevel;function s(c){return LT(e,c)}switch(BT(t,a,e.indent,r,s)){case PE:return t;case BE:return"'"+t.replace(/'/g,"''")+"'";case $E:return"|"+Wh(t,e.indent)+jh(Hh(t,o));case UE:return">"+Wh(t,e.indent)+jh(Hh(UT(t,r),o));case Cc:return'"'+GT(t)+'"';default:throw new Vl("impossible error: invalid scalar style")}}()}function Wh(e,t){var n=FE(e)?String(t):"",i=e[e.length-1]===`
|
|
`,o=i&&(e[e.length-2]===`
|
|
`||e===`
|
|
`),r=o?"+":i?"":"-";return n+r+`
|
|
`}function jh(e){return e[e.length-1]===`
|
|
`?e.slice(0,-1):e}function UT(e,t){for(var n=/(\n+)([^\n]*)/g,i=function(){var l=e.indexOf(`
|
|
`);return l=l!==-1?l:e.length,n.lastIndex=l,qh(e.slice(0,l),t)}(),o=e[0]===`
|
|
`||e[0]===" ",r,a;a=n.exec(e);){var s=a[1],c=a[2];r=c[0]===" ",i+=s+(!o&&!r&&c!==""?`
|
|
`:"")+qh(c,t),o=r}return i}function qh(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,i,o=0,r,a=0,s=0,c="";i=n.exec(e);)s=i.index,s-o>t&&(r=a>o?a:s,c+=`
|
|
`+e.slice(o,r),o=r+1),a=s;return c+=`
|
|
`,e.length-o>t&&a>o?c+=e.slice(o,a)+`
|
|
`+e.slice(a+1):c+=e.slice(o),c.slice(1)}function GT(e){for(var t="",n,i,o,r=0;r<e.length;r++){if(n=e.charCodeAt(r),n>=55296&&n<=56319&&(i=e.charCodeAt(r+1),i>=56320&&i<=57343)){t+=Yh((n-55296)*1024+i-56320+65536),r++;continue}o=hi[n],t+=!o&&fs(n)?e[r]:o||Yh(n)}return t}function zT(e,t,n){var i="",o=e.tag,r,a;for(r=0,a=n.length;r<a;r+=1)Ra(e,t,n[r],!1,!1)&&(r!==0&&(i+=","+(e.condenseFlow?"":" ")),i+=e.dump);e.tag=o,e.dump="["+i+"]"}function YT(e,t,n,i){var o="",r=e.tag,a,s;for(a=0,s=n.length;a<s;a+=1)Ra(e,t+1,n[a],!0,!0)&&((!i||a!==0)&&(o+=gp(e,t)),e.dump&&fl===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump);e.tag=r,e.dump=o||"[]"}function HT(e,t,n){var i="",o=e.tag,r=Object.keys(n),a,s,c,l,_;for(a=0,s=r.length;a<s;a+=1)_="",a!==0&&(_+=", "),e.condenseFlow&&(_+='"'),c=r[a],l=n[c],Ra(e,t,c,!1,!1)&&(e.dump.length>1024&&(_+="? "),_+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ra(e,t,l,!1,!1)&&(_+=e.dump,i+=_));e.tag=o,e.dump="{"+i+"}"}function VT(e,t,n,i){var o="",r=e.tag,a=Object.keys(n),s,c,l,_,d,u;if(e.sortKeys===!0)a.sort();else if(typeof e.sortKeys=="function")a.sort(e.sortKeys);else if(e.sortKeys)throw new Vl("sortKeys must be a boolean or a function");for(s=0,c=a.length;s<c;s+=1)u="",(!i||s!==0)&&(u+=gp(e,t)),l=a[s],_=n[l],Ra(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,d&&(e.dump&&fl===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,d&&(u+=gp(e,t)),Ra(e,t+1,_,!0,d)&&(e.dump&&fl===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,o+=u));e.tag=r,e.dump=o||"{}"}function Kh(e,t,n){var i,o,r,a,s,c;for(o=n?e.explicitTypes:e.implicitTypes,r=0,a=o.length;r<a;r+=1)if(s=o[r],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t=="object"&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=n?s.tag:"?",s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,TE.call(s.represent)==="[object Function]")i=s.represent(t,c);else if(wE.call(s.represent,c))i=s.represent[c](t,c);else throw new Vl("!<"+s.tag+'> tag resolver accepts not "'+c+'" style');e.dump=i}return!0}return!1}function Ra(e,t,n,i,o,r){e.tag=null,e.dump=n,Kh(e,n,!1)||Kh(e,n,!0);var a=TE.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var s=a==="[object Object]"||a==="[object Array]",c,l;if(s&&(c=e.duplicates.indexOf(n),l=c!==-1),(e.tag!==null&&e.tag!=="?"||l||e.indent!==2&&t>0)&&(o=!1),l&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(s&&l&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),a==="[object Object]")i&&Object.keys(e.dump).length!==0?(VT(e,t,e.dump,o),l&&(e.dump="&ref_"+c+e.dump)):(HT(e,t,e.dump),l&&(e.dump="&ref_"+c+" "+e.dump));else if(a==="[object Array]"){var _=e.noArrayIndent&&t>0?t-1:t;i&&e.dump.length!==0?(YT(e,_,e.dump,o),l&&(e.dump="&ref_"+c+e.dump)):(zT(e,_,e.dump),l&&(e.dump="&ref_"+c+" "+e.dump))}else if(a==="[object String]")e.tag!=="?"&&$T(e,e.dump,t,r);else{if(e.skipInvalid)return!1;throw new Vl("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function WT(e,t){var n=[],i=[],o,r;for(bp(e,n,i),o=0,r=i.length;o<r;o+=1)t.duplicates.push(n[i[o]]);t.usedDuplicates=new Array(r)}function bp(e,t,n){var i,o,r;if(e!==null&&typeof e=="object")if(o=t.indexOf(e),o!==-1)n.indexOf(o)===-1&&n.push(o);else if(t.push(e),Array.isArray(e))for(o=0,r=e.length;o<r;o+=1)bp(e[o],t,n);else for(i=Object.keys(e),o=0,r=i.length;o<r;o+=1)bp(e[i[o]],t,n)}function GE(e,t){t=t||{};var n=new MT(t);return n.noRefs||WT(e,n),Ra(n,0,e,!0,!0)?n.dump+`
|
|
`:""}function jT(e,t){return GE(e,Hl.extend({schema:fT},t))}uf.dump=GE;uf.safeDump=jT;var md=Gl,zE=uf;function pd(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}Dn.Type=ci;Dn.Schema=ws;Dn.FAILSAFE_SCHEMA=sf;Dn.JSON_SCHEMA=uE;Dn.CORE_SCHEMA=_E;Dn.DEFAULT_SAFE_SCHEMA=Yl;Dn.DEFAULT_FULL_SCHEMA=ud;Dn.load=md.load;Dn.loadAll=md.loadAll;Dn.safeLoad=md.safeLoad;Dn.safeLoadAll=md.safeLoadAll;Dn.dump=zE.dump;Dn.safeDump=zE.safeDump;Dn.YAMLException=zl;Dn.MINIMAL_SCHEMA=sf;Dn.SAFE_SCHEMA=Yl;Dn.DEFAULT_SCHEMA=ud;Dn.scan=pd("scan");Dn.parse=pd("parse");Dn.compose=pd("compose");Dn.addConstructor=pd("addConstructor");var qT=Dn,Ep=qT,KT=QT;function rs(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function QT(e){if(e=e||{},e.circles)return XT(e);return e.proto?i:n;function t(o,r){for(var a=Object.keys(o),s=new Array(a.length),c=0;c<a.length;c++){var l=a[c],_=o[l];typeof _!="object"||_===null?s[l]=_:_ instanceof Date?s[l]=new Date(_):ArrayBuffer.isView(_)?s[l]=rs(_):s[l]=r(_)}return s}function n(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return t(o,n);if(o instanceof Map)return new Map(t(Array.from(o),n));if(o instanceof Set)return new Set(t(Array.from(o),n));var r={};for(var a in o)if(Object.hasOwnProperty.call(o,a)!==!1){var s=o[a];typeof s!="object"||s===null?r[a]=s:s instanceof Date?r[a]=new Date(s):s instanceof Map?r[a]=new Map(t(Array.from(s),n)):s instanceof Set?r[a]=new Set(t(Array.from(s),n)):ArrayBuffer.isView(s)?r[a]=rs(s):r[a]=n(s)}return r}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return t(o,i);if(o instanceof Map)return new Map(t(Array.from(o),i));if(o instanceof Set)return new Set(t(Array.from(o),i));var r={};for(var a in o){var s=o[a];typeof s!="object"||s===null?r[a]=s:s instanceof Date?r[a]=new Date(s):s instanceof Map?r[a]=new Map(t(Array.from(s),i)):s instanceof Set?r[a]=new Set(t(Array.from(s),i)):ArrayBuffer.isView(s)?r[a]=rs(s):r[a]=i(s)}return r}}function XT(e){var t=[],n=[];return e.proto?r:o;function i(a,s){for(var c=Object.keys(a),l=new Array(c.length),_=0;_<c.length;_++){var d=c[_],u=a[d];if(typeof u!="object"||u===null)l[d]=u;else if(u instanceof Date)l[d]=new Date(u);else if(ArrayBuffer.isView(u))l[d]=rs(u);else{var m=t.indexOf(u);m!==-1?l[d]=n[m]:l[d]=s(u)}}return l}function o(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,o);if(a instanceof Map)return new Map(i(Array.from(a),o));if(a instanceof Set)return new Set(i(Array.from(a),o));var s={};t.push(a),n.push(s);for(var c in a)if(Object.hasOwnProperty.call(a,c)!==!1){var l=a[c];if(typeof l!="object"||l===null)s[c]=l;else if(l instanceof Date)s[c]=new Date(l);else if(l instanceof Map)s[c]=new Map(i(Array.from(l),o));else if(l instanceof Set)s[c]=new Set(i(Array.from(l),o));else if(ArrayBuffer.isView(l))s[c]=rs(l);else{var _=t.indexOf(l);_!==-1?s[c]=n[_]:s[c]=o(l)}}return t.pop(),n.pop(),s}function r(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,r);if(a instanceof Map)return new Map(i(Array.from(a),r));if(a instanceof Set)return new Set(i(Array.from(a),r));var s={};t.push(a),n.push(s);for(var c in a){var l=a[c];if(typeof l!="object"||l===null)s[c]=l;else if(l instanceof Date)s[c]=new Date(l);else if(l instanceof Map)s[c]=new Map(i(Array.from(l),r));else if(l instanceof Set)s[c]=new Set(i(Array.from(l),r));else if(ArrayBuffer.isView(l))s[c]=rs(l);else{var _=t.indexOf(l);_!==-1?s[c]=n[_]:s[c]=r(l)}}return t.pop(),n.pop(),s}}var Xt=JSON.parse('{"languages":[{"code":"de","name":"Deutsch"},{"code":"en","name":"English"},{"code":"es","name":"Espa\xF1ol"},{"code":"fr","name":"Fran\xE7ais"},{"code":"it","name":"Italiano"},{"code":"ja","name":"\u65E5\u672C\u8A9E"},{"code":"pl","name":"Polski"},{"code":"pt","name":"Portugu\xEAs"},{"code":"ru","name":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{"code":"sk","name":"Sloven\u010Dina","schemas":false},{"code":"zh-cn","name":"\u7B80\u4F53\u4E2D\u6587"},{"code":"zh-tw","name":"\u6B63\u9AD4\u4E2D\u6587"}],"versions":[{"id":"1.15","ref":"1.15.2","pack_format":5},{"id":"1.16","ref":"1.16.5","pack_format":6},{"id":"1.17","ref":"1.17.1","pack_format":7},{"id":"1.18","ref":"1.18.1","pack_format":8},{"id":"1.18.2","ref":"1.18.2","pack_format":9},{"id":"1.19","dynamic":true,"pack_format":10}],"generators":[{"id":"loot_table","url":"loot-table","path":"loot_tables","schema":"loot_table"},{"id":"predicate","url":"predicate","path":"predicates","schema":"predicate"},{"id":"item_modifier","url":"item-modifier","path":"item_modifiers","schema":"item_modifier","minVersion":"1.17"},{"id":"advancement","url":"advancement","path":"advancements","schema":"advancement"},{"id":"recipe","url":"recipe","path":"recipes","schema":"recipe"},{"id":"text_component","url":"text-component","schema":"text_component"},{"id":"chat_type","url":"chat-type","schema":"chat_type","minVersion":"1.19"},{"id":"dimension","url":"dimension","schema":"dimension","category":"worldgen","minVersion":"1.16"},{"id":"dimension_type","url":"dimension-type","schema":"dimension_type","category":"worldgen","minVersion":"1.16"},{"id":"world","url":"world","schema":"world_settings","category":"worldgen","minVersion":"1.16"},{"id":"worldgen/biome","url":"worldgen/biome","category":"worldgen","schema":"biome","minVersion":"1.16"},{"id":"worldgen/configured_carver","url":"worldgen/carver","category":"worldgen","schema":"configured_carver","minVersion":"1.16"},{"id":"worldgen/configured_feature","url":"worldgen/feature","category":"worldgen","schema":"configured_feature","minVersion":"1.16"},{"id":"worldgen/density_function","url":"worldgen/density-function","category":"worldgen","schema":"density_function","minVersion":"1.18.2"},{"id":"worldgen/placed_feature","url":"worldgen/placed-feature","category":"worldgen","schema":"placed_feature","minVersion":"1.18"},{"id":"worldgen/noise","url":"worldgen/noise","category":"worldgen","schema":"noise_parameters","minVersion":"1.18"},{"id":"worldgen/noise_settings","url":"worldgen/noise-settings","category":"worldgen","schema":"noise_settings","minVersion":"1.16"},{"id":"worldgen/configured_structure_feature","url":"worldgen/structure-feature","category":"worldgen","schema":"configured_structure_feature","minVersion":"1.16","maxVersion":"1.18.2"},{"id":"worldgen/structure","url":"worldgen/structure","category":"worldgen","schema":"structure","minVersion":"1.19"},{"id":"worldgen/structure_set","url":"worldgen/structure-set","category":"worldgen","schema":"structure_set","minVersion":"1.18.2"},{"id":"worldgen/configured_surface_builder","url":"worldgen/surface-builder","category":"worldgen","schema":"configured_surface_builder","minVersion":"1.16","maxVersion":"1.17"},{"id":"worldgen/processor_list","url":"worldgen/processor-list","category":"worldgen","schema":"processor_list","minVersion":"1.16"},{"id":"worldgen/template_pool","url":"worldgen/template-pool","category":"worldgen","schema":"template_pool","minVersion":"1.16"},{"id":"worldgen/world_preset","url":"worldgen/world-preset","category":"worldgen","schema":"world_preset","minVersion":"1.19"},{"id":"worldgen/flat_level_generator_preset","url":"worldgen/flat-world-preset","category":"worldgen","schema":"flat_level_generator_preset","minVersion":"1.19"},{"id":"block_definition","url":"assets/blockstate","path":"blockstates","category":"assets","schema":"block_definition"},{"id":"model","url":"assets/model","path":"models","category":"assets","schema":"model"}]}');function Pa(e){return typeof e=="object"&&e!==null}const ZT=e=>("0"+e.toString(16)).substr(-2);function Oa(e=12){var t=new Uint8Array(e/2);return window.crypto.getRandomValues(t),Array.from(t,ZT).join("")}function go(){return BigInt(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))}function YE(e){const t=Math.floor(Math.random()*4294967296)-2147483648,n=e.get(new j.Path(["dimensions"]));e.set(new j.Path(["seed"]),t,!0),Pa(n)&&Object.keys(n).forEach(i=>{e.set(new j.Path(["dimensions",i,"generator","seed"]),t,!0),e.set(new j.Path(["dimensions",i,"generator","biome_source","seed"]),t,!0)}),e.set(new j.Path(["placement","salt"]),Math.abs(t),!0),e.set(new j.Path(["generator","seed"]),t,!0),e.set(new j.Path(["generator","biome_source","seed"]),t)}function HE(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function bo(e){return`/${e}/`.replaceAll("//","/")}function JT(e){const t=e.indexOf("?");return t>=0&&(e=e.slice(0,t)),bo(e)}function VE(e){const t=JT(e).replace(/^\//,"").replace(/\/$/,"");return Xt.generators.find(n=>n.url===t)}function WE({path:e,search:t,hash:n,replace:i}){const o=(e!==void 0?bo(e):location.pathname)+(t!==void 0?t.startsWith("?")||t.length===0?t:"?"+t:location.search)+(n!==void 0?n.startsWith("#")?n:"#"+n:location.hash);Qo(o,i)}function e1(e){const t=Ep.load(e.substring(3,e.indexOf("---",3)));return Pa(t)?t:{}}function t1(e,t){var i;let n=0;for(;;){const o=e.indexOf("{#",n);if(o<0)break;const r=n1(e,o+2),a=e.indexOf("#[",o+1);let s="";if(a>=0&&a<r){const c=e.indexOf("]",a+2);e.substring(a+2,c)===t&&(s=e.substring(c+1,r).trim())}else{const c=e.substring(o+2,r),l=Xt.versions.find(_=>_.id===t);s=(i={version:l==null?void 0:l.id,pack_format:l==null?void 0:l.pack_format.toString()}[c])!=null?i:""}e=e.substring(0,o)+s+e.substring(r+2),n=o}return e}function n1(e,t){let n=0,i=0;for(;i++<1e3;){const o=e.indexOf("#}",t),r=e.indexOf("{#",t);if(o<0)return console.warn("Missing closing bracket"),e.length;if(r<0){if(n===0)return o;n-=1,t=o+2}else if(r<o)n+=1,t=r+2;else{if(n===0)return o;n-=1,t=o+2}}return console.warn("Exceeded max iterations while finding closing bracket"),e.length}function jE(e){const t=Math.abs(HE(e));return[t%256,(t>>8)%256,(t>>16)%256]}function Ls(e){return e*e}function Ui(e,t,n){return Math.max(e,Math.min(t,n))}function Em(e,t,n){return n<0?e:n>1?t:Ac(n,e,t)}function Ac(e,t,n){return t+e*(n-t)}function i1(e,t,n,i,o,r){return Ac(t,Ac(e,n,i),Ac(e,o,r))}function or(e){return e instanceof Error?e.message:`${e}`}const fd=KT();function xa(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=0;i<n;i++)if(!xa(e[i],t[i]))return!1;return!0}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const o=Object.keys(e);if(n=o.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[i]))return!1;for(i=n;i--!==0;){const r=o[i];if(!xa(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}class r1{constructor(){this.forward=new Map,this.backward=new Map}set(t,n){this.forward.set(t,n),this.backward.set(n,t)}getA(t){return this.backward.get(t)}getB(t){return this.forward.get(t)}getOrPut(t,n){const i=this.forward.get(t);return i===void 0?(this.set(t,n),n):i}}function Oc({icon:e,label:t,large:n,larger:i,doSelect:o,value:r,placeholder:a,dataList:s,onChange:c}){const l=c===void 0?()=>{}:u=>{const m=u.target.value;c==null||c(m)},_=an(null);ct(()=>{o&&_.current&&_.current.select()},[o]);const d=s&&Oa();return T("div",{class:`btn btn-input ${n?"large-input":""} ${i?"larger-input":""}`,onClick:u=>u.stopPropagation()},e&&At[e],t&&T("span",null,t),T("input",{ref:_,type:"text",value:r,onChange:l,placeholder:a,list:d}),s&&T("datalist",{id:d},s.map(u=>T("option",{value:u}))))}function Ks({cooldown:e,invert:t,initial:n}={}){const[i,o]=we(n),r=an(void 0);return[i,()=>{o(!t),r.current!==void 0&&clearTimeout(r.current),r.current=setTimeout(()=>{o(!!t)},e!=null?e:2e3)}]}function Wl({size:e,draw:t,onDrag:n,onHover:i,onLeave:o},r){const a=an(null),s=an(),c=an(),l=an([0,0]),_=an(!1);ct(()=>{const m=b=>{s.current=[b.offsetX,b.offsetY]},f=b=>{if(s.current===void 0){const E=b.offsetX/a.current.clientWidth,S=b.offsetY/a.current.clientHeight;i==null||i(E,S);return}if(!n)return;const g=b.offsetX-s.current[0],v=b.offsetY-s.current[1];g===0&&v===0||(l.current=[l.current[0]+g,l.current[1]+v],_.current||(cancelAnimationFrame(c.current),c.current=requestAnimationFrame(async()=>{_.current=!0;const E=l.current[0]/a.current.clientWidth,S=l.current[1]/a.current.clientHeight;l.current=[0,0],await(n==null?void 0:n(E,S)),_.current=!1}))),s.current=[b.offsetX,b.offsetY]},p=()=>{s.current=void 0},h=()=>{o==null||o()};return a.current.addEventListener("mousedown",m),a.current.addEventListener("mousemove",f),a.current.addEventListener("mouseleave",h),document.body.addEventListener("mouseup",p),()=>{var b,g,v;(b=a.current)==null||b.removeEventListener("mousedown",m),(g=a.current)==null||g.removeEventListener("mousemove",f),(v=a.current)==null||v.removeEventListener("mouseleave",h),document.body.removeEventListener("mouseup",p)}},[...r!=null?r:[],a.current]);const d=an(),u=an(0);return d.current=async()=>{const m=a.current.getContext("2d"),f=e();a.current.width=f[0],a.current.height=f[1];const p=m.getImageData(0,0,f[0],f[1]),h=u.current+=1;try{await t(p)}catch(b){throw b}h===u.current&&m.putImageData(p,0,0)},{canvas:a,redraw:d.current}}function mf(){const[e,t]=we(!1),n=()=>{t(!1)};return ct(()=>(e&&(document.body.addEventListener("click",n),document.body.addEventListener("contextmenu",n)),()=>{document.body.removeEventListener("click",n),document.body.removeEventListener("contextmenu",n)}),[e]),[e,()=>t(!0)]}function o1(){const[e,t]=we(window.location.hash),n=li(()=>{t(window.location.hash)},[]);ct(()=>(window.addEventListener("hashchange",n),window.addEventListener("replacestate",n),()=>{window.removeEventListener("hashchange",n),window.removeEventListener("replacestate",n)}),[]);const i=li(o=>{o!==e&&WE({hash:o})},[e]);return[e,i]}function Qh(e){const[t,n]=we(matchMedia(e).matches),i=o=>{n(o.matches)};return ct(()=>{const o=matchMedia(e);return o.addEventListener("change",i),()=>{o.removeEventListener("change",i)}},[e]),t}function hd(e,t,n){const i={invalidated(){e&&t(e)}};ct(()=>(e==null||e.addListener(i),()=>{e==null||e.removeListener(i)}),[e,...n!=null?n:[]])}const Xh=(e,t)=>{var n;return(n=new URLSearchParams(e).get(t))!=null?n:void 0};function hl(e){const t=window.location,[n,i]=we(Xh(t.search,e));ct(()=>{const r=()=>{i(Xh(t.search,e))};return window.addEventListener("popstate",r),window.addEventListener("pushstate",r),window.addEventListener("replacestate",r),()=>{window.removeEventListener("popstate",r),window.removeEventListener("pushstate",r),window.removeEventListener("replacestate",r)}},[]);const o=li((r,a)=>{if(r!==n){const s=new URLSearchParams(t.search);r===void 0||r.length===0?s.delete(e):s.set(e,r),WE({search:s.toString().replaceAll("%7C","|"),replace:a})}},[n]);return[n,o]}function Ri(e){const{icon:t,label:n,relative:i,tooltip:o,tooltipLoc:r,children:a}=e,[s,c]=mf();return T("div",H({class:`btn-menu${i===!1?" no-relative":""}`},e),T(tt,{icon:t,label:n,tooltip:o,tooltipLoc:r,onClick:c}),s&&T("div",{class:"btn-group"},a))}var qE={exports:{}};(function(e,t){(function(i,o){e.exports=o()})(ut,function(){return function(n){var i={};function o(r){if(i[r])return i[r].exports;var a=i[r]={exports:{},id:r,loaded:!1};return n[r].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}return o.m=n,o.c=i,o.p="",o(0)}([function(n,i,o){var r,a;r=[o(1)],a=function(s){var c={},l=function(C,y,A){var R,D,M={},L,F,q,$,Y,X=new p(A),J=A&&A.traceFormat;if(J!=="chrome"&&J!=="firefox"){if(J)throw new Error('unknown traceFormat "'+J+'" :(');if(_()||m())J="chrome";else if(d()||u())J="firefox";else throw new Error("unknown browser :(")}J==="chrome"?($=/^ +at.+\((.*):([0-9]+):([0-9]+)/,q=4,Y=1):($=/@(.*):([0-9]+):([0-9]+)/,q=4,Y=0),R=C.split(`
|
|
`).slice(Y);for(var B=0;B<R.length;B++)D=R[B],!(A&&A.filter&&!A.filter(D))&&(L=D.match($),L&&L.length===q&&(M[B]=L,F=L[1],F.match(/<anonymous>/)||X.fetchScript(F)));X.sem.whenReady(function(){var w=b(R,M,X.mapForUri,J);y(w)})},_=function(){return navigator.userAgent.toLowerCase().indexOf("chrome")>-1},d=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},u=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1},m=function(){return document.documentMode&&document.documentMode>=11},f=function(){this.count=0,this.pending=[]};f.prototype.incr=function(){this.count++},f.prototype.decr=function(){this.count--,this.flush()},f.prototype.whenReady=function(C){this.pending.push(C),this.flush()},f.prototype.flush=function(){this.count===0&&(this.pending.forEach(function(C){C()}),this.pending=[])};var p=function(C){this.sem=new f,this.sync=C&&C.sync,this.mapForUri=C&&C.cacheGlobally?c:{}};p.prototype.ajax=function(C,y){var A=N(),R=this;A.onreadystatechange=function(){A.readyState==4&&y.call(R,A,C)},A.open("GET",C,!this.sync),A.send()},p.prototype.fetchScript=function(C){if(!(C in this.mapForUri))this.sem.incr(),this.mapForUri[C]=null;else return;this.ajax(C,this.onScriptLoad)};var h=new RegExp("^(?:[a-z]+:)?//","i");p.prototype.onScriptLoad=function(C,y){if(C.status===200||y.slice(0,7)==="file://"&&C.status===0){var A=C.responseText.match("//# [s]ourceMappingURL=(.*)[\\s]*$","m");if(A&&A.length===2){var R=A[1],D=R.match("data:application/json;(charset=[^;]+;)?base64,(.*)");if(D&&D[2])this.mapForUri[y]=new s.SourceMapConsumer(atob(D[2])),this.sem.decr();else{if(!h.test(R)){var M,L=y.lastIndexOf("/");L!==-1&&(M=y.slice(0,L+1),R=M+R)}this.ajax(R,function(F){(F.status===200||R.slice(0,7)==="file://"&&F.status===0)&&(this.mapForUri[y]=new s.SourceMapConsumer(F.responseText)),this.sem.decr()})}}else this.sem.decr()}else this.sem.decr()};var b=function(C,y,A,R){for(var D=[],M,L=R==="chrome"?g:v,F=0;F<C.length;F++){var q=y[F];if(q){var $=q[1],Y=parseInt(q[2],10),X=parseInt(q[3],10);if(M=A[$],M){var J=M.originalPositionFor({line:Y,column:X});D.push(E(J.source,J.line,J.column,J.name||L(C[F])))}else D.push(E($,Y,X,L(C[F])))}else D.push(C[F])}return D};function g(C){var y=/ +at +([^ ]*).*/.exec(C);return y&&y[1]}function v(C){var y=/([^@]*)@.*/.exec(C);return y&&y[1]}var E=function(C,y,A,R){return" at "+(R||"(unknown)")+" ("+C+":"+y+":"+A+")"},S=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];function N(){for(var C=!1,y=0;y<S.length;y++){try{C=S[y]()}catch{continue}break}return C}return{mapStackTrace:l}}.apply(i,r),a!==void 0&&(n.exports=a)},function(n,i,o){var r=o(2),a=o(3),s=o(4).ArraySet,c=o(5),l=o(7).quickSort;function _(f){var p=f;return typeof f=="string"&&(p=JSON.parse(f.replace(/^\)\]\}'/,""))),p.sections!=null?new m(p):new d(p)}_.fromSourceMap=function(f){return d.fromSourceMap(f)},_.prototype._version=3,_.prototype.__generatedMappings=null,Object.defineProperty(_.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),_.prototype.__originalMappings=null,Object.defineProperty(_.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),_.prototype._charIsMappingSeparator=function(p,h){var b=p.charAt(h);return b===";"||b===","},_.prototype._parseMappings=function(p,h){throw new Error("Subclasses must implement _parseMappings")},_.GENERATED_ORDER=1,_.ORIGINAL_ORDER=2,_.GREATEST_LOWER_BOUND=1,_.LEAST_UPPER_BOUND=2,_.prototype.eachMapping=function(p,h,b){var g=h||null,v=b||_.GENERATED_ORDER,E;switch(v){case _.GENERATED_ORDER:E=this._generatedMappings;break;case _.ORIGINAL_ORDER:E=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var S=this.sourceRoot;E.map(function(N){var C=N.source===null?null:this._sources.at(N.source);return C!=null&&S!=null&&(C=r.join(S,C)),{source:C,generatedLine:N.generatedLine,generatedColumn:N.generatedColumn,originalLine:N.originalLine,originalColumn:N.originalColumn,name:N.name===null?null:this._names.at(N.name)}},this).forEach(p,g)},_.prototype.allGeneratedPositionsFor=function(p){var h=r.getArg(p,"line"),b={source:r.getArg(p,"source"),originalLine:h,originalColumn:r.getArg(p,"column",0)};if(this.sourceRoot!=null&&(b.source=r.relative(this.sourceRoot,b.source)),!this._sources.has(b.source))return[];b.source=this._sources.indexOf(b.source);var g=[],v=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(v>=0){var E=this._originalMappings[v];if(p.column===void 0)for(var S=E.originalLine;E&&E.originalLine===S;)g.push({line:r.getArg(E,"generatedLine",null),column:r.getArg(E,"generatedColumn",null),lastColumn:r.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v];else for(var N=E.originalColumn;E&&E.originalLine===h&&E.originalColumn==N;)g.push({line:r.getArg(E,"generatedLine",null),column:r.getArg(E,"generatedColumn",null),lastColumn:r.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v]}return g},i.SourceMapConsumer=_;function d(f){var p=f;typeof f=="string"&&(p=JSON.parse(f.replace(/^\)\]\}'/,"")));var h=r.getArg(p,"version"),b=r.getArg(p,"sources"),g=r.getArg(p,"names",[]),v=r.getArg(p,"sourceRoot",null),E=r.getArg(p,"sourcesContent",null),S=r.getArg(p,"mappings"),N=r.getArg(p,"file",null);if(h!=this._version)throw new Error("Unsupported version: "+h);b=b.map(String).map(r.normalize).map(function(C){return v&&r.isAbsolute(v)&&r.isAbsolute(C)?r.relative(v,C):C}),this._names=s.fromArray(g.map(String),!0),this._sources=s.fromArray(b,!0),this.sourceRoot=v,this.sourcesContent=E,this._mappings=S,this.file=N}d.prototype=Object.create(_.prototype),d.prototype.consumer=_,d.fromSourceMap=function(p){var h=Object.create(d.prototype),b=h._names=s.fromArray(p._names.toArray(),!0),g=h._sources=s.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file;for(var v=p._mappings.toArray().slice(),E=h.__generatedMappings=[],S=h.__originalMappings=[],N=0,C=v.length;N<C;N++){var y=v[N],A=new u;A.generatedLine=y.generatedLine,A.generatedColumn=y.generatedColumn,y.source&&(A.source=g.indexOf(y.source),A.originalLine=y.originalLine,A.originalColumn=y.originalColumn,y.name&&(A.name=b.indexOf(y.name)),S.push(A)),E.push(A)}return l(h.__originalMappings,r.compareByOriginalPositions),h},d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){return this._sources.toArray().map(function(f){return this.sourceRoot!=null?r.join(this.sourceRoot,f):f},this)}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}d.prototype._parseMappings=function(p,h){for(var b=1,g=0,v=0,E=0,S=0,N=0,C=p.length,y=0,A={},R={},D=[],M=[],L,F,q,$,Y;y<C;)if(p.charAt(y)===";")b++,y++,g=0;else if(p.charAt(y)===",")y++;else{for(L=new u,L.generatedLine=b,$=y;$<C&&!this._charIsMappingSeparator(p,$);$++);if(F=p.slice(y,$),q=A[F],q)y+=F.length;else{for(q=[];y<$;)c.decode(p,y,R),Y=R.value,y=R.rest,q.push(Y);if(q.length===2)throw new Error("Found a source, but no line and column");if(q.length===3)throw new Error("Found a source and line, but no column");A[F]=q}L.generatedColumn=g+q[0],g=L.generatedColumn,q.length>1&&(L.source=S+q[1],S+=q[1],L.originalLine=v+q[2],v=L.originalLine,L.originalLine+=1,L.originalColumn=E+q[3],E=L.originalColumn,q.length>4&&(L.name=N+q[4],N+=q[4])),M.push(L),typeof L.originalLine=="number"&&D.push(L)}l(M,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=M,l(D,r.compareByOriginalPositions),this.__originalMappings=D},d.prototype._findMapping=function(p,h,b,g,v,E){if(p[b]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[b]);if(p[g]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[g]);return a.search(p,h,v,E)},d.prototype.computeColumnSpans=function(){for(var p=0;p<this._generatedMappings.length;++p){var h=this._generatedMappings[p];if(p+1<this._generatedMappings.length){var b=this._generatedMappings[p+1];if(h.generatedLine===b.generatedLine){h.lastGeneratedColumn=b.generatedColumn-1;continue}}h.lastGeneratedColumn=1/0}},d.prototype.originalPositionFor=function(p){var h={generatedLine:r.getArg(p,"line"),generatedColumn:r.getArg(p,"column")},b=this._findMapping(h,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(p,"bias",_.GREATEST_LOWER_BOUND));if(b>=0){var g=this._generatedMappings[b];if(g.generatedLine===h.generatedLine){var v=r.getArg(g,"source",null);v!==null&&(v=this._sources.at(v),this.sourceRoot!=null&&(v=r.join(this.sourceRoot,v)));var E=r.getArg(g,"name",null);return E!==null&&(E=this._names.at(E)),{source:v,line:r.getArg(g,"originalLine",null),column:r.getArg(g,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return p==null}):!1},d.prototype.sourceContentFor=function(p,h){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(p=r.relative(this.sourceRoot,p)),this._sources.has(p))return this.sourcesContent[this._sources.indexOf(p)];var b;if(this.sourceRoot!=null&&(b=r.urlParse(this.sourceRoot))){var g=p.replace(/^file:\/\//,"");if(b.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!b.path||b.path=="/")&&this._sources.has("/"+p))return this.sourcesContent[this._sources.indexOf("/"+p)]}if(h)return null;throw new Error('"'+p+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(p){var h=r.getArg(p,"source");if(this.sourceRoot!=null&&(h=r.relative(this.sourceRoot,h)),!this._sources.has(h))return{line:null,column:null,lastColumn:null};h=this._sources.indexOf(h);var b={source:h,originalLine:r.getArg(p,"line"),originalColumn:r.getArg(p,"column")},g=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(p,"bias",_.GREATEST_LOWER_BOUND));if(g>=0){var v=this._originalMappings[g];if(v.source===b.source)return{line:r.getArg(v,"generatedLine",null),column:r.getArg(v,"generatedColumn",null),lastColumn:r.getArg(v,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},i.BasicSourceMapConsumer=d;function m(f){var p=f;typeof f=="string"&&(p=JSON.parse(f.replace(/^\)\]\}'/,"")));var h=r.getArg(p,"version"),b=r.getArg(p,"sections");if(h!=this._version)throw new Error("Unsupported version: "+h);this._sources=new s,this._names=new s;var g={line:-1,column:0};this._sections=b.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var E=r.getArg(v,"offset"),S=r.getArg(E,"line"),N=r.getArg(E,"column");if(S<g.line||S===g.line&&N<g.column)throw new Error("Section offsets must be ordered and non-overlapping.");return g=E,{generatedOffset:{generatedLine:S+1,generatedColumn:N+1},consumer:new _(r.getArg(v,"map"))}})}m.prototype=Object.create(_.prototype),m.prototype.constructor=_,m.prototype._version=3,Object.defineProperty(m.prototype,"sources",{get:function(){for(var f=[],p=0;p<this._sections.length;p++)for(var h=0;h<this._sections[p].consumer.sources.length;h++)f.push(this._sections[p].consumer.sources[h]);return f}}),m.prototype.originalPositionFor=function(p){var h={generatedLine:r.getArg(p,"line"),generatedColumn:r.getArg(p,"column")},b=a.search(h,this._sections,function(v,E){var S=v.generatedLine-E.generatedOffset.generatedLine;return S||v.generatedColumn-E.generatedOffset.generatedColumn}),g=this._sections[b];return g?g.consumer.originalPositionFor({line:h.generatedLine-(g.generatedOffset.generatedLine-1),column:h.generatedColumn-(g.generatedOffset.generatedLine===h.generatedLine?g.generatedOffset.generatedColumn-1:0),bias:p.bias}):{source:null,line:null,column:null,name:null}},m.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(p){return p.consumer.hasContentsOfAllSources()})},m.prototype.sourceContentFor=function(p,h){for(var b=0;b<this._sections.length;b++){var g=this._sections[b],v=g.consumer.sourceContentFor(p,!0);if(v)return v}if(h)return null;throw new Error('"'+p+'" is not in the SourceMap.')},m.prototype.generatedPositionFor=function(p){for(var h=0;h<this._sections.length;h++){var b=this._sections[h];if(b.consumer.sources.indexOf(r.getArg(p,"source"))!==-1){var g=b.consumer.generatedPositionFor(p);if(g){var v={line:g.line+(b.generatedOffset.generatedLine-1),column:g.column+(b.generatedOffset.generatedLine===g.line?b.generatedOffset.generatedColumn-1:0)};return v}}}return{line:null,column:null}},m.prototype._parseMappings=function(p,h){this.__generatedMappings=[],this.__originalMappings=[];for(var b=0;b<this._sections.length;b++)for(var g=this._sections[b],v=g.consumer._generatedMappings,E=0;E<v.length;E++){var S=v[E],N=g.consumer._sources.at(S.source);g.consumer.sourceRoot!==null&&(N=r.join(g.consumer.sourceRoot,N)),this._sources.add(N),N=this._sources.indexOf(N);var C=g.consumer._names.at(S.name);this._names.add(C),C=this._names.indexOf(C);var y={source:N,generatedLine:S.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:S.generatedColumn+(g.generatedOffset.generatedLine===S.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:S.originalLine,originalColumn:S.originalColumn,name:C};this.__generatedMappings.push(y),typeof y.originalLine=="number"&&this.__originalMappings.push(y)}l(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),l(this.__originalMappings,r.compareByOriginalPositions)},i.IndexedSourceMapConsumer=m},function(n,i){function o(S,N,C){if(N in S)return S[N];if(arguments.length===3)return C;throw new Error('"'+N+'" is a required argument.')}i.getArg=o;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,a=/^data:.+\,.+$/;function s(S){var N=S.match(r);return N?{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}:null}i.urlParse=s;function c(S){var N="";return S.scheme&&(N+=S.scheme+":"),N+="//",S.auth&&(N+=S.auth+"@"),S.host&&(N+=S.host),S.port&&(N+=":"+S.port),S.path&&(N+=S.path),N}i.urlGenerate=c;function l(S){var N=S,C=s(S);if(C){if(!C.path)return S;N=C.path}for(var y=i.isAbsolute(N),A=N.split(/\/+/),R,D=0,M=A.length-1;M>=0;M--)R=A[M],R==="."?A.splice(M,1):R===".."?D++:D>0&&(R===""?(A.splice(M+1,D),D=0):(A.splice(M,2),D--));return N=A.join("/"),N===""&&(N=y?"/":"."),C?(C.path=N,c(C)):N}i.normalize=l;function _(S,N){S===""&&(S="."),N===""&&(N=".");var C=s(N),y=s(S);if(y&&(S=y.path||"/"),C&&!C.scheme)return y&&(C.scheme=y.scheme),c(C);if(C||N.match(a))return N;if(y&&!y.host&&!y.path)return y.host=N,c(y);var A=N.charAt(0)==="/"?N:l(S.replace(/\/+$/,"")+"/"+N);return y?(y.path=A,c(y)):A}i.join=_,i.isAbsolute=function(S){return S.charAt(0)==="/"||!!S.match(r)};function d(S,N){S===""&&(S="."),S=S.replace(/\/$/,"");for(var C=0;N.indexOf(S+"/")!==0;){var y=S.lastIndexOf("/");if(y<0||(S=S.slice(0,y),S.match(/^([^\/]+:\/)?\/*$/)))return N;++C}return Array(C+1).join("../")+N.substr(S.length+1)}i.relative=d;var u=function(){var S=Object.create(null);return!("__proto__"in S)}();function m(S){return S}function f(S){return h(S)?"$"+S:S}i.toSetString=u?m:f;function p(S){return h(S)?S.slice(1):S}i.fromSetString=u?m:p;function h(S){if(!S)return!1;var N=S.length;if(N<9||S.charCodeAt(N-1)!==95||S.charCodeAt(N-2)!==95||S.charCodeAt(N-3)!==111||S.charCodeAt(N-4)!==116||S.charCodeAt(N-5)!==111||S.charCodeAt(N-6)!==114||S.charCodeAt(N-7)!==112||S.charCodeAt(N-8)!==95||S.charCodeAt(N-9)!==95)return!1;for(var C=N-10;C>=0;C--)if(S.charCodeAt(C)!==36)return!1;return!0}function b(S,N,C){var y=S.source-N.source;return y!==0||(y=S.originalLine-N.originalLine,y!==0)||(y=S.originalColumn-N.originalColumn,y!==0||C)||(y=S.generatedColumn-N.generatedColumn,y!==0)||(y=S.generatedLine-N.generatedLine,y!==0)?y:S.name-N.name}i.compareByOriginalPositions=b;function g(S,N,C){var y=S.generatedLine-N.generatedLine;return y!==0||(y=S.generatedColumn-N.generatedColumn,y!==0||C)||(y=S.source-N.source,y!==0)||(y=S.originalLine-N.originalLine,y!==0)||(y=S.originalColumn-N.originalColumn,y!==0)?y:S.name-N.name}i.compareByGeneratedPositionsDeflated=g;function v(S,N){return S===N?0:S>N?1:-1}function E(S,N){var C=S.generatedLine-N.generatedLine;return C!==0||(C=S.generatedColumn-N.generatedColumn,C!==0)||(C=v(S.source,N.source),C!==0)||(C=S.originalLine-N.originalLine,C!==0)||(C=S.originalColumn-N.originalColumn,C!==0)?C:v(S.name,N.name)}i.compareByGeneratedPositionsInflated=E},function(n,i){i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2;function o(r,a,s,c,l,_){var d=Math.floor((a-r)/2)+r,u=l(s,c[d],!0);return u===0?d:u>0?a-d>1?o(d,a,s,c,l,_):_==i.LEAST_UPPER_BOUND?a<c.length?a:-1:d:d-r>1?o(r,d,s,c,l,_):_==i.LEAST_UPPER_BOUND?d:r<0?-1:r}i.search=function(a,s,c,l){if(s.length===0)return-1;var _=o(-1,s.length,a,s,c,l||i.GREATEST_LOWER_BOUND);if(_<0)return-1;for(;_-1>=0&&c(s[_],s[_-1],!0)===0;)--_;return _}},function(n,i,o){var r=o(2),a=Object.prototype.hasOwnProperty;function s(){this._array=[],this._set=Object.create(null)}s.fromArray=function(l,_){for(var d=new s,u=0,m=l.length;u<m;u++)d.add(l[u],_);return d},s.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(l,_){var d=r.toSetString(l),u=a.call(this._set,d),m=this._array.length;(!u||_)&&this._array.push(l),u||(this._set[d]=m)},s.prototype.has=function(l){var _=r.toSetString(l);return a.call(this._set,_)},s.prototype.indexOf=function(l){var _=r.toSetString(l);if(a.call(this._set,_))return this._set[_];throw new Error('"'+l+'" is not in the set.')},s.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},s.prototype.toArray=function(){return this._array.slice()},i.ArraySet=s},function(n,i,o){var r=o(6),a=5,s=1<<a,c=s-1,l=s;function _(u){return u<0?(-u<<1)+1:(u<<1)+0}function d(u){var m=(u&1)===1,f=u>>1;return m?-f:f}i.encode=function(m){var f="",p,h=_(m);do p=h&c,h>>>=a,h>0&&(p|=l),f+=r.encode(p);while(h>0);return f},i.decode=function(m,f,p){var h=m.length,b=0,g=0,v,E;do{if(f>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(E=r.decode(m.charCodeAt(f++)),E===-1)throw new Error("Invalid base64 digit: "+m.charAt(f-1));v=!!(E&l),E&=c,b=b+(E<<g),g+=a}while(v);p.value=d(b),p.rest=f}},function(n,i){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");i.encode=function(r){if(0<=r&&r<o.length)return o[r];throw new TypeError("Must be between 0 and 63: "+r)},i.decode=function(r){var a=65,s=90,c=97,l=122,_=48,d=57,u=43,m=47,f=26,p=52;return a<=r&&r<=s?r-a:c<=r&&r<=l?r-c+f:_<=r&&r<=d?r-_+p:r==u?62:r==m?63:-1}},function(n,i){function o(s,c,l){var _=s[c];s[c]=s[l],s[l]=_}function r(s,c){return Math.round(s+Math.random()*(c-s))}function a(s,c,l,_){if(l<_){var d=r(l,_),u=l-1;o(s,d,_);for(var m=s[_],f=l;f<_;f++)c(s[f],m)<=0&&(u+=1,o(s,u,f));o(s,u+1,f);var p=u+1;a(s,c,l,p-1),a(s,c,p+1,_)}}i.quickSort=function(s,c){a(s,c,0,s.length-1)}}])})})(qE);const At={alert:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"})),archive:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.75 2.5a.25.25 0 00-.25.25v1.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25v-1.5a.25.25 0 00-.25-.25H1.75zM0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v1.5A1.75 1.75 0 0114.25 6H1.75A1.75 1.75 0 010 4.25v-1.5zM1.75 7a.75.75 0 01.75.75v5.5c0 .138.112.25.25.25h10.5a.25.25 0 00.25-.25v-5.5a.75.75 0 111.5 0v5.5A1.75 1.75 0 0113.25 15H2.75A1.75 1.75 0 011 13.25v-5.5A.75.75 0 011.75 7zm4.5 1a.75.75 0 000 1.5h3.5a.75.75 0 100-1.5h-3.5z"})),arrow_left:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M7.78 12.53a.75.75 0 01-1.06 0L2.47 8.28a.75.75 0 010-1.06l4.25-4.25a.75.75 0 011.06 1.06L4.81 7h7.44a.75.75 0 010 1.5H4.81l2.97 2.97a.75.75 0 010 1.06z"})),arrow_right:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})),check:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})),chevron_down:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M12.78 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.22 7.28a.75.75 0 011.06-1.06L8 9.94l3.72-3.72a.75.75 0 011.06 0z"})),chevron_right:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})),chevron_up:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M3.22 9.78a.75.75 0 010-1.06l4.25-4.25a.75.75 0 011.06 0l4.25 4.25a.75.75 0 01-1.06 1.06L8 6.06 4.28 9.78a.75.75 0 01-1.06 0z"})),clippy:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"})),code:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M4.72 3.22a.75.75 0 011.06 1.06L2.06 8l3.72 3.72a.75.75 0 11-1.06 1.06L.47 8.53a.75.75 0 010-1.06l4.25-4.25zm6.56 0a.75.75 0 10-1.06 1.06L13.94 8l-3.72 3.72a.75.75 0 101.06 1.06l4.25-4.25a.75.75 0 000-1.06l-4.25-4.25z"})),dash:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M2 8a.75.75 0 01.75-.75h10.5a.75.75 0 010 1.5H2.75A.75.75 0 012 8z"})),device_desktop:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.75 2.5h12.5a.25.25 0 01.25.25v7.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25v-7.5a.25.25 0 01.25-.25zM14.25 1H1.75A1.75 1.75 0 000 2.75v7.5C0 11.216.784 12 1.75 12h3.727c-.1 1.041-.52 1.872-1.292 2.757A.75.75 0 004.75 16h6.5a.75.75 0 00.565-1.243c-.772-.885-1.193-1.716-1.292-2.757h3.727A1.75 1.75 0 0016 10.25v-7.5A1.75 1.75 0 0014.25 1zM9.018 12H6.982a5.72 5.72 0 01-.765 2.5h3.566a5.72 5.72 0 01-.765-2.5z"})),dot_fill:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8z"})),download:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M7.47 10.78a.75.75 0 001.06 0l3.75-3.75a.75.75 0 00-1.06-1.06L8.75 8.44V1.75a.75.75 0 00-1.5 0v6.69L4.78 5.97a.75.75 0 00-1.06 1.06l3.75 3.75zM3.75 13a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5z"})),duplicate:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{d:"M10.5 3a.75.75 0 01.75.75v1h1a.75.75 0 010 1.5h-1v1a.75.75 0 01-1.5 0v-1h-1a.75.75 0 010-1.5h1v-1A.75.75 0 0110.5 3z"}),T("path",{"fill-rule":"evenodd",d:"M6.75 0A1.75 1.75 0 005 1.75v7.5c0 .966.784 1.75 1.75 1.75h7.5A1.75 1.75 0 0016 9.25v-7.5A1.75 1.75 0 0014.25 0h-7.5zM6.5 1.75a.25.25 0 01.25-.25h7.5a.25.25 0 01.25.25v7.5a.25.25 0 01-.25.25h-7.5a.25.25 0 01-.25-.25v-7.5z"}),T("path",{d:"M1.75 5A1.75 1.75 0 000 6.75v7.5C0 15.216.784 16 1.75 16h7.5A1.75 1.75 0 0011 14.25v-1.5a.75.75 0 00-1.5 0v1.5a.25.25 0 01-.25.25h-7.5a.25.25 0 01-.25-.25v-7.5a.25.25 0 01.25-.25h1.5a.75.75 0 000-1.5h-1.5z"})),eye:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.679 7.932c.412-.621 1.242-1.75 2.366-2.717C5.175 4.242 6.527 3.5 8 3.5c1.473 0 2.824.742 3.955 1.715 1.124.967 1.954 2.096 2.366 2.717a.119.119 0 010 .136c-.412.621-1.242 1.75-2.366 2.717C10.825 11.758 9.473 12.5 8 12.5c-1.473 0-2.824-.742-3.955-1.715C2.92 9.818 2.09 8.69 1.679 8.068a.119.119 0 010-.136zM8 2c-1.981 0-3.67.992-4.933 2.078C1.797 5.169.88 6.423.43 7.1a1.619 1.619 0 000 1.798c.45.678 1.367 1.932 2.637 3.024C4.329 13.008 6.019 14 8 14c1.981 0 3.67-.992 4.933-2.078 1.27-1.091 2.187-2.345 2.637-3.023a1.619 1.619 0 000-1.798c-.45-.678-1.367-1.932-2.637-3.023C11.671 2.992 9.981 2 8 2zm0 8a2 2 0 100-4 2 2 0 000 4z"})),eye_closed:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M.143 2.31a.75.75 0 011.047-.167l14.5 10.5a.75.75 0 11-.88 1.214l-2.248-1.628C11.346 13.19 9.792 14 8 14c-1.981 0-3.67-.992-4.933-2.078C1.797 10.832.88 9.577.43 8.9a1.618 1.618 0 010-1.797c.353-.533.995-1.42 1.868-2.305L.31 3.357A.75.75 0 01.143 2.31zm3.386 3.378a14.21 14.21 0 00-1.85 2.244.12.12 0 00-.022.068c0 .021.006.045.022.068.412.621 1.242 1.75 2.366 2.717C5.175 11.758 6.527 12.5 8 12.5c1.195 0 2.31-.488 3.29-1.191L9.063 9.695A2 2 0 016.058 7.52l-2.53-1.832zM8 3.5c-.516 0-1.017.09-1.499.251a.75.75 0 11-.473-1.423A6.23 6.23 0 018 2c1.981 0 3.67.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.619 1.619 0 010 1.798c-.11.166-.248.365-.41.587a.75.75 0 11-1.21-.887c.148-.201.272-.382.371-.53a.119.119 0 000-.137c-.412-.621-1.242-1.75-2.366-2.717C10.825 4.242 9.473 3.5 8 3.5z"})),file:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M3.75 1.5a.25.25 0 00-.25.25v11.5c0 .138.112.25.25.25h8.5a.25.25 0 00.25-.25V6H9.75A1.75 1.75 0 018 4.25V1.5H3.75zm5.75.56v2.19c0 .138.112.25.25.25h2.19L9.5 2.06zM2 1.75C2 .784 2.784 0 3.75 0h5.086c.464 0 .909.184 1.237.513l3.414 3.414c.329.328.513.773.513 1.237v8.086A1.75 1.75 0 0112.25 15h-8.5A1.75 1.75 0 012 13.25V1.75z"})),file_directory:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.75 1A1.75 1.75 0 000 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0016 13.25v-8.5A1.75 1.75 0 0014.25 3h-6.5a.25.25 0 01-.2-.1l-.9-1.2c-.33-.44-.85-.7-1.4-.7h-3.5z"})),gear:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M7.429 1.525a6.593 6.593 0 011.142 0c.036.003.108.036.137.146l.289 1.105c.147.56.55.967.997 1.189.174.086.341.183.501.29.417.278.97.423 1.53.27l1.102-.303c.11-.03.175.016.195.046.219.31.41.641.573.989.014.031.022.11-.059.19l-.815.806c-.411.406-.562.957-.53 1.456a4.588 4.588 0 010 .582c-.032.499.119 1.05.53 1.456l.815.806c.08.08.073.159.059.19a6.494 6.494 0 01-.573.99c-.02.029-.086.074-.195.045l-1.103-.303c-.559-.153-1.112-.008-1.529.27-.16.107-.327.204-.5.29-.449.222-.851.628-.998 1.189l-.289 1.105c-.029.11-.101.143-.137.146a6.613 6.613 0 01-1.142 0c-.036-.003-.108-.037-.137-.146l-.289-1.105c-.147-.56-.55-.967-.997-1.189a4.502 4.502 0 01-.501-.29c-.417-.278-.97-.423-1.53-.27l-1.102.303c-.11.03-.175-.016-.195-.046a6.492 6.492 0 01-.573-.989c-.014-.031-.022-.11.059-.19l.815-.806c.411-.406.562-.957.53-1.456a4.587 4.587 0 010-.582c.032-.499-.119-1.05-.53-1.456l-.815-.806c-.08-.08-.073-.159-.059-.19a6.44 6.44 0 01.573-.99c.02-.029.086-.075.195-.045l1.103.303c.559.153 1.112.008 1.529-.27.16-.107.327-.204.5-.29.449-.222.851-.628.998-1.189l.289-1.105c.029-.11.101-.143.137-.146zM8 0c-.236 0-.47.01-.701.03-.743.065-1.29.615-1.458 1.261l-.29 1.106c-.017.066-.078.158-.211.224a5.994 5.994 0 00-.668.386c-.123.082-.233.09-.3.071L3.27 2.776c-.644-.177-1.392.02-1.82.63a7.977 7.977 0 00-.704 1.217c-.315.675-.111 1.422.363 1.891l.815.806c.05.048.098.147.088.294a6.084 6.084 0 000 .772c.01.147-.038.246-.088.294l-.815.806c-.474.469-.678 1.216-.363 1.891.2.428.436.835.704 1.218.428.609 1.176.806 1.82.63l1.103-.303c.066-.019.176-.011.299.071.213.143.436.272.668.386.133.066.194.158.212.224l.289 1.106c.169.646.715 1.196 1.458 1.26a8.094 8.094 0 001.402 0c.743-.064 1.29-.614 1.458-1.26l.29-1.106c.017-.066.078-.158.211-.224a5.98 5.98 0 00.668-.386c.123-.082.233-.09.3-.071l1.102.302c.644.177 1.392-.02 1.82-.63.268-.382.505-.789.704-1.217.315-.675.111-1.422-.364-1.891l-.814-.806c-.05-.048-.098-.147-.088-.294a6.1 6.1 0 000-.772c-.01-.147.039-.246.088-.294l.814-.806c.475-.469.679-1.216.364-1.891a7.992 7.992 0 00-.704-1.218c-.428-.609-1.176-.806-1.82-.63l-1.103.303c-.066.019-.176.011-.299-.071a5.991 5.991 0 00-.668-.386c-.133-.066-.194-.158-.212-.224L10.16 1.29C9.99.645 9.444.095 8.701.031A8.094 8.094 0 008 0zm1.5 8a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM11 8a3 3 0 11-6 0 3 3 0 016 0z"})),globe:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.543 7.25h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.506 6.506 0 00-4.666 5.5zm2.733 1.5H1.543a6.506 6.506 0 004.666 5.5 11.13 11.13 0 01-.352-.552c-.715-1.192-1.437-2.874-1.581-4.948zm1.504 0h4.44a9.637 9.637 0 01-1.363 4.177c-.306.51-.612.919-.857 1.215a9.978 9.978 0 01-.857-1.215A9.637 9.637 0 015.78 8.75zm4.44-1.5H5.78a9.637 9.637 0 011.363-4.177c.306-.51.612-.919.857-1.215.245.296.55.705.857 1.215A9.638 9.638 0 0110.22 7.25zm1.504 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.506 6.506 0 004.666-5.5h-2.733zm2.733-1.5h-2.733c-.144-2.074-.866-3.756-1.58-4.948a11.738 11.738 0 00-.353-.552 6.506 6.506 0 014.666 5.5zM8 0a8 8 0 100 16A8 8 0 008 0z"})),history:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.643 3.143L.427 1.927A.25.25 0 000 2.104V5.75c0 .138.112.25.25.25h3.646a.25.25 0 00.177-.427L2.715 4.215a6.5 6.5 0 11-1.18 4.458.75.75 0 10-1.493.154 8.001 8.001 0 101.6-5.684zM7.75 4a.75.75 0 01.75.75v2.992l2.028.812a.75.75 0 01-.557 1.392l-2.5-1A.75.75 0 017 8.25v-3.5A.75.75 0 017.75 4z"})),info:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm6.5-.25A.75.75 0 017.25 7h1a.75.75 0 01.75.75v2.75h.25a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h.25v-2h-.25a.75.75 0 01-.75-.75zM8 6a1 1 0 100-2 1 1 0 000 2z"})),issue_opened:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zm-.25-6.25a.75.75 0 00-1.5 0v3.5a.75.75 0 001.5 0v-3.5z"})),kebab_horizontal:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{d:"M8 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM1.5 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm13 0a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"})),link:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"})),link_external:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M10.604 1h4.146a.25.25 0 01.25.25v4.146a.25.25 0 01-.427.177L13.03 4.03 9.28 7.78a.75.75 0 01-1.06-1.06l3.75-3.75-1.543-1.543A.25.25 0 0110.604 1zM3.75 2A1.75 1.75 0 002 3.75v8.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 12.25v-3.5a.75.75 0 00-1.5 0v3.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-8.5a.25.25 0 01.25-.25h3.5a.75.75 0 000-1.5h-3.5z"})),mark_github:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})),moon:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M9.598 1.591a.75.75 0 01.785-.175 7 7 0 11-8.967 8.967.75.75 0 01.961-.96 5.5 5.5 0 007.046-7.046.75.75 0 01.175-.786zm1.616 1.945a7 7 0 01-7.678 7.678 5.5 5.5 0 107.678-7.678z"})),play:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM6.379 5.227A.25.25 0 006 5.442v5.117a.25.25 0 00.379.214l4.264-2.559a.25.25 0 000-.428L6.379 5.227z"})),plus:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 2a.75.75 0 01.75.75v4.5h4.5a.75.75 0 010 1.5h-4.5v4.5a.75.75 0 01-1.5 0v-4.5h-4.5a.75.75 0 010-1.5h4.5v-4.5A.75.75 0 018 2z"})),plus_circle:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zm.75 4.75a.75.75 0 00-1.5 0v2.5h-2.5a.75.75 0 000 1.5h2.5v2.5a.75.75 0 001.5 0v-2.5h2.5a.75.75 0 000-1.5h-2.5v-2.5z"})),repo:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"})),search:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M11.5 7a4.499 4.499 0 11-8.998 0A4.499 4.499 0 0111.5 7zm-.82 4.74a6 6 0 111.06-1.06l3.04 3.04a.75.75 0 11-1.06 1.06l-3.04-3.04z"})),sort_asc:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M0 4.25a.75.75 0 01.75-.75h2.5a.75.75 0 010 1.5H.75A.75.75 0 010 4.25zm0 4a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5H.75A.75.75 0 010 8.25zm0 4a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5H.75a.75.75 0 01-.75-.75zm12.927-9.677a.25.25 0 00-.354 0l-3 3A.25.25 0 009.75 6H12v6.75a.75.75 0 001.5 0V6h2.25a.25.25 0 00.177-.427l-3-3z"})),sort_desc:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M0 4.25a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5H.75A.75.75 0 010 4.25zm0 4a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5H.75A.75.75 0 010 8.25zm0 4a.75.75 0 01.75-.75h2.5a.75.75 0 010 1.5H.75a.75.75 0 01-.75-.75z"}),T("path",{d:"M13.5 10h2.25a.25.25 0 01.177.427l-3 3a.25.25 0 01-.354 0l-3-3A.25.25 0 019.75 10H12V3.75a.75.75 0 011.5 0V10z"})),square:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M4 5.75C4 4.784 4.784 4 5.75 4h4.5c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0110.25 12h-4.5A1.75 1.75 0 014 10.25v-4.5zm1.75-.25a.25.25 0 00-.25.25v4.5c0 .138.112.25.25.25h4.5a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-4.5z"})),square_fill:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M5.75 4A1.75 1.75 0 004 5.75v4.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0012 10.25v-4.5A1.75 1.75 0 0010.25 4h-4.5z"})),stack:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M7.122.392a1.75 1.75 0 011.756 0l5.003 2.902c.83.481.83 1.68 0 2.162L8.878 8.358a1.75 1.75 0 01-1.756 0L2.119 5.456a1.25 1.25 0 010-2.162L7.122.392zM8.125 1.69a.25.25 0 00-.25 0l-4.63 2.685 4.63 2.685a.25.25 0 00.25 0l4.63-2.685-4.63-2.685zM1.601 7.789a.75.75 0 011.025-.273l5.249 3.044a.25.25 0 00.25 0l5.249-3.044a.75.75 0 01.752 1.298l-5.248 3.044a1.75 1.75 0 01-1.756 0L1.874 8.814A.75.75 0 011.6 7.789zm0 3.5a.75.75 0 011.025-.273l5.249 3.044a.25.25 0 00.25 0l5.249-3.044a.75.75 0 01.752 1.298l-5.248 3.044a1.75 1.75 0 01-1.756 0l-5.248-3.044a.75.75 0 01-.273-1.025z"})),sun:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 10.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM8 12a4 4 0 100-8 4 4 0 000 8zM8 0a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V.75A.75.75 0 018 0zm0 13a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 018 13zM2.343 2.343a.75.75 0 011.061 0l1.06 1.061a.75.75 0 01-1.06 1.06l-1.06-1.06a.75.75 0 010-1.06zm9.193 9.193a.75.75 0 011.06 0l1.061 1.06a.75.75 0 01-1.06 1.061l-1.061-1.06a.75.75 0 010-1.061zM16 8a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0116 8zM3 8a.75.75 0 01-.75.75H.75a.75.75 0 010-1.5h1.5A.75.75 0 013 8zm10.657-5.657a.75.75 0 010 1.061l-1.061 1.06a.75.75 0 11-1.06-1.06l1.06-1.06a.75.75 0 011.06 0zm-9.193 9.193a.75.75 0 010 1.06l-1.06 1.061a.75.75 0 11-1.061-1.06l1.06-1.061a.75.75 0 011.061 0z"})),sync:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8 2.5a5.487 5.487 0 00-4.131 1.869l1.204 1.204A.25.25 0 014.896 6H1.25A.25.25 0 011 5.75V2.104a.25.25 0 01.427-.177l1.38 1.38A7.001 7.001 0 0114.95 7.16a.75.75 0 11-1.49.178A5.501 5.501 0 008 2.5zM1.705 8.005a.75.75 0 01.834.656 5.501 5.501 0 009.592 2.97l-1.204-1.204a.25.25 0 01.177-.427h3.646a.25.25 0 01.25.25v3.646a.25.25 0 01-.427.177l-1.38-1.38A7.001 7.001 0 011.05 8.84a.75.75 0 01.656-.834z"})),tag:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M2.5 7.775V2.75a.25.25 0 01.25-.25h5.025a.25.25 0 01.177.073l6.25 6.25a.25.25 0 010 .354l-5.025 5.025a.25.25 0 01-.354 0l-6.25-6.25a.25.25 0 01-.073-.177zm-1.5 0V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 010 2.474l-5.026 5.026a1.75 1.75 0 01-2.474 0l-6.25-6.25A1.75 1.75 0 011 7.775zM6 5a1 1 0 100 2 1 1 0 000-2z"})),terminal:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0114.25 15H1.75A1.75 1.75 0 010 13.25V2.75zm1.75-.25a.25.25 0 00-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25V2.75a.25.25 0 00-.25-.25H1.75zM7.25 8a.75.75 0 01-.22.53l-2.25 2.25a.75.75 0 11-1.06-1.06L5.44 8 3.72 6.28a.75.75 0 111.06-1.06l2.25 2.25c.141.14.22.331.22.53zm1.5 1.5a.75.75 0 000 1.5h3a.75.75 0 000-1.5h-3z"})),three_bars:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M1 2.75A.75.75 0 011.75 2h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 2.75zm0 5A.75.75 0 011.75 7h12.5a.75.75 0 110 1.5H1.75A.75.75 0 011 7.75zM1.75 12a.75.75 0 100 1.5h12.5a.75.75 0 100-1.5H1.75z"})),trashcan:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M6.5 1.75a.25.25 0 01.25-.25h2.5a.25.25 0 01.25.25V3h-3V1.75zm4.5 0V3h2.25a.75.75 0 010 1.5H2.75a.75.75 0 010-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75zM4.496 6.675a.75.75 0 10-1.492.15l.66 6.6A1.75 1.75 0 005.405 15h5.19c.9 0 1.652-.681 1.741-1.576l.66-6.6a.75.75 0 00-1.492-.149l-.66 6.6a.25.25 0 01-.249.225h-5.19a.25.25 0 01-.249-.225l-.66-6.6z"})),unfold:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{d:"M8.177.677l2.896 2.896a.25.25 0 01-.177.427H8.75v1.25a.75.75 0 01-1.5 0V4H5.104a.25.25 0 01-.177-.427L7.823.677a.25.25 0 01.354 0zM7.25 10.75a.75.75 0 011.5 0V12h2.146a.25.25 0 01.177.427l-2.896 2.896a.25.25 0 01-.354 0l-2.896-2.896A.25.25 0 015.104 12H7.25v-1.25zm-5-2a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM6 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 016 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM12 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 0112 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5z"})),upload:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M8.53 1.22a.75.75 0 00-1.06 0L3.72 4.97a.75.75 0 001.06 1.06l2.47-2.47v6.69a.75.75 0 001.5 0V3.56l2.47 2.47a.75.75 0 101.06-1.06L8.53 1.22zM3.75 13a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5z"})),x:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),x_circle:T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},T("path",{"fill-rule":"evenodd",d:"M3.404 12.596a6.5 6.5 0 119.192-9.192 6.5 6.5 0 01-9.192 9.192zM2.344 2.343a8 8 0 1011.313 11.314A8 8 0 002.343 2.343zM6.03 4.97a.75.75 0 00-1.06 1.06L6.94 8 4.97 9.97a.75.75 0 101.06 1.06L8 9.06l1.97 1.97a.75.75 0 101.06-1.06L9.06 8l1.97-1.97a.75.75 0 10-1.06-1.06L8 6.94 6.03 4.97z"}))};function os({error:e,onDismiss:t}){const[n,i]=we(!1),[o,r]=we(void 0);ct(()=>{if(e instanceof Error){const s=e.stack.split(`
|
|
`).map(c=>c.replace(/^(\s+)at (?:async )?(https?:.*)/,"$1at ($2)"));r(s.join(`
|
|
`)),qE.exports.mapStackTrace(s.join(`
|
|
`),c=>{const l=c.map(_=>_.replace(/..\/..\/src\//,"src/")).join(`
|
|
`);r(l)})}},[e]);const a=bn(()=>{let s="https://github.com/misode/misode.github.io/issues/new";return e instanceof Error?(s+=`?title=${encodeURIComponent(`${e.name}: ${e.message}`)}`,o&&(s+=`&body=${encodeURIComponent(`\`\`\`
|
|
${e.name}: ${e.message}
|
|
${o}
|
|
\`\`\`
|
|
`)}`)):s+=`?title=${encodeURIComponent(e.toString())}`,s},[e,o]);return T("div",{class:"error"},t&&T("div",{class:"error-dismiss",onClick:t},At.x),T("h3",null,e instanceof Error?e.message:e,o&&T("span",{onClick:()=>i(!n)},At.info)),o&&n&&T("pre",null,o),T("p",null,"If you think this is a bug, you can report it ",T("a",{href:a,target:"_blank"},"on GitHub")))}function a1({label:e,value:t,onChange:n}){const i=Oa();return T("label",{class:"checkbox"},T("input",{id:i,type:"checkbox",checked:t,onClick:()=>n(!t)}),e)}function pf(e,t,n){const i=o=>{const r=o.onChange&&(s=>{var l;const c=s.target.value;(l=o.onChange)==null||l.call(o,n(c))}),a=o.onEnter&&(s=>{var c;if(s.key==="Enter"){const l=s.target.value;(c=o.onEnter)==null||c.call(o,n(l))}});return T("input",qe(H({},o),{type:t,onChange:r,onKeyDown:a}))};return i.displayName=e,i}const Da=pf("TextInput","text",e=>e),s1=pf("NumberInput","number",e=>Number(e)),Zh=pf("RangeInput","range",e=>Number(e));function Jh({values:e,onSelect:t,searchPlaceholder:n,noResults:i}){const[o,r]=we(""),a=bn(()=>{var c;const s=o.trim().split(" ");return(c=e==null?void 0:e.filter(l=>s.every(_=>l.includes(_))))!=null?c:[]},[e,o]);return T(vt,null,T(Oc,{icon:"search",large:!0,value:o,onChange:r,doSelect:1,placeholder:n!=null?n:"Search"}),T("div",{class:"result-list"},a.map(s=>T(tt,{key:s,label:s,onClick:()=>t==null?void 0:t(s)})),a.length===0&&T(tt,{label:i!=null?i:"No results"})))}const ff="https://raw.githubusercontent.com/misode/technical-changes/main";let vm=null;async function KE(){if(!vm){const e=await(await fetch(`${ff}/index.json`)).json();vm=(await Promise.all(e.map((t,n)=>l1(QE(t),n)))).flat().map(t=>qe(H({},t),{tags:[t.group.id,...t.tags]}))}return vm}async function l1(e,t){const n=await(await fetch(`${ff}/${e.id}/index.json`)).json();return(await Promise.all(n.map((i,o)=>c1(e,QE(i),t,o)))).flat()}async function c1(e,t,n,i){const o=await(await fetch(`${ff}/${e.id}/${t.id}.md`)).text();return d1(o).map(r=>H({version:t,group:e,order:n*1e3+i},r))}function d1(e){return e.split(`
|
|
|
|
`).map(t=>{const n=t.indexOf("|");return{tags:t.substring(0,n).trim().split(" "),content:t.slice(n+1).trim().replaceAll("->","\u2192").replaceAll(`
|
|
...
|
|
`,`
|
|
|
|
`)}})}function QE(e){return typeof e=="string"?{id:e,article:e.match(/\d\dw\d\d[a-z]/)?"minecraft-snapshot-"+e:e.match(/\d+\.\d+(\.\d+)?-pre[0-9]+/)?"minecraft-"+e.replaceAll(".","-").replaceAll("pre","pre-release-"):null}:Pa(e)?e:{id:"unknown",article:null}}["1.15","1.16","1.17"].forEach(e=>localStorage.removeItem(`cache_${e}`));["mcdata_master","vanilla_datapack_summary"].forEach(e=>localStorage.removeItem(`cached_${e}`));caches.delete("misode-v1");const as="misode-v2",eg="cached_latest_version",Sm="22w18a",Qs="https://raw.githubusercontent.com/misode/mcmeta";function Zo(e,t){return`${Qs}/${e.dynamic?t:`${e.ref}-${t}`}`}async function gd(e){e.dynamic&&(localStorage.getItem(eg)!==Sm&&(await b1(t=>t.startsWith(`${Qs}/summary/`)||t.startsWith(`${Qs}/data/`)||t.startsWith(`${Qs}/assets/`)||t.startsWith(`${Qs}/registries/`)),localStorage.setItem(eg,Sm)),e.ref=Sm)}async function u1(e,t,n){const i=Xt.versions.find(o=>o.id===e);if(!i){console.error(`[fetchData] Unknown version ${i} in ${JSON.stringify(Xt.versions)}`);return}await gd(i),await Promise.all([_1(i,t),m1(i,n)])}async function _1(e,t){console.debug(`[fetchRegistries] ${e.id}`);try{const n=await hs(`${Zo(e,"summary")}/registries/data.min.json`);for(const i in n)t.register(i,n[i].map(o=>"minecraft:"+o))}catch(n){console.warn("Error occurred while fetching registries:",or(n))}}async function m1(e,t){console.debug(`[fetchBlockStateMap] ${e.id}`);try{const n=await hs(`${Zo(e,"summary")}/blocks/data.min.json`);for(const i in n)t["minecraft:"+i]={properties:n[i][0],default:n[i][1]}}catch(n){console.warn("Error occurred while fetching block state map:",or(n))}}async function XE(e,t,n){console.debug(`[fetchPreset] ${e} ${t} ${n}`);const i=Xt.versions.find(o=>o.id===e);try{const o=["blockstates","models"].includes(t)?"assets":"data",r=`${Zo(i,o)}/${o}/minecraft/${t}/${n}.json`;return await(await fetch(r)).json()}catch(o){throw new Error(`Error occurred while fetching ${t} preset ${n}: ${or(o)}`)}}async function p1(e,t){console.debug(`[fetchAllPresets] ${e} ${t}`);const n=Xt.versions.find(i=>i.id===e);await gd(n);try{const i=await hs(`${Zo(n,"registries")}/${t}/data.min.json`);return new Map(await Promise.all(i.map(async o=>[o,await hs(`${Zo(n,"data")}/data/minecraft/${t}/${o}.json`)])))}catch(i){throw new Error(`Error occurred while fetching all ${t} presets: ${or(i)}`)}}async function f1(e){const t=Xt.versions.find(n=>n.id===e);await gd(t);try{const n=`${Zo(t,"summary")}/sounds/data.min.json`;return await hs(n)}catch(n){throw new Error(`Error occurred while fetching sounds for ${t}: ${or(n)}`)}}function h1(e,t){const n=Xt.versions.find(i=>i.id===e);return`${Zo(n,"assets")}/assets/minecraft/sounds/${t}.ogg`}async function g1(){const e=Xt.versions[Xt.versions.length-1];await gd(e);try{return hs(`${Zo(e,"summary")}/versions/data.min.json`)}catch(t){throw new Error(`Error occured while fetching versions: ${or(t)}`)}}async function hs(e,t=n=>n){try{const n=await caches.open(as);console.debug(`[getData] Opened cache ${as} ${e}`);const i=await n.match(e);if(i&&i.ok)return console.debug(`[getData] Retrieving cached data ${e}`),await i.json();console.debug(`[getData] fetching data ${e}`);const o=await fetch(e),r=t(await o.json());return await n.put(e,new Response(JSON.stringify(r))),r}catch(n){console.warn(`[getData] Failed to open cache ${as}: ${or(n)}`),console.debug(`[getData] fetching data ${e}`);const i=await fetch(e);return t(await i.json())}}async function b1(e){try{const t=await caches.open(as);console.debug(`[deleteMatching] Opened cache ${as}`);const n=[];for(const i of await t.keys())e(i.url)&&n.push(t.delete(i));console.debug(`[deleteMatching] Removing ${n.length} cache objects...`),await Promise.all(n)}catch(t){console.warn(`[deleteMatching] Failed to open cache ${as}: ${or(t)}`)}}var lo={},bd={};Object.defineProperty(bd,"__esModule",{value:!0});bd.initCollections=void 0;function E1(e){e.register("advancement_trigger",["minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_hurt_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:shot_crossbow","minecraft:safely_harvest_honey","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:summoned_entity","minecraft:tame_animal","minecraft:tick","minecraft:used_ender_eye","minecraft:used_totem","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("loot_pool_entry_type",["minecraft:empty","minecraft:item","minecraft:tag","minecraft:loot_table","minecraft:alternatives","minecraft:sequence","minecraft:group","minecraft:dynamic"]),e.register("loot_condition_type",["minecraft:alternative","minecraft:inverted","minecraft:reference","minecraft:entity_properties","minecraft:block_state_property","minecraft:match_tool","minecraft:damage_source_properties","minecraft:location_check","minecraft:weather_check","minecraft:time_check","minecraft:entity_scores","minecraft:random_chance","minecraft:random_chance_with_looting","minecraft:table_bonus","minecraft:killed_by_player","minecraft:survives_explosion"]),e.register("loot_function_type",["minecraft:set_count","minecraft:set_damage","minecraft:set_name","minecraft:set_lore","minecraft:set_nbt","minecraft:set_attributes","minecraft:set_contents","minecraft:enchant_randomly","minecraft:enchant_with_levels","minecraft:looting_enchant","minecraft:limit_count","minecraft:furnace_smelt","minecraft:explosion_decay","minecraft:fill_player_head","minecraft:copy_name","minecraft:copy_nbt","minecraft:copy_state","minecraft:apply_bonus","minecraft:exploration_map","minecraft:set_stew_effect"]),e.register("attribute",["generic.maxHealth","generic.followRange","generic.knockbackResistance","generic.movementSpeed","generic.attackDamage","generic.armor","generic.armorToughness","generic.attackSpeed","generic.luck","horse.jumpStrength","generic.attackKnockback","generic.flyingSpeed","zombie.spawnReinforcements"]),e.register("structure_feature",["pillager_outpost","mineshaft","mansion","jungle_pyramid","desert_pyramid","igloo","shipwreck","swamp_hut","stronghold","monument","ocean_ruin","fortress","endcity","buried_treasure","village"]),e.register("dimension",["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("entity_source",["this","direct_killer","killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("cat_texture",["textures/entity/cat/tabby.png","textures/entity/cat/black.png","textures/entity/cat/red.png","textures/entity/cat/siamese.png","textures/entity/cat/british_shorthair.png","textures/entity/cat/calico.png","textures/entity/cat/persian.png","textures/entity/cat/ragdoll.png","textures/entity/cat/white.png","textures/entity/cat/jellie.png","textures/entity/cat/all_black.png"])}bd.initCollections=E1;var Ed={},vd={},Rs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.Range=e.ConditionCases=void 0;const t=j;function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);i.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),i.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),i.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0})),{default:()=>[0,0,0]})),e.Range=s=>(0,t.ChoiceNode)([...s!=null&&s.forceRange?[]:[{type:"number",node:(0,t.NumberNode)(s),change:c=>{var l,_,d;return c===void 0?0:(d=(_=(l=c.min)!==null&&l!==void 0?l:c.max)!==null&&_!==void 0?_:c.n)!==null&&d!==void 0?d:0}}],{type:"object",priority:-1,node:(0,t.ObjectNode)({min:s!=null&&s.bounds?(0,t.NumberNode)(s):(0,t.Opt)((0,t.NumberNode)(s)),max:s!=null&&s.bounds?(0,t.NumberNode)(s):(0,t.Opt)((0,t.NumberNode)(s))},{context:"range"}),change:c=>({min:typeof c=="number"?c:c===void 0?1:c.n,max:typeof c=="number"?c:c===void 0?1:c.n})},...s!=null&&s.allowBinomial?[{type:"binomial",node:(0,t.ObjectNode)({type:r({enum:["minecraft:binomial"]}),n:(0,t.NumberNode)({integer:!0,min:0}),p:(0,t.NumberNode)({min:0,max:1})},{context:"range"}),match:c=>c!==void 0&&c.type==="minecraft:binomial",change:c=>{var l,_;return{type:"minecraft:binomial",n:typeof c=="number"?c:c===void 0?1:(_=(l=c.min)!==null&&l!==void 0?l:c.max)!==null&&_!==void 0?_:1,p:.5}}}]:[]],{choiceContext:"range"}),e.ConditionCases={"minecraft:alternative":{terms:(0,t.ListNode)(a("condition"))},"minecraft:block_state_property":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:a("damage_source_predicate")},"minecraft:entity_properties":{entity:r({enum:"entity_source"}),predicate:a("entity_predicate")},"minecraft:entity_scores":{entity:r({enum:"entity_source"}),scores:(0,t.MapNode)(r({validator:"objective"}),(0,e.Range)({forceRange:!0,bounds:!0}))},"minecraft:inverted":{term:a("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:a("location_predicate")},"minecraft:match_tool":{predicate:a("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:r({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:(0,e.Range)(),period:(0,t.Opt)((0,t.NumberNode)())},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}}}e.initCommonSchemas=n})(Rs);var hf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initPredicatesSchemas=e.LocationFields=void 0;const t=j,n=Rs;function i(o,r){const a=t.Reference.bind(void 0,o),s=t.StringNode.bind(void 0,r),c=(0,t.ChoiceNode)([{type:"string",node:s(),change:l=>typeof l=="boolean"||typeof l=="number"?l.toString():""},{type:"number",node:(0,t.NumberNode)(),change:l=>typeof l=="string"?parseInt(l):0},{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)((0,t.NumberNode)({integer:!0})),max:(0,t.Opt)((0,t.NumberNode)({integer:!0}))}),change:l=>typeof l=="number"?{min:l,max:l}:{}},{type:"boolean",node:(0,t.BooleanNode)(),change:l=>l==="true"||l===1}]);o.register("item_predicate",(0,t.ObjectNode)({item:(0,t.Opt)(s({validator:"resource",params:{pool:"item"}})),tag:(0,t.Opt)(s({validator:"resource",params:{pool:"$tag/item"}})),count:(0,t.Opt)((0,n.Range)()),durability:(0,t.Opt)((0,n.Range)()),potion:(0,t.Opt)(s({validator:"resource",params:{pool:"potion"}})),nbt:(0,t.Opt)(s({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,t.Opt)((0,t.ListNode)(a("enchantment_predicate")))},{context:"item"})),o.register("enchantment_predicate",(0,t.ObjectNode)({enchantment:(0,t.Opt)(s({validator:"resource",params:{pool:"enchantment"}})),levels:(0,t.Opt)((0,n.Range)())},{context:"enchantment"})),o.register("block_predicate",(0,t.ObjectNode)({block:(0,t.Opt)(s({validator:"resource",params:{pool:"block"}})),tag:(0,t.Opt)(s({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,t.Opt)(s({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,t.Opt)((0,t.MapNode)(s(),c,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),o.register("fluid_predicate",(0,t.ObjectNode)({fluid:(0,t.Opt)(s({validator:"resource",params:{pool:"fluid"}})),tag:(0,t.Opt)(s({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,t.Opt)((0,t.MapNode)(s(),c))},{context:"fluid"})),e.LocationFields={position:(0,t.Opt)((0,t.ObjectNode)({x:(0,t.Opt)((0,n.Range)()),y:(0,t.Opt)((0,n.Range)()),z:(0,t.Opt)((0,n.Range)())})),biome:(0,t.Opt)(s({enum:"biome"})),feature:(0,t.Opt)(s({enum:"structure_feature"})),dimension:(0,t.Opt)(s({enum:"dimension"})),light:(0,t.Opt)((0,t.ObjectNode)({light:(0,t.Opt)((0,n.Range)({integer:!0,min:0,max:15}))})),block:(0,t.Opt)(a("block_predicate")),fluid:(0,t.Opt)(a("fluid_predicate"))},o.register("location_predicate",(0,t.ObjectNode)(e.LocationFields,{context:"location"})),o.register("statistic_predicate",(0,t.ObjectNode)({type:s({validator:"resource",params:{pool:"stat_type"}}),stat:s(),value:(0,n.Range)(),[t.Switch]:[{push:"type"}],[t.Case]:{"minecraft:mined":{stat:s({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:s({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:s({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:s({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:s({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:s({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:s({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:s({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:s({validator:"resource",params:{pool:"custom_stat"}})}}})),o.register("player_predicate",(0,t.ObjectNode)({gamemode:(0,t.Opt)(s({enum:"gamemode"})),level:(0,t.Opt)((0,n.Range)()),advancements:(0,t.Opt)((0,t.MapNode)(s({validator:"resource",params:{pool:"$advancement"}}),(0,t.ChoiceNode)([{type:"boolean",node:(0,t.BooleanNode)(),change:l=>!0},{type:"object",node:(0,t.MapNode)(s(),(0,t.BooleanNode)())}]))),recipes:(0,t.Opt)((0,t.MapNode)(s({validator:"resource",params:{pool:"$recipe"}}),(0,t.BooleanNode)())),stats:(0,t.Opt)((0,t.ListNode)(a("statistic_predicate")))},{context:"player"})),o.register("status_effect_predicate",(0,t.ObjectNode)({amplifier:(0,t.Opt)((0,n.Range)()),duration:(0,t.Opt)((0,n.Range)()),ambient:(0,t.Opt)((0,t.BooleanNode)()),visible:(0,t.Opt)((0,t.BooleanNode)())},{context:"status_effect"})),o.register("distance_predicate",(0,t.ObjectNode)({x:(0,t.Opt)((0,n.Range)()),y:(0,t.Opt)((0,n.Range)()),z:(0,t.Opt)((0,n.Range)()),absolute:(0,t.Opt)((0,n.Range)()),horizontal:(0,t.Opt)((0,n.Range)())},{context:"distance"})),o.register("entity_predicate",(0,t.ObjectNode)({type:(0,t.Opt)(s({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),nbt:(0,t.Opt)(s({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,t.Opt)(s({validator:"team"})),location:(0,t.Opt)(a("location_predicate")),distance:(0,t.Opt)(a("distance_predicate")),flags:(0,t.Opt)((0,t.ObjectNode)({is_on_fire:(0,t.Opt)((0,t.BooleanNode)()),is_sneaking:(0,t.Opt)((0,t.BooleanNode)()),is_sprinting:(0,t.Opt)((0,t.BooleanNode)()),is_swimming:(0,t.Opt)((0,t.BooleanNode)()),is_baby:(0,t.Opt)((0,t.BooleanNode)())})),equipment:(0,t.Opt)((0,t.MapNode)(s({enum:"slot"}),a("item_predicate"))),player:(0,t.Opt)(a("player_predicate")),catType:(0,t.Opt)(s({enum:"cat_texture"})),effects:(0,t.Opt)((0,t.MapNode)(s({validator:"resource",params:{pool:"mob_effect"}}),a("status_effect_predicate")))},{context:"entity"})),o.register("damage_source_predicate",(0,t.ObjectNode)({is_explosion:(0,t.Opt)((0,t.BooleanNode)()),is_fire:(0,t.Opt)((0,t.BooleanNode)()),is_magic:(0,t.Opt)((0,t.BooleanNode)()),is_projectile:(0,t.Opt)((0,t.BooleanNode)()),is_lightning:(0,t.Opt)((0,t.BooleanNode)()),bypasses_armor:(0,t.Opt)((0,t.BooleanNode)()),bypasses_invulnerability:(0,t.Opt)((0,t.BooleanNode)()),bypasses_magic:(0,t.Opt)((0,t.BooleanNode)()),source_entity:(0,t.Opt)(a("entity_predicate")),direct_entity:(0,t.Opt)(a("entity_predicate"))},{context:"damage_source"})),o.register("damage_predicate",(0,t.ObjectNode)({dealt:(0,t.Opt)((0,n.Range)()),taken:(0,t.Opt)((0,n.Range)()),blocked:(0,t.Opt)((0,t.BooleanNode)()),source_entity:(0,t.Opt)(a("entity_predicate")),type:(0,t.Opt)(a("damage_source_predicate"))},{context:"damage"}))}e.initPredicatesSchemas=i})(hf);Object.defineProperty(vd,"__esModule",{value:!0});vd.initAdvancementSchemas=void 0;const fe=j,Zi=Rs,ec=hf;function v1(e,t){const n=fe.Reference.bind(void 0,e),i=fe.StringNode.bind(void 0,t);e.register("advancement",(0,fe.Mod)((0,fe.ObjectNode)({display:(0,fe.Opt)((0,fe.Mod)((0,fe.ObjectNode)({icon:(0,fe.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,fe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,fe.Opt)(i()),frame:(0,fe.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,fe.Opt)((0,fe.BooleanNode)()),announce_to_chat:(0,fe.Opt)((0,fe.BooleanNode)()),hidden:(0,fe.Opt)((0,fe.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,fe.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,fe.MapNode)(i(),n("advancement_criteria")),requirements:(0,fe.Opt)((0,fe.ListNode)((0,fe.ListNode)(i()))),rewards:(0,fe.Opt)((0,fe.ObjectNode)({function:(0,fe.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,fe.Opt)((0,fe.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,fe.Opt)((0,fe.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,fe.Opt)((0,fe.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,fe.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,fe.Opt)((0,fe.ObjectNode)({[fe.Switch]:["pop",{push:"trigger"}],[fe.Case]:{"minecraft:bee_nest_destroyed":{block:(0,fe.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,fe.Opt)((0,fe.NumberNode)({integer:!0})),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:(0,fe.Opt)(n("entity_predicate")),partner:(0,fe.Opt)(n("entity_predicate")),child:(0,fe.Opt)(n("entity_predicate"))},"minecraft:brewed_potion":{potion:(0,fe.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,fe.Opt)(i({enum:"dimension"})),to:(0,fe.Opt)(i({enum:"dimension"}))},"minecraft:channeled_lightning":{victims:(0,fe.Opt)((0,fe.ListNode)((0,fe.Opt)(n("entity_predicate"))))},"minecraft:construct_beacon":{level:(0,fe.Opt)((0,Zi.Range)())},"minecraft:consume_item":{item:(0,fe.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:(0,fe.Opt)(n("entity_predicate")),zombie:(0,fe.Opt)(n("entity_predicate"))},"minecraft:effects_changed":{effects:(0,fe.Opt)((0,fe.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},"minecraft:enter_block":{block:(0,fe.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,fe.Opt)((0,fe.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:(0,fe.Opt)((0,Zi.Range)()),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,fe.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:(0,fe.Opt)(n("entity_predicate")),killing_blow:(0,fe.Opt)(n("damage_source_predicate"))},"minecraft:filled_bucket":{item:(0,fe.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:(0,fe.Opt)(n("entity_predicate")),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:hero_of_the_village":ec.LocationFields,"minecraft:inventory_changed":{slots:(0,fe.Opt)((0,fe.ObjectNode)({empty:(0,fe.Opt)((0,Zi.Range)()),occupied:(0,fe.Opt)((0,Zi.Range)()),full:(0,fe.Opt)((0,Zi.Range)())})),items:(0,fe.Opt)((0,fe.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:(0,fe.Opt)((0,Zi.Range)()),durability:(0,fe.Opt)((0,Zi.Range)()),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:(0,fe.Opt)((0,Zi.Range)()),victims:(0,fe.Opt)((0,fe.ListNode)((0,fe.Opt)(n("entity_predicate"))))},"minecraft:levitation":{distance:(0,fe.Opt)((0,Zi.Range)()),duration:(0,fe.Opt)((0,Zi.Range)())},"minecraft:location":ec.LocationFields,"minecraft:nether_travel":{distance:(0,fe.Opt)((0,Zi.Range)()),entered:(0,fe.Opt)(n("location_predicate")),exited:(0,fe.Opt)(n("location_predicate"))},"minecraft:placed_block":{block:(0,fe.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,fe.Opt)((0,fe.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,fe.Opt)(n("item_predicate")),location:(0,fe.Opt)(n("location_predicate"))},"minecraft:player_hurt_entity":{damage:(0,fe.Opt)(n("damage_predicate")),entity:(0,fe.Opt)(n("entity_predicate"))},"minecraft:player_killed_entity":{entity:(0,fe.Opt)(n("entity_predicate")),killing_blow:(0,fe.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:safely_harvest_honey":{block:(0,fe.Opt)((0,fe.ObjectNode)({block:(0,fe.Opt)(i({validator:"resource",params:{pool:"block"}})),tag:(0,fe.Opt)(i({validator:"resource",params:{pool:"$tag/block"}}))})),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:slept_in_bed":ec.LocationFields,"minecraft:slide_down_block":{block:(0,fe.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,fe.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:(0,fe.Opt)(n("entity_predicate"))},"minecraft:tame_animal":{entity:(0,fe.Opt)(n("entity_predicate"))},"minecraft:used_ender_eye":{distance:(0,fe.Opt)((0,Zi.Range)())},"minecraft:used_totem":{item:(0,fe.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:(0,fe.Opt)(n("entity_predicate")),item:(0,fe.Opt)(n("item_predicate"))},"minecraft:voluntary_exile":ec.LocationFields}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}vd.initAdvancementSchemas=v1;var Sd={},yd={};Object.defineProperty(yd,"__esModule",{value:!0});yd.initModelSchemas=void 0;const wt=j;function S1(e,t){wt.Reference.bind(void 0,e);const n=wt.StringNode.bind(void 0,t),i=(r,a,s)=>(0,wt.ListNode)((0,wt.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,wt.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,wt.Mod)((0,wt.ObjectNode)({parent:(0,wt.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,wt.Opt)((0,wt.BooleanNode)()),gui_light:(0,wt.Opt)(n({enum:"gui_light"})),textures:(0,wt.Opt)((0,wt.MapNode)(n(),o)),elements:(0,wt.Opt)((0,wt.ListNode)((0,wt.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,wt.Opt)((0,wt.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,wt.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,wt.Opt)((0,wt.BooleanNode)())})),shade:(0,wt.Opt)((0,wt.BooleanNode)()),faces:(0,wt.MapNode)(n({enum:"direction"}),(0,wt.ObjectNode)({texture:o,uv:(0,wt.Opt)(i(4)),cullface:(0,wt.Opt)(n({enum:"direction"})),rotation:(0,wt.Opt)((0,wt.NumberNode)({integer:!0})),tintindex:(0,wt.Opt)((0,wt.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,wt.Opt)((0,wt.MapNode)(n({enum:"display_position"}),(0,wt.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,wt.Opt)((0,wt.ListNode)((0,wt.ObjectNode)({predicate:(0,wt.MapNode)(n({enum:"item_model_predicates"}),(0,wt.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}yd.initModelSchemas=S1;var Nd={};Object.defineProperty(Nd,"__esModule",{value:!0});Nd.initBlockDefinitionSchemas=void 0;const dn=j;function y1(e,t){const n=dn.Reference.bind(void 0,e),i=dn.StringNode.bind(void 0,t);e.register("block_definition",(0,dn.Mod)((0,dn.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,dn.ObjectNode)({variants:(0,dn.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,dn.ObjectNode)({multipart:(0,dn.ListNode)((0,dn.ObjectNode)({when:(0,dn.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,dn.Opt)((0,dn.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,dn.Opt)((0,dn.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,dn.Opt)((0,dn.BooleanNode)())};e.register("model_variant",(0,dn.ChoiceNode)([{type:"object",node:(0,dn.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,dn.ListNode)((0,dn.ObjectNode)(qe(H({},o),{weight:(0,dn.Opt)((0,dn.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,dn.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,dn.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,dn.ObjectNode)({OR:(0,dn.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}Nd.initBlockDefinitionSchemas=y1;Object.defineProperty(Sd,"__esModule",{value:!0});Sd.initAssetsSchemas=void 0;const N1=yd,C1=Nd;function A1(e,t){(0,C1.initBlockDefinitionSchemas)(e,t),(0,N1.initModelSchemas)(e,t)}Sd.initAssetsSchemas=A1;var Cd={};Object.defineProperty(Cd,"__esModule",{value:!0});Cd.initConditionSchemas=void 0;const aa=j,O1=Rs;function T1(e,t){const n=aa.Reference.bind(void 0,e),i=aa.StringNode.bind(void 0,t);e.register("predicate",(0,aa.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,aa.Mod)((0,aa.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[aa.Switch]:[{push:"condition"}],[aa.Case]:O1.ConditionCases},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}Cd.initConditionSchemas=T1;var Ad={},Yi={};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.LootFunctions=Yi.LootConditions=Yi.LootCopySources=Yi.LootEntitySources=Yi.LootTableTypes=void 0;Yi.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);Yi.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Yi.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Yi.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);Yi.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty(Ad,"__esModule",{value:!0});Ad.initLootTableSchemas=void 0;const Ae=j,Fs=Yi,cr=Rs;function w1(e,t){const n=Ae.Reference.bind(void 0,e),i=Ae.StringNode.bind(void 0,t),o={conditions:(0,Ae.Opt)((0,Ae.ListNode)(n("loot_condition")))},r=H({functions:(0,Ae.Opt)((0,Ae.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of Fs.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new Ae.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,Ae.SwitchNode)(p)}const s=a(Fs.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(Fs.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(Fs.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(Fs.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,Ae.Mod)((0,Ae.ObjectNode)({type:(0,Ae.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,Ae.Opt)((0,Ae.ListNode)((0,Ae.Mod)((0,Ae.ObjectNode)(H({rolls:(0,cr.Range)({allowBinomial:!0,integer:!0}),bonus_rolls:(0,Ae.Opt)((0,cr.Range)({integer:!0})),entries:(0,Ae.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,Ae.Opt)((0,Ae.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,Ae.Mod)((0,Ae.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,Ae.Opt)((0,Ae.Mod)((0,Ae.NumberNode)({integer:!0,min:1}),d)),quality:(0,Ae.Opt)((0,Ae.Mod)((0,Ae.NumberNode)({integer:!0}),d)),[Ae.Switch]:[{push:"type"}],[Ae.Case]:{"minecraft:alternatives":H({children:(0,Ae.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,Ae.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,Ae.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,Ae.Opt)((0,Ae.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,Ae.Mod)((0,Ae.ObjectNode)({function:c,[Ae.Switch]:[{push:"function"}],[Ae.Case]:(()=>{const u={"minecraft:apply_bonus":{enchantment:i({validator:"resource",params:{pool:"enchantment"}}),formula:i({validator:"resource",params:{pool:t.get("loot_table_apply_bonus_formula")}}),parameters:(0,Ae.Mod)((0,Ae.ObjectNode)({bonusMultiplier:(0,Ae.Mod)((0,Ae.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,Ae.Mod)((0,Ae.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,Ae.Mod)((0,Ae.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:f=>f.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:_},"minecraft:copy_nbt":{source:_,ops:(0,Ae.ListNode)((0,Ae.ObjectNode)({source:i({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:i({validator:"nbt_path",params:{category:"minecraft:item"}}),op:i({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:i({validator:"resource",params:{pool:"block"}}),properties:(0,Ae.ListNode)(i({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,Ae.Opt)((0,Ae.ListNode)(i({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:(0,cr.Range)({allowBinomial:!0}),treasure:(0,Ae.Opt)((0,Ae.BooleanNode)())},"minecraft:exploration_map":{destination:(0,Ae.Opt)(i({enum:"structure_feature"})),decoration:(0,Ae.Opt)(i({enum:"map_decoration"})),zoom:(0,Ae.Opt)((0,Ae.NumberNode)({integer:!0})),search_radius:(0,Ae.Opt)((0,Ae.NumberNode)({integer:!0})),skip_existing_chunks:(0,Ae.Opt)((0,Ae.BooleanNode)())},"minecraft:fill_player_head":{entity:l},"minecraft:limit_count":{limit:(0,cr.Range)({bounds:!0})},"minecraft:looting_enchant":{count:(0,cr.Range)({bounds:!0}),limit:(0,Ae.Opt)((0,Ae.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,Ae.ListNode)(n("attribute_modifier"))},"minecraft:set_contents":{entries:(0,Ae.ListNode)(n("loot_entry"))},"minecraft:set_count":{count:(0,cr.Range)({allowBinomial:!0})},"minecraft:set_damage":{damage:(0,cr.Range)({forceRange:!0})},"minecraft:set_loot_table":{name:i({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,Ae.Opt)((0,Ae.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,Ae.Opt)(l),lore:(0,Ae.ListNode)(n("text_component")),replace:(0,Ae.Opt)((0,Ae.BooleanNode)())},"minecraft:set_name":{entity:(0,Ae.Opt)(l),name:(0,Ae.Opt)(n("text_component"))},"minecraft:set_nbt":{tag:i({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_stew_effect":{effects:(0,Ae.Opt)((0,Ae.ListNode)((0,Ae.ObjectNode)({type:i({validator:"resource",params:{pool:"mob_effect"}}),duration:(0,cr.Range)()})))}},m={};return t.get("loot_function_type").forEach(f=>{m[f]=H(H({},u[f]),o)}),m})()},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,Ae.Mod)((0,Ae.ObjectNode)({condition:s,[Ae.Switch]:[{push:"condition"}],[Ae.Case]:qe(H({},cr.ConditionCases),{"minecraft:entity_properties":{entity:l,predicate:n("entity_predicate")},"minecraft:entity_scores":{entity:l,scores:(0,Ae.MapNode)(i({validator:"objective"}),(0,cr.Range)({bounds:!0}))}})},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,Ae.Mod)((0,Ae.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:(0,cr.Range)({bounds:!0}),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,Ae.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}Ad.initLootTableSchemas=w1;var Od={};Object.defineProperty(Od,"__esModule",{value:!0});Od.initPackMcmetaSchemas=void 0;const sa=j;function R1(e,t){e.register("pack_mcmeta",(0,sa.Mod)((0,sa.ObjectNode)({pack:(0,sa.Mod)((0,sa.ObjectNode)({pack_format:(0,sa.Mod)((0,sa.NumberNode)({integer:!0,min:5,max:5}),{default:()=>5}),description:(0,sa.Reference)(e,"text_component")}),{default:()=>({pack_format:5,description:""})})}),{default:()=>({pack:{pack_format:5,description:""}})}))}Od.initPackMcmetaSchemas=R1;var Td={};Object.defineProperty(Td,"__esModule",{value:!0});Td.initRecipeSchemas=void 0;const it=j;function x1(e,t){const n=it.Reference.bind(void 0,e),i=it.StringNode.bind(void 0,t);e.register("recipe",(0,it.Mod)((0,it.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[it.Switch]:[{push:"type"}],[it.Case]:{"minecraft:crafting_shaped":{group:(0,it.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,it.ListNode)(i()),key:(0,it.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,it.Opt)(i()),ingredients:(0,it.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,it.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,it.Opt)((0,it.NumberNode)()),cookingtime:(0,it.Opt)((0,it.Mod)((0,it.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,it.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,it.Opt)((0,it.NumberNode)()),cookingtime:(0,it.Opt)((0,it.Mod)((0,it.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,it.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,it.Opt)((0,it.NumberNode)()),cookingtime:(0,it.Opt)((0,it.Mod)((0,it.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,it.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,it.Opt)((0,it.NumberNode)()),cookingtime:(0,it.Opt)((0,it.Mod)((0,it.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,it.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,it.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,it.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,it.Mod)((0,it.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,it.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,it.Mod)((0,it.ObjectNode)({item:(0,it.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,it.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,it.Mod)((0,it.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,it.Opt)((0,it.Mod)((0,it.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}Td.initRecipeSchemas=x1;var wd={};Object.defineProperty(wd,"__esModule",{value:!0});wd.initTagsSchemas=void 0;const $r=j;function D1(e,t){const n=$r.StringNode.bind(void 0,t),i=o=>(0,$r.Mod)((0,$r.ObjectNode)({replace:(0,$r.Opt)((0,$r.BooleanNode)()),values:(0,$r.ListNode)((0,$r.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,$r.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,$r.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("item_tag",i("item"))}wd.initTagsSchemas=D1;var Rd={};Object.defineProperty(Rd,"__esModule",{value:!0});Rd.initTextComponentSchemas=void 0;const Je=j;function I1(e,t){const n=Je.Reference.bind(void 0,e),i=Je.StringNode.bind(void 0,t),o=a=>{var s;return a instanceof Array?o(a[0]):(s=a==null?void 0:a.text)!==null&&s!==void 0?s:typeof a=="object"?"":a==null?void 0:a.toString()};e.register("text_component",(0,Je.Mod)((0,Je.ChoiceNode)([{type:"object",node:n("text_component_object"),change:a=>a instanceof Array?typeof a[0]=="object"?a[0]:{text:o(a[0])}:typeof a=="object"?a:{text:o(a)}},{type:"list",node:n("text_component_list"),change:a=>[a]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,Je.NumberNode)(),change:a=>{const s=parseFloat(o(a));return isFinite(s)?s:a?1:0}},{type:"boolean",node:(0,Je.BooleanNode)(),change:a=>{const s=o(a);return s==="true"||s==="false"?s==="true":!!s}}],{context:"text_component"}),{default:()=>({text:""})}));const r={bold:(0,Je.Opt)((0,Je.BooleanNode)()),italic:(0,Je.Opt)((0,Je.BooleanNode)()),underlined:(0,Je.Opt)((0,Je.BooleanNode)()),strikethrough:(0,Je.Opt)((0,Je.BooleanNode)()),obfuscated:(0,Je.Opt)((0,Je.BooleanNode)()),insertion:(0,Je.Opt)(i()),clickEvent:(0,Je.Opt)((0,Je.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[Je.Switch]:[{push:"action"}],[Je.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,Je.Opt)((0,Je.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[Je.Switch]:[{push:"action"}],[Je.Case]:{show_text:{value:(0,Je.Opt)(n("text_component"))},show_item:{value:(0,Je.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}}))},show_entity:{value:(0,Je.Opt)((0,Je.ObjectNode)({name:(0,Je.Opt)(i()),type:(0,Je.Opt)(i()),id:(0,Je.Opt)(i())}))}}})),extra:(0,Je.Opt)(n("text_component_list"))};e.register("text_component_object",(0,Je.Mod)((0,Je.ChoiceNode)([{type:"text",match:a=>typeof a=="object",change:a=>({text:""}),priority:-1,node:(0,Je.ObjectNode)(H({text:i()},r))},{type:"translation",match:a=>(a==null?void 0:a.translate)!==void 0,change:a=>({translate:""}),node:(0,Je.ObjectNode)(H({translate:i(),with:(0,Je.Opt)(n("text_component_list"))},r))},{type:"score",match:a=>(a==null?void 0:a.score)!==void 0,change:a=>({score:{}}),node:(0,Je.ObjectNode)(H({score:(0,Je.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,Je.Opt)(i())})},r))},{type:"selector",match:a=>(a==null?void 0:a.selector)!==void 0,change:a=>({selector:""}),node:(0,Je.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}})},r))},{type:"keybind",match:a=>(a==null?void 0:a.keybind)!==void 0,change:a=>({keybind:""}),node:(0,Je.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},r))},{type:"nbt",match:a=>(a==null?void 0:a.nbt)!==void 0,change:a=>({nbt:""}),node:(0,Je.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,Je.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,Je.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,Je.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,Je.Opt)((0,Je.BooleanNode)())},r))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,Je.Mod)((0,Je.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}Rd.initTextComponentSchemas=I1;Object.defineProperty(Ed,"__esModule",{value:!0});Ed.initSchemas=void 0;const k1=vd,M1=Sd,L1=Rs,F1=Cd,P1=Ad,B1=Od,$1=hf,U1=Td,G1=wd,z1=Rd;function Y1(e,t){(0,L1.initCommonSchemas)(e,t),(0,$1.initPredicatesSchemas)(e,t),(0,k1.initAdvancementSchemas)(e,t),(0,M1.initAssetsSchemas)(e,t),(0,F1.initConditionSchemas)(e,t),(0,P1.initLootTableSchemas)(e,t),(0,B1.initPackMcmetaSchemas)(e,t),(0,U1.initRecipeSchemas)(e,t),(0,G1.initTagsSchemas)(e,t),(0,z1.initTextComponentSchemas)(e,t)}Ed.initSchemas=Y1;var H1=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),V1=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),W1=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&H1(t,e,n);return V1(t,e),t};Object.defineProperty(lo,"__esModule",{value:!0});var ZE=lo.getSchemas=tv=lo.getCollections=ev=lo.lootContext=void 0;const JE=j,j1=bd,q1=Ed;var ev=lo.lootContext=W1(Yi);function K1(){const e=new JE.CollectionRegistry;return(0,j1.initCollections)(e),e}var tv=lo.getCollections=K1;function Q1(e){const t=new JE.SchemaRegistry;return(0,q1.initSchemas)(t,e),t}ZE=lo.getSchemas=Q1;var X1=Ns({__proto__:null,get getSchemas(){return ZE},get getCollections(){return tv},get lootContext(){return ev},default:lo},[lo]),co={},xd={};Object.defineProperty(xd,"__esModule",{value:!0});xd.initCollections=void 0;function Z1(e){e.register("advancement_trigger",["minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:item_used_on_block","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_generates_container_loot","minecraft:player_hurt_entity","minecraft:player_interacted_with_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:shot_crossbow","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:summoned_entity","minecraft:tame_animal","minecraft:target_hit","minecraft:tick","minecraft:thrown_item_picked_up_by_entity","minecraft:used_ender_eye","minecraft:used_totem","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("dimension",["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]),e.register("dimension_type",["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("worldgen/noise_settings",["minecraft:overworld","minecraft:nether","minecraft:end","minecraft:amplified","minecraft:caves","minecraft:floating_islands"]),e.register("entity_source",["this","direct_killer","killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("map_feature",["bastion_remnant","buried_treasure","desert_pyramid","endcity","fortress","igloo","jungle_pyramid","mansion","mineshaft","monument","nether_fossil","ocean_ruin","pillager_outpost","ruined_portal","shipwreck","stronghold","swamp_hut","village"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("worldgen/configured_feature",["minecraft:acacia","minecraft:bamboo_light","minecraft:bamboo_vegetation","minecraft:bamboo","minecraft:basalt_blobs","minecraft:basalt_pillar","minecraft:birch_bees_0002","minecraft:birch_bees_002","minecraft:birch_bees_005","minecraft:birch_other","minecraft:birch_tall","minecraft:birch","minecraft:blackstone_blobs","minecraft:blue_ice","minecraft:bonus_chest","minecraft:brown_mushroom_giant","minecraft:brown_mushroom_nether","minecraft:brown_mushroom_normal","minecraft:brown_mushroom_swamp","minecraft:brown_mushroom_taiga","minecraft:chorus_plant","minecraft:crimson_forest_vegetation","minecraft:crimson_fungi_planted","minecraft:crimson_fungi","minecraft:dark_forest_vegetation_brown","minecraft:dark_forest_vegetation_red","minecraft:dark_oak","minecraft:delta","minecraft:desert_well","minecraft:disk_clay","minecraft:disk_gravel","minecraft:disk_sand","minecraft:end_gateway_delayed","minecraft:end_gateway","minecraft:end_island_decorated","minecraft:end_island","minecraft:end_spike","minecraft:fancy_oak_bees_0002","minecraft:fancy_oak_bees_002","minecraft:fancy_oak_bees_005","minecraft:fancy_oak","minecraft:flower_default","minecraft:flower_forest","minecraft:flower_plain_decorated","minecraft:flower_plain","minecraft:flower_swamp","minecraft:flower_warm","minecraft:forest_flower_trees","minecraft:forest_flower_vegetation_common","minecraft:forest_flower_vegetation","minecraft:forest_rock","minecraft:fossil","minecraft:freeze_top_layer","minecraft:glowstone_extra","minecraft:glowstone","minecraft:huge_brown_mushroom","minecraft:huge_red_mushroom","minecraft:ice_patch","minecraft:ice_spike","minecraft:iceberg_blue","minecraft:iceberg_packed","minecraft:jungle_bush","minecraft:jungle_tree_no_vine","minecraft:jungle_tree","minecraft:kelp_cold","minecraft:kelp_warm","minecraft:lake_lava","minecraft:lake_water","minecraft:large_basalt_columns","minecraft:mega_jungle_tree","minecraft:mega_pine","minecraft:mega_spruce","minecraft:monster_room","minecraft:mushroom_field_vegetation","minecraft:nether_sprouts","minecraft:oak_badlands","minecraft:oak_bees_0002","minecraft:oak_bees_002","minecraft:oak_bees_005","minecraft:oak","minecraft:ore_andesite","minecraft:ore_blackstone","minecraft:ore_coal","minecraft:ore_debris_large","minecraft:ore_debris_small","minecraft:ore_diamond","minecraft:ore_diorite","minecraft:ore_dirt","minecraft:ore_emerald","minecraft:ore_gold_deltas","minecraft:ore_gold_extra","minecraft:ore_gold_nether","minecraft:ore_gold","minecraft:ore_granite","minecraft:ore_gravel_nether","minecraft:ore_gravel","minecraft:ore_infested","minecraft:ore_iron","minecraft:ore_lapis","minecraft:ore_magma","minecraft:ore_quartz_deltas","minecraft:ore_quartz_nether","minecraft:ore_redstone","minecraft:ore_soul_sand","minecraft:patch_berry_bush","minecraft:patch_berry_decorated","minecraft:patch_berry_sparse","minecraft:patch_brown_mushroom","minecraft:patch_cactus_decorated","minecraft:patch_cactus_desert","minecraft:patch_cactus","minecraft:patch_crimson_roots","minecraft:patch_dead_bush_2","minecraft:patch_dead_bush_badlands","minecraft:patch_dead_bush","minecraft:patch_fire","minecraft:patch_grass_badlands","minecraft:patch_grass_forest","minecraft:patch_grass_jungle","minecraft:patch_grass_normal","minecraft:patch_grass_plain","minecraft:patch_grass_savanna","minecraft:patch_grass_taiga_2","minecraft:patch_grass_taiga","minecraft:patch_large_fern","minecraft:patch_melon","minecraft:patch_pumpkin","minecraft:patch_red_mushroom","minecraft:patch_soul_fire","minecraft:patch_sugar_cane_badlands","minecraft:patch_sugar_cane_desert","minecraft:patch_sugar_cane_swamp","minecraft:patch_sugar_cane","minecraft:patch_sunflower","minecraft:patch_taiga_grass","minecraft:patch_tall_grass_2","minecraft:patch_tall_grass","minecraft:patch_waterlilly","minecraft:pile_hay","minecraft:pile_ice","minecraft:pile_melon","minecraft:pile_pumpkin","minecraft:pile_snow","minecraft:pine","minecraft:plain_vegetation","minecraft:red_mushroom_giant","minecraft:red_mushroom_nether","minecraft:red_mushroom_normal","minecraft:red_mushroom_swamp","minecraft:red_mushroom_taiga","minecraft:sea_pickle","minecraft:seagrass_cold","minecraft:seagrass_deep_cold","minecraft:seagrass_deep_warm","minecraft:seagrass_deep","minecraft:seagrass_normal","minecraft:seagrass_river","minecraft:seagrass_simple","minecraft:seagrass_swamp","minecraft:seagrass_warm","minecraft:small_basalt_columns","minecraft:spring_closed_double","minecraft:spring_closed","minecraft:spring_delta","minecraft:spring_lava_double","minecraft:spring_lava","minecraft:spring_open","minecraft:spring_water","minecraft:spruce_snowy","minecraft:spruce","minecraft:super_birch_bees_0002","minecraft:swamp_tree","minecraft:taiga_vegetation","minecraft:trees_birch","minecraft:trees_giant_spruce","minecraft:trees_giant","minecraft:trees_jungle_edge","minecraft:trees_jungle","minecraft:trees_mountain_edge","minecraft:trees_mountain","minecraft:trees_savanna","minecraft:trees_shattered_savanna","minecraft:trees_water","minecraft:twisting_vines","minecraft:vines","minecraft:void_start_platform","minecraft:warm_ocean_vegetation","minecraft:warped_forest_vegetation","minecraft:warped_fungi_planted","minecraft:warped_fungi","minecraft:weeping_vines"]),e.register("worldgen/configured_structure_feature",["minecraft:bastion_remnant","minecraft:buried_treasure","minecraft:desert_pyramid","minecraft:end_city","minecraft:fortress","minecraft:igloo","minecraft:jungle_pyramid","minecraft:mansion","minecraft:mineshaft_mesa","minecraft:mineshaft","minecraft:monument","minecraft:nether_fossil","minecraft:ocean_ruin_cold","minecraft:ocean_ruin_warm","minecraft:pillager_outpost","minecraft:ruined_portal_desert","minecraft:ruined_portal_jungle","minecraft:ruined_portal_mountain","minecraft:ruined_portal_nether","minecraft:ruined_portal_ocean","minecraft:ruined_portal_swamp","minecraft:ruined_portal","minecraft:shipwreck_beached","minecraft:shipwreck","minecraft:stronghold","minecraft:swamp_hut","minecraft:village_desert","minecraft:village_plains","minecraft:village_savanna","minecraft:village_snowy","minecraft:village_taiga"]),e.register("worldgen/configured_surface_builder",["minecraft:badlands","minecraft:basalt_deltas","minecraft:crimson_forest","minecraft:desert","minecraft:end","minecraft:eroded_badlands","minecraft:frozen_ocean","minecraft:full_sand","minecraft:giant_tree_taiga","minecraft:grass","minecraft:gravelly_mountain","minecraft:ice_spikes","minecraft:mountain","minecraft:mycelium","minecraft:nether","minecraft:nope","minecraft:ocean_sand","minecraft:shattered_savanna","minecraft:soul_sand_valley","minecraft:stone","minecraft:swamp","minecraft:warped_forest","minecraft:wooded_badlands"]),e.register("biome_category",["beach","desert","extreme_hills","forest","icy","jungle","mesa","mushroom","nether","none","ocean","plains","river","savanna","swamp","taiga","the_end"]),e.register("heightmap_type",["MOTION_BLOCKING","MOTION_BLOCKING_NO_LEAVES","OCEAN_FLOOR","OCEAN_FLOOR_WG","WORLD_SURFACE","WORLD_SURFACE_WG"]),e.register("generation_step",["air","liquid"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("cat_texture",["textures/entity/cat/tabby.png","textures/entity/cat/black.png","textures/entity/cat/red.png","textures/entity/cat/siamese.png","textures/entity/cat/british_shorthair.png","textures/entity/cat/calico.png","textures/entity/cat/persian.png","textures/entity/cat/ragdoll.png","textures/entity/cat/white.png","textures/entity/cat/jellie.png","textures/entity/cat/all_black.png"])}xd.initCollections=Z1;var Dd={},Id={},Er={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.UniformInt=e.Range=e.NoiseSettingsPresets=e.DefaultNoiseSettings=e.DimensionTypePresets=e.DefaultDimensionType=e.ConditionCases=void 0;const t=j;e.DefaultDimensionType={ultrawarm:!1,natural:!0,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!0,has_raids:!0,has_skylight:!0,has_ceiling:!1,coordinate_scale:1,ambient_light:0,logical_height:256,infiniburn:"minecraft:infiniburn_overworld"},e.DefaultNoiseSettings={name:"minecraft:overworld",bedrock_roof_position:-10,bedrock_floor_position:0,sea_level:63,disable_mob_generation:!1,noise:{density_factor:1,density_offset:-.46875,simplex_surface_noise:!0,random_density_offset:!0,size_horizontal:1,size_vertical:2,height:256,sampling:{xz_scale:1,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-10,size:3,offset:0},bottom_slide:{target:-30,size:0,offset:0}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}};function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);i.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),i.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),i.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0}),{minLength:3,maxLength:3}),{default:()=>[0,0,0]})),e.Range=s=>(0,t.ChoiceNode)([...s!=null&&s.forceRange?[]:[{type:"number",node:(0,t.NumberNode)(s),change:c=>{var l,_,d;return c===void 0?0:(d=(_=(l=c.min)!==null&&l!==void 0?l:c.max)!==null&&_!==void 0?_:c.n)!==null&&d!==void 0?d:0}}],{type:"object",priority:-1,node:(0,t.ObjectNode)({min:s!=null&&s.bounds?(0,t.NumberNode)(s):(0,t.Opt)((0,t.NumberNode)(s)),max:s!=null&&s.bounds?(0,t.NumberNode)(s):(0,t.Opt)((0,t.NumberNode)(s))},{context:"range"}),change:c=>({min:typeof c=="number"?c:c===void 0?1:c.n,max:typeof c=="number"?c:c===void 0?1:c.n})},...s!=null&&s.allowBinomial?[{type:"binomial",node:(0,t.ObjectNode)({type:r({enum:["minecraft:binomial"]}),n:(0,t.NumberNode)({integer:!0,min:0}),p:(0,t.NumberNode)({min:0,max:1})},{context:"range"}),match:c=>c!==void 0&&c.type==="minecraft:binomial",change:c=>{var l,_;return{type:"minecraft:binomial",n:typeof c=="number"?c:c===void 0?1:(_=(l=c.min)!==null&&l!==void 0?l:c.max)!==null&&_!==void 0?_:1,p:.5}}}]:[]],{choiceContext:"range"}),e.UniformInt=s=>(0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)({integer:!0,min:s==null?void 0:s.min,max:s==null?void 0:s.max}),change:c=>c.base},{type:"object",node:(0,t.ObjectNode)({base:(0,t.NumberNode)({integer:!0,min:s==null?void 0:s.min,max:s==null?void 0:s.max}),spread:(0,t.NumberNode)({integer:!0,min:0,max:s==null?void 0:s.maxSpread})}),change:c=>({base:c,spread:0})}],{context:"uniform_int"}),e.ConditionCases={"minecraft:alternative":{terms:(0,t.ListNode)(a("condition"))},"minecraft:block_state_property":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:a("damage_source_predicate")},"minecraft:entity_properties":{entity:r({enum:"entity_source"}),predicate:a("entity_predicate")},"minecraft:entity_scores":{entity:r({enum:"entity_source"}),scores:(0,t.MapNode)(r({validator:"objective"}),(0,e.Range)({forceRange:!0}))},"minecraft:inverted":{term:a("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:a("location_predicate")},"minecraft:match_tool":{predicate:a("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:r({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:(0,e.Range)(),period:(0,t.Opt)((0,t.NumberNode)())},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}},e.DimensionTypePresets=s=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$dimension_type"}}),s,{"minecraft:overworld":e.DefaultDimensionType,"minecraft:the_nether":{name:"minecraft:the_nether",ultrawarm:!0,natural:!1,shrunk:!0,piglin_safe:!0,respawn_anchor_works:!0,bed_works:!1,has_raids:!1,has_skylight:!1,has_ceiling:!0,ambient_light:.1,fixed_time:18e3,logical_height:128,effects:"minecraft:the_nether",infiniburn:"minecraft:infiniburn_nether"},"minecraft:the_end":{name:"minecraft:the_end",ultrawarm:!1,natural:!1,shrunk:!1,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!1,has_raids:!0,has_skylight:!1,has_ceiling:!1,ambient_light:0,fixed_time:6e3,logical_height:256,effects:"minecraft:the_end",infiniburn:"minecraft:infiniburn_end"}}),e.NoiseSettingsPresets=s=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$worldgen/noise_settings"}}),s,{"minecraft:overworld":e.DefaultNoiseSettings,"minecraft:nether":{name:"minecraft:nether",bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,disable_mob_generation:!0,noise:{density_factor:0,density_offset:.019921875,simplex_surface_noise:!1,random_density_offset:!1,size_horizontal:1,size_vertical:2,height:128,sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},top_slide:{target:120,size:3,offset:0},bottom_slide:{target:320,size:4,offset:-1}},default_block:{Name:"minecraft:netherrack"},default_fluid:{Name:"minecraft:lava",Properties:{level:"0"}}},"minecraft:end":{name:"minecraft:end",bedrock_roof_position:-10,bedrock_floor_position:-10,sea_level:0,disable_mob_generation:!0,noise:{density_factor:0,density_offset:0,simplex_surface_noise:!0,random_density_offset:!1,island_noise_override:!0,size_horizontal:2,size_vertical:1,height:128,sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-3e3,size:64,offset:-46},bottom_slide:{target:-30,size:7,offset:1}},default_block:{Name:"minecraft:end_stone"},default_fluid:{Name:"minecraft:air"}},"minecraft:amplified":{name:"minecraft:amplified",bedrock_roof_position:-10,bedrock_floor_position:0,sea_level:63,disable_mob_generation:!1,noise:{density_factor:1,density_offset:-.46875,simplex_surface_noise:!0,random_density_offset:!0,amplified:!0,size_horizontal:1,size_vertical:2,height:256,sampling:{xz_scale:1,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-10,size:3,offset:0},bottom_slide:{target:-30,size:0,offset:0}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}},"minecraft:caves":{name:"minecraft:caves",bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,disable_mob_generation:!0,noise:{density_factor:0,density_offset:.019921875,simplex_surface_noise:!1,random_density_offset:!1,size_horizontal:1,size_vertical:2,height:128,sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},top_slide:{target:120,size:3,offset:0},bottom_slide:{target:320,size:4,offset:-1}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}},"minecraft:floating_islands":{name:"minecraft:floating_islands",bedrock_roof_position:-10,bedrock_floor_position:-10,sea_level:0,disable_mob_generation:!0,noise:{density_factor:0,density_offset:0,simplex_surface_noise:!0,random_density_offset:!1,island_noise_override:!0,size_horizontal:2,size_vertical:1,height:128,sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-3e3,size:64,offset:-46},bottom_slide:{target:-30,size:7,offset:1}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}}})}e.initCommonSchemas=n})(Er);Object.defineProperty(Id,"__esModule",{value:!0});Id.initAdvancementSchemas=void 0;const ge=j,ki=Er;function J1(e,t){const n=ge.Reference.bind(void 0,e),i=ge.StringNode.bind(void 0,t),o=(0,ge.ChoiceNode)([{type:"object",node:(0,ge.Opt)(n("entity_predicate")),change:r=>{var a,s;return(s=(a=r[0])===null||a===void 0?void 0:a.predicate)!==null&&s!==void 0?s:{}}},{type:"list",node:(0,ge.ListNode)(n("condition")),change:r=>[{condition:"minecraft:entity_properties",predicate:r}]}],{context:"conditions"});e.register("advancement",(0,ge.Mod)((0,ge.ObjectNode)({display:(0,ge.Opt)((0,ge.Mod)((0,ge.ObjectNode)({icon:(0,ge.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,ge.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,ge.Opt)(i()),frame:(0,ge.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,ge.Opt)((0,ge.BooleanNode)()),announce_to_chat:(0,ge.Opt)((0,ge.BooleanNode)()),hidden:(0,ge.Opt)((0,ge.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,ge.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,ge.MapNode)(i(),n("advancement_criteria")),requirements:(0,ge.Opt)((0,ge.ListNode)((0,ge.ListNode)(i()))),rewards:(0,ge.Opt)((0,ge.ObjectNode)({function:(0,ge.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,ge.Opt)((0,ge.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,ge.Opt)((0,ge.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,ge.Opt)((0,ge.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,ge.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,ge.Opt)((0,ge.ObjectNode)({player:(0,ge.Mod)(o,{enabled:r=>r.pop().push("trigger").get()!=="minecraft:impossible"}),[ge.Switch]:["pop",{push:"trigger"}],[ge.Case]:{"minecraft:bee_nest_destroyed":{block:(0,ge.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,ge.Opt)((0,ge.NumberNode)({integer:!0})),item:(0,ge.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:o,partner:o,child:o},"minecraft:brewed_potion":{potion:(0,ge.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,ge.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),to:(0,ge.Opt)(i({validator:"resource",params:{pool:"$dimension"}}))},"minecraft:channeled_lightning":{victims:(0,ge.Opt)((0,ge.ListNode)(o))},"minecraft:construct_beacon":{level:(0,ge.Opt)((0,ki.Range)())},"minecraft:consume_item":{item:(0,ge.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:o,zombie:o},"minecraft:effects_changed":{effects:(0,ge.Opt)((0,ge.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},"minecraft:enter_block":{block:(0,ge.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ge.Opt)((0,ge.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:(0,ge.Opt)((0,ki.Range)()),item:(0,ge.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,ge.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:o,killing_blow:(0,ge.Opt)(n("damage_source_predicate"))},"minecraft:filled_bucket":{item:(0,ge.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:o,item:(0,ge.Opt)(n("item_predicate"))},"minecraft:hero_of_the_village":{location:(0,ge.Opt)(n("location_predicate"))},"minecraft:inventory_changed":{slots:(0,ge.Opt)((0,ge.ObjectNode)({empty:(0,ge.Opt)((0,ki.Range)()),occupied:(0,ge.Opt)((0,ki.Range)()),full:(0,ge.Opt)((0,ki.Range)())})),items:(0,ge.Opt)((0,ge.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:(0,ge.Opt)((0,ki.Range)()),durability:(0,ge.Opt)((0,ki.Range)()),item:(0,ge.Opt)(n("item_predicate"))},"minecraft:item_used_on_block":{item:(0,ge.Opt)(n("item_predicate")),location:(0,ge.Opt)(n("location_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:(0,ge.Opt)((0,ki.Range)()),victims:(0,ge.Opt)((0,ge.ListNode)(o))},"minecraft:levitation":{distance:(0,ge.Opt)((0,ki.Range)()),duration:(0,ge.Opt)((0,ki.Range)())},"minecraft:location":{location:(0,ge.Opt)(n("location_predicate"))},"minecraft:nether_travel":{distance:(0,ge.Opt)((0,ki.Range)()),entered:(0,ge.Opt)(n("location_predicate")),exited:(0,ge.Opt)(n("location_predicate"))},"minecraft:placed_block":{block:(0,ge.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ge.Opt)((0,ge.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,ge.Opt)(n("item_predicate")),location:(0,ge.Opt)(n("location_predicate"))},"minecraft:player_generates_container_loot":{loot_table:i({validator:"resource",params:{pool:"$loot_table"}})},"minecraft:player_hurt_entity":{damage:(0,ge.Opt)(n("damage_predicate")),entity:o},"minecraft:player_interacted_with_entity":{item:(0,ge.Opt)(n("item_predicate")),entity:o},"minecraft:player_killed_entity":{entity:o,killing_blow:(0,ge.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:slept_in_bed":{location:(0,ge.Opt)(n("location_predicate"))},"minecraft:slide_down_block":{block:(0,ge.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,ge.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:o},"minecraft:tame_animal":{entity:o},"minecraft:target_hit":{projectile:o,shooter:o,signal_strength:(0,ge.Opt)((0,ki.Range)({integer:!0}))},"minecraft:thrown_item_picked_up_by_entity":{entity:o,item:(0,ge.Opt)(n("item_predicate"))},"minecraft:used_ender_eye":{distance:(0,ge.Opt)((0,ki.Range)())},"minecraft:used_totem":{item:(0,ge.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:o,item:(0,ge.Opt)(n("item_predicate"))},"minecraft:voluntary_exile":{location:n("location_predicate")}}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}Id.initAdvancementSchemas=J1;var kd={},Md={};Object.defineProperty(Md,"__esModule",{value:!0});Md.initModelSchemas=void 0;const Rt=j;function ew(e,t){Rt.Reference.bind(void 0,e);const n=Rt.StringNode.bind(void 0,t),i=(r,a,s)=>(0,Rt.ListNode)((0,Rt.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,Rt.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,Rt.Mod)((0,Rt.ObjectNode)({parent:(0,Rt.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,Rt.Opt)((0,Rt.BooleanNode)()),gui_light:(0,Rt.Opt)(n({enum:"gui_light"})),textures:(0,Rt.Opt)((0,Rt.MapNode)(n(),o)),elements:(0,Rt.Opt)((0,Rt.ListNode)((0,Rt.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,Rt.Opt)((0,Rt.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,Rt.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,Rt.Opt)((0,Rt.BooleanNode)())})),shade:(0,Rt.Opt)((0,Rt.BooleanNode)()),faces:(0,Rt.MapNode)(n({enum:"direction"}),(0,Rt.ObjectNode)({texture:o,uv:(0,Rt.Opt)(i(4)),cullface:(0,Rt.Opt)(n({enum:"direction"})),rotation:(0,Rt.Opt)((0,Rt.NumberNode)({integer:!0})),tintindex:(0,Rt.Opt)((0,Rt.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,Rt.Opt)((0,Rt.MapNode)(n({enum:"display_position"}),(0,Rt.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,Rt.Opt)((0,Rt.ListNode)((0,Rt.ObjectNode)({predicate:(0,Rt.MapNode)(n({enum:"item_model_predicates"}),(0,Rt.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}Md.initModelSchemas=ew;var Ld={};Object.defineProperty(Ld,"__esModule",{value:!0});Ld.initBlockDefinitionSchemas=void 0;const un=j;function tw(e,t){const n=un.Reference.bind(void 0,e),i=un.StringNode.bind(void 0,t);e.register("block_definition",(0,un.Mod)((0,un.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,un.ObjectNode)({variants:(0,un.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,un.ObjectNode)({multipart:(0,un.ListNode)((0,un.ObjectNode)({when:(0,un.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,un.Opt)((0,un.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,un.Opt)((0,un.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,un.Opt)((0,un.BooleanNode)())};e.register("model_variant",(0,un.ChoiceNode)([{type:"object",node:(0,un.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,un.ListNode)((0,un.ObjectNode)(qe(H({},o),{weight:(0,un.Opt)((0,un.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,un.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,un.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,un.ObjectNode)({OR:(0,un.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}Ld.initBlockDefinitionSchemas=tw;Object.defineProperty(kd,"__esModule",{value:!0});kd.initAssetsSchemas=void 0;const nw=Md,iw=Ld;function rw(e,t){(0,iw.initBlockDefinitionSchemas)(e,t),(0,nw.initModelSchemas)(e,t)}kd.initAssetsSchemas=rw;var Fd={};Object.defineProperty(Fd,"__esModule",{value:!0});Fd.initConditionSchemas=void 0;const la=j,ow=Er;function aw(e,t){const n=la.Reference.bind(void 0,e),i=la.StringNode.bind(void 0,t);e.register("predicate",(0,la.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,la.Mod)((0,la.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[la.Switch]:[{push:"condition"}],[la.Case]:ow.ConditionCases},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}Fd.initConditionSchemas=aw;var Pd={};Object.defineProperty(Pd,"__esModule",{value:!0});Pd.initDimensionSchemas=void 0;const mt=j,tg=Er;function sw(e,t){const n=mt.Reference.bind(void 0,e),i=mt.StringNode.bind(void 0,t),o=r=>(0,mt.Mod)(r,{enabled:a=>a.push("preset").get()===void 0});e.register("dimension",(0,mt.Mod)((0,mt.ObjectNode)({type:(0,tg.DimensionTypePresets)(n("dimension_type")),generator:(0,mt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/chunk_generator"}}),[mt.Switch]:[{push:"type"}],[mt.Case]:{"minecraft:noise":{seed:(0,mt.NumberNode)({integer:!0}),settings:(0,tg.NoiseSettingsPresets)(n("noise_settings")),biome_source:(0,mt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/biome_source"}}),[mt.Switch]:[{push:"type"}],[mt.Case]:{"minecraft:fixed":{biome:i({validator:"resource",params:{pool:"$worldgen/biome"}})},"minecraft:multi_noise":{seed:(0,mt.NumberNode)({integer:!0}),preset:(0,mt.Opt)(i({enum:["nether"]})),altitude_noise:o(n("generator_biome_noise")),temperature_noise:o(n("generator_biome_noise")),humidity_noise:o(n("generator_biome_noise")),weirdness_noise:o(n("generator_biome_noise")),biomes:o((0,mt.Mod)((0,mt.ListNode)(n("generator_biome")),{default:()=>[{biome:"minecraft:plains"}]}))},"minecraft:checkerboard":{scale:(0,mt.Opt)((0,mt.NumberNode)({integer:!0,min:0,max:62})),biomes:(0,mt.ListNode)(i({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:the_end":{seed:(0,mt.NumberNode)({integer:!0})},"minecraft:vanilla_layered":{seed:(0,mt.NumberNode)({integer:!0}),large_biomes:(0,mt.Opt)((0,mt.BooleanNode)()),legacy_biome_init_layer:(0,mt.Opt)((0,mt.BooleanNode)())}}},{category:"predicate",disableSwitchContext:!0})},"minecraft:flat":{settings:(0,mt.ObjectNode)({biome:(0,mt.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),lakes:(0,mt.Opt)((0,mt.BooleanNode)()),features:(0,mt.Opt)((0,mt.BooleanNode)()),layers:(0,mt.ListNode)(n("generator_layer")),structures:n("generator_structures")})}}},{disableSwitchContext:!0})},{category:"pool",context:"dimension"}),{default:()=>{const r=Math.floor(Math.random()*4294967296)-2147483648;return{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:r,biome_source:{type:"minecraft:fixed",seed:r,biome:"minecraft:plains"},settings:"minecraft:overworld"}}}})),e.register("generator_biome",(0,mt.Mod)((0,mt.ObjectNode)({biome:i({validator:"resource",params:{pool:"$worldgen/biome"}}),parameters:(0,mt.ObjectNode)({altitude:(0,mt.NumberNode)(),temperature:(0,mt.NumberNode)(),humidity:(0,mt.NumberNode)(),weirdness:(0,mt.NumberNode)(),offset:(0,mt.NumberNode)()})},{context:"generator_biome"}),{default:()=>({biome:"minecraft:plains",parameters:{altitude:0,temperature:0,humidity:0,weirdness:0,offset:0}})})),e.register("generator_biome_noise",(0,mt.Mod)((0,mt.ObjectNode)({firstOctave:(0,mt.NumberNode)({integer:!0}),amplitudes:(0,mt.ListNode)((0,mt.NumberNode)())},{context:"generator_biome_noise"}),{default:()=>({firstOctave:-7,amplitudes:[1,1]})}))}Pd.initDimensionSchemas=sw;var Bd={};Object.defineProperty(Bd,"__esModule",{value:!0});Bd.initDimensionTypeSchemas=void 0;const ni=j,lw=Er;function cw(e,t){const n=ni.StringNode.bind(void 0,t);e.register("dimension_type",(0,ni.Mod)((0,ni.ObjectNode)({name:(0,ni.Mod)(n({validator:"resource",params:{pool:"$dimension_type",isDefinition:!0}}),{enabled:i=>i.getArray().length>0}),ultrawarm:(0,ni.BooleanNode)(),natural:(0,ni.BooleanNode)(),piglin_safe:(0,ni.BooleanNode)(),respawn_anchor_works:(0,ni.BooleanNode)(),bed_works:(0,ni.BooleanNode)(),has_raids:(0,ni.BooleanNode)(),has_skylight:(0,ni.BooleanNode)(),has_ceiling:(0,ni.BooleanNode)(),coordinate_scale:(0,ni.NumberNode)({min:1e-5,max:3e7}),ambient_light:(0,ni.NumberNode)(),fixed_time:(0,ni.Opt)((0,ni.NumberNode)({integer:!0})),logical_height:(0,ni.NumberNode)({integer:!0,min:0,max:256}),effects:(0,ni.Opt)(n({enum:["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]})),infiniburn:n({validator:"resource",params:{pool:"$tag/block"}})},{context:"dimension_type"}),{default:()=>lw.DefaultDimensionType}))}Bd.initDimensionTypeSchemas=cw;var $d={},Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.LootFunctions=Hi.LootConditions=Hi.LootCopySources=Hi.LootEntitySources=Hi.LootTableTypes=void 0;Hi.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);Hi.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Hi.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Hi.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);Hi.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty($d,"__esModule",{value:!0});$d.initLootTableSchemas=void 0;const Oe=j,Ps=Hi,dr=Er;function dw(e,t){const n=Oe.Reference.bind(void 0,e),i=Oe.StringNode.bind(void 0,t),o={conditions:(0,Oe.Opt)((0,Oe.ListNode)(n("loot_condition")))},r=H({functions:(0,Oe.Opt)((0,Oe.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of Ps.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new Oe.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,Oe.SwitchNode)(p)}const s=a(Ps.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(Ps.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(Ps.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(Ps.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,Oe.Mod)((0,Oe.ObjectNode)({type:(0,Oe.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,Oe.Opt)((0,Oe.ListNode)((0,Oe.Mod)((0,Oe.ObjectNode)(H({rolls:(0,dr.Range)({allowBinomial:!0,integer:!0}),bonus_rolls:(0,Oe.Opt)((0,dr.Range)({integer:!0})),entries:(0,Oe.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,Oe.Opt)((0,Oe.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,Oe.Mod)((0,Oe.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,Oe.Opt)((0,Oe.Mod)((0,Oe.NumberNode)({integer:!0,min:1}),d)),quality:(0,Oe.Opt)((0,Oe.Mod)((0,Oe.NumberNode)({integer:!0}),d)),[Oe.Switch]:[{push:"type"}],[Oe.Case]:{"minecraft:alternatives":H({children:(0,Oe.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,Oe.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,Oe.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,Oe.Opt)((0,Oe.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,Oe.Mod)((0,Oe.ObjectNode)({function:c,[Oe.Switch]:[{push:"function"}],[Oe.Case]:(()=>{const u={"minecraft:apply_bonus":{enchantment:i({validator:"resource",params:{pool:"enchantment"}}),formula:i({validator:"resource",params:{pool:t.get("loot_table_apply_bonus_formula")}}),parameters:(0,Oe.Mod)((0,Oe.ObjectNode)({bonusMultiplier:(0,Oe.Mod)((0,Oe.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,Oe.Mod)((0,Oe.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,Oe.Mod)((0,Oe.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:f=>f.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:_},"minecraft:copy_nbt":{source:_,ops:(0,Oe.ListNode)((0,Oe.ObjectNode)({source:i({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:i({validator:"nbt_path",params:{category:"minecraft:item"}}),op:i({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:i({validator:"resource",params:{pool:"block"}}),properties:(0,Oe.ListNode)(i({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,Oe.Opt)((0,Oe.ListNode)(i({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:(0,dr.Range)({allowBinomial:!0}),treasure:(0,Oe.Opt)((0,Oe.BooleanNode)())},"minecraft:exploration_map":{destination:(0,Oe.Opt)(i({enum:"map_feature"})),decoration:(0,Oe.Opt)(i({enum:"map_decoration"})),zoom:(0,Oe.Opt)((0,Oe.NumberNode)({integer:!0})),search_radius:(0,Oe.Opt)((0,Oe.NumberNode)({integer:!0})),skip_existing_chunks:(0,Oe.Opt)((0,Oe.BooleanNode)())},"minecraft:fill_player_head":{entity:l},"minecraft:limit_count":{limit:(0,dr.Range)({bounds:!0})},"minecraft:looting_enchant":{count:(0,dr.Range)({bounds:!0}),limit:(0,Oe.Opt)((0,Oe.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,Oe.ListNode)(n("attribute_modifier"))},"minecraft:set_contents":{entries:(0,Oe.ListNode)(n("loot_entry"))},"minecraft:set_count":{count:(0,dr.Range)({allowBinomial:!0})},"minecraft:set_damage":{damage:(0,dr.Range)({forceRange:!0})},"minecraft:set_loot_table":{name:i({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,Oe.Opt)((0,Oe.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,Oe.Opt)(l),lore:(0,Oe.ListNode)(n("text_component")),replace:(0,Oe.Opt)((0,Oe.BooleanNode)())},"minecraft:set_name":{entity:(0,Oe.Opt)(l),name:(0,Oe.Opt)(n("text_component"))},"minecraft:set_nbt":{tag:i({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_stew_effect":{effects:(0,Oe.Opt)((0,Oe.ListNode)((0,Oe.ObjectNode)({type:i({validator:"resource",params:{pool:"mob_effect"}}),duration:(0,dr.Range)()})))}},m={};return t.get("loot_function_type").forEach(f=>{m[f]=H(H({},u[f]),o)}),m})()},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,Oe.Mod)((0,Oe.ObjectNode)({condition:s,[Oe.Switch]:[{push:"condition"}],[Oe.Case]:qe(H({},dr.ConditionCases),{"minecraft:entity_properties":{entity:l,predicate:n("entity_predicate")},"minecraft:entity_scores":{entity:l,scores:(0,Oe.MapNode)(i({validator:"objective"}),(0,dr.Range)({bounds:!0}))}})},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,Oe.Mod)((0,Oe.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:(0,dr.Range)({bounds:!0}),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,Oe.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}$d.initLootTableSchemas=dw;var Ud={};Object.defineProperty(Ud,"__esModule",{value:!0});Ud.initPackMcmetaSchemas=void 0;const ca=j;function uw(e,t){e.register("pack_mcmeta",(0,ca.Mod)((0,ca.ObjectNode)({pack:(0,ca.Mod)((0,ca.ObjectNode)({pack_format:(0,ca.Mod)((0,ca.NumberNode)({integer:!0,min:6,max:6}),{default:()=>6}),description:(0,ca.Reference)(e,"text_component")}),{default:()=>({pack_format:6,description:""})})}),{default:()=>({pack:{pack_format:6,description:""}})}))}Ud.initPackMcmetaSchemas=uw;var Gd={};Object.defineProperty(Gd,"__esModule",{value:!0});Gd.initPredicatesSchemas=void 0;const oe=j,ii=Er;function _w(e,t){const n=oe.Reference.bind(void 0,e),i=oe.StringNode.bind(void 0,t),o=(0,oe.ChoiceNode)([{type:"string",node:i(),change:r=>typeof r=="boolean"||typeof r=="number"?r.toString():""},{type:"number",node:(0,oe.NumberNode)(),change:r=>typeof r=="string"?parseInt(r):0},{type:"object",node:(0,oe.ObjectNode)({min:(0,oe.Opt)((0,oe.NumberNode)({integer:!0})),max:(0,oe.Opt)((0,oe.NumberNode)({integer:!0}))}),change:r=>typeof r=="number"?{min:r,max:r}:{}},{type:"boolean",node:(0,oe.BooleanNode)(),change:r=>r==="true"||r===1}]);e.register("item_predicate",(0,oe.ObjectNode)({item:(0,oe.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,oe.Opt)(i({validator:"resource",params:{pool:"$tag/item"}})),count:(0,oe.Opt)((0,ii.Range)()),durability:(0,oe.Opt)((0,ii.Range)()),potion:(0,oe.Opt)(i({validator:"resource",params:{pool:"potion"}})),nbt:(0,oe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,oe.Opt)((0,oe.ListNode)(n("enchantment_predicate")))},{context:"item"})),e.register("enchantment_predicate",(0,oe.ObjectNode)({enchantment:(0,oe.Opt)(i({validator:"resource",params:{pool:"enchantment"}})),levels:(0,oe.Opt)((0,ii.Range)())},{context:"enchantment"})),e.register("block_predicate",(0,oe.ObjectNode)({block:(0,oe.Opt)(i({validator:"resource",params:{pool:"block"}})),tag:(0,oe.Opt)(i({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,oe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,oe.Opt)((0,oe.MapNode)(i(),o,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),e.register("fluid_predicate",(0,oe.ObjectNode)({fluid:(0,oe.Opt)(i({validator:"resource",params:{pool:"fluid"}})),tag:(0,oe.Opt)(i({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,oe.Opt)((0,oe.MapNode)(i(),o))},{context:"fluid"})),e.register("location_predicate",(0,oe.ObjectNode)({position:(0,oe.Opt)((0,oe.ObjectNode)({x:(0,oe.Opt)((0,ii.Range)()),y:(0,oe.Opt)((0,ii.Range)()),z:(0,oe.Opt)((0,ii.Range)())})),biome:(0,oe.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),feature:(0,oe.Opt)(i({enum:t.get("worldgen/structure_feature").map(r=>r.slice(10))})),dimension:(0,oe.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),light:(0,oe.Opt)((0,oe.ObjectNode)({light:(0,oe.Opt)((0,ii.Range)({integer:!0,min:0,max:15}))})),smokey:(0,oe.Opt)((0,oe.BooleanNode)()),block:(0,oe.Opt)(n("block_predicate")),fluid:(0,oe.Opt)(n("fluid_predicate"))},{context:"location"})),e.register("statistic_predicate",(0,oe.ObjectNode)({type:i({validator:"resource",params:{pool:"stat_type"}}),stat:i(),value:(0,ii.Range)(),[oe.Switch]:[{push:"type"}],[oe.Case]:{"minecraft:mined":{stat:i({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:i({validator:"resource",params:{pool:"custom_stat"}})}}})),e.register("player_predicate",(0,oe.ObjectNode)({gamemode:(0,oe.Opt)(i({enum:"gamemode"})),level:(0,oe.Opt)((0,ii.Range)()),advancements:(0,oe.Opt)((0,oe.MapNode)(i({validator:"resource",params:{pool:"$advancement"}}),(0,oe.ChoiceNode)([{type:"boolean",node:(0,oe.BooleanNode)(),change:r=>!0},{type:"object",node:(0,oe.MapNode)(i(),(0,oe.BooleanNode)())}]))),recipes:(0,oe.Opt)((0,oe.MapNode)(i({validator:"resource",params:{pool:"$recipe"}}),(0,oe.BooleanNode)())),stats:(0,oe.Opt)((0,oe.ListNode)(n("statistic_predicate")))},{context:"player"})),e.register("status_effect_predicate",(0,oe.ObjectNode)({amplifier:(0,oe.Opt)((0,ii.Range)()),duration:(0,oe.Opt)((0,ii.Range)()),ambient:(0,oe.Opt)((0,oe.BooleanNode)()),visible:(0,oe.Opt)((0,oe.BooleanNode)())},{context:"status_effect"})),e.register("distance_predicate",(0,oe.ObjectNode)({x:(0,oe.Opt)((0,ii.Range)()),y:(0,oe.Opt)((0,ii.Range)()),z:(0,oe.Opt)((0,ii.Range)()),absolute:(0,oe.Opt)((0,ii.Range)()),horizontal:(0,oe.Opt)((0,ii.Range)())},{context:"distance"})),e.register("entity_predicate",(0,oe.ObjectNode)({type:(0,oe.Opt)(i({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),nbt:(0,oe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,oe.Opt)(i({validator:"team"})),location:(0,oe.Opt)(n("location_predicate")),distance:(0,oe.Opt)(n("distance_predicate")),flags:(0,oe.Opt)((0,oe.ObjectNode)({is_on_fire:(0,oe.Opt)((0,oe.BooleanNode)()),is_sneaking:(0,oe.Opt)((0,oe.BooleanNode)()),is_sprinting:(0,oe.Opt)((0,oe.BooleanNode)()),is_swimming:(0,oe.Opt)((0,oe.BooleanNode)()),is_baby:(0,oe.Opt)((0,oe.BooleanNode)())})),equipment:(0,oe.Opt)((0,oe.MapNode)(i({enum:"slot"}),n("item_predicate"))),vehicle:(0,oe.Opt)(n("entity_predicate")),targeted_entity:(0,oe.Opt)(n("entity_predicate")),player:(0,oe.Opt)(n("player_predicate")),fishing_hook:(0,oe.Opt)((0,oe.ObjectNode)({in_open_water:(0,oe.Opt)((0,oe.BooleanNode)())})),catType:(0,oe.Opt)(i({enum:"cat_texture"})),effects:(0,oe.Opt)((0,oe.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},{context:"entity"})),e.register("damage_source_predicate",(0,oe.ObjectNode)({is_explosion:(0,oe.Opt)((0,oe.BooleanNode)()),is_fire:(0,oe.Opt)((0,oe.BooleanNode)()),is_magic:(0,oe.Opt)((0,oe.BooleanNode)()),is_projectile:(0,oe.Opt)((0,oe.BooleanNode)()),is_lightning:(0,oe.Opt)((0,oe.BooleanNode)()),bypasses_armor:(0,oe.Opt)((0,oe.BooleanNode)()),bypasses_invulnerability:(0,oe.Opt)((0,oe.BooleanNode)()),bypasses_magic:(0,oe.Opt)((0,oe.BooleanNode)()),source_entity:(0,oe.Opt)(n("entity_predicate")),direct_entity:(0,oe.Opt)(n("entity_predicate"))},{context:"damage_source"})),e.register("damage_predicate",(0,oe.ObjectNode)({dealt:(0,oe.Opt)((0,ii.Range)()),taken:(0,oe.Opt)((0,ii.Range)()),blocked:(0,oe.Opt)((0,oe.BooleanNode)()),source_entity:(0,oe.Opt)(n("entity_predicate")),type:(0,oe.Opt)(n("damage_source_predicate"))},{context:"damage"}))}Gd.initPredicatesSchemas=_w;var zd={};Object.defineProperty(zd,"__esModule",{value:!0});zd.initRecipeSchemas=void 0;const rt=j;function mw(e,t){const n=rt.Reference.bind(void 0,e),i=rt.StringNode.bind(void 0,t);e.register("recipe",(0,rt.Mod)((0,rt.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[rt.Switch]:[{push:"type"}],[rt.Case]:{"minecraft:crafting_shaped":{group:(0,rt.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,rt.ListNode)(i()),key:(0,rt.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,rt.Opt)(i()),ingredients:(0,rt.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,rt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,rt.Opt)((0,rt.NumberNode)()),cookingtime:(0,rt.Opt)((0,rt.Mod)((0,rt.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,rt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,rt.Opt)((0,rt.NumberNode)()),cookingtime:(0,rt.Opt)((0,rt.Mod)((0,rt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,rt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,rt.Opt)((0,rt.NumberNode)()),cookingtime:(0,rt.Opt)((0,rt.Mod)((0,rt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,rt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,rt.Opt)((0,rt.NumberNode)()),cookingtime:(0,rt.Opt)((0,rt.Mod)((0,rt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,rt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,rt.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,rt.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,rt.Mod)((0,rt.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,rt.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,rt.Mod)((0,rt.ObjectNode)({item:(0,rt.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,rt.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,rt.Mod)((0,rt.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,rt.Opt)((0,rt.Mod)((0,rt.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}zd.initRecipeSchemas=mw;var Yd={};Object.defineProperty(Yd,"__esModule",{value:!0});Yd.initTagsSchemas=void 0;const Ur=j;function pw(e,t){const n=Ur.StringNode.bind(void 0,t),i=o=>(0,Ur.Mod)((0,Ur.ObjectNode)({replace:(0,Ur.Opt)((0,Ur.BooleanNode)()),values:(0,Ur.ListNode)((0,Ur.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,Ur.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,Ur.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("item_tag",i("item"))}Yd.initTagsSchemas=pw;var Hd={};Object.defineProperty(Hd,"__esModule",{value:!0});Hd.initTextComponentSchemas=void 0;const Ge=j;function fw(e,t){const n=Ge.Reference.bind(void 0,e),i=Ge.StringNode.bind(void 0,t),o=a=>{var s;return a instanceof Array?o(a[0]):(s=a==null?void 0:a.text)!==null&&s!==void 0?s:typeof a=="object"?"":a==null?void 0:a.toString()};e.register("text_component",(0,Ge.Mod)((0,Ge.ChoiceNode)([{type:"object",node:n("text_component_object"),change:a=>a instanceof Array?typeof a[0]=="object"?a[0]:{text:o(a[0])}:typeof a=="object"?a:{text:o(a)}},{type:"list",node:n("text_component_list"),change:a=>[a]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,Ge.NumberNode)(),change:a=>{const s=parseFloat(o(a));return isFinite(s)?s:a?1:0}},{type:"boolean",node:(0,Ge.BooleanNode)(),change:a=>{const s=o(a);return s==="true"||s==="false"?s==="true":!!s}}],{context:"text_component"}),{default:()=>({text:""})}));const r={color:(0,Ge.Opt)(i()),font:(0,Ge.Opt)(i()),bold:(0,Ge.Opt)((0,Ge.BooleanNode)()),italic:(0,Ge.Opt)((0,Ge.BooleanNode)()),underlined:(0,Ge.Opt)((0,Ge.BooleanNode)()),strikethrough:(0,Ge.Opt)((0,Ge.BooleanNode)()),obfuscated:(0,Ge.Opt)((0,Ge.BooleanNode)()),insertion:(0,Ge.Opt)(i()),clickEvent:(0,Ge.Opt)((0,Ge.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[Ge.Switch]:[{push:"action"}],[Ge.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,Ge.Opt)((0,Ge.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[Ge.Switch]:[{push:"action"}],[Ge.Case]:{show_text:{value:(0,Ge.Opt)(n("text_component")),contents:(0,Ge.Opt)(n("text_component"))},show_item:{value:(0,Ge.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}})),contents:(0,Ge.Opt)((0,Ge.ObjectNode)({id:i({validator:"resource",params:{pool:"item"}}),count:(0,Ge.Opt)((0,Ge.NumberNode)({integer:!0})),tag:(0,Ge.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"id"}]}}}))}))},show_entity:{value:(0,Ge.Opt)((0,Ge.ObjectNode)({name:(0,Ge.Opt)(i()),type:(0,Ge.Opt)(i()),id:(0,Ge.Opt)(i())})),contents:(0,Ge.Opt)((0,Ge.Mod)((0,Ge.ObjectNode)({name:(0,Ge.Opt)(n("text_component")),type:i({validator:"resource",params:{pool:"entity_type"}}),id:i({validator:"uuid"})}),{default:()=>({type:"minecraft:pig",id:"00000001-0001-0001-0001-000000000001"})}))}}})),extra:(0,Ge.Opt)(n("text_component_list"))};e.register("text_component_object",(0,Ge.Mod)((0,Ge.ChoiceNode)([{type:"text",match:a=>typeof a=="object",change:a=>({text:""}),priority:-1,node:(0,Ge.ObjectNode)(H({text:i()},r))},{type:"translation",match:a=>(a==null?void 0:a.translate)!==void 0,change:a=>({translate:""}),node:(0,Ge.ObjectNode)(H({translate:i(),with:(0,Ge.Opt)(n("text_component_list"))},r))},{type:"score",match:a=>(a==null?void 0:a.score)!==void 0,change:a=>({score:{}}),node:(0,Ge.ObjectNode)(H({score:(0,Ge.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,Ge.Opt)(i())})},r))},{type:"selector",match:a=>(a==null?void 0:a.selector)!==void 0,change:a=>({selector:""}),node:(0,Ge.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}})},r))},{type:"keybind",match:a=>(a==null?void 0:a.keybind)!==void 0,change:a=>({keybind:""}),node:(0,Ge.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},r))},{type:"nbt",match:a=>(a==null?void 0:a.nbt)!==void 0,change:a=>({nbt:""}),node:(0,Ge.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,Ge.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,Ge.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,Ge.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,Ge.Opt)((0,Ge.BooleanNode)())},r))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,Ge.Mod)((0,Ge.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}Hd.initTextComponentSchemas=fw;var Vd={},Wd={};Object.defineProperty(Wd,"__esModule",{value:!0});Wd.initBiomeSchemas=void 0;const Ye=j;function hw(e,t){const n=Ye.StringNode.bind(void 0,t);e.register("biome",(0,Ye.Mod)((0,Ye.ObjectNode)({surface_builder:n({validator:"resource",params:{pool:"$worldgen/configured_surface_builder"}}),depth:(0,Ye.NumberNode)(),scale:(0,Ye.NumberNode)(),temperature:(0,Ye.NumberNode)(),downfall:(0,Ye.NumberNode)(),precipitation:n({enum:["none","rain","snow"]}),temperature_modifier:(0,Ye.Opt)(n({enum:["none","frozen"]})),category:n({enum:"biome_category"}),player_spawn_friendly:(0,Ye.Opt)((0,Ye.BooleanNode)()),creature_spawn_probability:(0,Ye.Opt)((0,Ye.NumberNode)({min:0,max:1})),effects:(0,Ye.ObjectNode)({sky_color:(0,Ye.NumberNode)({color:!0}),fog_color:(0,Ye.NumberNode)({color:!0}),water_color:(0,Ye.NumberNode)({color:!0}),water_fog_color:(0,Ye.NumberNode)({color:!0}),grass_color:(0,Ye.Opt)((0,Ye.NumberNode)({color:!0})),foliage_color:(0,Ye.Opt)((0,Ye.NumberNode)({color:!0})),grass_color_modifier:(0,Ye.Opt)(n({enum:["none","dark_forest","swamp"]})),ambient_sound:(0,Ye.Opt)(n()),mood_sound:(0,Ye.Opt)((0,Ye.ObjectNode)({sound:n(),tick_delay:(0,Ye.NumberNode)({integer:!0}),block_search_extent:(0,Ye.NumberNode)({integer:!0}),offset:(0,Ye.NumberNode)()})),additions_sound:(0,Ye.Opt)((0,Ye.ObjectNode)({sound:n(),tick_chance:(0,Ye.NumberNode)({min:0,max:1})})),music:(0,Ye.Opt)((0,Ye.ObjectNode)({sound:n(),min_delay:(0,Ye.NumberNode)({integer:!0,min:0}),max_delay:(0,Ye.NumberNode)({integer:!0,min:0}),replace_current_music:(0,Ye.BooleanNode)()})),particle:(0,Ye.Opt)((0,Ye.ObjectNode)({options:(0,Ye.ObjectNode)({type:n()}),probability:(0,Ye.NumberNode)({min:0,max:1})}))}),starts:(0,Ye.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_structure_feature"}})),spawners:(0,Ye.MapNode)(n({enum:["water_ambient","ambient","misc","water_creature","creature","monster"]}),(0,Ye.Mod)((0,Ye.ListNode)((0,Ye.ObjectNode)({type:n({validator:"resource",params:{pool:"entity_type"}}),weight:(0,Ye.NumberNode)({integer:!0}),minCount:(0,Ye.NumberNode)({integer:!0}),maxCount:(0,Ye.NumberNode)({integer:!0})})),{category:()=>"pool",default:()=>[{type:"minecraft:bat",weight:1}]})),spawn_costs:(0,Ye.MapNode)(n({validator:"resource",params:{pool:"entity_type"}}),(0,Ye.Mod)((0,Ye.ObjectNode)({energy_budget:(0,Ye.NumberNode)(),charge:(0,Ye.NumberNode)()},{category:"function"}),{default:()=>({energy_budget:.12,charge:1})})),carvers:(0,Ye.MapNode)(n({enum:["air","liquid"]}),(0,Ye.Mod)((0,Ye.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_carver"}})),{default:()=>["minecraft:cave"]})),features:(0,Ye.ListNode)((0,Ye.Mod)((0,Ye.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_feature"}})),{category:()=>"predicate"}),{maxLength:10})},{context:"biome"}),{default:()=>({surface_builder:"minecraft:grass",depth:.125,scale:.05,temperature:.8,downfall:.4,precipitation:"rain",category:"plains",effects:{sky_color:7907327,fog_color:12638463,water_color:4159204,water_fog_color:329011}})}))}Wd.initBiomeSchemas=hw;var jd={};Object.defineProperty(jd,"__esModule",{value:!0});jd.initCarverSchemas=void 0;const Bs=j;function gw(e,t){const n=Bs.StringNode.bind(void 0,t);e.register("configured_carver",(0,Bs.Mod)((0,Bs.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/carver"}}),config:(0,Bs.ObjectNode)({probability:(0,Bs.NumberNode)({min:0,max:1})})},{context:"carver"}),{default:()=>({type:"minecraft:cave",config:{probability:.1}})}))}jd.initCarverSchemas=gw;var qd={};Object.defineProperty(qd,"__esModule",{value:!0});qd.initDecoratorSchemas=void 0;const yn=j,bw=Er;function Ew(e,t){const n=yn.Reference.bind(void 0,e),i=yn.StringNode.bind(void 0,t),o={maximum:(0,yn.NumberNode)({integer:!0}),bottom_offset:(0,yn.NumberNode)({integer:!0}),top_offset:(0,yn.NumberNode)({integer:!0})},r={chance:(0,yn.NumberNode)({integer:!0,min:0})},a={count:(0,bw.UniformInt)({min:-10,max:128,maxSpread:128})};e.register("configured_decorator",(0,yn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/decorator"}}),config:(0,yn.ObjectNode)({[yn.Switch]:["pop",{push:"type"}],[yn.Case]:{"minecraft:carving_mask":{step:i({enum:"generation_step"}),probability:(0,yn.NumberNode)({min:0,max:1})},"minecraft:chance":r,"minecraft:count":a,"minecraft:count_extra":{count:(0,yn.NumberNode)({integer:!0}),extra_count:(0,yn.NumberNode)({integer:!0}),extra_chance:(0,yn.NumberNode)({min:0,max:1})},"minecraft:count_multilayer":a,"minecraft:count_noise":{noise_level:(0,yn.NumberNode)(),below_noise:(0,yn.NumberNode)({integer:!0}),above_noise:(0,yn.NumberNode)({integer:!0})},"minecraft:count_noise_biased":{noise_to_count_ratio:(0,yn.NumberNode)({integer:!0}),noise_factor:(0,yn.NumberNode)(),noise_offset:(0,yn.Opt)((0,yn.NumberNode)())},"minecraft:decorated":{outer:n("configured_decorator"),inner:n("configured_decorator")},"minecraft:depth_average":{baseline:(0,yn.NumberNode)({integer:!0}),spread:(0,yn.NumberNode)({integer:!0})},"minecraft:fire":a,"minecraft:glowstone":a,"minecraft:lava_lake":r,"minecraft:range":o,"minecraft:range_biased":o,"minecraft:range_very_biased":o,"minecraft:water_lake":r}},{context:"decorator",category:"predicate"})},{context:"decorator",category:"predicate"}))}qd.initDecoratorSchemas=Ew;var Kd={},Qd={};Object.defineProperty(Qd,"__esModule",{value:!0});Qd.initProcessorListSchemas=void 0;const tn=j;function vw(e,t){const n=tn.Reference.bind(void 0,e),i=tn.StringNode.bind(void 0,t);e.register("processor_list",(0,tn.Mod)((0,tn.ObjectNode)({processors:(0,tn.ListNode)(n("processor"))},{context:"processor_list"}),{default:()=>({processors:[{processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]}]})})),e.register("processor",(0,tn.Mod)((0,tn.ObjectNode)({processor_type:i({validator:"resource",params:{pool:"worldgen/structure_processor"}}),[tn.Switch]:[{push:"processor_type"}],[tn.Case]:{"minecraft:block_age":{mossiness:(0,tn.NumberNode)()},"minecraft:block_ignore":{blocks:(0,tn.ListNode)(n("block_state"))},"minecraft:block_rot":{integrity:(0,tn.NumberNode)({min:0,max:1})},"minecraft:gravity":{heightmap:i({enum:"heightmap_type"}),offset:(0,tn.NumberNode)({integer:!0})},"minecraft:rule":{rules:(0,tn.ListNode)(n("processor_rule"))}}},{category:"function",context:"processor"}),{default:()=>({processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]})})),e.register("processor_rule",(0,tn.Mod)((0,tn.ObjectNode)({position_predicate:(0,tn.Opt)(n("pos_rule_test")),location_predicate:n("rule_test"),input_predicate:n("rule_test"),output_state:n("block_state"),output_nbt:(0,tn.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block"}}}))},{category:"predicate",context:"processor_rule"}),{default:()=>({location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}})}));const o={min_dist:(0,tn.NumberNode)({min:0,max:255,integer:!0}),max_dist:(0,tn.NumberNode)({min:0,max:255,integer:!0}),min_chance:(0,tn.NumberNode)({min:0,max:1}),max_chance:(0,tn.NumberNode)({min:0,max:1})};e.register("pos_rule_test",(0,tn.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"pos_rule_test"}}),[tn.Switch]:[{push:"predicate_type"}],[tn.Case]:{"minecraft:axis_aligned_linear_pos":H({axis:i({enum:["x","y","z"]})},o),"minecraft:linear_pos":o}},{context:"pos_rule_test",disableSwitchContext:!0})),e.register("rule_test",(0,tn.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"rule_test"}}),[tn.Switch]:[{push:"predicate_type"}],[tn.Case]:{"minecraft:block_match":{block:i({validator:"resource",params:{pool:"block"}})},"minecraft:blockstate_match":{block_state:n("block_state")},"minecraft:random_block_match":{block:i({validator:"resource",params:{pool:"block"}}),probability:(0,tn.NumberNode)({min:0,max:1})},"minecraft:random_blockstate_match":{block_state:n("block_state"),probability:(0,tn.NumberNode)({min:0,max:1})},"minecraft:tag_match":{tag:i({validator:"resource",params:{pool:"$tag/block"}})}}},{context:"rule_test",disableSwitchContext:!0}))}Qd.initProcessorListSchemas=vw;Object.defineProperty(Kd,"__esModule",{value:!0});Kd.initFeatureSchemas=void 0;const pe=j,Ji=Er;function Sw(e,t){const n=pe.Reference.bind(void 0,e),i=pe.StringNode.bind(void 0,t),o={can_replace:(0,pe.BooleanNode)(),project:(0,pe.BooleanNode)(),need_water:(0,pe.BooleanNode)(),xspread:(0,pe.NumberNode)({integer:!0}),yspread:(0,pe.NumberNode)({integer:!0}),zspread:(0,pe.NumberNode)({integer:!0}),tries:(0,pe.NumberNode)({integer:!0}),state_provider:n("block_state_provider"),block_placer:n("block_placer"),whitelist:(0,pe.ListNode)(n("block_state")),blacklist:(0,pe.ListNode)(n("block_state"))},r={state:n("block_state"),radius:(0,Ji.UniformInt)({min:0,max:4,maxSpread:4}),half_height:(0,pe.NumberNode)({integer:!0,min:0,max:4}),targets:(0,pe.ListNode)(n("block_state"))},a={cap_provider:n("block_state_provider"),stem_provider:n("block_state_provider"),foliage_radius:(0,pe.Opt)((0,pe.NumberNode)({integer:!0}))},s={state:n("block_state"),size:(0,pe.NumberNode)({integer:!0,min:0,max:64}),target:n("rule_test")},c={count:(0,Ji.UniformInt)({min:-10,max:128,maxSpread:128})},l=(0,pe.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:n("configured_feature")}],{choiceContext:"feature"});e.register("configured_feature",(0,pe.Mod)((0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature"}}),config:(0,pe.ObjectNode)({[pe.Switch]:["pop",{push:"type"}],[pe.Case]:{"minecraft:bamboo":{probability:(0,pe.NumberNode)({min:0,max:1})},"minecraft:basalt_columns":{reach:(0,Ji.UniformInt)({min:0,max:2,maxSpread:1}),height:(0,Ji.UniformInt)({min:1,max:5,maxSpread:5})},"minecraft:block_pile":{state_provider:n("block_state_provider")},"minecraft:decorated":{decorator:n("configured_decorator"),feature:l},"minecraft:delta_feature":{contents:n("block_state"),rim:n("block_state"),size:(0,Ji.UniformInt)({min:0,max:8,maxSpread:8}),rim_size:(0,Ji.UniformInt)({min:0,max:8,maxSpread:8})},"minecraft:disk":r,"minecraft:emerald_ore":{state:n("block_state"),target:n("block_state")},"minecraft:end_gateway":{exact:(0,pe.BooleanNode)(),exit:(0,pe.Opt)(n("block_pos"))},"minecraft:end_spike":{crystal_invulnerable:(0,pe.Opt)((0,pe.BooleanNode)()),crystal_beam_target:(0,pe.Opt)(n("block_pos")),spikes:(0,pe.ListNode)((0,pe.ObjectNode)({centerX:(0,pe.Opt)((0,pe.NumberNode)({integer:!0})),centerZ:(0,pe.Opt)((0,pe.NumberNode)({integer:!0})),radius:(0,pe.Opt)((0,pe.NumberNode)({integer:!0})),height:(0,pe.Opt)((0,pe.NumberNode)({integer:!0})),guarded:(0,pe.Opt)((0,pe.BooleanNode)())}))},"minecraft:fill_layer":{state:n("block_state"),height:(0,pe.NumberNode)({integer:!0,min:0,max:255})},"minecraft:flower":o,"minecraft:forest_rock":{state:n("block_state")},"minecraft:huge_brown_mushroom":a,"minecraft:huge_fungus":{hat_state:n("block_state"),decor_state:n("block_state"),stem_state:n("block_state"),valid_base_block:n("block_state"),planted:(0,pe.Opt)((0,pe.BooleanNode)())},"minecraft:huge_red_mushroom":a,"minecraft:ice_patch":r,"minecraft:iceberg":{state:n("block_state")},"minecraft:lake":{state:n("block_state")},"minecraft:nether_forest_vegetation":{state_provider:n("block_state_provider")},"minecraft:netherrack_replace_blobs":{state:n("block_state"),target:n("block_state"),radius:(0,Ji.UniformInt)()},"minecraft:no_bonemeal_flower":o,"minecraft:no_surface_ore":s,"minecraft:ore":s,"minecraft:random_patch":o,"minecraft:random_boolean_selector":{feature_false:l,feature_true:l},"minecraft:random_selector":{features:(0,pe.ListNode)((0,pe.ObjectNode)({chance:(0,pe.NumberNode)({min:0,max:1}),feature:l})),default:l},"minecraft:sea_pickle":c,"minecraft:seagrass":{probability:(0,pe.NumberNode)({min:0,max:1})},"minecraft:simple_block":{to_place:n("block_state"),place_on:(0,pe.ListNode)(n("block_state")),place_in:(0,pe.ListNode)(n("block_state")),place_under:(0,pe.ListNode)(n("block_state"))},"minecraft:simple_random_selector":{features:(0,pe.ListNode)(l)},"minecraft:spring_feature":{state:n("fluid_state"),rock_count:(0,pe.NumberNode)({integer:!0}),hole_count:(0,pe.NumberNode)({integer:!0}),requires_block_below:(0,pe.BooleanNode)(),valid_blocks:(0,pe.ListNode)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:tree":{max_water_depth:(0,pe.NumberNode)({integer:!0}),ignore_vines:(0,pe.BooleanNode)(),heightmap:i({enum:"heightmap_type"}),minimum_size:n("feature_size"),trunk_provider:n("block_state_provider"),leaves_provider:n("block_state_provider"),trunk_placer:(0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/trunk_placer_type"}}),base_height:(0,pe.NumberNode)({integer:!0,min:0,max:32}),height_rand_a:(0,pe.NumberNode)({integer:!0,min:0,max:24}),height_rand_b:(0,pe.NumberNode)({integer:!0,min:0,max:24})},{context:"trunk_placer"}),foliage_placer:(0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/foliage_placer_type"}}),radius:(0,Ji.UniformInt)({min:0,max:8,maxSpread:8}),offset:(0,Ji.UniformInt)({min:0,max:8,maxSpread:8}),[pe.Switch]:[{push:"type"}],[pe.Case]:{"minecraft:blob_foliage_placer":{height:(0,pe.NumberNode)({integer:!0,min:0,max:16})},"minecraft:bush_foliage_placer":{height:(0,pe.NumberNode)({integer:!0,min:0,max:16})},"minecraft:fancy_foliage_placer":{height:(0,pe.NumberNode)({integer:!0,min:0,max:16})},"minecraft:jungle_foliage_placer":{height:(0,pe.NumberNode)({integer:!0,min:0,max:16})},"minecraft:mega_pine_foliage_placer":{crown_height:(0,Ji.UniformInt)({min:0,max:16,maxSpread:8})},"minecraft:pine_foliage_placer":{height:(0,Ji.UniformInt)({min:0,max:16,maxSpread:8})},"minecraft:spruce_foliage_placer":{trunk_height:(0,Ji.UniformInt)({min:0,max:16,maxSpread:8})}}},{context:"foliage_placer",disableSwitchContext:!0}),decorators:(0,pe.ListNode)((0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/tree_decorator_type"}}),[pe.Switch]:[{push:"type"}],[pe.Case]:{"minecraft:alter_ground":{provider:n("block_state_provider")},"minecraft:beehive":{probability:(0,pe.NumberNode)({min:0,max:1})},"minecraft:cocoa":{probability:(0,pe.NumberNode)({min:0,max:1})}}},{context:"tree_decorator"}))}}},{context:"feature"})},{context:"feature"}),{default:()=>({type:"minecraft:decorated",config:{decorator:{type:"minecraft:count",config:{count:4}},feature:{type:"minecraft:tree",config:{max_water_depth:0,ignore_vines:!0,minimum_size:{},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:0},foliage_placer:{radius:2,offset:0,height:3}}}}})})),e.register("feature_size",(0,pe.Mod)((0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature_size_type"}}),min_clipped_height:(0,pe.Opt)((0,pe.NumberNode)({min:0,max:80})),[pe.Switch]:[{push:"type"}],[pe.Case]:{"minecraft:two_layers_feature_size":{limit:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:81})),lower_size:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:16}))},"minecraft:three_layers_feature_size":{limit:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:80})),upper_limit:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:80})),lower_size:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:16})),middle_size:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,pe.Opt)((0,pe.NumberNode)({integer:!0,min:0,max:16}))}}},{disableSwitchContext:!0}),{default:()=>({type:"minecraft:two_layers_feature_size"})})),e.register("block_state_provider",(0,pe.Mod)((0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_state_provider_type"}}),[pe.Switch]:[{push:"type"}],[pe.Case]:{"minecraft:rotated_block_provider":{state:n("block_state")},"minecraft:simple_state_provider":{state:n("block_state")},"minecraft:weighted_state_provider":{entries:(0,pe.ListNode)((0,pe.Mod)((0,pe.ObjectNode)({weight:(0,pe.NumberNode)({integer:!0,min:1}),data:n("block_state")}),{default:()=>({data:{}})}))}}},{context:"block_state_provider"}),{default:()=>({type:"minecraft:simple_state_provider"})})),e.register("block_placer",(0,pe.Mod)((0,pe.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_placer_type"}}),[pe.Switch]:[{push:"type"}],[pe.Case]:{"minecraft:column_placer":{min_size:(0,pe.NumberNode)({integer:!0}),extra_size:(0,pe.NumberNode)({integer:!0})}}},{context:"block_placer"}),{default:()=>({type:"minecraft:simple_block_placer"})}))}Kd.initFeatureSchemas=Sw;var Xd={};Object.defineProperty(Xd,"__esModule",{value:!0});Xd.initNoiseSettingsSchemas=void 0;const et=j,yw=Er;function Nw(e,t){const n=et.Reference.bind(void 0,e),i=et.StringNode.bind(void 0,t);e.register("noise_settings",(0,et.Mod)((0,et.ObjectNode)({name:(0,et.Mod)(i({validator:"resource",params:{pool:"$worldgen/noise_settings",isDefinition:!0}}),{enabled:o=>o.getArray().length>0}),bedrock_roof_position:(0,et.NumberNode)({integer:!0}),bedrock_floor_position:(0,et.NumberNode)({integer:!0}),sea_level:(0,et.NumberNode)({integer:!0}),disable_mob_generation:(0,et.BooleanNode)(),default_block:n("block_state"),default_fluid:n("block_state"),noise:(0,et.ObjectNode)({height:(0,et.NumberNode)({integer:!0}),density_factor:(0,et.NumberNode)(),density_offset:(0,et.NumberNode)(),size_horizontal:(0,et.NumberNode)({integer:!0}),size_vertical:(0,et.NumberNode)({integer:!0}),simplex_surface_noise:(0,et.BooleanNode)(),random_density_offset:(0,et.Opt)((0,et.BooleanNode)()),island_noise_override:(0,et.Opt)((0,et.BooleanNode)()),amplified:(0,et.Opt)((0,et.BooleanNode)()),sampling:(0,et.ObjectNode)({xz_scale:(0,et.NumberNode)(),y_scale:(0,et.NumberNode)(),xz_factor:(0,et.NumberNode)(),y_factor:(0,et.NumberNode)()}),bottom_slide:(0,et.ObjectNode)({target:(0,et.NumberNode)({integer:!0}),size:(0,et.NumberNode)({integer:!0}),offset:(0,et.NumberNode)({integer:!0})}),top_slide:(0,et.ObjectNode)({target:(0,et.NumberNode)({integer:!0}),size:(0,et.NumberNode)({integer:!0}),offset:(0,et.NumberNode)({integer:!0})})}),structures:n("generator_structures")},{context:"noise_settings"}),{default:()=>yw.DefaultNoiseSettings})),e.register("generator_structures",(0,et.ObjectNode)({stronghold:(0,et.Opt)((0,et.ObjectNode)({distance:(0,et.NumberNode)({integer:!0,min:0,max:1023}),spread:(0,et.NumberNode)({integer:!0,min:0,max:1023}),count:(0,et.NumberNode)({integer:!0,min:1,max:4095})})),structures:(0,et.MapNode)(i({validator:"resource",params:{pool:"worldgen/structure_feature"}}),(0,et.Mod)((0,et.ObjectNode)({spacing:(0,et.NumberNode)({integer:!0,min:0,max:4096}),separation:(0,et.Mod)((0,et.NumberNode)({integer:!0,min:0,max:4096}),o=>({validate:(r,a,s,c)=>(r.pop().push("spacing").get()<=a&&s.add(r,"error.separation_smaller_spacing"),o.validate(r,a,s,c))})),salt:(0,et.NumberNode)({integer:!0,min:0})},{context:"generator_structure"}),{default:()=>({spacing:10,separation:5,salt:0})}))})),e.register("generator_layer",(0,et.Mod)((0,et.ObjectNode)({block:i({validator:"resource",params:{pool:"block"}}),height:(0,et.NumberNode)({integer:!0,min:1})}),{default:()=>({block:"minecraft:stone",height:1})}))}Xd.initNoiseSettingsSchemas=Nw;var Zd={};Object.defineProperty(Zd,"__esModule",{value:!0});Zd.initStructureFeatureSchemas=void 0;const Mi=j;function Cw(e,t){const n=Mi.StringNode.bind(void 0,t),i={start_pool:n({validator:"resource",params:{pool:"$worldgen/template_pool"}}),size:(0,Mi.NumberNode)({integer:!0})};e.register("configured_structure_feature",(0,Mi.Mod)((0,Mi.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_feature"}}),config:(0,Mi.ObjectNode)({[Mi.Switch]:["pop",{push:"type"}],[Mi.Case]:{"minecraft:bastion_remnant":i,"minecraft:buried_treasure":{probability:(0,Mi.NumberNode)({min:0,max:1})},"minecraft:mineshaft":{type:n({enum:["normal","mesa"]}),probability:(0,Mi.NumberNode)({min:0,max:1})},"minecraft:ocean_ruin":{biome_temp:n({enum:["cold","warm"]}),large_probability:(0,Mi.NumberNode)({min:0,max:1}),cluster_probability:(0,Mi.NumberNode)({min:0,max:1})},"minecraft:pillager_outpost":i,"minecraft:ruined_portal":{portal_type:n({enum:["standard","desert","jungle","mountain","nether","ocean","swamp"]})},"minecraft:shipwreck":{is_beached:(0,Mi.Opt)((0,Mi.BooleanNode)())},"minecraft:village":i}},{context:"structure_feature",disableSwitchContext:!0})},{context:"structure_feature"}),{default:()=>({type:"minecraft:bastion_remnant",config:{start_pool:"minecraft:bastion/starts",size:6}})}))}Zd.initStructureFeatureSchemas=Cw;var Jd={};Object.defineProperty(Jd,"__esModule",{value:!0});Jd.initSurfaceBuilderSchemas=void 0;const $s=j;function Aw(e,t){const n=$s.StringNode.bind(void 0,t),i=$s.Reference.bind(void 0,e);e.register("configured_surface_builder",(0,$s.Mod)((0,$s.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/surface_builder"}}),config:(0,$s.ObjectNode)({top_material:i("block_state"),under_material:i("block_state"),underwater_material:i("block_state")},{context:"surface_builder"})},{context:"surface_builder"}),{default:()=>({type:"minecraft:default",config:{top_material:{Name:"minecraft:grass_block",Properties:{snowy:"false"}},under_material:{Name:"minecraft:dirt"},underwater_material:{Name:"minecraft:gravel"}}})}))}Jd.initSurfaceBuilderSchemas=Aw;var eu={};Object.defineProperty(eu,"__esModule",{value:!0});eu.initTemplatePoolSchemas=void 0;const Ni=j;function Ow(e,t){const n=Ni.Reference.bind(void 0,e),i=Ni.StringNode.bind(void 0,t),o=(0,Ni.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/processor_list"}}),change:r=>{}},{type:"object",node:n("processor_list"),change:r=>({processors:[{processor_type:"minecraft:nop"}]})}]);e.register("template_pool",(0,Ni.Mod)((0,Ni.ObjectNode)({name:i(),fallback:i(),elements:(0,Ni.ListNode)(n("template_weighted_element"))},{context:"template_pool"}),{default:()=>({fallback:"minecraft:empty",elements:[{weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}}]})})),e.register("template_weighted_element",(0,Ni.Mod)((0,Ni.ObjectNode)({weight:(0,Ni.NumberNode)({integer:!0,min:1}),element:n("template_element")},{category:"pool"}),{default:()=>({weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}})})),e.register("template_element",(0,Ni.Mod)((0,Ni.ObjectNode)({element_type:i({validator:"resource",params:{pool:"worldgen/structure_pool_element"}}),projection:i({enum:["rigid","terrain_matching"]}),[Ni.Switch]:[{push:"element_type"}],[Ni.Case]:{"minecraft:feature_pool_element":{feature:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},"minecraft:legacy_single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:o},"minecraft:list_pool_element":{elements:(0,Ni.ListNode)(n("template_element"))},"minecraft:single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:o}}},{context:"template_element",disableSwitchContext:!0}),{default:()=>({element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"})}))}eu.initTemplatePoolSchemas=Ow;Object.defineProperty(Vd,"__esModule",{value:!0});Vd.initWorldgenSchemas=void 0;const Tw=Wd,ww=jd,Rw=qd,xw=Kd,Dw=Xd,Iw=Qd,kw=Zd,Mw=Jd,Lw=eu;function Fw(e,t){(0,Tw.initBiomeSchemas)(e,t),(0,ww.initCarverSchemas)(e,t),(0,Rw.initDecoratorSchemas)(e,t),(0,xw.initFeatureSchemas)(e,t),(0,Dw.initNoiseSettingsSchemas)(e,t),(0,Iw.initProcessorListSchemas)(e,t),(0,kw.initStructureFeatureSchemas)(e,t),(0,Mw.initSurfaceBuilderSchemas)(e,t),(0,Lw.initTemplatePoolSchemas)(e,t)}Vd.initWorldgenSchemas=Fw;var tu={};Object.defineProperty(tu,"__esModule",{value:!0});tu.initWorldSettingsSchemas=void 0;const yo=j;function Pw(e,t){const n=yo.Reference.bind(void 0,e),i=yo.StringNode.bind(void 0,t);e.register("world_settings",(0,yo.Mod)((0,yo.ObjectNode)({generate_features:(0,yo.BooleanNode)(),bonus_chest:(0,yo.BooleanNode)(),seed:(0,yo.NumberNode)({integer:!0}),dimensions:(0,yo.MapNode)(i({validator:"resource",params:{pool:"$dimension"}}),n("dimension"))},{context:"world_settings"}),{default:()=>{const o=Math.floor(Math.random()*4294967296)-2147483648;return{generate_features:!0,bonus_chest:!1,seed:o,dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:vanilla_layered",seed:o},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",seed:o,humidity_noise:{firstOctave:-7,amplitudes:[1,1]},altitude_noise:{firstOctave:-7,amplitudes:[1,1]},weirdness_noise:{firstOctave:-7,amplitudes:[1,1]},temperature_noise:{firstOctave:-7,amplitudes:[1,1]},biomes:[{parameters:{altitude:0,weirdness:0,offset:0,temperature:0,humidity:0},biome:"minecraft:nether_wastes"},{parameters:{altitude:0,weirdness:0,offset:0,temperature:0,humidity:-.5},biome:"minecraft:soul_sand_valley"},{parameters:{altitude:0,weirdness:0,offset:0,temperature:.4,humidity:0},biome:"minecraft:crimson_forest"},{parameters:{altitude:0,weirdness:0,offset:.375,temperature:0,humidity:.5},biome:"minecraft:warped_forest"},{parameters:{altitude:0,weirdness:0,offset:.175,temperature:-.5,humidity:0},biome:"minecraft:basalt_deltas"}]},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:the_end",seed:o},settings:"minecraft:end"}}}}}}))}tu.initWorldSettingsSchemas=Pw;Object.defineProperty(Dd,"__esModule",{value:!0});Dd.initSchemas=void 0;const Bw=Id,$w=kd,Uw=Er,Gw=Fd,zw=Pd,Yw=Bd,Hw=$d,Vw=Ud,Ww=Gd,jw=zd,qw=Yd,Kw=Hd,Qw=Vd,Xw=tu;function Zw(e,t){(0,Uw.initCommonSchemas)(e,t),(0,Bw.initAdvancementSchemas)(e,t),(0,$w.initAssetsSchemas)(e,t),(0,Gw.initConditionSchemas)(e,t),(0,Yw.initDimensionTypeSchemas)(e,t),(0,zw.initDimensionSchemas)(e,t),(0,Hw.initLootTableSchemas)(e,t),(0,Vw.initPackMcmetaSchemas)(e,t),(0,Ww.initPredicatesSchemas)(e,t),(0,jw.initRecipeSchemas)(e,t),(0,qw.initTagsSchemas)(e,t),(0,Kw.initTextComponentSchemas)(e,t),(0,Qw.initWorldgenSchemas)(e,t),(0,Xw.initWorldSettingsSchemas)(e,t)}Dd.initSchemas=Zw;var Jw=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),eR=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),tR=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Jw(t,e,n);return eR(t,e),t};Object.defineProperty(co,"__esModule",{value:!0});var nv=co.getSchemas=ov=co.getCollections=rv=co.lootContext=void 0;const iv=j,nR=xd,iR=Dd;var rv=co.lootContext=tR(Hi);function rR(){const e=new iv.CollectionRegistry;return(0,nR.initCollections)(e),e}var ov=co.getCollections=rR;function oR(e){const t=new iv.SchemaRegistry;return(0,iR.initSchemas)(t,e),t}nv=co.getSchemas=oR;var aR=Ns({__proto__:null,get getSchemas(){return nv},get getCollections(){return ov},get lootContext(){return rv},default:co},[co]),uo={},nu={};Object.defineProperty(nu,"__esModule",{value:!0});nu.initCollections=void 0;function sR(e){e.register("advancement_trigger",["minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:item_used_on_block","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:lightning_strike","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_generates_container_loot","minecraft:player_hurt_entity","minecraft:player_interacted_with_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:shot_crossbow","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:started_riding","minecraft:summoned_entity","minecraft:tame_animal","minecraft:target_hit","minecraft:tick","minecraft:thrown_item_picked_up_by_entity","minecraft:used_ender_eye","minecraft:used_totem","minecraft:using_item","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("dimension",["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]),e.register("dimension_type",["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("worldgen/noise_settings",["minecraft:overworld","minecraft:nether","minecraft:end","minecraft:amplified","minecraft:caves","minecraft:floating_islands"]),e.register("entity_source",["this","killer","direct_killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("map_feature",["bastion_remnant","buried_treasure","desert_pyramid","endcity","fortress","igloo","jungle_pyramid","mansion","mineshaft","monument","nether_fossil","ocean_ruin","pillager_outpost","ruined_portal","shipwreck","stronghold","swamp_hut","village"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("worldgen/configured_feature",["minecraft:acacia","minecraft:bamboo_light","minecraft:bamboo_vegetation","minecraft:bamboo","minecraft:basalt_blobs","minecraft:basalt_pillar","minecraft:birch_bees_0002","minecraft:birch_bees_002","minecraft:birch_bees_005","minecraft:birch_other","minecraft:birch_tall","minecraft:birch","minecraft:blackstone_blobs","minecraft:blue_ice","minecraft:bonus_chest","minecraft:brown_mushroom_giant","minecraft:brown_mushroom_nether","minecraft:brown_mushroom_normal","minecraft:brown_mushroom_swamp","minecraft:brown_mushroom_taiga","minecraft:chorus_plant","minecraft:crimson_forest_vegetation","minecraft:crimson_fungi_planted","minecraft:crimson_fungi","minecraft:dark_forest_vegetation_brown","minecraft:dark_forest_vegetation_red","minecraft:dark_oak","minecraft:delta","minecraft:desert_well","minecraft:disk_clay","minecraft:disk_gravel","minecraft:disk_sand","minecraft:end_gateway_delayed","minecraft:end_gateway","minecraft:end_island_decorated","minecraft:end_island","minecraft:end_spike","minecraft:fancy_oak_bees_0002","minecraft:fancy_oak_bees_002","minecraft:fancy_oak_bees_005","minecraft:fancy_oak","minecraft:flower_default","minecraft:flower_forest","minecraft:flower_plain_decorated","minecraft:flower_plain","minecraft:flower_swamp","minecraft:flower_warm","minecraft:forest_flower_trees","minecraft:forest_flower_vegetation_common","minecraft:forest_flower_vegetation","minecraft:forest_rock","minecraft:fossil","minecraft:freeze_top_layer","minecraft:glowstone_extra","minecraft:glowstone","minecraft:huge_brown_mushroom","minecraft:huge_red_mushroom","minecraft:ice_patch","minecraft:ice_spike","minecraft:iceberg_blue","minecraft:iceberg_packed","minecraft:jungle_bush","minecraft:jungle_tree_no_vine","minecraft:jungle_tree","minecraft:kelp_cold","minecraft:kelp_warm","minecraft:lake_lava","minecraft:lake_water","minecraft:large_basalt_columns","minecraft:mega_jungle_tree","minecraft:mega_pine","minecraft:mega_spruce","minecraft:monster_room","minecraft:mushroom_field_vegetation","minecraft:nether_sprouts","minecraft:oak_badlands","minecraft:oak_bees_0002","minecraft:oak_bees_002","minecraft:oak_bees_005","minecraft:oak","minecraft:ore_andesite","minecraft:ore_blackstone","minecraft:ore_coal","minecraft:ore_debris_large","minecraft:ore_debris_small","minecraft:ore_diamond","minecraft:ore_diorite","minecraft:ore_dirt","minecraft:ore_emerald","minecraft:ore_gold_deltas","minecraft:ore_gold_extra","minecraft:ore_gold_nether","minecraft:ore_gold","minecraft:ore_granite","minecraft:ore_gravel_nether","minecraft:ore_gravel","minecraft:ore_infested","minecraft:ore_iron","minecraft:ore_lapis","minecraft:ore_magma","minecraft:ore_quartz_deltas","minecraft:ore_quartz_nether","minecraft:ore_redstone","minecraft:ore_soul_sand","minecraft:patch_berry_bush","minecraft:patch_berry_decorated","minecraft:patch_berry_sparse","minecraft:patch_brown_mushroom","minecraft:patch_cactus_decorated","minecraft:patch_cactus_desert","minecraft:patch_cactus","minecraft:patch_crimson_roots","minecraft:patch_dead_bush_2","minecraft:patch_dead_bush_badlands","minecraft:patch_dead_bush","minecraft:patch_fire","minecraft:patch_grass_badlands","minecraft:patch_grass_forest","minecraft:patch_grass_jungle","minecraft:patch_grass_normal","minecraft:patch_grass_plain","minecraft:patch_grass_savanna","minecraft:patch_grass_taiga_2","minecraft:patch_grass_taiga","minecraft:patch_large_fern","minecraft:patch_melon","minecraft:patch_pumpkin","minecraft:patch_red_mushroom","minecraft:patch_soul_fire","minecraft:patch_sugar_cane_badlands","minecraft:patch_sugar_cane_desert","minecraft:patch_sugar_cane_swamp","minecraft:patch_sugar_cane","minecraft:patch_sunflower","minecraft:patch_taiga_grass","minecraft:patch_tall_grass_2","minecraft:patch_tall_grass","minecraft:patch_waterlilly","minecraft:pile_hay","minecraft:pile_ice","minecraft:pile_melon","minecraft:pile_pumpkin","minecraft:pile_snow","minecraft:pine","minecraft:plain_vegetation","minecraft:red_mushroom_giant","minecraft:red_mushroom_nether","minecraft:red_mushroom_normal","minecraft:red_mushroom_swamp","minecraft:red_mushroom_taiga","minecraft:sea_pickle","minecraft:seagrass_cold","minecraft:seagrass_deep_cold","minecraft:seagrass_deep_warm","minecraft:seagrass_deep","minecraft:seagrass_normal","minecraft:seagrass_river","minecraft:seagrass_simple","minecraft:seagrass_swamp","minecraft:seagrass_warm","minecraft:small_basalt_columns","minecraft:spring_closed_double","minecraft:spring_closed","minecraft:spring_delta","minecraft:spring_lava_double","minecraft:spring_lava","minecraft:spring_open","minecraft:spring_water","minecraft:spruce_snowy","minecraft:spruce","minecraft:super_birch_bees_0002","minecraft:swamp_tree","minecraft:taiga_vegetation","minecraft:trees_birch","minecraft:trees_giant_spruce","minecraft:trees_giant","minecraft:trees_jungle_edge","minecraft:trees_jungle","minecraft:trees_mountain_edge","minecraft:trees_mountain","minecraft:trees_savanna","minecraft:trees_shattered_savanna","minecraft:trees_water","minecraft:twisting_vines","minecraft:vines","minecraft:void_start_platform","minecraft:warm_ocean_vegetation","minecraft:warped_forest_vegetation","minecraft:warped_fungi_planted","minecraft:warped_fungi","minecraft:weeping_vines"]),e.register("worldgen/configured_structure_feature",["minecraft:bastion_remnant","minecraft:buried_treasure","minecraft:desert_pyramid","minecraft:end_city","minecraft:fortress","minecraft:igloo","minecraft:jungle_pyramid","minecraft:mansion","minecraft:mineshaft_mesa","minecraft:mineshaft","minecraft:monument","minecraft:nether_fossil","minecraft:ocean_ruin_cold","minecraft:ocean_ruin_warm","minecraft:pillager_outpost","minecraft:ruined_portal_desert","minecraft:ruined_portal_jungle","minecraft:ruined_portal_mountain","minecraft:ruined_portal_nether","minecraft:ruined_portal_ocean","minecraft:ruined_portal_swamp","minecraft:ruined_portal","minecraft:shipwreck_beached","minecraft:shipwreck","minecraft:stronghold","minecraft:swamp_hut","minecraft:village_desert","minecraft:village_plains","minecraft:village_savanna","minecraft:village_snowy","minecraft:village_taiga"]),e.register("worldgen/configured_surface_builder",["minecraft:badlands","minecraft:basalt_deltas","minecraft:crimson_forest","minecraft:desert","minecraft:end","minecraft:eroded_badlands","minecraft:frozen_ocean","minecraft:full_sand","minecraft:giant_tree_taiga","minecraft:grass","minecraft:gravelly_mountain","minecraft:ice_spikes","minecraft:mountain","minecraft:mycelium","minecraft:nether","minecraft:nope","minecraft:ocean_sand","minecraft:shattered_savanna","minecraft:soul_sand_valley","minecraft:stone","minecraft:swamp","minecraft:warped_forest","minecraft:wooded_badlands"]),e.register("biome_category",["beach","desert","extreme_hills","forest","icy","jungle","mesa","mushroom","nether","none","ocean","plains","river","savanna","swamp","taiga","the_end","underground"]),e.register("heightmap_type",["MOTION_BLOCKING","MOTION_BLOCKING_NO_LEAVES","OCEAN_FLOOR","OCEAN_FLOOR_WG","WORLD_SURFACE","WORLD_SURFACE_WG"]),e.register("generation_step",["air","liquid"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("banner_pattern",["base","square_bottom_left","square_bottom_right","square_top_left","square_top_right","stripe_bottom","stripe_top","stripe_left","stripe_right","stripe_center","stripe_middle","stripe_downright","stripe_downleft","small_stripes","cross","straight_cross","triangle_bottom","triangle_top","triangles_bottom","triangles_top","diagonal_left","diagonal_up_right","diagonal_up_left","diagonal_right","circle","rhombus","half_vertical","half_horizontal","half_vertical_right","half_horizontal_bottom","border","curly_border","gradient","gradient_up","bricks","globe","creeper","skull","flower","mojang","piglin"]),e.register("dye_color",["white","orange","magenta","light_blue","yellow","lime","pink","gray","light_gray","cyan","purple","blue","brown","green","red","black"]),e.register("cat_texture",["textures/entity/cat/tabby.png","textures/entity/cat/black.png","textures/entity/cat/red.png","textures/entity/cat/siamese.png","textures/entity/cat/british_shorthair.png","textures/entity/cat/calico.png","textures/entity/cat/persian.png","textures/entity/cat/ragdoll.png","textures/entity/cat/white.png","textures/entity/cat/jellie.png","textures/entity/cat/all_black.png"])}nu.initCollections=sR;var iu={},ru={};Object.defineProperty(ru,"__esModule",{value:!0});ru.initAdvancementSchemas=void 0;const ye=j;function lR(e,t){const n=ye.Reference.bind(void 0,e),i=ye.StringNode.bind(void 0,t),o=(0,ye.ChoiceNode)([{type:"object",node:(0,ye.Opt)(n("entity_predicate")),change:r=>{var a,s;return(s=(a=r[0])===null||a===void 0?void 0:a.predicate)!==null&&s!==void 0?s:{}}},{type:"list",node:(0,ye.ListNode)(n("condition")),change:r=>[{condition:"minecraft:entity_properties",predicate:r}]}],{context:"conditions"});e.register("advancement",(0,ye.Mod)((0,ye.ObjectNode)({display:(0,ye.Opt)((0,ye.Mod)((0,ye.ObjectNode)({icon:(0,ye.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,ye.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,ye.Opt)(i()),frame:(0,ye.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,ye.Opt)((0,ye.BooleanNode)()),announce_to_chat:(0,ye.Opt)((0,ye.BooleanNode)()),hidden:(0,ye.Opt)((0,ye.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,ye.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,ye.MapNode)(i(),n("advancement_criteria")),requirements:(0,ye.Opt)((0,ye.ListNode)((0,ye.ListNode)(i()))),rewards:(0,ye.Opt)((0,ye.ObjectNode)({function:(0,ye.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,ye.Opt)((0,ye.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,ye.Opt)((0,ye.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,ye.Opt)((0,ye.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,ye.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,ye.Opt)((0,ye.ObjectNode)({player:(0,ye.Mod)(o,{enabled:r=>r.pop().push("trigger").get()!=="minecraft:impossible"}),[ye.Switch]:["pop",{push:"trigger"}],[ye.Case]:{"minecraft:bee_nest_destroyed":{block:(0,ye.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,ye.Opt)((0,ye.NumberNode)({integer:!0})),item:(0,ye.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:o,partner:o,child:o},"minecraft:brewed_potion":{potion:(0,ye.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,ye.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),to:(0,ye.Opt)(i({validator:"resource",params:{pool:"$dimension"}}))},"minecraft:channeled_lightning":{victims:(0,ye.Opt)((0,ye.ListNode)(o))},"minecraft:construct_beacon":{level:n("int_bounds")},"minecraft:consume_item":{item:(0,ye.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:o,zombie:o},"minecraft:effects_changed":{effects:(0,ye.Opt)((0,ye.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),(0,ye.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds")}))),source:(0,ye.Opt)(o)},"minecraft:enter_block":{block:(0,ye.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ye.Opt)((0,ye.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:n("int_bounds"),item:(0,ye.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,ye.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:o,killing_blow:(0,ye.Opt)(n("damage_source_predicate"))},"minecraft:filled_bucket":{item:(0,ye.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:o,item:(0,ye.Opt)(n("item_predicate"))},"minecraft:hero_of_the_village":{location:(0,ye.Opt)(n("location_predicate"))},"minecraft:inventory_changed":{slots:(0,ye.Opt)((0,ye.ObjectNode)({empty:n("int_bounds"),occupied:n("int_bounds"),full:n("int_bounds")})),items:(0,ye.Opt)((0,ye.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:n("int_bounds"),durability:n("int_bounds"),item:(0,ye.Opt)(n("item_predicate"))},"minecraft:item_used_on_block":{item:(0,ye.Opt)(n("item_predicate")),location:(0,ye.Opt)(n("location_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:n("int_bounds"),victims:(0,ye.Opt)((0,ye.ListNode)(o))},"minecraft:levitation":{distance:n("distance_predicate"),duration:n("int_bounds")},"minecraft:lightning_strike":{lightning:o,bystander:o},"minecraft:location":{location:(0,ye.Opt)(n("location_predicate"))},"minecraft:nether_travel":{distance:n("distance_predicate"),entered:(0,ye.Opt)(n("location_predicate")),exited:(0,ye.Opt)(n("location_predicate"))},"minecraft:placed_block":{block:(0,ye.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ye.Opt)((0,ye.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,ye.Opt)(n("item_predicate")),location:(0,ye.Opt)(n("location_predicate"))},"minecraft:player_generates_container_loot":{loot_table:i({validator:"resource",params:{pool:"$loot_table"}})},"minecraft:player_hurt_entity":{damage:(0,ye.Opt)(n("damage_predicate")),entity:o},"minecraft:player_interacted_with_entity":{item:(0,ye.Opt)(n("item_predicate")),entity:o},"minecraft:player_killed_entity":{entity:o,killing_blow:(0,ye.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:slept_in_bed":{location:(0,ye.Opt)(n("location_predicate"))},"minecraft:slide_down_block":{block:(0,ye.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,ye.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:o},"minecraft:tame_animal":{entity:o},"minecraft:target_hit":{projectile:o,shooter:o,signal_strength:n("int_bounds")},"minecraft:thrown_item_picked_up_by_entity":{entity:o,item:(0,ye.Opt)(n("item_predicate"))},"minecraft:used_ender_eye":{distance:n("float_bounds")},"minecraft:used_totem":{item:(0,ye.Opt)(n("item_predicate"))},"minecraft:using_item":{item:(0,ye.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:o,item:(0,ye.Opt)(n("item_predicate"))},"minecraft:voluntary_exile":{location:n("location_predicate")}}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}ru.initAdvancementSchemas=lR;var ou={},au={};Object.defineProperty(au,"__esModule",{value:!0});au.initModelSchemas=void 0;const xt=j;function cR(e,t){xt.Reference.bind(void 0,e);const n=xt.StringNode.bind(void 0,t),i=(r,a,s)=>(0,xt.ListNode)((0,xt.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,xt.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,xt.Mod)((0,xt.ObjectNode)({parent:(0,xt.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,xt.Opt)((0,xt.BooleanNode)()),gui_light:(0,xt.Opt)(n({enum:"gui_light"})),textures:(0,xt.Opt)((0,xt.MapNode)(n(),o)),elements:(0,xt.Opt)((0,xt.ListNode)((0,xt.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,xt.Opt)((0,xt.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,xt.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,xt.Opt)((0,xt.BooleanNode)())})),shade:(0,xt.Opt)((0,xt.BooleanNode)()),faces:(0,xt.MapNode)(n({enum:"direction"}),(0,xt.ObjectNode)({texture:o,uv:(0,xt.Opt)(i(4)),cullface:(0,xt.Opt)(n({enum:"direction"})),rotation:(0,xt.Opt)((0,xt.NumberNode)({integer:!0})),tintindex:(0,xt.Opt)((0,xt.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,xt.Opt)((0,xt.MapNode)(n({enum:"display_position"}),(0,xt.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,xt.Opt)((0,xt.ListNode)((0,xt.ObjectNode)({predicate:(0,xt.MapNode)(n({enum:"item_model_predicates"}),(0,xt.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}au.initModelSchemas=cR;var su={};Object.defineProperty(su,"__esModule",{value:!0});su.initBlockDefinitionSchemas=void 0;const _n=j;function dR(e,t){const n=_n.Reference.bind(void 0,e),i=_n.StringNode.bind(void 0,t);e.register("block_definition",(0,_n.Mod)((0,_n.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,_n.ObjectNode)({variants:(0,_n.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,_n.ObjectNode)({multipart:(0,_n.ListNode)((0,_n.ObjectNode)({when:(0,_n.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,_n.Opt)((0,_n.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,_n.Opt)((0,_n.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,_n.Opt)((0,_n.BooleanNode)())};e.register("model_variant",(0,_n.ChoiceNode)([{type:"object",node:(0,_n.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,_n.ListNode)((0,_n.ObjectNode)(qe(H({},o),{weight:(0,_n.Opt)((0,_n.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,_n.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,_n.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,_n.ObjectNode)({OR:(0,_n.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}su.initBlockDefinitionSchemas=dR;Object.defineProperty(ou,"__esModule",{value:!0});ou.initAssetsSchemas=void 0;const uR=au,_R=su;function mR(e,t){(0,_R.initBlockDefinitionSchemas)(e,t),(0,uR.initModelSchemas)(e,t)}ou.initAssetsSchemas=mR;var vr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.IntProvider=e.FloatProvider=e.NoiseSettingsPresets=e.DefaultNoiseSettings=e.DimensionTypePresets=e.DefaultDimensionType=e.FunctionCases=e.ConditionCases=void 0;const t=j;e.DefaultDimensionType={ultrawarm:!1,natural:!0,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!0,has_raids:!0,has_skylight:!0,has_ceiling:!1,coordinate_scale:1,ambient_light:0,logical_height:256,infiniburn:"minecraft:infiniburn_overworld",min_y:0,height:256},e.DefaultNoiseSettings={name:"minecraft:overworld",bedrock_roof_position:-10,bedrock_floor_position:0,sea_level:63,disable_mob_generation:!1,noise_caves_enabled:!0,aquifers_enabled:!0,deepslate_enabled:!0,noise:{min_y:0,height:256,density_factor:1,density_offset:-.46875,simplex_surface_noise:!0,random_density_offset:!0,size_horizontal:1,size_vertical:2,sampling:{xz_scale:1,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-10,size:3,offset:0},bottom_slide:{target:-30,size:0,offset:0}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}};function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);i.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),i.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),i.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0}),{minLength:3,maxLength:3}),{default:()=>[0,0,0]}));const s=l=>(0,t.Opt)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)({integer:l}),change:_=>{var d,u;return _===void 0?0:(u=(d=_.min)!==null&&d!==void 0?d:_.max)!==null&&u!==void 0?u:0}},{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)((0,t.NumberNode)({integer:l})),max:(0,t.Opt)((0,t.NumberNode)({integer:l}))},{context:"range"}),change:_=>({min:_!=null?_:0,max:_!=null?_:0})}]));i.register("int_bounds",s(!0)),i.register("float_bounds",s()),i.register("int_range",(0,t.ChoiceNode)([{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)(a("number_provider")),max:(0,t.Opt)(a("number_provider"))})},{type:"number",node:(0,t.NumberNode)({integer:!0})}],{context:"range"}));const c=(l,_,d,u,m,f,p)=>{let h={};m&&Object.keys(p[m]).forEach(v=>{h[v]=(0,t.Mod)(p[m][v],{enabled:E=>E.push("type").get()===void 0})});const b=(0,t.ObjectNode)(H({type:(0,t.Mod)((0,t.Opt)(r({validator:"resource",params:{pool:l}})),{hidden:()=>!0}),[t.Switch]:[{push:"type"}],[t.Case]:p},h),{context:f,disableSwitchContext:!0}),g=[{type:_,node:p[u][d]}];return m&&g.push({type:"object",priority:-1,node:b}),Object.keys(p).forEach(v=>{g.push({type:v,match:E=>{var S;if("minecraft:"+((S=E==null?void 0:E.type)===null||S===void 0?void 0:S.replace(/^minecraft:/,""))===v)return!0;const C=E?Object.keys(E):[];return typeof E=="object"&&((C==null?void 0:C.length)===0||(C==null?void 0:C.length)===1&&(C==null?void 0:C[0])==="type")},node:b,change:E=>({type:v})})}),(0,t.ChoiceNode)(g,{context:f,choiceContext:`${f}.type`})};i.register("number_provider",c("loot_number_provider_type","number","value","minecraft:constant","minecraft:uniform","number_provider",{"minecraft:constant":{value:(0,t.NumberNode)()},"minecraft:uniform":{min:a("number_provider"),max:a("number_provider")},"minecraft:binomial":{n:a("number_provider"),p:a("number_provider")},"minecraft:score":{target:a("scoreboard_name_provider"),score:r({validator:"objective"}),scale:(0,t.Opt)((0,t.NumberNode)())}})),i.register("scoreboard_name_provider",c("loot_score_provider_type","string","target","minecraft:context",null,"score_provider",{"minecraft:fixed":{name:r({validator:"entity",params:{amount:"multiple",type:"entities",isScoreHolder:!0}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"entity_source"}),{default:()=>"this"})}})),i.register("nbt_provider",c("loot_nbt_provider_type","string","target","minecraft:context",null,"nbt_provider",{"minecraft:storage":{source:r({validator:"resource",params:{pool:"$storage"}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"copy_source"}),{default:()=>"this"})}})),e.FloatProvider=l=>c("float_provider_type","number","value","minecraft:constant",null,"float_provider",{"minecraft:constant":{value:(0,t.NumberNode)(l)},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(l),max_exclusive:(0,t.NumberNode)(l)})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:trapezoid":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),plateau:(0,t.NumberNode)()})}}),i.register("float_provider",(0,e.FloatProvider)()),e.IntProvider=l=>c("int_provider_type","number","value","minecraft:constant",null,"int_provider",{"minecraft:constant":{value:(0,t.NumberNode)(H({integer:!0},l))},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:biased_to_bottom":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:clamped":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l)),source:a("int_provider")})}}),i.register("int_provider",(0,e.IntProvider)()),i.register("vertical_anchor",(0,t.ChoiceNode)(["absolute","above_bottom","below_top"].map(l=>({type:l,match:_=>(_==null?void 0:_[l])!==void 0,change:_=>{var d,u,m;return{[l]:(m=(u=(d=_.absolute)!==null&&d!==void 0?d:_.above_bottom)!==null&&u!==void 0?u:_.below_top)!==null&&m!==void 0?m:0}},node:(0,t.ObjectNode)({[l]:(0,t.NumberNode)({integer:!0,min:-2048,max:2047})})})),{context:"vertical_anchor"})),i.register("height_provider",c("height_provider_type","number","value","minecraft:constant",null,"height_provider",{"minecraft:constant":{value:a("vertical_anchor")},"minecraft:uniform":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor")},"minecraft:biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:very_biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:trapezoid":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),plateau:(0,t.Opt)((0,t.NumberNode)({integer:!0}))}})),e.ConditionCases=(l=r({enum:"entity_source"}))=>({"minecraft:alternative":{terms:(0,t.ListNode)(a("condition"))},"minecraft:block_state_property":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:a("damage_source_predicate")},"minecraft:entity_properties":{entity:l,predicate:a("entity_predicate")},"minecraft:entity_scores":{entity:l,scores:(0,t.MapNode)(r({validator:"objective"}),a("int_range"))},"minecraft:inverted":{term:a("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:a("location_predicate")},"minecraft:match_tool":{predicate:a("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:r({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:a("int_range"),period:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:value_check":{value:a("number_provider"),range:a("int_range")},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}}),e.FunctionCases=(l,_=r({enum:"copy_source"}),d=r({enum:"entity_source"}))=>{const u={"minecraft:apply_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),formula:r({validator:"resource",params:{pool:o.get("loot_table_apply_bonus_formula")}}),parameters:(0,t.Mod)((0,t.ObjectNode)({bonusMultiplier:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:f=>f.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:_},"minecraft:copy_nbt":{source:a("nbt_provider"),ops:(0,t.ListNode)((0,t.ObjectNode)({source:r({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:r({validator:"nbt_path",params:{category:"minecraft:item"}}),op:r({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.ListNode)(r({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,t.Opt)((0,t.ListNode)(r({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:a("number_provider"),treasure:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:exploration_map":{destination:(0,t.Opt)(r({enum:"map_feature"})),decoration:(0,t.Opt)(r({enum:"map_decoration"})),zoom:(0,t.Opt)((0,t.NumberNode)({integer:!0})),search_radius:(0,t.Opt)((0,t.NumberNode)({integer:!0})),skip_existing_chunks:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:fill_player_head":{entity:d},"minecraft:limit_count":{limit:a("int_range")},"minecraft:looting_enchant":{count:a("number_provider"),limit:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,t.ListNode)(a("attribute_modifier"))},"minecraft:set_banner_pattern":{patterns:(0,t.ListNode)((0,t.ObjectNode)({pattern:r({enum:"banner_pattern"}),color:r({enum:"dye_color"})})),append:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_contents":{entries:(0,t.ListNode)(a("loot_entry"))},"minecraft:set_count":{count:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_damage":{damage:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_enchantments":{enchantments:(0,t.MapNode)(r({validator:"resource",params:{pool:"enchantment"}}),a("number_provider")),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_loot_table":{name:r({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,t.Opt)(d),lore:(0,t.ListNode)(a("text_component")),replace:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_name":{entity:(0,t.Opt)(d),name:(0,t.Opt)(a("text_component"))},"minecraft:set_nbt":{tag:r({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_stew_effect":{effects:(0,t.Opt)((0,t.ListNode)((0,t.ObjectNode)({type:r({validator:"resource",params:{pool:"mob_effect"}}),duration:a("number_provider")})))}},m={};return o.get("loot_function_type").forEach(f=>{m[f]=H(H({},u[f]),l)}),m},e.DimensionTypePresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$dimension_type"}}),l,{"minecraft:overworld":e.DefaultDimensionType,"minecraft:the_nether":{name:"minecraft:the_nether",ultrawarm:!0,natural:!1,shrunk:!0,piglin_safe:!0,respawn_anchor_works:!0,bed_works:!1,has_raids:!1,has_skylight:!1,has_ceiling:!0,ambient_light:.1,fixed_time:18e3,logical_height:128,effects:"minecraft:the_nether",infiniburn:"minecraft:infiniburn_nether",min_y:0,height:256},"minecraft:the_end":{name:"minecraft:the_end",ultrawarm:!1,natural:!1,shrunk:!1,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!1,has_raids:!0,has_skylight:!1,has_ceiling:!1,ambient_light:0,fixed_time:6e3,logical_height:256,effects:"minecraft:the_end",infiniburn:"minecraft:infiniburn_end",min_y:0,height:256}}),e.NoiseSettingsPresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$worldgen/noise_settings"}}),l,{"minecraft:overworld":e.DefaultNoiseSettings,"minecraft:nether":{name:"minecraft:nether",bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,disable_mob_generation:!0,noise_caves_enabled:!1,aquifers_enabled:!1,deepslate_enabled:!1,noise:{min_y:0,height:128,density_factor:0,density_offset:.019921875,simplex_surface_noise:!1,random_density_offset:!1,size_horizontal:1,size_vertical:2,sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},top_slide:{target:120,size:3,offset:0},bottom_slide:{target:320,size:4,offset:-1}},default_block:{Name:"minecraft:netherrack"},default_fluid:{Name:"minecraft:lava",Properties:{level:"0"}}},"minecraft:end":{name:"minecraft:end",bedrock_roof_position:-10,bedrock_floor_position:-10,sea_level:0,disable_mob_generation:!0,noise_caves_enabled:!1,aquifers_enabled:!1,deepslate_enabled:!1,noise:{min_y:0,height:128,density_factor:0,density_offset:0,simplex_surface_noise:!0,random_density_offset:!1,island_noise_override:!0,size_horizontal:2,size_vertical:1,sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-3e3,size:64,offset:-46},bottom_slide:{target:-30,size:7,offset:1}},default_block:{Name:"minecraft:end_stone"},default_fluid:{Name:"minecraft:air"}},"minecraft:amplified":{name:"minecraft:amplified",bedrock_roof_position:-10,bedrock_floor_position:0,sea_level:63,disable_mob_generation:!1,noise_caves_enabled:!0,aquifers_enabled:!0,deepslate_enabled:!0,noise:{min_y:0,height:256,density_factor:1,density_offset:-.46875,simplex_surface_noise:!0,random_density_offset:!0,amplified:!0,size_horizontal:1,size_vertical:2,sampling:{xz_scale:1,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-10,size:3,offset:0},bottom_slide:{target:-30,size:0,offset:0}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}},"minecraft:caves":{name:"minecraft:caves",bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,disable_mob_generation:!0,noise_caves_enabled:!1,aquifers_enabled:!1,deepslate_enabled:!1,noise:{min_y:0,height:128,density_factor:0,density_offset:.019921875,simplex_surface_noise:!1,random_density_offset:!1,size_horizontal:1,size_vertical:2,sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},top_slide:{target:120,size:3,offset:0},bottom_slide:{target:320,size:4,offset:-1}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}},"minecraft:floating_islands":{name:"minecraft:floating_islands",bedrock_roof_position:-10,bedrock_floor_position:-10,sea_level:0,disable_mob_generation:!0,noise_caves_enabled:!1,aquifers_enabled:!1,deepslate_enabled:!1,noise:{min_y:0,height:128,density_factor:0,density_offset:0,simplex_surface_noise:!0,random_density_offset:!1,island_noise_override:!0,size_horizontal:2,size_vertical:1,sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},top_slide:{target:-3e3,size:64,offset:-46},bottom_slide:{target:-30,size:7,offset:1}},default_block:{Name:"minecraft:stone"},default_fluid:{Name:"minecraft:water",Properties:{level:"0"}}}})}e.initCommonSchemas=n})(vr);var lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.initConditionSchemas=void 0;const da=j,pR=vr;function fR(e,t){const n=da.Reference.bind(void 0,e),i=da.StringNode.bind(void 0,t);e.register("predicate",(0,da.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,da.Mod)((0,da.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[da.Switch]:[{push:"condition"}],[da.Case]:(0,pR.ConditionCases)()},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}lu.initConditionSchemas=fR;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.initDimensionSchemas=void 0;const pt=j,ng=vr;function hR(e,t){const n=pt.Reference.bind(void 0,e),i=pt.StringNode.bind(void 0,t),o=r=>(0,pt.Mod)(r,{enabled:a=>a.push("preset").get()===void 0});e.register("dimension",(0,pt.Mod)((0,pt.ObjectNode)({type:(0,ng.DimensionTypePresets)(n("dimension_type")),generator:(0,pt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/chunk_generator"}}),[pt.Switch]:[{push:"type"}],[pt.Case]:{"minecraft:noise":{seed:(0,pt.NumberNode)({integer:!0}),settings:(0,ng.NoiseSettingsPresets)(n("noise_settings")),biome_source:(0,pt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/biome_source"}}),[pt.Switch]:[{push:"type"}],[pt.Case]:{"minecraft:fixed":{biome:i({validator:"resource",params:{pool:"$worldgen/biome"}})},"minecraft:multi_noise":{seed:(0,pt.NumberNode)({integer:!0}),preset:(0,pt.Opt)(i({enum:["nether"]})),altitude_noise:o(n("generator_biome_noise")),temperature_noise:o(n("generator_biome_noise")),humidity_noise:o(n("generator_biome_noise")),weirdness_noise:o(n("generator_biome_noise")),biomes:o((0,pt.Mod)((0,pt.ListNode)(n("generator_biome")),{default:()=>[{biome:"minecraft:plains"}]}))},"minecraft:checkerboard":{scale:(0,pt.Opt)((0,pt.NumberNode)({integer:!0,min:0,max:62})),biomes:(0,pt.ListNode)(i({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:the_end":{seed:(0,pt.NumberNode)({integer:!0})},"minecraft:vanilla_layered":{seed:(0,pt.NumberNode)({integer:!0}),large_biomes:(0,pt.Opt)((0,pt.BooleanNode)()),legacy_biome_init_layer:(0,pt.Opt)((0,pt.BooleanNode)())}}},{category:"predicate",disableSwitchContext:!0})},"minecraft:flat":{settings:(0,pt.ObjectNode)({biome:(0,pt.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),lakes:(0,pt.Opt)((0,pt.BooleanNode)()),features:(0,pt.Opt)((0,pt.BooleanNode)()),layers:(0,pt.ListNode)(n("generator_layer")),structures:n("generator_structures")})}}},{disableSwitchContext:!0})},{category:"pool",context:"dimension"}),{default:()=>{const r=Math.floor(Math.random()*4294967296)-2147483648;return{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:r,biome_source:{type:"minecraft:fixed",seed:r,biome:"minecraft:plains"},settings:"minecraft:overworld"}}}})),e.register("generator_biome",(0,pt.Mod)((0,pt.ObjectNode)({biome:i({validator:"resource",params:{pool:"$worldgen/biome"}}),parameters:(0,pt.ObjectNode)({altitude:(0,pt.NumberNode)(),temperature:(0,pt.NumberNode)(),humidity:(0,pt.NumberNode)(),weirdness:(0,pt.NumberNode)(),offset:(0,pt.NumberNode)()})},{context:"generator_biome"}),{default:()=>({biome:"minecraft:plains",parameters:{altitude:0,temperature:0,humidity:0,weirdness:0,offset:0}})})),e.register("generator_biome_noise",(0,pt.Mod)((0,pt.ObjectNode)({firstOctave:(0,pt.NumberNode)({integer:!0}),amplitudes:(0,pt.ListNode)((0,pt.NumberNode)())},{context:"generator_biome_noise"}),{default:()=>({firstOctave:-7,amplitudes:[1,1]})}))}cu.initDimensionSchemas=hR;var du={};Object.defineProperty(du,"__esModule",{value:!0});du.initDimensionTypeSchemas=void 0;const Mn=j,gR=vr;function bR(e,t){const n=Mn.StringNode.bind(void 0,t);e.register("dimension_type",(0,Mn.Mod)((0,Mn.ObjectNode)({name:(0,Mn.Mod)(n({validator:"resource",params:{pool:"$dimension_type",isDefinition:!0}}),{enabled:i=>i.getArray().length>0}),ultrawarm:(0,Mn.BooleanNode)(),natural:(0,Mn.BooleanNode)(),piglin_safe:(0,Mn.BooleanNode)(),respawn_anchor_works:(0,Mn.BooleanNode)(),bed_works:(0,Mn.BooleanNode)(),has_raids:(0,Mn.BooleanNode)(),has_skylight:(0,Mn.BooleanNode)(),has_ceiling:(0,Mn.BooleanNode)(),coordinate_scale:(0,Mn.NumberNode)({min:1e-5,max:3e7}),ambient_light:(0,Mn.NumberNode)(),fixed_time:(0,Mn.Opt)((0,Mn.NumberNode)({integer:!0})),logical_height:(0,Mn.NumberNode)({integer:!0,min:0,max:4096}),effects:(0,Mn.Opt)(n({enum:["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]})),infiniburn:n({validator:"resource",params:{pool:"$tag/block"}}),min_y:(0,Mn.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,Mn.NumberNode)({integer:!0,min:0,max:4096})},{context:"dimension_type"}),i=>({default:()=>gR.DefaultDimensionType,validate:(o,r,a,s)=>(r=i.validate(o,r,a,s),(r==null?void 0:r.min_y)+(r==null?void 0:r.height)>2047&&a.add(o.push("height"),"error.min_y_plus_height",2047),(r==null?void 0:r.logical_height)>(r==null?void 0:r.height)&&a.add(o.push("logical_height"),"error.logical_height"),(r==null?void 0:r.height)%16!==0&&a.add(o.push("height"),"error.height_multiple",16),(r==null?void 0:r.min_y)%16!==0&&a.add(o.push("min_y"),"error.min_y_multiple",16),r)})))}du.initDimensionTypeSchemas=bR;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.initItemModifierSchemas=void 0;const Gr=j,ER=vr;function vR(e,t){const n=Gr.Reference.bind(void 0,e),i=Gr.StringNode.bind(void 0,t);e.register("item_modifier",(0,Gr.ObjectOrList)(n("function"),{choiceContext:"function"}));const o={conditions:(0,Gr.Opt)((0,Gr.ListNode)(n("condition")))};e.register("function",(0,Gr.Mod)((0,Gr.ObjectNode)({function:i({validator:"resource",params:{pool:"loot_function_type"}}),[Gr.Switch]:[{push:"function"}],[Gr.Case]:(0,ER.FunctionCases)(o)},{category:"function",context:"function"}),{default:()=>[{function:"minecraft:set_count",count:1}]}))}uu.initItemModifierSchemas=vR;var _u={},Vi={};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.LootFunctions=Vi.LootConditions=Vi.LootCopySources=Vi.LootEntitySources=Vi.LootTableTypes=void 0;Vi.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);Vi.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Vi.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Vi.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);Vi.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_banner_pattern",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty(_u,"__esModule",{value:!0});_u.initLootTableSchemas=void 0;const ft=j,Us=Vi,ig=vr;function SR(e,t){const n=ft.Reference.bind(void 0,e),i=ft.StringNode.bind(void 0,t),o={conditions:(0,ft.Opt)((0,ft.ListNode)(n("loot_condition")))},r=H({functions:(0,ft.Opt)((0,ft.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of Us.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new ft.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,ft.SwitchNode)(p)}const s=a(Us.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(Us.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(Us.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(Us.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,ft.Mod)((0,ft.ObjectNode)({type:(0,ft.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,ft.Opt)((0,ft.ListNode)((0,ft.Mod)((0,ft.ObjectNode)(H({rolls:n("number_provider"),bonus_rolls:(0,ft.Opt)(n("number_provider")),entries:(0,ft.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,ft.Opt)((0,ft.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,ft.Mod)((0,ft.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,ft.Opt)((0,ft.Mod)((0,ft.NumberNode)({integer:!0,min:1}),d)),quality:(0,ft.Opt)((0,ft.Mod)((0,ft.NumberNode)({integer:!0}),d)),[ft.Switch]:[{push:"type"}],[ft.Case]:{"minecraft:alternatives":H({children:(0,ft.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,ft.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,ft.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,ft.Opt)((0,ft.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,ft.Mod)((0,ft.ObjectNode)({function:c,[ft.Switch]:[{push:"function"}],[ft.Case]:(0,ig.FunctionCases)(o,_,l)},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,ft.Mod)((0,ft.ObjectNode)({condition:s,[ft.Switch]:[{push:"condition"}],[ft.Case]:(0,ig.ConditionCases)(l)},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,ft.Mod)((0,ft.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:n("number_provider"),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,ft.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}_u.initLootTableSchemas=SR;var mu={};Object.defineProperty(mu,"__esModule",{value:!0});mu.initPackMcmetaSchemas=void 0;const ua=j,No=7;function yR(e,t){e.register("pack_mcmeta",(0,ua.Mod)((0,ua.ObjectNode)({pack:(0,ua.Mod)((0,ua.ObjectNode)({pack_format:(0,ua.Mod)((0,ua.NumberNode)({integer:!0,min:No,max:No}),{default:()=>No,canUpdate:(n,i)=>i!==No,update:()=>[{name:"pack_format",params:[No],newValue:No}]}),description:(0,ua.Reference)(e,"text_component")}),{default:()=>({pack_format:No,description:""})})}),{default:()=>({pack:{pack_format:No,description:""}})}))}mu.initPackMcmetaSchemas=yR;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.initPredicatesSchemas=void 0;const le=j;function NR(e,t){const n=le.Reference.bind(void 0,e),i=le.StringNode.bind(void 0,t),o=(0,le.ChoiceNode)([{type:"string",node:i(),change:r=>typeof r=="boolean"||typeof r=="number"?r.toString():""},{type:"number",node:(0,le.NumberNode)(),change:r=>typeof r=="string"?parseInt(r):0},{type:"object",node:(0,le.ObjectNode)({min:(0,le.Opt)((0,le.NumberNode)({integer:!0})),max:(0,le.Opt)((0,le.NumberNode)({integer:!0}))}),change:r=>typeof r=="number"?{min:r,max:r}:{}},{type:"boolean",node:(0,le.BooleanNode)(),change:r=>r==="true"||r===1}]);e.register("item_predicate",(0,le.ObjectNode)({items:(0,le.Opt)((0,le.ListNode)(i({validator:"resource",params:{pool:"item"}}))),tag:(0,le.Opt)(i({validator:"resource",params:{pool:"$tag/item"}})),count:n("int_bounds"),durability:n("int_bounds"),potion:(0,le.Opt)(i({validator:"resource",params:{pool:"potion"}})),nbt:(0,le.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,le.Opt)((0,le.ListNode)(n("enchantment_predicate")))},{context:"item"})),e.register("enchantment_predicate",(0,le.ObjectNode)({enchantment:(0,le.Opt)(i({validator:"resource",params:{pool:"enchantment"}})),levels:n("int_bounds")},{context:"enchantment"})),e.register("block_predicate",(0,le.ObjectNode)({blocks:(0,le.Opt)((0,le.ListNode)(i({validator:"resource",params:{pool:"block"}}))),tag:(0,le.Opt)(i({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,le.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,le.Opt)((0,le.MapNode)(i(),o,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),e.register("fluid_predicate",(0,le.ObjectNode)({fluid:(0,le.Opt)(i({validator:"resource",params:{pool:"fluid"}})),tag:(0,le.Opt)(i({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,le.Opt)((0,le.MapNode)(i(),o))},{context:"fluid"})),e.register("location_predicate",(0,le.ObjectNode)({position:(0,le.Opt)((0,le.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds")})),biome:(0,le.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),feature:(0,le.Opt)(i({enum:t.get("worldgen/structure_feature").map(r=>r.slice(10))})),dimension:(0,le.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),light:(0,le.Opt)((0,le.ObjectNode)({light:n("int_bounds")})),smokey:(0,le.Opt)((0,le.BooleanNode)()),block:(0,le.Opt)(n("block_predicate")),fluid:(0,le.Opt)(n("fluid_predicate"))},{context:"location"})),e.register("statistic_predicate",(0,le.ObjectNode)({type:i({validator:"resource",params:{pool:"stat_type"}}),stat:i(),value:n("int_bounds"),[le.Switch]:[{push:"type"}],[le.Case]:{"minecraft:mined":{stat:i({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:i({validator:"resource",params:{pool:"custom_stat"}})}}})),e.register("player_predicate",(0,le.ObjectNode)({gamemode:(0,le.Opt)(i({enum:"gamemode"})),level:n("int_bounds"),advancements:(0,le.Opt)((0,le.MapNode)(i({validator:"resource",params:{pool:"$advancement"}}),(0,le.ChoiceNode)([{type:"boolean",node:(0,le.BooleanNode)(),change:r=>!0},{type:"object",node:(0,le.MapNode)(i(),(0,le.BooleanNode)())}]))),recipes:(0,le.Opt)((0,le.MapNode)(i({validator:"resource",params:{pool:"$recipe"}}),(0,le.BooleanNode)())),stats:(0,le.Opt)((0,le.ListNode)(n("statistic_predicate"))),looking_at:(0,le.Opt)(n("entity_predicate"))},{context:"player"})),e.register("status_effect_predicate",(0,le.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds"),ambient:(0,le.Opt)((0,le.BooleanNode)()),visible:(0,le.Opt)((0,le.BooleanNode)())},{context:"status_effect"})),e.register("distance_predicate",(0,le.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds"),absolute:n("float_bounds"),horizontal:n("float_bounds")},{context:"distance"})),e.register("entity_predicate",(0,le.ObjectNode)({type:(0,le.Opt)(i({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),nbt:(0,le.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,le.Opt)(i({validator:"team"})),location:(0,le.Opt)(n("location_predicate")),stepping_on:(0,le.Opt)(n("location_predicate")),distance:(0,le.Opt)(n("distance_predicate")),flags:(0,le.Opt)((0,le.ObjectNode)({is_on_fire:(0,le.Opt)((0,le.BooleanNode)()),is_sneaking:(0,le.Opt)((0,le.BooleanNode)()),is_sprinting:(0,le.Opt)((0,le.BooleanNode)()),is_swimming:(0,le.Opt)((0,le.BooleanNode)()),is_baby:(0,le.Opt)((0,le.BooleanNode)())})),equipment:(0,le.Opt)((0,le.MapNode)(i({enum:"slot"}),n("item_predicate"))),vehicle:(0,le.Opt)(n("entity_predicate")),passenger:(0,le.Opt)(n("entity_predicate")),targeted_entity:(0,le.Opt)(n("entity_predicate")),player:(0,le.Opt)(n("player_predicate")),lightning_bolt:(0,le.Opt)((0,le.ObjectNode)({blocks_set_on_fire:(0,le.Opt)(n("int_bounds")),entity_struck:(0,le.Opt)(n("entity_predicate"))})),fishing_hook:(0,le.Opt)((0,le.ObjectNode)({in_open_water:(0,le.Opt)((0,le.BooleanNode)())})),catType:(0,le.Opt)(i({enum:"cat_texture"})),effects:(0,le.Opt)((0,le.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},{context:"entity"})),e.register("damage_source_predicate",(0,le.ObjectNode)({is_explosion:(0,le.Opt)((0,le.BooleanNode)()),is_fire:(0,le.Opt)((0,le.BooleanNode)()),is_magic:(0,le.Opt)((0,le.BooleanNode)()),is_projectile:(0,le.Opt)((0,le.BooleanNode)()),is_lightning:(0,le.Opt)((0,le.BooleanNode)()),bypasses_armor:(0,le.Opt)((0,le.BooleanNode)()),bypasses_invulnerability:(0,le.Opt)((0,le.BooleanNode)()),bypasses_magic:(0,le.Opt)((0,le.BooleanNode)()),source_entity:(0,le.Opt)(n("entity_predicate")),direct_entity:(0,le.Opt)(n("entity_predicate"))},{context:"damage_source"})),e.register("damage_predicate",(0,le.ObjectNode)({dealt:n("float_bounds"),taken:n("float_bounds"),blocked:(0,le.Opt)((0,le.BooleanNode)()),source_entity:(0,le.Opt)(n("entity_predicate")),type:(0,le.Opt)(n("damage_source_predicate"))},{context:"damage"}))}pu.initPredicatesSchemas=NR;var fu={};Object.defineProperty(fu,"__esModule",{value:!0});fu.initRecipeSchemas=void 0;const ot=j;function CR(e,t){const n=ot.Reference.bind(void 0,e),i=ot.StringNode.bind(void 0,t);e.register("recipe",(0,ot.Mod)((0,ot.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[ot.Switch]:[{push:"type"}],[ot.Case]:{"minecraft:crafting_shaped":{group:(0,ot.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,ot.ListNode)(i()),key:(0,ot.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,ot.Opt)(i()),ingredients:(0,ot.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,ot.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,ot.Opt)((0,ot.NumberNode)()),cookingtime:(0,ot.Opt)((0,ot.Mod)((0,ot.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,ot.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,ot.Opt)((0,ot.NumberNode)()),cookingtime:(0,ot.Opt)((0,ot.Mod)((0,ot.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,ot.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,ot.Opt)((0,ot.NumberNode)()),cookingtime:(0,ot.Opt)((0,ot.Mod)((0,ot.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,ot.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,ot.Opt)((0,ot.NumberNode)()),cookingtime:(0,ot.Opt)((0,ot.Mod)((0,ot.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,ot.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,ot.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,ot.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,ot.Mod)((0,ot.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,ot.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,ot.Mod)((0,ot.ObjectNode)({item:(0,ot.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,ot.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,ot.Mod)((0,ot.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,ot.Opt)((0,ot.Mod)((0,ot.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}fu.initRecipeSchemas=CR;var hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.initTagsSchemas=void 0;const zr=j;function AR(e,t){const n=zr.StringNode.bind(void 0,t),i=o=>(0,zr.Mod)((0,zr.ObjectNode)({replace:(0,zr.Opt)((0,zr.BooleanNode)()),values:(0,zr.ListNode)((0,zr.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,zr.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,zr.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("game_event_tag",i("game_event")),e.register("item_tag",i("item"))}hu.initTagsSchemas=AR;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});gu.initTextComponentSchemas=void 0;const Fe=j;function OR(e,t){const n=Fe.Reference.bind(void 0,e),i=Fe.StringNode.bind(void 0,t),o=a=>{var s;return a instanceof Array?o(a[0]):(s=a==null?void 0:a.text)!==null&&s!==void 0?s:typeof a=="object"?"":a==null?void 0:a.toString()};e.register("text_component",(0,Fe.Mod)((0,Fe.ChoiceNode)([{type:"object",node:n("text_component_object"),change:a=>a instanceof Array?typeof a[0]=="object"?a[0]:{text:o(a[0])}:typeof a=="object"?a:{text:o(a)}},{type:"list",node:n("text_component_list"),change:a=>[a]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,Fe.NumberNode)(),change:a=>{const s=parseFloat(o(a));return isFinite(s)?s:a?1:0}},{type:"boolean",node:(0,Fe.BooleanNode)(),change:a=>{const s=o(a);return s==="true"||s==="false"?s==="true":!!s}}],{context:"text_component"}),{default:()=>({text:""})}));const r={color:(0,Fe.Opt)(i()),font:(0,Fe.Opt)(i()),bold:(0,Fe.Opt)((0,Fe.BooleanNode)()),italic:(0,Fe.Opt)((0,Fe.BooleanNode)()),underlined:(0,Fe.Opt)((0,Fe.BooleanNode)()),strikethrough:(0,Fe.Opt)((0,Fe.BooleanNode)()),obfuscated:(0,Fe.Opt)((0,Fe.BooleanNode)()),insertion:(0,Fe.Opt)(i()),clickEvent:(0,Fe.Opt)((0,Fe.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[Fe.Switch]:[{push:"action"}],[Fe.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,Fe.Opt)((0,Fe.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[Fe.Switch]:[{push:"action"}],[Fe.Case]:{show_text:{value:(0,Fe.Opt)(n("text_component")),contents:(0,Fe.Opt)(n("text_component"))},show_item:{value:(0,Fe.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}})),contents:(0,Fe.Opt)((0,Fe.ObjectNode)({id:i({validator:"resource",params:{pool:"item"}}),count:(0,Fe.Opt)((0,Fe.NumberNode)({integer:!0})),tag:(0,Fe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"id"}]}}}))}))},show_entity:{value:(0,Fe.Opt)((0,Fe.ObjectNode)({name:(0,Fe.Opt)(i()),type:(0,Fe.Opt)(i()),id:(0,Fe.Opt)(i())})),contents:(0,Fe.Opt)((0,Fe.Mod)((0,Fe.ObjectNode)({name:(0,Fe.Opt)(n("text_component")),type:i({validator:"resource",params:{pool:"entity_type"}}),id:i({validator:"uuid"})}),{default:()=>({type:"minecraft:pig",id:"00000001-0001-0001-0001-000000000001"})}))}}})),extra:(0,Fe.Opt)(n("text_component_list"))};e.register("text_component_object",(0,Fe.Mod)((0,Fe.ChoiceNode)([{type:"text",match:a=>typeof a=="object",change:a=>({text:""}),priority:-1,node:(0,Fe.ObjectNode)(H({text:i()},r))},{type:"translation",match:a=>(a==null?void 0:a.translate)!==void 0,change:a=>({translate:""}),node:(0,Fe.ObjectNode)(H({translate:i(),with:(0,Fe.Opt)(n("text_component_list"))},r))},{type:"score",match:a=>(a==null?void 0:a.score)!==void 0,change:a=>({score:{}}),node:(0,Fe.ObjectNode)(H({score:(0,Fe.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,Fe.Opt)(i())})},r))},{type:"selector",match:a=>(a==null?void 0:a.selector)!==void 0,change:a=>({selector:""}),node:(0,Fe.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}}),separator:(0,Fe.Opt)(n("text_component"))},r))},{type:"keybind",match:a=>(a==null?void 0:a.keybind)!==void 0,change:a=>({keybind:""}),node:(0,Fe.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},r))},{type:"nbt",match:a=>(a==null?void 0:a.nbt)!==void 0,change:a=>({nbt:""}),node:(0,Fe.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,Fe.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,Fe.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,Fe.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,Fe.Opt)((0,Fe.BooleanNode)()),separator:(0,Fe.Opt)(n("text_component"))},r))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,Fe.Mod)((0,Fe.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}gu.initTextComponentSchemas=OR;var bu={},Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.initBiomeSchemas=void 0;const He=j;function TR(e,t){const n=He.StringNode.bind(void 0,t);e.register("biome",(0,He.Mod)((0,He.ObjectNode)({surface_builder:n({validator:"resource",params:{pool:"$worldgen/configured_surface_builder"}}),depth:(0,He.NumberNode)(),scale:(0,He.NumberNode)(),temperature:(0,He.NumberNode)(),downfall:(0,He.NumberNode)(),precipitation:n({enum:["none","rain","snow"]}),temperature_modifier:(0,He.Opt)(n({enum:["none","frozen"]})),category:n({enum:"biome_category"}),player_spawn_friendly:(0,He.Opt)((0,He.BooleanNode)()),creature_spawn_probability:(0,He.Opt)((0,He.NumberNode)({min:0,max:1})),effects:(0,He.ObjectNode)({sky_color:(0,He.NumberNode)({color:!0}),fog_color:(0,He.NumberNode)({color:!0}),water_color:(0,He.NumberNode)({color:!0}),water_fog_color:(0,He.NumberNode)({color:!0}),grass_color:(0,He.Opt)((0,He.NumberNode)({color:!0})),foliage_color:(0,He.Opt)((0,He.NumberNode)({color:!0})),grass_color_modifier:(0,He.Opt)(n({enum:["none","dark_forest","swamp"]})),ambient_sound:(0,He.Opt)(n()),mood_sound:(0,He.Opt)((0,He.ObjectNode)({sound:n(),tick_delay:(0,He.NumberNode)({integer:!0}),block_search_extent:(0,He.NumberNode)({integer:!0}),offset:(0,He.NumberNode)()})),additions_sound:(0,He.Opt)((0,He.ObjectNode)({sound:n(),tick_chance:(0,He.NumberNode)({min:0,max:1})})),music:(0,He.Opt)((0,He.ObjectNode)({sound:n(),min_delay:(0,He.NumberNode)({integer:!0,min:0}),max_delay:(0,He.NumberNode)({integer:!0,min:0}),replace_current_music:(0,He.BooleanNode)()})),particle:(0,He.Opt)((0,He.ObjectNode)({options:(0,He.ObjectNode)({type:n()}),probability:(0,He.NumberNode)({min:0,max:1})}))}),starts:(0,He.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_structure_feature"}})),spawners:(0,He.MapNode)(n({enum:["monster","creature","ambient","underground_water_creature","water_creature","water_ambient","misc"]}),(0,He.Mod)((0,He.ListNode)((0,He.ObjectNode)({type:n({validator:"resource",params:{pool:"entity_type"}}),weight:(0,He.NumberNode)({integer:!0}),minCount:(0,He.NumberNode)({integer:!0}),maxCount:(0,He.NumberNode)({integer:!0})})),{category:()=>"pool",default:()=>[{type:"minecraft:bat",weight:1}]})),spawn_costs:(0,He.MapNode)(n({validator:"resource",params:{pool:"entity_type"}}),(0,He.Mod)((0,He.ObjectNode)({energy_budget:(0,He.NumberNode)(),charge:(0,He.NumberNode)()},{category:"function"}),{default:()=>({energy_budget:.12,charge:1})})),carvers:(0,He.MapNode)(n({enum:["air","liquid"]}),(0,He.Mod)((0,He.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_carver"}})),{default:()=>["minecraft:cave"]})),features:(0,He.ListNode)((0,He.Mod)((0,He.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_feature"}})),{category:()=>"predicate"}),{maxLength:10})},{context:"biome"}),{default:()=>({surface_builder:"minecraft:grass",depth:.125,scale:.05,temperature:.8,downfall:.4,precipitation:"rain",category:"plains",effects:{sky_color:7907327,fog_color:12638463,water_color:4159204,water_fog_color:329011}})}))}Eu.initBiomeSchemas=TR;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});vu.initCarverSchemas=void 0;const In=j,Co=vr;function wR(e,t){const n=In.Reference.bind(void 0,e),i=In.StringNode.bind(void 0,t),o={vertical_rotation:(0,Co.FloatProvider)(),shape:(0,In.ObjectNode)({distance_factor:(0,Co.FloatProvider)(),thickness:(0,Co.FloatProvider)(),width_smoothness:(0,In.NumberNode)({integer:!0,min:0}),horizontal_radius_factor:(0,Co.FloatProvider)(),vertical_radius_default_factor:(0,In.NumberNode)(),vertical_radius_center_factor:(0,In.NumberNode)()})},r={horizontal_radius_multiplier:(0,Co.FloatProvider)(),vertical_radius_multiplier:(0,Co.FloatProvider)(),floor_level:(0,Co.FloatProvider)({min:-1,max:1})};e.register("configured_carver",(0,In.Mod)((0,In.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/carver"}}),config:(0,In.ObjectNode)({probability:(0,In.NumberNode)({min:0,max:1}),y:n("height_provider"),yScale:(0,Co.FloatProvider)(),lava_level:n("vertical_anchor"),aquifers_enabled:(0,In.BooleanNode)(),debug_settings:(0,In.Opt)((0,In.ObjectNode)({debug_mode:(0,In.Opt)((0,In.BooleanNode)()),air_state:(0,In.Opt)(n("block_state")),water_state:(0,In.Opt)(n("block_state")),lava_state:(0,In.Opt)(n("block_state")),barrier_state:(0,In.Opt)(n("block_state"))})),[In.Switch]:["pop",{push:"type"}],[In.Case]:{"minecraft:canyon":o,"minecraft:cave":r,"minecraft:nether_cave":r}})},{context:"carver"}),{default:()=>({type:"minecraft:cave",config:{probability:.1}})}))}vu.initCarverSchemas=wR;var Su={};Object.defineProperty(Su,"__esModule",{value:!0});Su.initDecoratorSchemas=void 0;const Ln=j,RR=vr;function xR(e,t){const n=Ln.Reference.bind(void 0,e),i=Ln.StringNode.bind(void 0,t),o={count:(0,RR.IntProvider)({min:0,max:256})};e.register("configured_decorator",(0,Ln.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/decorator"}}),config:(0,Ln.ObjectNode)({[Ln.Switch]:["pop",{push:"type"}],[Ln.Case]:{"minecraft:carving_mask":{step:i({enum:"generation_step"})},"minecraft:cave_surface":{surface:i({enum:["floor","ceiling"]}),floor_to_ceiling_search_range:(0,Ln.NumberNode)({integer:!0})},"minecraft:chance":{chance:(0,Ln.NumberNode)({integer:!0,min:0})},"minecraft:count":o,"minecraft:count_extra":{count:(0,Ln.NumberNode)({integer:!0,min:0}),extra_count:(0,Ln.NumberNode)({integer:!0,min:0}),extra_chance:(0,Ln.NumberNode)({min:0,max:1})},"minecraft:count_multilayer":o,"minecraft:count_noise":{noise_level:(0,Ln.NumberNode)(),below_noise:(0,Ln.NumberNode)({integer:!0}),above_noise:(0,Ln.NumberNode)({integer:!0})},"minecraft:count_noise_biased":{noise_to_count_ratio:(0,Ln.NumberNode)({integer:!0}),noise_factor:(0,Ln.NumberNode)(),noise_offset:(0,Ln.Opt)((0,Ln.NumberNode)())},"minecraft:decorated":{outer:n("configured_decorator"),inner:n("configured_decorator")},"minecraft:heightmap":{heightmap:i({enum:"heightmap_type"})},"minecraft:heightmap_spread_double":{heightmap:i({enum:"heightmap_type"})},"minecraft:lava_lake":{chance:(0,Ln.NumberNode)({integer:!0,min:0})},"minecraft:range":{height:n("height_provider")},"minecraft:water_depth_threshold":{max_water_depth:(0,Ln.NumberNode)({integer:!0})}}},{context:"decorator",category:"predicate"})},{context:"decorator",category:"predicate"}))}Su.initDecoratorSchemas=xR;var yu={},Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.initProcessorListSchemas=Jo.Processors=void 0;const Pt=j;function DR(e,t){const n=Pt.Reference.bind(void 0,e),i=Pt.StringNode.bind(void 0,t);Jo.Processors=(0,Pt.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/processor_list"}}),change:r=>{}},{type:"object",node:n("processor_list"),change:r=>({processors:[{processor_type:"minecraft:nop"}]})}]),e.register("processor_list",(0,Pt.Mod)((0,Pt.ObjectNode)({processors:(0,Pt.ListNode)(n("processor"))},{context:"processor_list"}),{default:()=>({processors:[{processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]}]})})),e.register("processor",(0,Pt.Mod)((0,Pt.ObjectNode)({processor_type:i({validator:"resource",params:{pool:"worldgen/structure_processor"}}),[Pt.Switch]:[{push:"processor_type"}],[Pt.Case]:{"minecraft:block_age":{mossiness:(0,Pt.NumberNode)()},"minecraft:block_ignore":{blocks:(0,Pt.ListNode)(n("block_state"))},"minecraft:block_rot":{integrity:(0,Pt.NumberNode)({min:0,max:1})},"minecraft:gravity":{heightmap:i({enum:"heightmap_type"}),offset:(0,Pt.NumberNode)({integer:!0})},"minecraft:protected_blocks":{value:i({validator:"resource",params:{pool:"$tag/block"}})},"minecraft:rule":{rules:(0,Pt.ListNode)(n("processor_rule"))}}},{category:"function",context:"processor"}),{default:()=>({processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]})})),e.register("processor_rule",(0,Pt.Mod)((0,Pt.ObjectNode)({position_predicate:(0,Pt.Opt)(n("pos_rule_test")),location_predicate:n("rule_test"),input_predicate:n("rule_test"),output_state:n("block_state"),output_nbt:(0,Pt.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block"}}}))},{category:"predicate",context:"processor_rule"}),{default:()=>({location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}})}));const o={min_dist:(0,Pt.Opt)((0,Pt.NumberNode)({min:0,max:255,integer:!0})),max_dist:(0,Pt.Opt)((0,Pt.NumberNode)({min:0,max:255,integer:!0})),min_chance:(0,Pt.Opt)((0,Pt.NumberNode)({min:0,max:1})),max_chance:(0,Pt.Opt)((0,Pt.NumberNode)({min:0,max:1}))};e.register("pos_rule_test",(0,Pt.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"pos_rule_test"}}),[Pt.Switch]:[{push:"predicate_type"}],[Pt.Case]:{"minecraft:axis_aligned_linear_pos":H({axis:i({enum:["x","y","z"]})},o),"minecraft:linear_pos":o}},{context:"pos_rule_test",disableSwitchContext:!0})),e.register("rule_test",(0,Pt.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"rule_test"}}),[Pt.Switch]:[{push:"predicate_type"}],[Pt.Case]:{"minecraft:block_match":{block:i({validator:"resource",params:{pool:"block"}})},"minecraft:blockstate_match":{block_state:n("block_state")},"minecraft:random_block_match":{block:i({validator:"resource",params:{pool:"block"}}),probability:(0,Pt.NumberNode)({min:0,max:1})},"minecraft:random_blockstate_match":{block_state:n("block_state"),probability:(0,Pt.NumberNode)({min:0,max:1})},"minecraft:tag_match":{tag:i({validator:"resource",params:{pool:"$tag/block"}})}}},{context:"rule_test",disableSwitchContext:!0}))}Jo.initProcessorListSchemas=DR;Object.defineProperty(yu,"__esModule",{value:!0});yu.initFeatureSchemas=void 0;const K=j,jt=vr,rg=Jo;function IR(e,t){const n=K.Reference.bind(void 0,e),i=K.StringNode.bind(void 0,t),o={can_replace:(0,K.Opt)((0,K.BooleanNode)()),project:(0,K.Opt)((0,K.BooleanNode)()),need_water:(0,K.Opt)((0,K.BooleanNode)()),xspread:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0})),yspread:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0})),zspread:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0})),tries:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:1})),state_provider:n("block_state_provider"),block_placer:n("block_placer"),whitelist:(0,K.ListNode)(n("block_state")),blacklist:(0,K.ListNode)(n("block_state"))},r={state:n("block_state"),radius:(0,jt.IntProvider)({min:0,max:8}),half_height:(0,K.NumberNode)({integer:!0,min:0,max:4}),targets:(0,K.ListNode)(n("block_state"))},a={cap_provider:n("block_state_provider"),stem_provider:n("block_state_provider"),foliage_radius:(0,K.Opt)((0,K.NumberNode)({integer:!0}))},s=(0,K.ObjectNode)({target:n("rule_test"),state:n("block_state")}),c={size:(0,K.NumberNode)({integer:!0,min:0,max:64}),discard_chance_on_air_exposure:(0,K.NumberNode)({min:0,max:1}),targets:(0,K.ListNode)(s)},l=(0,K.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:n("configured_feature")}],{choiceContext:"feature"}),_={surface:i({enum:["floor","ceiling"]}),depth:(0,jt.IntProvider)({min:1,max:128}),vertical_range:(0,K.NumberNode)({integer:!0,min:1,max:256}),extra_bottom_block_chance:(0,K.NumberNode)({min:0,max:1}),extra_edge_column_chance:(0,K.NumberNode)({min:0,max:1}),vegetation_chance:(0,K.NumberNode)({min:0,max:1}),xz_radius:(0,jt.IntProvider)(),replaceable:i({validator:"resource",params:{pool:"$tag/block"}}),ground_state:n("block_state_provider"),vegetation_feature:l};e.register("configured_feature",(0,K.Mod)((0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature"}}),config:(0,K.ObjectNode)({[K.Switch]:["pop",{push:"type"}],[K.Case]:{"minecraft:bamboo":{probability:(0,K.NumberNode)({min:0,max:1})},"minecraft:basalt_columns":{reach:(0,jt.IntProvider)({min:0,max:3}),height:(0,jt.IntProvider)({min:1,max:10})},"minecraft:block_pile":{state_provider:n("block_state_provider")},"minecraft:decorated":{decorator:n("configured_decorator"),feature:l},"minecraft:decorated_flower":{decorator:n("configured_decorator"),feature:l},"minecraft:delta_feature":{contents:n("block_state"),rim:n("block_state"),size:(0,jt.IntProvider)({min:0,max:16}),rim_size:(0,jt.IntProvider)({min:0,max:16})},"minecraft:disk":r,"minecraft:dripstone_cluster":{floor_to_ceiling_search_range:(0,K.NumberNode)({integer:!0,min:1,max:512}),height:(0,jt.IntProvider)({min:0,max:128}),radius:(0,jt.IntProvider)({min:0,max:128}),max_stalagmite_stalactite_height_diff:(0,K.NumberNode)({integer:!0,min:0,max:64}),height_deviation:(0,K.NumberNode)({integer:!0,min:1,max:64}),dripstone_block_layer_thickness:(0,jt.IntProvider)({min:0,max:128}),density:(0,jt.FloatProvider)({min:0,max:2}),wetness:(0,jt.FloatProvider)({min:0,max:2}),chance_of_dripstone_column_at_max_distance_from_center:(0,K.NumberNode)({min:0,max:1}),max_distance_from_edge_affecting_chance_of_dripstone_column:(0,K.NumberNode)({integer:!0,min:1,max:64}),max_distance_from_center_affecting_height_bias:(0,K.NumberNode)({integer:!0,min:1,max:64})},"minecraft:end_gateway":{exact:(0,K.BooleanNode)(),exit:(0,K.Opt)(n("block_pos"))},"minecraft:end_spike":{crystal_invulnerable:(0,K.Opt)((0,K.BooleanNode)()),crystal_beam_target:(0,K.Opt)(n("block_pos")),spikes:(0,K.ListNode)((0,K.ObjectNode)({centerX:(0,K.Opt)((0,K.NumberNode)({integer:!0})),centerZ:(0,K.Opt)((0,K.NumberNode)({integer:!0})),radius:(0,K.Opt)((0,K.NumberNode)({integer:!0})),height:(0,K.Opt)((0,K.NumberNode)({integer:!0})),guarded:(0,K.Opt)((0,K.BooleanNode)())}))},"minecraft:fill_layer":{state:n("block_state"),height:(0,K.NumberNode)({integer:!0,min:0,max:255})},"minecraft:flower":o,"minecraft:forest_rock":{state:n("block_state")},"minecraft:fossil":{max_empty_corners_allowed:(0,K.NumberNode)({integer:!0,min:0,max:7}),fossil_structures:(0,K.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),overlay_structures:(0,K.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),fossil_processors:rg.Processors,overlay_processors:rg.Processors},"minecraft:geode":{blocks:(0,K.ObjectNode)({filling_provider:n("block_state_provider"),inner_layer_provider:n("block_state_provider"),alternate_inner_layer_provider:n("block_state_provider"),middle_layer_provider:n("block_state_provider"),outer_layer_provider:n("block_state_provider"),inner_placements:(0,K.ListNode)(n("block_state")),cannot_replace:i({validator:"resource",params:{pool:"$tag/block"}}),invalid_blocks:i({validator:"resource",params:{pool:"$tag/block"}})}),layers:(0,K.ObjectNode)({filling:(0,K.Opt)((0,K.NumberNode)({min:.01,max:50})),inner_layer:(0,K.Opt)((0,K.NumberNode)({min:.01,max:50})),middle_layer:(0,K.Opt)((0,K.NumberNode)({min:.01,max:50})),outer_layer:(0,K.Opt)((0,K.NumberNode)({min:.01,max:50}))}),crack:(0,K.ObjectNode)({generate_crack_chance:(0,K.Opt)((0,K.NumberNode)({min:0,max:1})),base_crack_size:(0,K.Opt)((0,K.NumberNode)({min:0,max:5})),crack_point_offset:(0,K.Opt)((0,K.NumberNode)({min:0,max:10}))}),noise_multiplier:(0,K.Opt)((0,K.NumberNode)({min:0,max:1})),use_potential_placements_chance:(0,K.Opt)((0,K.NumberNode)({min:0,max:1})),use_alternate_layer0_chance:(0,K.Opt)((0,K.NumberNode)({min:0,max:1})),placements_require_layer0_alternate:(0,K.Opt)((0,K.BooleanNode)()),outer_wall_distance:(0,K.Opt)((0,jt.IntProvider)({min:1,max:20})),distribution_points:(0,K.Opt)((0,jt.IntProvider)({min:1,max:20})),point_offset:(0,K.Opt)((0,jt.IntProvider)({min:0,max:10})),min_gen_offset:(0,K.Opt)((0,K.NumberNode)({integer:!0})),max_gen_offset:(0,K.Opt)((0,K.NumberNode)({integer:!0})),invalid_blocks_threshold:(0,K.NumberNode)({integer:!0})},"minecraft:glow_lichen":{search_range:(0,K.Opt)((0,K.NumberNode)({min:1,max:64,integer:!0})),chance_of_spreading:(0,K.Opt)((0,K.NumberNode)({min:0,max:1})),can_place_on_floor:(0,K.Opt)((0,K.BooleanNode)()),can_place_on_ceiling:(0,K.Opt)((0,K.BooleanNode)()),can_place_on_wall:(0,K.Opt)((0,K.BooleanNode)()),can_be_placed_on:(0,K.ListNode)(n("block_state"))},"minecraft:growing_plant":{direction:i({enum:["up","down","north","east","south","west"]}),allow_water:(0,K.BooleanNode)(),height_distribution:(0,K.ListNode)((0,K.ObjectNode)({weight:(0,K.NumberNode)({integer:!0}),data:(0,jt.IntProvider)()})),body_provider:n("block_state_provider"),head_provider:n("block_state_provider")},"minecraft:huge_brown_mushroom":a,"minecraft:huge_fungus":{hat_state:n("block_state"),decor_state:n("block_state"),stem_state:n("block_state"),valid_base_block:n("block_state"),planted:(0,K.Opt)((0,K.BooleanNode)())},"minecraft:huge_red_mushroom":a,"minecraft:ice_patch":r,"minecraft:iceberg":{state:n("block_state")},"minecraft:lake":{state:n("block_state")},"minecraft:large_dripstone":{floor_to_ceiling_search_range:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:1,max:512})),column_radius:(0,jt.IntProvider)({min:0,max:60}),height_scale:(0,jt.FloatProvider)({min:0,max:20}),max_column_radius_to_cave_height_ratio:(0,K.NumberNode)({min:0,max:1}),stalactite_bluntness:(0,jt.FloatProvider)({min:.1,max:10}),stalagmite_bluntness:(0,jt.FloatProvider)({min:.1,max:10}),wind_speed:(0,jt.FloatProvider)({min:0,max:2}),min_radius_for_wind:(0,K.NumberNode)({integer:!0,min:0,max:100}),min_bluntness_for_wind:(0,K.NumberNode)({min:0,max:5})},"minecraft:nether_forest_vegetation":{state_provider:n("block_state_provider")},"minecraft:netherrack_replace_blobs":{state:n("block_state"),target:n("block_state"),radius:(0,jt.IntProvider)({min:0,max:12})},"minecraft:no_bonemeal_flower":o,"minecraft:ore":c,"minecraft:random_patch":o,"minecraft:random_boolean_selector":{feature_false:l,feature_true:l},"minecraft:random_selector":{features:(0,K.ListNode)((0,K.ObjectNode)({chance:(0,K.NumberNode)({min:0,max:1}),feature:l})),default:l},"minecraft:replace_single_block":{targets:(0,K.ListNode)(s)},"minecraft:root_system":{required_vertical_space_for_tree:(0,K.NumberNode)({integer:!0,min:1,max:64}),root_radius:(0,K.NumberNode)({integer:!0,min:1,max:64}),root_placement_attempts:(0,K.NumberNode)({integer:!0,min:1,max:256}),root_column_max_height:(0,K.NumberNode)({integer:!0,min:1,max:4096}),hanging_root_radius:(0,K.NumberNode)({integer:!0,min:1,max:64}),hanging_roots_vertical_span:(0,K.NumberNode)({integer:!0,min:0,max:16}),hanging_root_placement_attempts:(0,K.NumberNode)({integer:!0,min:0,max:256}),allowed_vertical_water_for_tree:(0,K.NumberNode)({integer:!0,min:1,max:64}),root_replaceable:i({validator:"resource",params:{pool:"$tag/block"}}),root_state_provider:n("block_state_provider"),hanging_root_state_provider:n("block_state_provider"),feature:l},"minecraft:scattered_ore":c,"minecraft:sea_pickle":{count:(0,jt.IntProvider)({min:0,max:256})},"minecraft:seagrass":{probability:(0,K.NumberNode)({min:0,max:1})},"minecraft:simple_block":{to_place:n("block_state_provider"),place_on:(0,K.Opt)((0,K.ListNode)(n("block_state"))),place_in:(0,K.Opt)((0,K.ListNode)(n("block_state"))),place_under:(0,K.Opt)((0,K.ListNode)(n("block_state")))},"minecraft:simple_random_selector":{features:(0,K.ListNode)(l)},"minecraft:small_dripstone":{max_placements:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:100})),empty_space_search_radius:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:20})),max_offset_from_origin:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:20})),chance_of_taller_dripstone:(0,K.Opt)((0,K.NumberNode)({min:0,max:1}))},"minecraft:spring_feature":{state:n("fluid_state"),rock_count:(0,K.NumberNode)({integer:!0}),hole_count:(0,K.NumberNode)({integer:!0}),requires_block_below:(0,K.BooleanNode)(),valid_blocks:(0,K.ListNode)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:tree":{ignore_vines:(0,K.Opt)((0,K.BooleanNode)()),force_dirt:(0,K.Opt)((0,K.BooleanNode)()),minimum_size:n("feature_size"),dirt_provider:n("block_state_provider"),sapling_provider:n("block_state_provider"),trunk_provider:n("block_state_provider"),foliage_provider:n("block_state_provider"),trunk_placer:(0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/trunk_placer_type"}}),base_height:(0,K.NumberNode)({integer:!0,min:0,max:32}),height_rand_a:(0,K.NumberNode)({integer:!0,min:0,max:24}),height_rand_b:(0,K.NumberNode)({integer:!0,min:0,max:24}),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:bending_trunk_placer":{bend_length:(0,jt.IntProvider)({min:1,max:64}),min_height_for_leaves:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:1}))}}},{context:"trunk_placer"}),foliage_placer:(0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/foliage_placer_type"}}),radius:(0,jt.IntProvider)({min:0,max:16}),offset:(0,jt.IntProvider)({min:0,max:16}),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:blob_foliage_placer":{height:(0,K.NumberNode)({integer:!0,min:0,max:16})},"minecraft:bush_foliage_placer":{height:(0,K.NumberNode)({integer:!0,min:0,max:16})},"minecraft:fancy_foliage_placer":{height:(0,K.NumberNode)({integer:!0,min:0,max:16})},"minecraft:jungle_foliage_placer":{height:(0,K.NumberNode)({integer:!0,min:0,max:16})},"minecraft:mega_pine_foliage_placer":{crown_height:(0,jt.IntProvider)({min:0,max:24})},"minecraft:pine_foliage_placer":{height:(0,jt.IntProvider)({min:0,max:24})},"minecraft:random_spread_foliage_placer":{foliage_height:(0,jt.IntProvider)({min:1,max:512}),leaf_placement_attempts:(0,K.NumberNode)({integer:!0,min:0,max:256})},"minecraft:spruce_foliage_placer":{trunk_height:(0,jt.IntProvider)({min:0,max:24})}}},{context:"foliage_placer",disableSwitchContext:!0}),decorators:(0,K.ListNode)((0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/tree_decorator_type"}}),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:alter_ground":{provider:n("block_state_provider")},"minecraft:beehive":{probability:(0,K.NumberNode)({min:0,max:1})},"minecraft:cocoa":{probability:(0,K.NumberNode)({min:0,max:1})}}},{context:"tree_decorator"}))},"minecraft:underwater_magma":{floor_search_range:(0,K.NumberNode)({integer:!0,min:0,max:512}),placement_radius_around_floor:(0,K.NumberNode)({integer:!0,min:0,max:64}),placement_probability_per_valid_position:(0,K.NumberNode)({min:0,max:1})},"minecraft:vegetation_patch":_,"minecraft:waterlogged_vegetation_patch":_}},{context:"feature"})},{context:"feature"}),{default:()=>({type:"minecraft:decorated",config:{decorator:{type:"minecraft:count",config:{count:4}},feature:{type:"minecraft:tree",config:{max_water_depth:0,ignore_vines:!0,minimum_size:{},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:0},foliage_placer:{radius:2,offset:0,height:3}}}}})})),e.register("feature_size",(0,K.Mod)((0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature_size_type"}}),min_clipped_height:(0,K.Opt)((0,K.NumberNode)({min:0,max:80})),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:two_layers_feature_size":{limit:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:81})),lower_size:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:16}))},"minecraft:three_layers_feature_size":{limit:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:80})),upper_limit:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:80})),lower_size:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:16})),middle_size:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,K.Opt)((0,K.NumberNode)({integer:!0,min:0,max:16}))}}},{disableSwitchContext:!0}),{default:()=>({type:"minecraft:two_layers_feature_size"})})),e.register("block_state_provider",(0,K.Mod)((0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_state_provider_type"}}),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:randomized_int_state_provider":{property:i(),values:(0,jt.IntProvider)(),source:n("block_state_provider")},"minecraft:rotated_block_provider":{state:n("block_state")},"minecraft:simple_state_provider":{state:n("block_state")},"minecraft:weighted_state_provider":{entries:(0,K.ListNode)((0,K.Mod)((0,K.ObjectNode)({weight:(0,K.NumberNode)({integer:!0,min:1}),data:n("block_state")}),{default:()=>({data:{}})}))}}},{context:"block_state_provider"}),{default:()=>({type:"minecraft:simple_state_provider"})})),e.register("block_placer",(0,K.Mod)((0,K.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_placer_type"}}),[K.Switch]:[{push:"type"}],[K.Case]:{"minecraft:column_placer":{size:(0,jt.IntProvider)({min:0})}}},{context:"block_placer"}),{default:()=>({type:"minecraft:simple_block_placer"})}))}yu.initFeatureSchemas=IR;var Nu={};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.initNoiseSettingsSchemas=void 0;const We=j,kR=vr;function MR(e,t){const n=We.Reference.bind(void 0,e),i=We.StringNode.bind(void 0,t);e.register("noise_settings",(0,We.Mod)((0,We.ObjectNode)({name:(0,We.Mod)(i({validator:"resource",params:{pool:"$worldgen/noise_settings",isDefinition:!0}}),{enabled:o=>o.getArray().length>0}),bedrock_roof_position:(0,We.NumberNode)({integer:!0}),bedrock_floor_position:(0,We.NumberNode)({integer:!0}),sea_level:(0,We.NumberNode)({integer:!0}),min_surface_level:(0,We.NumberNode)({integer:!0}),disable_mob_generation:(0,We.BooleanNode)(),noise_caves_enabled:(0,We.BooleanNode)(),noodle_caves_enabled:(0,We.BooleanNode)(),aquifers_enabled:(0,We.BooleanNode)(),deepslate_enabled:(0,We.BooleanNode)(),ore_veins_enabled:(0,We.BooleanNode)(),default_block:n("block_state"),default_fluid:n("block_state"),noise:(0,We.ObjectNode)({min_y:(0,We.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,We.NumberNode)({integer:!0,min:0,max:4096}),density_factor:(0,We.NumberNode)(),density_offset:(0,We.NumberNode)(),size_horizontal:(0,We.NumberNode)({integer:!0}),size_vertical:(0,We.NumberNode)({integer:!0}),simplex_surface_noise:(0,We.BooleanNode)(),random_density_offset:(0,We.Opt)((0,We.BooleanNode)()),island_noise_override:(0,We.Opt)((0,We.BooleanNode)()),amplified:(0,We.Opt)((0,We.BooleanNode)()),sampling:(0,We.ObjectNode)({xz_scale:(0,We.NumberNode)(),y_scale:(0,We.NumberNode)(),xz_factor:(0,We.NumberNode)(),y_factor:(0,We.NumberNode)()}),bottom_slide:(0,We.ObjectNode)({target:(0,We.NumberNode)({integer:!0}),size:(0,We.NumberNode)({integer:!0,min:0}),offset:(0,We.NumberNode)({integer:!0})}),top_slide:(0,We.ObjectNode)({target:(0,We.NumberNode)({integer:!0}),size:(0,We.NumberNode)({integer:!0,min:0}),offset:(0,We.NumberNode)({integer:!0})})}),structures:n("generator_structures")},{context:"noise_settings"}),o=>({default:()=>kR.DefaultNoiseSettings,validate:(r,a,s,c)=>{var l,_,d,u;return a=o.validate(r,a,s,c),((l=a==null?void 0:a.noise)===null||l===void 0?void 0:l.min_y)+((_=a==null?void 0:a.noise)===null||_===void 0?void 0:_.height)>2047&&s.add(r.push("noise").push("height"),"error.min_y_plus_height",2047),((d=a==null?void 0:a.noise)===null||d===void 0?void 0:d.height)%16!==0&&s.add(r.push("noise").push("height"),"error.height_multiple",16),((u=a==null?void 0:a.noise)===null||u===void 0?void 0:u.min_y)%16!==0&&s.add(r.push("noise").push("min_y"),"error.min_y_multiple",16),a}}))),e.register("generator_structures",(0,We.ObjectNode)({stronghold:(0,We.Opt)((0,We.ObjectNode)({distance:(0,We.NumberNode)({integer:!0,min:0,max:1023}),spread:(0,We.NumberNode)({integer:!0,min:0,max:1023}),count:(0,We.NumberNode)({integer:!0,min:1,max:4095})})),structures:(0,We.MapNode)(i({validator:"resource",params:{pool:"worldgen/structure_feature"}}),(0,We.Mod)((0,We.ObjectNode)({spacing:(0,We.NumberNode)({integer:!0,min:0,max:4096}),separation:(0,We.Mod)((0,We.NumberNode)({integer:!0,min:0,max:4096}),o=>({validate:(r,a,s,c)=>(r.pop().push("spacing").get()<=a&&s.add(r,"error.separation_smaller_spacing"),o.validate(r,a,s,c))})),salt:(0,We.NumberNode)({integer:!0,min:0})},{context:"generator_structure"}),{default:()=>({spacing:10,separation:5,salt:0})}))})),e.register("generator_layer",(0,We.Mod)((0,We.ObjectNode)({block:i({validator:"resource",params:{pool:"block"}}),height:(0,We.NumberNode)({integer:!0,min:1})}),{default:()=>({block:"minecraft:stone",height:1})}))}Nu.initNoiseSettingsSchemas=MR;var Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.initStructureFeatureSchemas=void 0;const Ci=j;function LR(e,t){const n=Ci.StringNode.bind(void 0,t),i=Ci.Reference.bind(void 0,e),o={start_pool:n({validator:"resource",params:{pool:"$worldgen/template_pool"}}),size:(0,Ci.NumberNode)({integer:!0})};e.register("configured_structure_feature",(0,Ci.Mod)((0,Ci.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_feature"}}),config:(0,Ci.ObjectNode)({[Ci.Switch]:["pop",{push:"type"}],[Ci.Case]:{"minecraft:bastion_remnant":o,"minecraft:buried_treasure":{probability:(0,Ci.NumberNode)({min:0,max:1})},"minecraft:mineshaft":{type:n({enum:["normal","mesa"]}),probability:(0,Ci.NumberNode)({min:0,max:1})},"minecraft:nether_fossil":{height:i("height_provider")},"minecraft:ocean_ruin":{biome_temp:n({enum:["cold","warm"]}),large_probability:(0,Ci.NumberNode)({min:0,max:1}),cluster_probability:(0,Ci.NumberNode)({min:0,max:1})},"minecraft:pillager_outpost":o,"minecraft:ruined_portal":{portal_type:n({enum:["standard","desert","jungle","mountain","nether","ocean","swamp"]})},"minecraft:shipwreck":{is_beached:(0,Ci.Opt)((0,Ci.BooleanNode)())},"minecraft:village":o}},{context:"structure_feature",disableSwitchContext:!0})},{context:"structure_feature"}),{default:()=>({type:"minecraft:bastion_remnant",config:{start_pool:"minecraft:bastion/starts",size:6}})}))}Cu.initStructureFeatureSchemas=LR;var Au={};Object.defineProperty(Au,"__esModule",{value:!0});Au.initSurfaceBuilderSchemas=void 0;const Gs=j;function FR(e,t){const n=Gs.StringNode.bind(void 0,t),i=Gs.Reference.bind(void 0,e);e.register("configured_surface_builder",(0,Gs.Mod)((0,Gs.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/surface_builder"}}),config:(0,Gs.ObjectNode)({top_material:i("block_state"),under_material:i("block_state"),underwater_material:i("block_state")},{context:"surface_builder"})},{context:"surface_builder"}),{default:()=>({type:"minecraft:default",config:{top_material:{Name:"minecraft:grass_block",Properties:{snowy:"false"}},under_material:{Name:"minecraft:dirt"},underwater_material:{Name:"minecraft:gravel"}}})}))}Au.initSurfaceBuilderSchemas=FR;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.initTemplatePoolSchemas=void 0;const Li=j,og=Jo;function PR(e,t){const n=Li.Reference.bind(void 0,e),i=Li.StringNode.bind(void 0,t);e.register("template_pool",(0,Li.Mod)((0,Li.ObjectNode)({name:i(),fallback:i(),elements:(0,Li.ListNode)(n("template_weighted_element"))},{context:"template_pool"}),{default:()=>({fallback:"minecraft:empty",elements:[{weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}}]})})),e.register("template_weighted_element",(0,Li.Mod)((0,Li.ObjectNode)({weight:(0,Li.NumberNode)({integer:!0,min:1}),element:n("template_element")},{category:"pool"}),{default:()=>({weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}})})),e.register("template_element",(0,Li.Mod)((0,Li.ObjectNode)({element_type:i({validator:"resource",params:{pool:"worldgen/structure_pool_element"}}),projection:i({enum:["rigid","terrain_matching"]}),[Li.Switch]:[{push:"element_type"}],[Li.Case]:{"minecraft:feature_pool_element":{feature:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},"minecraft:legacy_single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:og.Processors},"minecraft:list_pool_element":{elements:(0,Li.ListNode)(n("template_element"))},"minecraft:single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:og.Processors}}},{context:"template_element",disableSwitchContext:!0}),{default:()=>({element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"})}))}Ou.initTemplatePoolSchemas=PR;Object.defineProperty(bu,"__esModule",{value:!0});bu.initWorldgenSchemas=void 0;const BR=Eu,$R=vu,UR=Su,GR=yu,zR=Nu,YR=Jo,HR=Cu,VR=Au,WR=Ou;function jR(e,t){(0,YR.initProcessorListSchemas)(e,t),(0,BR.initBiomeSchemas)(e,t),(0,$R.initCarverSchemas)(e,t),(0,UR.initDecoratorSchemas)(e,t),(0,GR.initFeatureSchemas)(e,t),(0,zR.initNoiseSettingsSchemas)(e,t),(0,HR.initStructureFeatureSchemas)(e,t),(0,VR.initSurfaceBuilderSchemas)(e,t),(0,WR.initTemplatePoolSchemas)(e,t)}bu.initWorldgenSchemas=jR;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});Tu.initWorldSettingsSchemas=void 0;const Ao=j;function qR(e,t){const n=Ao.Reference.bind(void 0,e),i=Ao.StringNode.bind(void 0,t);e.register("world_settings",(0,Ao.Mod)((0,Ao.ObjectNode)({generate_features:(0,Ao.BooleanNode)(),bonus_chest:(0,Ao.BooleanNode)(),seed:(0,Ao.NumberNode)({integer:!0}),dimensions:(0,Ao.MapNode)(i({validator:"resource",params:{pool:"$dimension"}}),n("dimension"))},{context:"world_settings"}),{default:()=>{const o=Math.floor(Math.random()*4294967296)-2147483648;return{generate_features:!0,bonus_chest:!1,seed:o,dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:vanilla_layered",seed:o},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",seed:o,humidity_noise:{firstOctave:-7,amplitudes:[1,1]},altitude_noise:{firstOctave:-7,amplitudes:[1,1]},weirdness_noise:{firstOctave:-7,amplitudes:[1,1]},temperature_noise:{firstOctave:-7,amplitudes:[1,1]},biomes:[{parameters:{altitude:0,weirdness:0,offset:0,temperature:0,humidity:0},biome:"minecraft:nether_wastes"},{parameters:{altitude:0,weirdness:0,offset:0,temperature:0,humidity:-.5},biome:"minecraft:soul_sand_valley"},{parameters:{altitude:0,weirdness:0,offset:0,temperature:.4,humidity:0},biome:"minecraft:crimson_forest"},{parameters:{altitude:0,weirdness:0,offset:.375,temperature:0,humidity:.5},biome:"minecraft:warped_forest"},{parameters:{altitude:0,weirdness:0,offset:.175,temperature:-.5,humidity:0},biome:"minecraft:basalt_deltas"}]},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:the_end",seed:o},settings:"minecraft:end"}}}}}}))}Tu.initWorldSettingsSchemas=qR;Object.defineProperty(iu,"__esModule",{value:!0});iu.initSchemas=void 0;const KR=ru,QR=ou,XR=vr,ZR=lu,JR=cu,ex=du,tx=uu,nx=_u,ix=mu,rx=pu,ox=fu,ax=hu,sx=gu,lx=bu,cx=Tu;function dx(e,t){(0,XR.initCommonSchemas)(e,t),(0,KR.initAdvancementSchemas)(e,t),(0,QR.initAssetsSchemas)(e,t),(0,ZR.initConditionSchemas)(e,t),(0,ex.initDimensionTypeSchemas)(e,t),(0,JR.initDimensionSchemas)(e,t),(0,tx.initItemModifierSchemas)(e,t),(0,nx.initLootTableSchemas)(e,t),(0,ix.initPackMcmetaSchemas)(e,t),(0,rx.initPredicatesSchemas)(e,t),(0,ox.initRecipeSchemas)(e,t),(0,ax.initTagsSchemas)(e,t),(0,sx.initTextComponentSchemas)(e,t),(0,lx.initWorldgenSchemas)(e,t),(0,cx.initWorldSettingsSchemas)(e,t)}iu.initSchemas=dx;var ux=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),_x=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mx=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&ux(t,e,n);return _x(t,e),t};Object.defineProperty(uo,"__esModule",{value:!0});var av=uo.getSchemas=cv=uo.getCollections=lv=uo.lootContext=void 0;const sv=j,px=nu,fx=iu;var lv=uo.lootContext=mx(Vi);function hx(){const e=new sv.CollectionRegistry;return(0,px.initCollections)(e),e}var cv=uo.getCollections=hx;function gx(e){const t=new sv.SchemaRegistry;return(0,fx.initSchemas)(t,e),t}av=uo.getSchemas=gx;var bx=Ns({__proto__:null,get getSchemas(){return av},get getCollections(){return cv},get lootContext(){return lv},default:uo},[uo]),_o={},wu={};Object.defineProperty(wu,"__esModule",{value:!0});wu.initCollections=void 0;function Ex(e){e.register("advancement_trigger",["minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:fall_from_height","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:item_used_on_block","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:lightning_strike","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_generates_container_loot","minecraft:player_hurt_entity","minecraft:player_interacted_with_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:ride_entity_in_lava","minecraft:shot_crossbow","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:started_riding","minecraft:summoned_entity","minecraft:tame_animal","minecraft:target_hit","minecraft:tick","minecraft:thrown_item_picked_up_by_entity","minecraft:used_ender_eye","minecraft:used_totem","minecraft:using_item","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("entity_source",["this","killer","direct_killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("map_feature",["bastion_remnant","buried_treasure","desert_pyramid","endcity","fortress","igloo","jungle_pyramid","mansion","mineshaft","monument","nether_fossil","ocean_ruin","pillager_outpost","ruined_portal","shipwreck","stronghold","swamp_hut","village"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("biome_category",["beach","desert","extreme_hills","forest","icy","jungle","mesa","mountain","mushroom","nether","none","ocean","plains","river","savanna","swamp","taiga","the_end","underground"]),e.register("heightmap_type",["MOTION_BLOCKING","MOTION_BLOCKING_NO_LEAVES","OCEAN_FLOOR","OCEAN_FLOOR_WG","WORLD_SURFACE","WORLD_SURFACE_WG"]),e.register("generation_step",["air","liquid"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("banner_pattern",["base","square_bottom_left","square_bottom_right","square_top_left","square_top_right","stripe_bottom","stripe_top","stripe_left","stripe_right","stripe_center","stripe_middle","stripe_downright","stripe_downleft","small_stripes","cross","straight_cross","triangle_bottom","triangle_top","triangles_bottom","triangles_top","diagonal_left","diagonal_up_right","diagonal_up_left","diagonal_right","circle","rhombus","half_vertical","half_horizontal","half_vertical_right","half_horizontal_bottom","border","curly_border","gradient","gradient_up","bricks","globe","creeper","skull","flower","mojang","piglin"]),e.register("dye_color",["white","orange","magenta","light_blue","yellow","lime","pink","gray","light_gray","cyan","purple","blue","brown","green","red","black"]),e.register("cave_surface",["floor","ceiling"]),e.register("direction",["down","up","north","east","south","west"]),e.register("axis",["x","y","z"]),e.register("display_position",["firstperson_righthand","firstperson_lefthand","thirdperson_righthand","thirdperson_lefthand","gui","head","ground","fixed"]),e.register("gui_light",["front","side"]),e.register("item_model_predicates",["angle","blocking","broken","cast","charged","cooldown","custom_model_data","damage","damaged","firework","lefthanded","pull","pulling","throwing","time"]),e.register("cat_texture",["textures/entity/cat/tabby.png","textures/entity/cat/black.png","textures/entity/cat/red.png","textures/entity/cat/siamese.png","textures/entity/cat/british_shorthair.png","textures/entity/cat/calico.png","textures/entity/cat/persian.png","textures/entity/cat/ragdoll.png","textures/entity/cat/white.png","textures/entity/cat/jellie.png","textures/entity/cat/all_black.png"])}wu.initCollections=Ex;var Ru={},xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.initAdvancementSchemas=void 0;const Ee=j;function vx(e,t){const n=Ee.Reference.bind(void 0,e),i=Ee.StringNode.bind(void 0,t),o=(0,Ee.ChoiceNode)([{type:"object",node:(0,Ee.Opt)(n("entity_predicate")),change:r=>{var a,s;return(s=(a=r[0])===null||a===void 0?void 0:a.predicate)!==null&&s!==void 0?s:{}}},{type:"list",node:(0,Ee.ListNode)(n("condition")),change:r=>[{condition:"minecraft:entity_properties",predicate:r}]}],{context:"conditions"});e.register("advancement",(0,Ee.Mod)((0,Ee.ObjectNode)({display:(0,Ee.Opt)((0,Ee.Mod)((0,Ee.ObjectNode)({icon:(0,Ee.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,Ee.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,Ee.Opt)(i()),frame:(0,Ee.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,Ee.Opt)((0,Ee.BooleanNode)()),announce_to_chat:(0,Ee.Opt)((0,Ee.BooleanNode)()),hidden:(0,Ee.Opt)((0,Ee.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,Ee.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,Ee.MapNode)(i(),n("advancement_criteria")),requirements:(0,Ee.Opt)((0,Ee.ListNode)((0,Ee.ListNode)(i()))),rewards:(0,Ee.Opt)((0,Ee.ObjectNode)({function:(0,Ee.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,Ee.Opt)((0,Ee.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,Ee.Opt)((0,Ee.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,Ee.Opt)((0,Ee.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,Ee.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,Ee.Opt)((0,Ee.ObjectNode)({player:(0,Ee.Mod)(o,{enabled:r=>r.pop().push("trigger").get()!=="minecraft:impossible"}),[Ee.Switch]:["pop",{push:"trigger"}],[Ee.Case]:{"minecraft:bee_nest_destroyed":{block:(0,Ee.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,Ee.Opt)((0,Ee.NumberNode)({integer:!0})),item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:o,partner:o,child:o},"minecraft:brewed_potion":{potion:(0,Ee.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,Ee.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),to:(0,Ee.Opt)(i({validator:"resource",params:{pool:"$dimension"}}))},"minecraft:channeled_lightning":{victims:(0,Ee.Opt)((0,Ee.ListNode)(o))},"minecraft:construct_beacon":{level:n("int_bounds")},"minecraft:consume_item":{item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:o,zombie:o},"minecraft:effects_changed":{effects:(0,Ee.Opt)((0,Ee.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),(0,Ee.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds")}))),source:(0,Ee.Opt)(o)},"minecraft:enter_block":{block:(0,Ee.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,Ee.Opt)((0,Ee.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:n("int_bounds"),item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,Ee.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:o,killing_blow:(0,Ee.Opt)(n("damage_source_predicate"))},"minecraft:fall_from_height":{start_position:(0,Ee.Opt)(n("location_predicate")),distance:(0,Ee.Opt)(n("distance_predicate"))},"minecraft:filled_bucket":{item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:o,item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:hero_of_the_village":{location:(0,Ee.Opt)(n("location_predicate"))},"minecraft:inventory_changed":{slots:(0,Ee.Opt)((0,Ee.ObjectNode)({empty:n("int_bounds"),occupied:n("int_bounds"),full:n("int_bounds")})),items:(0,Ee.Opt)((0,Ee.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:n("int_bounds"),durability:n("int_bounds"),item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:item_used_on_block":{item:(0,Ee.Opt)(n("item_predicate")),location:(0,Ee.Opt)(n("location_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:n("int_bounds"),victims:(0,Ee.Opt)((0,Ee.ListNode)(o))},"minecraft:levitation":{distance:(0,Ee.Opt)(n("distance_predicate")),duration:n("int_bounds")},"minecraft:lightning_strike":{lightning:o,bystander:o},"minecraft:location":{location:(0,Ee.Opt)(n("location_predicate"))},"minecraft:nether_travel":{start_position:(0,Ee.Opt)(n("location_predicate")),distance:(0,Ee.Opt)(n("distance_predicate"))},"minecraft:placed_block":{block:(0,Ee.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,Ee.Opt)((0,Ee.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,Ee.Opt)(n("item_predicate")),location:(0,Ee.Opt)(n("location_predicate"))},"minecraft:player_generates_container_loot":{loot_table:i({validator:"resource",params:{pool:"$loot_table"}})},"minecraft:player_hurt_entity":{damage:(0,Ee.Opt)(n("damage_predicate")),entity:o},"minecraft:player_interacted_with_entity":{item:(0,Ee.Opt)(n("item_predicate")),entity:o},"minecraft:player_killed_entity":{entity:o,killing_blow:(0,Ee.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:ride_entity_in_lava":{start_position:(0,Ee.Opt)(n("location_predicate")),distance:(0,Ee.Opt)(n("distance_predicate"))},"minecraft:slept_in_bed":{location:(0,Ee.Opt)(n("location_predicate"))},"minecraft:slide_down_block":{block:(0,Ee.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:o},"minecraft:tame_animal":{entity:o},"minecraft:target_hit":{projectile:o,shooter:o,signal_strength:n("int_bounds")},"minecraft:thrown_item_picked_up_by_entity":{entity:o,item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:used_ender_eye":{distance:(0,Ee.Opt)(n("float_bounds"))},"minecraft:used_totem":{item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:using_item":{item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:o,item:(0,Ee.Opt)(n("item_predicate"))},"minecraft:voluntary_exile":{location:(0,Ee.Opt)(n("location_predicate"))}}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}xu.initAdvancementSchemas=vx;var Du={},Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.initModelSchemas=void 0;const Dt=j;function Sx(e,t){Dt.Reference.bind(void 0,e);const n=Dt.StringNode.bind(void 0,t),i=(r,a,s)=>(0,Dt.ListNode)((0,Dt.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,Dt.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,Dt.Mod)((0,Dt.ObjectNode)({parent:(0,Dt.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,Dt.Opt)((0,Dt.BooleanNode)()),gui_light:(0,Dt.Opt)(n({enum:"gui_light"})),textures:(0,Dt.Opt)((0,Dt.MapNode)(n(),o)),elements:(0,Dt.Opt)((0,Dt.ListNode)((0,Dt.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,Dt.Opt)((0,Dt.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,Dt.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,Dt.Opt)((0,Dt.BooleanNode)())})),shade:(0,Dt.Opt)((0,Dt.BooleanNode)()),faces:(0,Dt.MapNode)(n({enum:"direction"}),(0,Dt.ObjectNode)({texture:o,uv:(0,Dt.Opt)(i(4)),cullface:(0,Dt.Opt)(n({enum:"direction"})),rotation:(0,Dt.Opt)((0,Dt.NumberNode)({integer:!0})),tintindex:(0,Dt.Opt)((0,Dt.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,Dt.Opt)((0,Dt.MapNode)(n({enum:"display_position"}),(0,Dt.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,Dt.Opt)((0,Dt.ListNode)((0,Dt.ObjectNode)({predicate:(0,Dt.MapNode)(n({enum:"item_model_predicates"}),(0,Dt.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}Iu.initModelSchemas=Sx;var ku={};Object.defineProperty(ku,"__esModule",{value:!0});ku.initBlockDefinitionSchemas=void 0;const mn=j;function yx(e,t){const n=mn.Reference.bind(void 0,e),i=mn.StringNode.bind(void 0,t);e.register("block_definition",(0,mn.Mod)((0,mn.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,mn.ObjectNode)({variants:(0,mn.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,mn.ObjectNode)({multipart:(0,mn.ListNode)((0,mn.ObjectNode)({when:(0,mn.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,mn.Opt)((0,mn.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,mn.Opt)((0,mn.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,mn.Opt)((0,mn.BooleanNode)())};e.register("model_variant",(0,mn.ChoiceNode)([{type:"object",node:(0,mn.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,mn.ListNode)((0,mn.ObjectNode)(qe(H({},o),{weight:(0,mn.Opt)((0,mn.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,mn.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,mn.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,mn.ObjectNode)({OR:(0,mn.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}ku.initBlockDefinitionSchemas=yx;Object.defineProperty(Du,"__esModule",{value:!0});Du.initAssetsSchemas=void 0;const Nx=Iu,Cx=ku;function Ax(e,t){(0,Cx.initBlockDefinitionSchemas)(e,t),(0,Nx.initModelSchemas)(e,t)}Du.initAssetsSchemas=Ax;var Sr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.InclusiveRange=e.IntProvider=e.FloatProvider=e.NoiseSettingsPresets=e.DefaultNoiseSettings=e.DimensionTypePresets=e.DefaultDimensionType=e.FunctionCases=e.ConditionCases=void 0;const t=j;e.DefaultDimensionType={ultrawarm:!1,natural:!0,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!0,has_raids:!0,has_skylight:!0,has_ceiling:!1,coordinate_scale:1,ambient_light:0,logical_height:256,infiniburn:"minecraft:infiniburn_overworld",min_y:0,height:256};const n={"minecraft:igloo":{spacing:32,separation:8,salt:14357618},"minecraft:mansion":{spacing:80,separation:20,salt:10387319},"minecraft:jungle_pyramid":{spacing:32,separation:8,salt:14357619},"minecraft:nether_fossil":{spacing:2,separation:1,salt:14357921},"minecraft:stronghold":{spacing:1,separation:0,salt:0},"minecraft:shipwreck":{spacing:24,separation:4,salt:165745295},"minecraft:mineshaft":{spacing:1,separation:0,salt:0},"minecraft:desert_pyramid":{spacing:32,separation:8,salt:14357617},"minecraft:ruined_portal":{spacing:40,separation:15,salt:34222645},"minecraft:fortress":{spacing:27,separation:4,salt:30084232},"minecraft:pillager_outpost":{spacing:32,separation:8,salt:165745296},"minecraft:village":{spacing:32,separation:8,salt:10387312},"minecraft:endcity":{spacing:20,separation:11,salt:10387313},"minecraft:buried_treasure":{spacing:1,separation:0,salt:0},"minecraft:ocean_ruin":{spacing:20,separation:8,salt:14357621},"minecraft:bastion_remnant":{spacing:27,separation:4,salt:30084232},"minecraft:swamp_hut":{spacing:32,separation:8,salt:14357620},"minecraft:monument":{spacing:32,separation:5,salt:10387313}};e.DefaultNoiseSettings={bedrock_roof_position:-2147483648,bedrock_floor_position:0,sea_level:63,noise_caves_enabled:!0,deepslate_enabled:!0,ore_veins_enabled:!0,noodle_caves_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,density_factor:1,density_offset:-.51875,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{stronghold:{distance:32,spread:3,count:128},structures:n}};function i(o,r){const a=t.StringNode.bind(void 0,r),s=t.Reference.bind(void 0,o);o.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:a({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(a(),a(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),o.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:a({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(a(),a()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),o.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0}),{minLength:3,maxLength:3}),{default:()=>[0,0,0]}));const c=_=>(0,t.Opt)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)({integer:_}),change:d=>{var u,m;return d===void 0?0:(m=(u=d.min)!==null&&u!==void 0?u:d.max)!==null&&m!==void 0?m:0}},{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)((0,t.NumberNode)({integer:_})),max:(0,t.Opt)((0,t.NumberNode)({integer:_}))},{context:"range"}),change:d=>({min:d!=null?d:0,max:d!=null?d:0})}]));o.register("int_bounds",c(!0)),o.register("float_bounds",c()),o.register("int_range",(0,t.ChoiceNode)([{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)(s("number_provider")),max:(0,t.Opt)(s("number_provider"))})},{type:"number",node:(0,t.NumberNode)({integer:!0})}],{context:"range"}));const l=(_,d,u,m,f,p,h)=>{let b={};f&&Object.keys(h[f]).forEach(E=>{b[E]=(0,t.Mod)(h[f][E],{enabled:S=>S.push("type").get()===void 0})});const g=(0,t.ObjectNode)(H({type:(0,t.Mod)((0,t.Opt)(a({validator:"resource",params:{pool:_}})),{hidden:()=>!0}),[t.Switch]:[{push:"type"}],[t.Case]:h},b),{context:p,disableSwitchContext:!0}),v=[{type:d,node:h[m][u]}];return f&&v.push({type:"object",priority:-1,node:g}),Object.keys(h).forEach(E=>{v.push({type:E,match:S=>{var N;if("minecraft:"+((N=S==null?void 0:S.type)===null||N===void 0?void 0:N.replace(/^minecraft:/,""))===E)return!0;const y=S?Object.keys(S):[];return typeof S=="object"&&((y==null?void 0:y.length)===0||(y==null?void 0:y.length)===1&&(y==null?void 0:y[0])==="type")},node:g,change:S=>({type:E})})}),(0,t.ChoiceNode)(v,{context:p,choiceContext:`${p}.type`})};o.register("number_provider",l("loot_number_provider_type","number","value","minecraft:constant","minecraft:uniform","number_provider",{"minecraft:constant":{value:(0,t.NumberNode)()},"minecraft:uniform":{min:s("number_provider"),max:s("number_provider")},"minecraft:binomial":{n:s("number_provider"),p:s("number_provider")},"minecraft:score":{target:s("scoreboard_name_provider"),score:a({validator:"objective"}),scale:(0,t.Opt)((0,t.NumberNode)())}})),o.register("scoreboard_name_provider",l("loot_score_provider_type","string","target","minecraft:context",null,"score_provider",{"minecraft:fixed":{name:a({validator:"entity",params:{amount:"multiple",type:"entities",isScoreHolder:!0}})},"minecraft:context":{target:(0,t.Mod)(a({enum:"entity_source"}),{default:()=>"this"})}})),o.register("nbt_provider",l("loot_nbt_provider_type","string","target","minecraft:context",null,"nbt_provider",{"minecraft:storage":{source:a({validator:"resource",params:{pool:"$storage"}})},"minecraft:context":{target:(0,t.Mod)(a({enum:"copy_source"}),{default:()=>"this"})}})),e.FloatProvider=_=>l("float_provider_type","number","value","minecraft:constant",null,"float_provider",{"minecraft:constant":{value:(0,t.NumberNode)(_)},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(_),max_exclusive:(0,t.NumberNode)(_)})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:trapezoid":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),plateau:(0,t.NumberNode)()})}}),o.register("float_provider",(0,e.FloatProvider)()),e.IntProvider=_=>l("int_provider_type","number","value","minecraft:constant",null,"int_provider",{"minecraft:constant":{value:(0,t.NumberNode)(H({integer:!0},_))},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},_)),max_inclusive:(0,t.NumberNode)(H({integer:!0},_))})},"minecraft:biased_to_bottom":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},_)),max_inclusive:(0,t.NumberNode)(H({integer:!0},_))})},"minecraft:clamped":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},_)),max_inclusive:(0,t.NumberNode)(H({integer:!0},_)),source:s("int_provider")})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},_)),max_inclusive:(0,t.NumberNode)(H({integer:!0},_)),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:s("int_provider")}))}}),o.register("int_provider",(0,e.IntProvider)()),o.register("vertical_anchor",(0,t.ChoiceNode)(["absolute","above_bottom","below_top"].map(_=>({type:_,match:d=>(d==null?void 0:d[_])!==void 0,change:d=>{var u,m,f;return{[_]:(f=(m=(u=d.absolute)!==null&&u!==void 0?u:d.above_bottom)!==null&&m!==void 0?m:d.below_top)!==null&&f!==void 0?f:0}},node:(0,t.ObjectNode)({[_]:(0,t.NumberNode)({integer:!0,min:-2048,max:2047})})})),{context:"vertical_anchor"})),o.register("height_provider",l("height_provider_type","number","value","minecraft:constant",null,"height_provider",{"minecraft:constant":{value:s("vertical_anchor")},"minecraft:uniform":{min_inclusive:s("vertical_anchor"),max_inclusive:s("vertical_anchor")},"minecraft:biased_to_bottom":{min_inclusive:s("vertical_anchor"),max_inclusive:s("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:very_biased_to_bottom":{min_inclusive:s("vertical_anchor"),max_inclusive:s("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:trapezoid":{min_inclusive:s("vertical_anchor"),max_inclusive:s("vertical_anchor"),plateau:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:s("height_provider")}))}})),e.InclusiveRange=_=>(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(_),max_inclusive:(0,t.NumberNode)(_)},{context:"range"}),o.register("noise_parameters",(0,t.Mod)((0,t.ObjectNode)({firstOctave:(0,t.NumberNode)({integer:!0}),amplitudes:(0,t.ListNode)((0,t.NumberNode)())},{context:"noise_parameters"}),{default:()=>({firstOctave:-7,amplitudes:[1,1]})})),e.ConditionCases=(_=a({enum:"entity_source"}))=>({"minecraft:alternative":{terms:(0,t.ListNode)(s("condition"))},"minecraft:block_state_property":{block:a({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(a(),a(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:s("damage_source_predicate")},"minecraft:entity_properties":{entity:_,predicate:s("entity_predicate")},"minecraft:entity_scores":{entity:_,scores:(0,t.MapNode)(a({validator:"objective"}),s("int_range"))},"minecraft:inverted":{term:s("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:s("location_predicate")},"minecraft:match_tool":{predicate:s("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:a({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:a({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:s("int_range"),period:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:value_check":{value:s("number_provider"),range:s("int_range")},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}}),e.FunctionCases=(_,d=a({enum:"copy_source"}),u=a({enum:"entity_source"}))=>{const m={"minecraft:apply_bonus":{enchantment:a({validator:"resource",params:{pool:"enchantment"}}),formula:a({validator:"resource",params:{pool:r.get("loot_table_apply_bonus_formula")}}),parameters:(0,t.Mod)((0,t.ObjectNode)({bonusMultiplier:(0,t.Mod)((0,t.NumberNode)(),{enabled:p=>p.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,t.Mod)((0,t.NumberNode)(),{enabled:p=>p.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,t.Mod)((0,t.NumberNode)(),{enabled:p=>p.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:p=>p.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:d},"minecraft:copy_nbt":{source:s("nbt_provider"),ops:(0,t.ListNode)((0,t.ObjectNode)({source:a({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:a({validator:"nbt_path",params:{category:"minecraft:item"}}),op:a({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:a({validator:"resource",params:{pool:"block"}}),properties:(0,t.ListNode)(a({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,t.Opt)((0,t.ListNode)(a({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:s("number_provider"),treasure:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:exploration_map":{destination:(0,t.Opt)(a({enum:"map_feature"})),decoration:(0,t.Opt)(a({enum:"map_decoration"})),zoom:(0,t.Opt)((0,t.NumberNode)({integer:!0})),search_radius:(0,t.Opt)((0,t.NumberNode)({integer:!0})),skip_existing_chunks:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:fill_player_head":{entity:u},"minecraft:limit_count":{limit:s("int_range")},"minecraft:looting_enchant":{count:s("number_provider"),limit:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,t.ListNode)(s("attribute_modifier"))},"minecraft:set_banner_pattern":{patterns:(0,t.ListNode)((0,t.ObjectNode)({pattern:a({enum:"banner_pattern"}),color:a({enum:"dye_color"})})),append:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_contents":{type:a({validator:"resource",params:{pool:"block_entity_type"}}),entries:(0,t.ListNode)(s("loot_entry"))},"minecraft:set_count":{count:s("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_damage":{damage:s("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_enchantments":{enchantments:(0,t.MapNode)(a({validator:"resource",params:{pool:"enchantment"}}),s("number_provider")),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_loot_table":{type:a({validator:"resource",params:{pool:"block_entity_type"}}),name:a({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,t.Opt)(u),lore:(0,t.ListNode)(s("text_component")),replace:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_name":{entity:(0,t.Opt)(u),name:(0,t.Opt)(s("text_component"))},"minecraft:set_nbt":{tag:a({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_potion":{id:a({validator:"resource",params:{pool:"potion"}})},"minecraft:set_stew_effect":{effects:(0,t.Opt)((0,t.ListNode)((0,t.ObjectNode)({type:a({validator:"resource",params:{pool:"mob_effect"}}),duration:s("number_provider")})))}},f={};return r.get("loot_function_type").forEach(p=>{f[p]=H(H({},m[p]),_)}),f},e.DimensionTypePresets=_=>(0,t.ObjectOrPreset)(a({validator:"resource",params:{pool:"$dimension_type"}}),_,{"minecraft:overworld":e.DefaultDimensionType,"minecraft:the_nether":{name:"minecraft:the_nether",ultrawarm:!0,natural:!1,shrunk:!0,piglin_safe:!0,respawn_anchor_works:!0,bed_works:!1,has_raids:!1,has_skylight:!1,has_ceiling:!0,ambient_light:.1,fixed_time:18e3,logical_height:128,effects:"minecraft:the_nether",infiniburn:"minecraft:infiniburn_nether",min_y:0,height:256},"minecraft:the_end":{name:"minecraft:the_end",ultrawarm:!1,natural:!1,shrunk:!1,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!1,has_raids:!0,has_skylight:!1,has_ceiling:!1,ambient_light:0,fixed_time:6e3,logical_height:256,effects:"minecraft:the_end",infiniburn:"minecraft:infiniburn_end",min_y:0,height:256}}),e.NoiseSettingsPresets=_=>(0,t.ObjectOrPreset)(a({validator:"resource",params:{pool:"$worldgen/noise_settings"}}),_,{"minecraft:overworld":e.DefaultNoiseSettings,"minecraft:nether":{bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,noise_caves_enabled:!1,deepslate_enabled:!1,ore_veins_enabled:!1,noodle_caves_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,default_block:{Name:"minecraft:netherrack"},default_fluid:{Properties:{level:"0"},Name:"minecraft:lava"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,density_factor:0,density_offset:-.030078125,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{structures:n}},"minecraft:end":{bedrock_roof_position:-2147483648,bedrock_floor_position:-2147483648,sea_level:0,noise_caves_enabled:!1,deepslate_enabled:!1,ore_veins_enabled:!1,noodle_caves_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,default_block:{Name:"minecraft:end_stone"},default_fluid:{Name:"minecraft:air"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,density_factor:0,density_offset:0,island_noise_override:!0,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{structures:n}},"minecraft:amplified":{bedrock_roof_position:-2147483648,bedrock_floor_position:0,sea_level:63,noise_caves_enabled:!0,deepslate_enabled:!0,ore_veins_enabled:!0,noodle_caves_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,density_factor:1,density_offset:-.51875,amplified:!0,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{stronghold:{distance:32,spread:3,count:128},structures:n}},"minecraft:caves":{bedrock_roof_position:0,bedrock_floor_position:0,sea_level:32,noise_caves_enabled:!1,deepslate_enabled:!1,ore_veins_enabled:!1,noodle_caves_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,density_factor:0,density_offset:-.030078125,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{stronghold:{distance:32,spread:3,count:128},structures:n}},"minecraft:floating_islands":{bedrock_roof_position:-2147483648,bedrock_floor_position:-2147483648,sea_level:0,noise_caves_enabled:!1,deepslate_enabled:!1,ore_veins_enabled:!1,noodle_caves_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,density_factor:0,density_offset:0,island_noise_override:!0,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},surface_rule:{type:"minecraft:sequence",sequence:[]},structures:{stronghold:{distance:32,spread:3,count:128},structures:n}}})}e.initCommonSchemas=i})(Sr);var Mu={};Object.defineProperty(Mu,"__esModule",{value:!0});Mu.initConditionSchemas=void 0;const _a=j,Ox=Sr;function Tx(e,t){const n=_a.Reference.bind(void 0,e),i=_a.StringNode.bind(void 0,t);e.register("predicate",(0,_a.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,_a.Mod)((0,_a.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[_a.Switch]:[{push:"condition"}],[_a.Case]:(0,Ox.ConditionCases)()},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}Mu.initConditionSchemas=Tx;var Lu={};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.initDimensionSchemas=void 0;const Yt=j,ag=Sr;function wx(e,t){const n=Yt.Reference.bind(void 0,e),i=Yt.StringNode.bind(void 0,t);e.register("dimension",(0,Yt.Mod)((0,Yt.ObjectNode)({type:(0,ag.DimensionTypePresets)(n("dimension_type")),generator:(0,Yt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/chunk_generator"}}),[Yt.Switch]:[{push:"type"}],[Yt.Case]:{"minecraft:noise":{seed:(0,Yt.NumberNode)({integer:!0}),settings:(0,ag.NoiseSettingsPresets)(n("noise_settings")),biome_source:(0,Yt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/biome_source"}}),[Yt.Switch]:[{push:"type"}],[Yt.Case]:{"minecraft:fixed":{biome:i({validator:"resource",params:{pool:"$worldgen/biome"}})},"minecraft:multi_noise":{preset:(0,Yt.Opt)(i({validator:"resource",params:{pool:["minecraft:overworld","minecraft:nether"]}})),biomes:(0,Yt.Mod)((0,Yt.ListNode)(n("generator_biome")),{enabled:r=>r.push("preset").get()===void 0,default:()=>[{biome:"minecraft:plains"}]})},"minecraft:checkerboard":{scale:(0,Yt.Opt)((0,Yt.NumberNode)({integer:!0,min:0,max:62})),biomes:(0,Yt.ListNode)(i({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:the_end":{seed:(0,Yt.NumberNode)({integer:!0})}}},{category:"predicate",disableSwitchContext:!0})},"minecraft:flat":{settings:(0,Yt.ObjectNode)({biome:(0,Yt.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),lakes:(0,Yt.Opt)((0,Yt.BooleanNode)()),features:(0,Yt.Opt)((0,Yt.BooleanNode)()),layers:(0,Yt.ListNode)(n("generator_layer")),structures:n("generator_structures")})}}},{disableSwitchContext:!0})},{category:"pool",context:"dimension"}),{default:()=>{const r=Math.floor(Math.random()*4294967296)-2147483648;return{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:r,biome_source:{type:"minecraft:fixed",seed:r,biome:"minecraft:plains"},settings:"minecraft:overworld"}}}}));const o=(0,Yt.ChoiceNode)([{type:"number",node:(0,Yt.NumberNode)({min:-2,max:2}),change:r=>{var a;return(a=r[0])!==null&&a!==void 0?a:0}},{type:"list",node:(0,Yt.ListNode)((0,Yt.NumberNode)({min:-2,max:2}),{minLength:2,maxLength:2}),change:r=>[r!=null?r:0,r!=null?r:0]}]);e.register("generator_biome",(0,Yt.Mod)((0,Yt.ObjectNode)({biome:i({validator:"resource",params:{pool:"$worldgen/biome"}}),parameters:(0,Yt.ObjectNode)({temperature:o,humidity:o,continentalness:o,erosion:o,weirdness:o,depth:o,offset:(0,Yt.NumberNode)({min:0,max:1})})},{context:"generator_biome"}),{default:()=>({biome:"minecraft:plains",parameters:{altitude:0,temperature:0,humidity:0,weirdness:0,offset:0}})}))}Lu.initDimensionSchemas=wx;var Fu={};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.initDimensionTypeSchemas=void 0;const qn=j,Rx=Sr;function xx(e,t){const n=qn.StringNode.bind(void 0,t);e.register("dimension_type",(0,qn.Mod)((0,qn.ObjectNode)({ultrawarm:(0,qn.BooleanNode)(),natural:(0,qn.BooleanNode)(),piglin_safe:(0,qn.BooleanNode)(),respawn_anchor_works:(0,qn.BooleanNode)(),bed_works:(0,qn.BooleanNode)(),has_raids:(0,qn.BooleanNode)(),has_skylight:(0,qn.BooleanNode)(),has_ceiling:(0,qn.BooleanNode)(),coordinate_scale:(0,qn.NumberNode)({min:1e-5,max:3e7}),ambient_light:(0,qn.NumberNode)(),fixed_time:(0,qn.Opt)((0,qn.NumberNode)({integer:!0})),logical_height:(0,qn.NumberNode)({integer:!0,min:0,max:4096}),effects:(0,qn.Opt)(n({enum:["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]})),infiniburn:n({validator:"resource",params:{pool:"$tag/block"}}),min_y:(0,qn.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,qn.NumberNode)({integer:!0,min:0,max:4096})},{context:"dimension_type"}),i=>({default:()=>Rx.DefaultDimensionType,validate:(o,r,a,s)=>(r=i.validate(o,r,a,s),(r==null?void 0:r.min_y)+(r==null?void 0:r.height)>2047&&a.add(o.push("height"),"error.min_y_plus_height",2047),(r==null?void 0:r.logical_height)>(r==null?void 0:r.height)&&a.add(o.push("logical_height"),"error.logical_height"),(r==null?void 0:r.height)%16!==0&&a.add(o.push("height"),"error.height_multiple",16),(r==null?void 0:r.min_y)%16!==0&&a.add(o.push("min_y"),"error.min_y_multiple",16),r)})))}Fu.initDimensionTypeSchemas=xx;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.initItemModifierSchemas=void 0;const Yr=j,Dx=Sr;function Ix(e,t){const n=Yr.Reference.bind(void 0,e),i=Yr.StringNode.bind(void 0,t);e.register("item_modifier",(0,Yr.ObjectOrList)(n("function"),{choiceContext:"function"}));const o={conditions:(0,Yr.Opt)((0,Yr.ListNode)(n("condition")))};e.register("function",(0,Yr.Mod)((0,Yr.ObjectNode)({function:i({validator:"resource",params:{pool:"loot_function_type"}}),[Yr.Switch]:[{push:"function"}],[Yr.Case]:(0,Dx.FunctionCases)(o)},{category:"function",context:"function"}),{default:()=>[{function:"minecraft:set_count",count:1}]}))}Pu.initItemModifierSchemas=Ix;var Bu={},Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.LootFunctions=Wi.LootConditions=Wi.LootCopySources=Wi.LootEntitySources=Wi.LootTableTypes=void 0;Wi.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);Wi.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Wi.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);Wi.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);Wi.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_banner_pattern",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty(Bu,"__esModule",{value:!0});Bu.initLootTableSchemas=void 0;const ht=j,zs=Wi,sg=Sr;function kx(e,t){const n=ht.Reference.bind(void 0,e),i=ht.StringNode.bind(void 0,t),o={conditions:(0,ht.Opt)((0,ht.ListNode)(n("loot_condition")))},r=H({functions:(0,ht.Opt)((0,ht.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of zs.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new ht.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,ht.SwitchNode)(p)}const s=a(zs.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(zs.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(zs.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(zs.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,ht.Mod)((0,ht.ObjectNode)({type:(0,ht.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,ht.Opt)((0,ht.ListNode)((0,ht.Mod)((0,ht.ObjectNode)(H({rolls:n("number_provider"),bonus_rolls:(0,ht.Opt)(n("number_provider")),entries:(0,ht.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,ht.Opt)((0,ht.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,ht.Mod)((0,ht.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,ht.Opt)((0,ht.Mod)((0,ht.NumberNode)({integer:!0,min:1}),d)),quality:(0,ht.Opt)((0,ht.Mod)((0,ht.NumberNode)({integer:!0}),d)),[ht.Switch]:[{push:"type"}],[ht.Case]:{"minecraft:alternatives":H({children:(0,ht.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,ht.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,ht.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,ht.Opt)((0,ht.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,ht.Mod)((0,ht.ObjectNode)({function:c,[ht.Switch]:[{push:"function"}],[ht.Case]:(0,sg.FunctionCases)(o,_,l)},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,ht.Mod)((0,ht.ObjectNode)({condition:s,[ht.Switch]:[{push:"condition"}],[ht.Case]:(0,sg.ConditionCases)(l)},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,ht.Mod)((0,ht.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:n("number_provider"),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,ht.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}Bu.initLootTableSchemas=kx;var $u={};Object.defineProperty($u,"__esModule",{value:!0});$u.initPackMcmetaSchemas=void 0;const ma=j,Oo=8;function Mx(e,t){e.register("pack_mcmeta",(0,ma.Mod)((0,ma.ObjectNode)({pack:(0,ma.Mod)((0,ma.ObjectNode)({pack_format:(0,ma.Mod)((0,ma.NumberNode)({integer:!0,min:Oo,max:Oo}),{default:()=>Oo,canUpdate:(n,i)=>i!==Oo,update:()=>[{name:"pack_format",params:[Oo],newValue:Oo}]}),description:(0,ma.Reference)(e,"text_component")}),{default:()=>({pack_format:Oo,description:""})})}),{default:()=>({pack:{pack_format:Oo,description:""}})}))}$u.initPackMcmetaSchemas=Mx;var Uu={};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.initPredicatesSchemas=void 0;const ce=j;function Lx(e,t){const n=ce.Reference.bind(void 0,e),i=ce.StringNode.bind(void 0,t),o=(0,ce.ChoiceNode)([{type:"string",node:i(),change:r=>typeof r=="boolean"||typeof r=="number"?r.toString():""},{type:"number",node:(0,ce.NumberNode)(),change:r=>typeof r=="string"?parseInt(r):0},{type:"object",node:(0,ce.ObjectNode)({min:(0,ce.Opt)((0,ce.NumberNode)({integer:!0})),max:(0,ce.Opt)((0,ce.NumberNode)({integer:!0}))}),change:r=>typeof r=="number"?{min:r,max:r}:{}},{type:"boolean",node:(0,ce.BooleanNode)(),change:r=>r==="true"||r===1}]);e.register("item_predicate",(0,ce.ObjectNode)({items:(0,ce.Opt)((0,ce.ListNode)(i({validator:"resource",params:{pool:"item"}}))),tag:(0,ce.Opt)(i({validator:"resource",params:{pool:"$tag/item"}})),count:n("int_bounds"),durability:n("int_bounds"),potion:(0,ce.Opt)(i({validator:"resource",params:{pool:"potion"}})),nbt:(0,ce.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,ce.Opt)((0,ce.ListNode)(n("enchantment_predicate")))},{context:"item"})),e.register("enchantment_predicate",(0,ce.ObjectNode)({enchantment:(0,ce.Opt)(i({validator:"resource",params:{pool:"enchantment"}})),levels:n("int_bounds")},{context:"enchantment"})),e.register("block_predicate",(0,ce.ObjectNode)({blocks:(0,ce.Opt)((0,ce.ListNode)(i({validator:"resource",params:{pool:"block"}}))),tag:(0,ce.Opt)(i({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,ce.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,ce.Opt)((0,ce.MapNode)(i(),o,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),e.register("fluid_predicate",(0,ce.ObjectNode)({fluid:(0,ce.Opt)(i({validator:"resource",params:{pool:"fluid"}})),tag:(0,ce.Opt)(i({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,ce.Opt)((0,ce.MapNode)(i(),o))},{context:"fluid"})),e.register("location_predicate",(0,ce.ObjectNode)({position:(0,ce.Opt)((0,ce.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds")})),biome:(0,ce.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),feature:(0,ce.Opt)(i({enum:t.get("worldgen/structure_feature").map(r=>r.slice(10))})),dimension:(0,ce.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),light:(0,ce.Opt)((0,ce.ObjectNode)({light:n("int_bounds")})),smokey:(0,ce.Opt)((0,ce.BooleanNode)()),block:(0,ce.Opt)(n("block_predicate")),fluid:(0,ce.Opt)(n("fluid_predicate"))},{context:"location"})),e.register("statistic_predicate",(0,ce.ObjectNode)({type:i({validator:"resource",params:{pool:"stat_type"}}),stat:i(),value:n("int_bounds"),[ce.Switch]:[{push:"type"}],[ce.Case]:{"minecraft:mined":{stat:i({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:i({validator:"resource",params:{pool:"custom_stat"}})}}})),e.register("player_predicate",(0,ce.ObjectNode)({gamemode:(0,ce.Opt)(i({enum:"gamemode"})),level:n("int_bounds"),advancements:(0,ce.Opt)((0,ce.MapNode)(i({validator:"resource",params:{pool:"$advancement"}}),(0,ce.ChoiceNode)([{type:"boolean",node:(0,ce.BooleanNode)(),change:r=>!0},{type:"object",node:(0,ce.MapNode)(i(),(0,ce.BooleanNode)())}]))),recipes:(0,ce.Opt)((0,ce.MapNode)(i({validator:"resource",params:{pool:"$recipe"}}),(0,ce.BooleanNode)())),stats:(0,ce.Opt)((0,ce.ListNode)(n("statistic_predicate"))),looking_at:(0,ce.Opt)(n("entity_predicate"))},{context:"player"})),e.register("status_effect_predicate",(0,ce.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds"),ambient:(0,ce.Opt)((0,ce.BooleanNode)()),visible:(0,ce.Opt)((0,ce.BooleanNode)())},{context:"status_effect"})),e.register("distance_predicate",(0,ce.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds"),absolute:n("float_bounds"),horizontal:n("float_bounds")},{context:"distance"})),e.register("entity_predicate",(0,ce.ObjectNode)({type:(0,ce.Opt)(i({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),nbt:(0,ce.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,ce.Opt)(i({validator:"team"})),location:(0,ce.Opt)(n("location_predicate")),stepping_on:(0,ce.Opt)(n("location_predicate")),distance:(0,ce.Opt)(n("distance_predicate")),flags:(0,ce.Opt)((0,ce.ObjectNode)({is_on_fire:(0,ce.Opt)((0,ce.BooleanNode)()),is_sneaking:(0,ce.Opt)((0,ce.BooleanNode)()),is_sprinting:(0,ce.Opt)((0,ce.BooleanNode)()),is_swimming:(0,ce.Opt)((0,ce.BooleanNode)()),is_baby:(0,ce.Opt)((0,ce.BooleanNode)())})),equipment:(0,ce.Opt)((0,ce.MapNode)(i({enum:"slot"}),n("item_predicate"))),vehicle:(0,ce.Opt)(n("entity_predicate")),passenger:(0,ce.Opt)(n("entity_predicate")),targeted_entity:(0,ce.Opt)(n("entity_predicate")),player:(0,ce.Opt)(n("player_predicate")),lightning_bolt:(0,ce.Opt)((0,ce.ObjectNode)({blocks_set_on_fire:(0,ce.Opt)(n("int_bounds")),entity_struck:(0,ce.Opt)(n("entity_predicate"))})),fishing_hook:(0,ce.Opt)((0,ce.ObjectNode)({in_open_water:(0,ce.Opt)((0,ce.BooleanNode)())})),catType:(0,ce.Opt)(i({enum:"cat_texture"})),effects:(0,ce.Opt)((0,ce.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},{context:"entity"})),e.register("damage_source_predicate",(0,ce.ObjectNode)({is_explosion:(0,ce.Opt)((0,ce.BooleanNode)()),is_fire:(0,ce.Opt)((0,ce.BooleanNode)()),is_magic:(0,ce.Opt)((0,ce.BooleanNode)()),is_projectile:(0,ce.Opt)((0,ce.BooleanNode)()),is_lightning:(0,ce.Opt)((0,ce.BooleanNode)()),bypasses_armor:(0,ce.Opt)((0,ce.BooleanNode)()),bypasses_invulnerability:(0,ce.Opt)((0,ce.BooleanNode)()),bypasses_magic:(0,ce.Opt)((0,ce.BooleanNode)()),source_entity:(0,ce.Opt)(n("entity_predicate")),direct_entity:(0,ce.Opt)(n("entity_predicate"))},{context:"damage_source"})),e.register("damage_predicate",(0,ce.ObjectNode)({dealt:n("float_bounds"),taken:n("float_bounds"),blocked:(0,ce.Opt)((0,ce.BooleanNode)()),source_entity:(0,ce.Opt)(n("entity_predicate")),type:(0,ce.Opt)(n("damage_source_predicate"))},{context:"damage"}))}Uu.initPredicatesSchemas=Lx;var Gu={};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.initRecipeSchemas=void 0;const at=j;function Fx(e,t){const n=at.Reference.bind(void 0,e),i=at.StringNode.bind(void 0,t);e.register("recipe",(0,at.Mod)((0,at.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[at.Switch]:[{push:"type"}],[at.Case]:{"minecraft:crafting_shaped":{group:(0,at.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,at.ListNode)(i()),key:(0,at.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,at.Opt)(i()),ingredients:(0,at.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,at.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,at.Opt)((0,at.NumberNode)()),cookingtime:(0,at.Opt)((0,at.Mod)((0,at.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,at.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,at.Opt)((0,at.NumberNode)()),cookingtime:(0,at.Opt)((0,at.Mod)((0,at.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,at.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,at.Opt)((0,at.NumberNode)()),cookingtime:(0,at.Opt)((0,at.Mod)((0,at.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,at.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,at.Opt)((0,at.NumberNode)()),cookingtime:(0,at.Opt)((0,at.Mod)((0,at.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,at.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,at.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,at.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,at.Mod)((0,at.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,at.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,at.Mod)((0,at.ObjectNode)({item:(0,at.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,at.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,at.Mod)((0,at.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,at.Opt)((0,at.Mod)((0,at.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}Gu.initRecipeSchemas=Fx;var zu={};Object.defineProperty(zu,"__esModule",{value:!0});zu.initTagsSchemas=void 0;const Hr=j;function Px(e,t){const n=Hr.StringNode.bind(void 0,t),i=o=>(0,Hr.Mod)((0,Hr.ObjectNode)({replace:(0,Hr.Opt)((0,Hr.BooleanNode)()),values:(0,Hr.ListNode)((0,Hr.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,Hr.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,Hr.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("game_event_tag",i("game_event")),e.register("item_tag",i("item"))}zu.initTagsSchemas=Px;var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.initTextComponentSchemas=void 0;const Pe=j;function Bx(e,t){const n=Pe.Reference.bind(void 0,e),i=Pe.StringNode.bind(void 0,t),o=a=>{var s;return a instanceof Array?o(a[0]):(s=a==null?void 0:a.text)!==null&&s!==void 0?s:typeof a=="object"?"":a==null?void 0:a.toString()};e.register("text_component",(0,Pe.Mod)((0,Pe.ChoiceNode)([{type:"object",node:n("text_component_object"),change:a=>a instanceof Array?typeof a[0]=="object"?a[0]:{text:o(a[0])}:typeof a=="object"?a:{text:o(a)}},{type:"list",node:n("text_component_list"),change:a=>[a]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,Pe.NumberNode)(),change:a=>{const s=parseFloat(o(a));return isFinite(s)?s:a?1:0}},{type:"boolean",node:(0,Pe.BooleanNode)(),change:a=>{const s=o(a);return s==="true"||s==="false"?s==="true":!!s}}],{context:"text_component"}),{default:()=>({text:""})}));const r={color:(0,Pe.Opt)(i()),font:(0,Pe.Opt)(i()),bold:(0,Pe.Opt)((0,Pe.BooleanNode)()),italic:(0,Pe.Opt)((0,Pe.BooleanNode)()),underlined:(0,Pe.Opt)((0,Pe.BooleanNode)()),strikethrough:(0,Pe.Opt)((0,Pe.BooleanNode)()),obfuscated:(0,Pe.Opt)((0,Pe.BooleanNode)()),insertion:(0,Pe.Opt)(i()),clickEvent:(0,Pe.Opt)((0,Pe.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[Pe.Switch]:[{push:"action"}],[Pe.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,Pe.Opt)((0,Pe.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[Pe.Switch]:[{push:"action"}],[Pe.Case]:{show_text:{value:(0,Pe.Opt)(n("text_component")),contents:(0,Pe.Opt)(n("text_component"))},show_item:{value:(0,Pe.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}})),contents:(0,Pe.Opt)((0,Pe.ObjectNode)({id:i({validator:"resource",params:{pool:"item"}}),count:(0,Pe.Opt)((0,Pe.NumberNode)({integer:!0})),tag:(0,Pe.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"id"}]}}}))}))},show_entity:{value:(0,Pe.Opt)((0,Pe.ObjectNode)({name:(0,Pe.Opt)(i()),type:(0,Pe.Opt)(i()),id:(0,Pe.Opt)(i())})),contents:(0,Pe.Opt)((0,Pe.Mod)((0,Pe.ObjectNode)({name:(0,Pe.Opt)(n("text_component")),type:i({validator:"resource",params:{pool:"entity_type"}}),id:i({validator:"uuid"})}),{default:()=>({type:"minecraft:pig",id:"00000001-0001-0001-0001-000000000001"})}))}}})),extra:(0,Pe.Opt)(n("text_component_list"))};e.register("text_component_object",(0,Pe.Mod)((0,Pe.ChoiceNode)([{type:"text",match:a=>typeof a=="object",change:a=>({text:""}),priority:-1,node:(0,Pe.ObjectNode)(H({text:i()},r))},{type:"translation",match:a=>(a==null?void 0:a.translate)!==void 0,change:a=>({translate:""}),node:(0,Pe.ObjectNode)(H({translate:i(),with:(0,Pe.Opt)(n("text_component_list"))},r))},{type:"score",match:a=>(a==null?void 0:a.score)!==void 0,change:a=>({score:{}}),node:(0,Pe.ObjectNode)(H({score:(0,Pe.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,Pe.Opt)(i())})},r))},{type:"selector",match:a=>(a==null?void 0:a.selector)!==void 0,change:a=>({selector:""}),node:(0,Pe.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}}),separator:(0,Pe.Opt)(n("text_component"))},r))},{type:"keybind",match:a=>(a==null?void 0:a.keybind)!==void 0,change:a=>({keybind:""}),node:(0,Pe.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},r))},{type:"nbt",match:a=>(a==null?void 0:a.nbt)!==void 0,change:a=>({nbt:""}),node:(0,Pe.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,Pe.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,Pe.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,Pe.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,Pe.Opt)((0,Pe.BooleanNode)()),separator:(0,Pe.Opt)(n("text_component"))},r))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,Pe.Mod)((0,Pe.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}Yu.initTextComponentSchemas=Bx;var Hu={},Vu={};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.initBiomeSchemas=void 0;const Xe=j;function $x(e,t){const n=Xe.StringNode.bind(void 0,t);e.register("biome",(0,Xe.Mod)((0,Xe.ObjectNode)({temperature:(0,Xe.NumberNode)(),downfall:(0,Xe.NumberNode)(),precipitation:n({enum:["none","rain","snow"]}),temperature_modifier:(0,Xe.Opt)(n({enum:["none","frozen"]})),category:n({enum:"biome_category"}),creature_spawn_probability:(0,Xe.Opt)((0,Xe.NumberNode)({min:0,max:1})),effects:(0,Xe.ObjectNode)({sky_color:(0,Xe.NumberNode)({color:!0}),fog_color:(0,Xe.NumberNode)({color:!0}),water_color:(0,Xe.NumberNode)({color:!0}),water_fog_color:(0,Xe.NumberNode)({color:!0}),grass_color:(0,Xe.Opt)((0,Xe.NumberNode)({color:!0})),foliage_color:(0,Xe.Opt)((0,Xe.NumberNode)({color:!0})),grass_color_modifier:(0,Xe.Opt)(n({enum:["none","dark_forest","swamp"]})),ambient_sound:(0,Xe.Opt)(n()),mood_sound:(0,Xe.Opt)((0,Xe.ObjectNode)({sound:n(),tick_delay:(0,Xe.NumberNode)({integer:!0}),block_search_extent:(0,Xe.NumberNode)({integer:!0}),offset:(0,Xe.NumberNode)()})),additions_sound:(0,Xe.Opt)((0,Xe.ObjectNode)({sound:n(),tick_chance:(0,Xe.NumberNode)({min:0,max:1})})),music:(0,Xe.Opt)((0,Xe.ObjectNode)({sound:n(),min_delay:(0,Xe.NumberNode)({integer:!0,min:0}),max_delay:(0,Xe.NumberNode)({integer:!0,min:0}),replace_current_music:(0,Xe.BooleanNode)()})),particle:(0,Xe.Opt)((0,Xe.ObjectNode)({options:(0,Xe.ObjectNode)({type:n()}),probability:(0,Xe.NumberNode)({min:0,max:1})}))}),spawners:(0,Xe.MapNode)(n({enum:["monster","creature","ambient","axolotls","underground_water_creature","water_creature","water_ambient","misc"]}),(0,Xe.Mod)((0,Xe.ListNode)((0,Xe.ObjectNode)({type:n({validator:"resource",params:{pool:"entity_type"}}),weight:(0,Xe.NumberNode)({integer:!0}),minCount:(0,Xe.NumberNode)({integer:!0}),maxCount:(0,Xe.NumberNode)({integer:!0})})),{category:()=>"pool",default:()=>[{type:"minecraft:bat",weight:1}]})),spawn_costs:(0,Xe.MapNode)(n({validator:"resource",params:{pool:"entity_type"}}),(0,Xe.Mod)((0,Xe.ObjectNode)({energy_budget:(0,Xe.NumberNode)(),charge:(0,Xe.NumberNode)()},{category:"function"}),{default:()=>({energy_budget:.12,charge:1})})),carvers:(0,Xe.MapNode)(n({enum:["air","liquid"]}),(0,Xe.Mod)((0,Xe.ListNode)(n({validator:"resource",params:{pool:"$worldgen/configured_carver"}})),{default:()=>["minecraft:cave"]})),features:(0,Xe.ListNode)((0,Xe.Mod)((0,Xe.ListNode)(n({validator:"resource",params:{pool:"$worldgen/placed_feature"}})),{category:()=>"predicate"}),{maxLength:11})},{context:"biome"}),{default:()=>({temperature:.8,downfall:.4,precipitation:"rain",category:"plains",effects:{sky_color:7907327,fog_color:12638463,water_color:4159204,water_fog_color:329011}})}))}Vu.initBiomeSchemas=$x;var Wu={};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.initCarverSchemas=void 0;const Fn=j,To=Sr;function Ux(e,t){const n=Fn.Reference.bind(void 0,e),i=Fn.StringNode.bind(void 0,t),o={vertical_rotation:(0,To.FloatProvider)(),shape:(0,Fn.ObjectNode)({distance_factor:(0,To.FloatProvider)(),thickness:(0,To.FloatProvider)(),width_smoothness:(0,Fn.NumberNode)({integer:!0,min:0}),horizontal_radius_factor:(0,To.FloatProvider)(),vertical_radius_default_factor:(0,Fn.NumberNode)(),vertical_radius_center_factor:(0,Fn.NumberNode)()})},r={horizontal_radius_multiplier:(0,To.FloatProvider)(),vertical_radius_multiplier:(0,To.FloatProvider)(),floor_level:(0,To.FloatProvider)({min:-1,max:1})};e.register("configured_carver",(0,Fn.Mod)((0,Fn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/carver"}}),config:(0,Fn.ObjectNode)({probability:(0,Fn.NumberNode)({min:0,max:1}),y:n("height_provider"),yScale:(0,To.FloatProvider)(),lava_level:n("vertical_anchor"),debug_settings:(0,Fn.Opt)((0,Fn.ObjectNode)({debug_mode:(0,Fn.Opt)((0,Fn.BooleanNode)()),air_state:(0,Fn.Opt)(n("block_state")),water_state:(0,Fn.Opt)(n("block_state")),lava_state:(0,Fn.Opt)(n("block_state")),barrier_state:(0,Fn.Opt)(n("block_state"))})),[Fn.Switch]:["pop",{push:"type"}],[Fn.Case]:{"minecraft:canyon":o,"minecraft:cave":r,"minecraft:nether_cave":r}})},{context:"carver"}),{default:()=>({type:"minecraft:cave",config:{probability:.1}})}))}Wu.initCarverSchemas=Ux;var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.initDecoratorSchemas=void 0;const Pn=j,tc=Sr;function Gx(e,t){const n=Pn.Reference.bind(void 0,e),i=Pn.StringNode.bind(void 0,t);e.register("decorator",(0,Pn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/placement_modifier_type"}}),[Pn.Switch]:[{push:"type"}],[Pn.Case]:{"minecraft:block_predicate_filter":{predicate:n("block_predicate_worldgen")},"minecraft:carving_mask":{step:i({enum:"generation_step"})},"minecraft:rarity_filter":{chance:(0,Pn.NumberNode)({integer:!0,min:0})},"minecraft:count":{count:(0,tc.IntProvider)({min:0,max:256})},"minecraft:count_on_every_layer":{count:(0,tc.IntProvider)({min:0,max:256})},"minecraft:noise_threshold_count":{noise_level:(0,Pn.NumberNode)(),below_noise:(0,Pn.NumberNode)({integer:!0}),above_noise:(0,Pn.NumberNode)({integer:!0})},"minecraft:noise_based_count":{noise_to_count_ratio:(0,Pn.NumberNode)({integer:!0}),noise_factor:(0,Pn.NumberNode)(),noise_offset:(0,Pn.Opt)((0,Pn.NumberNode)())},"minecraft:environment_scan":{direction_of_search:i({enum:["up","down"]}),max_steps:(0,Pn.NumberNode)({integer:!0,min:1,max:32}),target_condition:n("block_predicate_worldgen"),allowed_search_condition:(0,Pn.Opt)(n("block_predicate_worldgen"))},"minecraft:heightmap":{heightmap:i({enum:"heightmap_type"})},"minecraft:height_range":{height:n("height_provider")},"minecraft:random_offset":{xz_spread:(0,tc.IntProvider)({min:-16,max:16}),y_spread:(0,tc.IntProvider)({min:-16,max:16})},"minecraft:surface_relative_threshold_filter":{heightmap:i({enum:"heightmap_type"}),min_inclusive:(0,Pn.Opt)((0,Pn.NumberNode)({integer:!0})),max_inclusive:(0,Pn.Opt)((0,Pn.NumberNode)({integer:!0}))},"minecraft:surface_water_depth_filter":{max_water_depth:(0,Pn.NumberNode)({integer:!0})}}},{context:"decorator",category:"predicate"}))}ju.initDecoratorSchemas=Gx;var qu={},ea={};Object.defineProperty(ea,"__esModule",{value:!0});ea.initProcessorListSchemas=ea.Processors=void 0;const Bt=j;function zx(e,t){const n=Bt.Reference.bind(void 0,e),i=Bt.StringNode.bind(void 0,t);ea.Processors=(0,Bt.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/processor_list"}}),change:r=>{}},{type:"object",node:n("processor_list"),change:r=>({processors:[{processor_type:"minecraft:nop"}]})}]),e.register("processor_list",(0,Bt.Mod)((0,Bt.ObjectNode)({processors:(0,Bt.ListNode)(n("processor"))},{context:"processor_list"}),{default:()=>({processors:[{processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]}]})})),e.register("processor",(0,Bt.Mod)((0,Bt.ObjectNode)({processor_type:i({validator:"resource",params:{pool:"worldgen/structure_processor"}}),[Bt.Switch]:[{push:"processor_type"}],[Bt.Case]:{"minecraft:block_age":{mossiness:(0,Bt.NumberNode)()},"minecraft:block_ignore":{blocks:(0,Bt.ListNode)(n("block_state"))},"minecraft:block_rot":{integrity:(0,Bt.NumberNode)({min:0,max:1})},"minecraft:gravity":{heightmap:i({enum:"heightmap_type"}),offset:(0,Bt.NumberNode)({integer:!0})},"minecraft:protected_blocks":{value:i({validator:"resource",params:{pool:"$tag/block"}})},"minecraft:rule":{rules:(0,Bt.ListNode)(n("processor_rule"))}}},{category:"function",context:"processor"}),{default:()=>({processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]})})),e.register("processor_rule",(0,Bt.Mod)((0,Bt.ObjectNode)({position_predicate:(0,Bt.Opt)(n("pos_rule_test")),location_predicate:n("rule_test"),input_predicate:n("rule_test"),output_state:n("block_state"),output_nbt:(0,Bt.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block"}}}))},{category:"predicate",context:"processor_rule"}),{default:()=>({location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}})}));const o={min_dist:(0,Bt.Opt)((0,Bt.NumberNode)({min:0,max:255,integer:!0})),max_dist:(0,Bt.Opt)((0,Bt.NumberNode)({min:0,max:255,integer:!0})),min_chance:(0,Bt.Opt)((0,Bt.NumberNode)({min:0,max:1})),max_chance:(0,Bt.Opt)((0,Bt.NumberNode)({min:0,max:1}))};e.register("pos_rule_test",(0,Bt.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"pos_rule_test"}}),[Bt.Switch]:[{push:"predicate_type"}],[Bt.Case]:{"minecraft:axis_aligned_linear_pos":H({axis:i({enum:["x","y","z"]})},o),"minecraft:linear_pos":o}},{context:"pos_rule_test",disableSwitchContext:!0})),e.register("rule_test",(0,Bt.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"rule_test"}}),[Bt.Switch]:[{push:"predicate_type"}],[Bt.Case]:{"minecraft:block_match":{block:i({validator:"resource",params:{pool:"block"}})},"minecraft:blockstate_match":{block_state:n("block_state")},"minecraft:random_block_match":{block:i({validator:"resource",params:{pool:"block"}}),probability:(0,Bt.NumberNode)({min:0,max:1})},"minecraft:random_blockstate_match":{block_state:n("block_state"),probability:(0,Bt.NumberNode)({min:0,max:1})},"minecraft:tag_match":{tag:i({validator:"resource",params:{pool:"$tag/block"}})}}},{context:"rule_test",disableSwitchContext:!0}))}ea.initProcessorListSchemas=zx;Object.defineProperty(qu,"__esModule",{value:!0});qu.initFeatureSchemas=void 0;const V=j,qt=Sr,lg=ea;function Yx(e,t){const n=V.Reference.bind(void 0,e),i=V.StringNode.bind(void 0,t),o=(0,V.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:n("configured_feature")}],{choiceContext:"feature"}),r=(0,V.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},{type:"object",node:n("placed_feature")}],{choiceContext:"placed_feature"}),a={tries:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:1})),xz_spread:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0})),y_spread:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0})),feature:r},s={state:n("block_state"),radius:(0,qt.IntProvider)({min:0,max:8}),half_height:(0,V.NumberNode)({integer:!0,min:0,max:4}),targets:(0,V.ListNode)(n("block_state"))},c={cap_provider:n("block_state_provider"),stem_provider:n("block_state_provider"),foliage_radius:(0,V.Opt)((0,V.NumberNode)({integer:!0}))},l=(0,V.ObjectNode)({target:n("rule_test"),state:n("block_state")}),_={size:(0,V.NumberNode)({integer:!0,min:0,max:64}),discard_chance_on_air_exposure:(0,V.NumberNode)({min:0,max:1}),targets:(0,V.ListNode)(l)},d={surface:i({enum:"cave_surface"}),depth:(0,qt.IntProvider)({min:1,max:128}),vertical_range:(0,V.NumberNode)({integer:!0,min:1,max:256}),extra_bottom_block_chance:(0,V.NumberNode)({min:0,max:1}),extra_edge_column_chance:(0,V.NumberNode)({min:0,max:1}),vegetation_chance:(0,V.NumberNode)({min:0,max:1}),xz_radius:(0,qt.IntProvider)(),replaceable:i({validator:"resource",params:{pool:"$tag/block"}}),ground_state:n("block_state_provider"),vegetation_feature:r};e.register("configured_feature",(0,V.Mod)((0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature"}}),config:(0,V.ObjectNode)({[V.Switch]:["pop",{push:"type"}],[V.Case]:{"minecraft:bamboo":{probability:(0,V.NumberNode)({min:0,max:1})},"minecraft:basalt_columns":{reach:(0,qt.IntProvider)({min:0,max:3}),height:(0,qt.IntProvider)({min:1,max:10})},"minecraft:block_column":{direction:i({enum:["up","down","north","east","south","west"]}),allowed_placement:n("block_predicate_worldgen"),prioritize_tip:(0,V.BooleanNode)(),layers:(0,V.ListNode)((0,V.ObjectNode)({height:(0,qt.IntProvider)({min:0}),provider:n("block_state_provider")}))},"minecraft:block_pile":{state_provider:n("block_state_provider")},"minecraft:delta_feature":{contents:n("block_state"),rim:n("block_state"),size:(0,qt.IntProvider)({min:0,max:16}),rim_size:(0,qt.IntProvider)({min:0,max:16})},"minecraft:disk":s,"minecraft:dripstone_cluster":{floor_to_ceiling_search_range:(0,V.NumberNode)({integer:!0,min:1,max:512}),height:(0,qt.IntProvider)({min:0,max:128}),radius:(0,qt.IntProvider)({min:0,max:128}),max_stalagmite_stalactite_height_diff:(0,V.NumberNode)({integer:!0,min:0,max:64}),height_deviation:(0,V.NumberNode)({integer:!0,min:1,max:64}),dripstone_block_layer_thickness:(0,qt.IntProvider)({min:0,max:128}),density:(0,qt.FloatProvider)({min:0,max:2}),wetness:(0,qt.FloatProvider)({min:0,max:2}),chance_of_dripstone_column_at_max_distance_from_center:(0,V.NumberNode)({min:0,max:1}),max_distance_from_edge_affecting_chance_of_dripstone_column:(0,V.NumberNode)({integer:!0,min:1,max:64}),max_distance_from_center_affecting_height_bias:(0,V.NumberNode)({integer:!0,min:1,max:64})},"minecraft:end_gateway":{exact:(0,V.BooleanNode)(),exit:(0,V.Opt)(n("block_pos"))},"minecraft:end_spike":{crystal_invulnerable:(0,V.Opt)((0,V.BooleanNode)()),crystal_beam_target:(0,V.Opt)(n("block_pos")),spikes:(0,V.ListNode)((0,V.ObjectNode)({centerX:(0,V.Opt)((0,V.NumberNode)({integer:!0})),centerZ:(0,V.Opt)((0,V.NumberNode)({integer:!0})),radius:(0,V.Opt)((0,V.NumberNode)({integer:!0})),height:(0,V.Opt)((0,V.NumberNode)({integer:!0})),guarded:(0,V.Opt)((0,V.BooleanNode)())}))},"minecraft:fill_layer":{state:n("block_state"),height:(0,V.NumberNode)({integer:!0,min:0,max:255})},"minecraft:flower":a,"minecraft:forest_rock":{state:n("block_state")},"minecraft:fossil":{max_empty_corners_allowed:(0,V.NumberNode)({integer:!0,min:0,max:7}),fossil_structures:(0,V.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),overlay_structures:(0,V.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),fossil_processors:lg.Processors,overlay_processors:lg.Processors},"minecraft:geode":{blocks:(0,V.ObjectNode)({filling_provider:n("block_state_provider"),inner_layer_provider:n("block_state_provider"),alternate_inner_layer_provider:n("block_state_provider"),middle_layer_provider:n("block_state_provider"),outer_layer_provider:n("block_state_provider"),inner_placements:(0,V.ListNode)(n("block_state")),cannot_replace:i({validator:"resource",params:{pool:"$tag/block"}}),invalid_blocks:i({validator:"resource",params:{pool:"$tag/block"}})}),layers:(0,V.ObjectNode)({filling:(0,V.Opt)((0,V.NumberNode)({min:.01,max:50})),inner_layer:(0,V.Opt)((0,V.NumberNode)({min:.01,max:50})),middle_layer:(0,V.Opt)((0,V.NumberNode)({min:.01,max:50})),outer_layer:(0,V.Opt)((0,V.NumberNode)({min:.01,max:50}))}),crack:(0,V.ObjectNode)({generate_crack_chance:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),base_crack_size:(0,V.Opt)((0,V.NumberNode)({min:0,max:5})),crack_point_offset:(0,V.Opt)((0,V.NumberNode)({min:0,max:10}))}),noise_multiplier:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),use_potential_placements_chance:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),use_alternate_layer0_chance:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),placements_require_layer0_alternate:(0,V.Opt)((0,V.BooleanNode)()),outer_wall_distance:(0,V.Opt)((0,qt.IntProvider)({min:1,max:20})),distribution_points:(0,V.Opt)((0,qt.IntProvider)({min:1,max:20})),point_offset:(0,V.Opt)((0,qt.IntProvider)({min:0,max:10})),min_gen_offset:(0,V.Opt)((0,V.NumberNode)({integer:!0})),max_gen_offset:(0,V.Opt)((0,V.NumberNode)({integer:!0})),invalid_blocks_threshold:(0,V.NumberNode)({integer:!0})},"minecraft:glow_lichen":{search_range:(0,V.Opt)((0,V.NumberNode)({min:1,max:64,integer:!0})),chance_of_spreading:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),can_place_on_floor:(0,V.Opt)((0,V.BooleanNode)()),can_place_on_ceiling:(0,V.Opt)((0,V.BooleanNode)()),can_place_on_wall:(0,V.Opt)((0,V.BooleanNode)()),can_be_placed_on:(0,V.ListNode)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:huge_brown_mushroom":c,"minecraft:huge_fungus":{hat_state:n("block_state"),decor_state:n("block_state"),stem_state:n("block_state"),valid_base_block:n("block_state"),planted:(0,V.Opt)((0,V.BooleanNode)())},"minecraft:huge_red_mushroom":c,"minecraft:ice_patch":s,"minecraft:iceberg":{state:n("block_state")},"minecraft:lake":{fluid:n("block_state_provider"),barrier:n("block_state_provider")},"minecraft:large_dripstone":{floor_to_ceiling_search_range:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:1,max:512})),column_radius:(0,qt.IntProvider)({min:0,max:60}),height_scale:(0,qt.FloatProvider)({min:0,max:20}),max_column_radius_to_cave_height_ratio:(0,V.NumberNode)({min:0,max:1}),stalactite_bluntness:(0,qt.FloatProvider)({min:.1,max:10}),stalagmite_bluntness:(0,qt.FloatProvider)({min:.1,max:10}),wind_speed:(0,qt.FloatProvider)({min:0,max:2}),min_radius_for_wind:(0,V.NumberNode)({integer:!0,min:0,max:100}),min_bluntness_for_wind:(0,V.NumberNode)({min:0,max:5})},"minecraft:nether_forest_vegetation":{state_provider:n("block_state_provider"),spread_width:(0,V.NumberNode)({integer:!0,min:1}),spread_height:(0,V.NumberNode)({integer:!0,min:1})},"minecraft:netherrack_replace_blobs":{state:n("block_state"),target:n("block_state"),radius:(0,qt.IntProvider)({min:0,max:12})},"minecraft:no_bonemeal_flower":a,"minecraft:ore":_,"minecraft:pointed_dripstone":{chance_of_taller_dripstone:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),chance_of_directional_spread:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),chance_of_spread_radius2:(0,V.Opt)((0,V.NumberNode)({min:0,max:1})),chance_of_spread_radius3:(0,V.Opt)((0,V.NumberNode)({min:0,max:1}))},"minecraft:random_patch":a,"minecraft:random_boolean_selector":{feature_false:r,feature_true:r},"minecraft:random_selector":{features:(0,V.ListNode)((0,V.ObjectNode)({chance:(0,V.NumberNode)({min:0,max:1}),feature:r})),default:r},"minecraft:replace_single_block":{targets:(0,V.ListNode)(l)},"minecraft:root_system":{required_vertical_space_for_tree:(0,V.NumberNode)({integer:!0,min:1,max:64}),root_radius:(0,V.NumberNode)({integer:!0,min:1,max:64}),root_placement_attempts:(0,V.NumberNode)({integer:!0,min:1,max:256}),root_column_max_height:(0,V.NumberNode)({integer:!0,min:1,max:4096}),hanging_root_radius:(0,V.NumberNode)({integer:!0,min:1,max:64}),hanging_roots_vertical_span:(0,V.NumberNode)({integer:!0,min:0,max:16}),hanging_root_placement_attempts:(0,V.NumberNode)({integer:!0,min:0,max:256}),allowed_vertical_water_for_tree:(0,V.NumberNode)({integer:!0,min:1,max:64}),root_replaceable:i({validator:"resource",params:{pool:"$tag/block"}}),root_state_provider:n("block_state_provider"),hanging_root_state_provider:n("block_state_provider"),allowed_tree_position:n("block_predicate_worldgen"),feature:r},"minecraft:scattered_ore":_,"minecraft:sea_pickle":{count:(0,qt.IntProvider)({min:0,max:256})},"minecraft:seagrass":{probability:(0,V.NumberNode)({min:0,max:1})},"minecraft:simple_block":{to_place:n("block_state_provider")},"minecraft:simple_random_selector":{features:(0,V.ListNode)(r)},"minecraft:spring_feature":{state:n("fluid_state"),rock_count:(0,V.NumberNode)({integer:!0}),hole_count:(0,V.NumberNode)({integer:!0}),requires_block_below:(0,V.BooleanNode)(),valid_blocks:(0,V.ListNode)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:tree":{ignore_vines:(0,V.Opt)((0,V.BooleanNode)()),force_dirt:(0,V.Opt)((0,V.BooleanNode)()),minimum_size:n("feature_size"),dirt_provider:n("block_state_provider"),trunk_provider:n("block_state_provider"),foliage_provider:n("block_state_provider"),trunk_placer:(0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/trunk_placer_type"}}),base_height:(0,V.NumberNode)({integer:!0,min:0,max:32}),height_rand_a:(0,V.NumberNode)({integer:!0,min:0,max:24}),height_rand_b:(0,V.NumberNode)({integer:!0,min:0,max:24}),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:bending_trunk_placer":{bend_length:(0,qt.IntProvider)({min:1,max:64}),min_height_for_leaves:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:1}))}}},{context:"trunk_placer"}),foliage_placer:(0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/foliage_placer_type"}}),radius:(0,qt.IntProvider)({min:0,max:16}),offset:(0,qt.IntProvider)({min:0,max:16}),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:blob_foliage_placer":{height:(0,V.NumberNode)({integer:!0,min:0,max:16})},"minecraft:bush_foliage_placer":{height:(0,V.NumberNode)({integer:!0,min:0,max:16})},"minecraft:fancy_foliage_placer":{height:(0,V.NumberNode)({integer:!0,min:0,max:16})},"minecraft:jungle_foliage_placer":{height:(0,V.NumberNode)({integer:!0,min:0,max:16})},"minecraft:mega_pine_foliage_placer":{crown_height:(0,qt.IntProvider)({min:0,max:24})},"minecraft:pine_foliage_placer":{height:(0,qt.IntProvider)({min:0,max:24})},"minecraft:random_spread_foliage_placer":{foliage_height:(0,qt.IntProvider)({min:1,max:512}),leaf_placement_attempts:(0,V.NumberNode)({integer:!0,min:0,max:256})},"minecraft:spruce_foliage_placer":{trunk_height:(0,qt.IntProvider)({min:0,max:24})}}},{context:"foliage_placer",disableSwitchContext:!0}),decorators:(0,V.ListNode)((0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/tree_decorator_type"}}),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:alter_ground":{provider:n("block_state_provider")},"minecraft:beehive":{probability:(0,V.NumberNode)({min:0,max:1})},"minecraft:cocoa":{probability:(0,V.NumberNode)({min:0,max:1})}}},{context:"tree_decorator"}))},"minecraft:twisting_vines":{spread_width:(0,V.NumberNode)({integer:!0,min:1}),spread_height:(0,V.NumberNode)({integer:!0,min:1}),max_height:(0,V.NumberNode)({integer:!0,min:1})},"minecraft:underwater_magma":{floor_search_range:(0,V.NumberNode)({integer:!0,min:0,max:512}),placement_radius_around_floor:(0,V.NumberNode)({integer:!0,min:0,max:64}),placement_probability_per_valid_position:(0,V.NumberNode)({min:0,max:1})},"minecraft:vegetation_patch":d,"minecraft:waterlogged_vegetation_patch":d}},{context:"feature"})},{context:"feature"}),{default:()=>({type:"minecraft:tree",config:{minimum_size:{type:"minecraft:two_layers_feature_size"},trunk_placer:{type:"minecraft:straight_trunk_placer",base_height:5,height_rand_a:2,height_rand_b:0},foliage_placer:{type:"minecraft:blob_foliage_placer",radius:2,offset:0,height:3}}})})),e.register("placed_feature",(0,V.Mod)((0,V.ObjectNode)({feature:o,placement:(0,V.ListNode)(n("decorator"))},{context:"placed_feature"}),{default:()=>({feature:"minecraft:oak",placement:[{type:"minecraft:count",count:4},{type:"minecraft:in_square"},{type:"minecraft:heightmap",heightmap:"OCEAN_FLOOR"}]})})),e.register("feature_size",(0,V.Mod)((0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature_size_type"}}),min_clipped_height:(0,V.Opt)((0,V.NumberNode)({min:0,max:80})),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:two_layers_feature_size":{limit:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:81})),lower_size:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:16}))},"minecraft:three_layers_feature_size":{limit:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:80})),upper_limit:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:80})),lower_size:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:16})),middle_size:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,V.Opt)((0,V.NumberNode)({integer:!0,min:0,max:16}))}}},{disableSwitchContext:!0}),{default:()=>({type:"minecraft:two_layers_feature_size"})}));const u={seed:(0,V.NumberNode)({integer:!0}),noise:n("noise_parameters"),scale:(0,V.Mod)((0,V.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1})};e.register("block_state_provider",(0,V.Mod)((0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_state_provider_type"}}),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:dual_noise_provider":qe(H({},u),{variety:(0,qt.InclusiveRange)({integer:!0,min:1,max:64}),slow_noise:n("noise_parameters"),slow_scale:(0,V.Mod)((0,V.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1}),states:(0,V.ListNode)(n("block_state"))}),"minecraft:noise_threshold_provider":qe(H({},u),{threshold:(0,V.NumberNode)({min:-1,max:1}),high_chance:(0,V.NumberNode)({min:0,max:1}),default_state:n("block_state"),low_states:(0,V.ListNode)(n("block_state")),high_states:(0,V.ListNode)(n("block_state"))}),"minecraft:noise_provider":qe(H({},u),{states:(0,V.ListNode)(n("block_state"))}),"minecraft:randomized_int_state_provider":{property:i(),values:(0,qt.IntProvider)(),source:n("block_state_provider")},"minecraft:rotated_block_provider":{state:n("block_state")},"minecraft:simple_state_provider":{state:n("block_state")},"minecraft:weighted_state_provider":{entries:(0,V.ListNode)((0,V.Mod)((0,V.ObjectNode)({weight:(0,V.NumberNode)({integer:!0,min:1}),data:n("block_state")}),{default:()=>({data:{}})}))}}},{context:"block_state_provider"}),{default:()=>({type:"minecraft:simple_state_provider"})}));const m={offset:(0,V.Opt)((0,V.ListNode)((0,V.NumberNode)({integer:!0,min:-16,max:16}),{minLength:3,maxLength:3}))};e.register("block_predicate_worldgen",(0,V.Mod)((0,V.ObjectNode)({type:i({validator:"resource",params:{pool:"block_predicate_type"}}),[V.Switch]:[{push:"type"}],[V.Case]:{"minecraft:all_of":{predicates:(0,V.ListNode)(n("block_predicate_worldgen"))},"minecraft:any_of":{predicates:(0,V.ListNode)(n("block_predicate_worldgen"))},"minecraft:has_sturdy_face":qe(H({},m),{direction:i({enum:"direction"})}),"minecraft:inside_world_bounds":H({},m),"minecraft:matching_block_tag":qe(H({},m),{tag:i({validator:"resource",params:{pool:"$tag/block"}})}),"minecraft:matching_blocks":qe(H({},m),{blocks:(0,V.ListNode)(i({validator:"resource",params:{pool:"block"}}))}),"minecraft:matching_fluids":qe(H({},m),{fluids:(0,V.ListNode)(i({validator:"resource",params:{pool:"fluid"}}))}),"minecraft:not":{predicate:n("block_predicate_worldgen")},"minecraft:would_survive":qe(H({},m),{state:n("block_state")})}},{context:"block_predicate"}),{default:()=>({type:"minecraft:true"})}))}qu.initFeatureSchemas=Yx;var Ku={};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.initNoiseSettingsSchemas=void 0;const je=j,Hx=Sr;function Vx(e,t){const n=je.Reference.bind(void 0,e),i=je.StringNode.bind(void 0,t);e.register("noise_settings",(0,je.Mod)((0,je.ObjectNode)({sea_level:(0,je.NumberNode)({integer:!0}),disable_mob_generation:(0,je.BooleanNode)(),noise_caves_enabled:(0,je.BooleanNode)(),noodle_caves_enabled:(0,je.BooleanNode)(),aquifers_enabled:(0,je.BooleanNode)(),ore_veins_enabled:(0,je.BooleanNode)(),legacy_random_source:(0,je.BooleanNode)(),default_block:n("block_state"),default_fluid:n("block_state"),noise:(0,je.ObjectNode)({min_y:(0,je.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,je.NumberNode)({integer:!0,min:0,max:4096}),size_horizontal:(0,je.NumberNode)({integer:!0}),size_vertical:(0,je.NumberNode)({integer:!0}),island_noise_override:(0,je.Opt)((0,je.BooleanNode)()),amplified:(0,je.Opt)((0,je.BooleanNode)()),large_biomes:(0,je.Opt)((0,je.BooleanNode)()),sampling:(0,je.ObjectNode)({xz_scale:(0,je.NumberNode)(),y_scale:(0,je.NumberNode)(),xz_factor:(0,je.NumberNode)(),y_factor:(0,je.NumberNode)()}),bottom_slide:n("noise_slider"),top_slide:n("noise_slider"),terrain_shaper:n("terrain_shaper")}),surface_rule:n("material_rule"),structures:n("generator_structures")},{context:"noise_settings"}),o=>({default:()=>Hx.DefaultNoiseSettings,validate:(r,a,s,c)=>{var l,_,d,u;return a=o.validate(r,a,s,c),((l=a==null?void 0:a.noise)===null||l===void 0?void 0:l.min_y)+((_=a==null?void 0:a.noise)===null||_===void 0?void 0:_.height)>2047&&s.add(r.push("noise").push("height"),"error.min_y_plus_height",2047),((d=a==null?void 0:a.noise)===null||d===void 0?void 0:d.height)%16!==0&&s.add(r.push("noise").push("height"),"error.height_multiple",16),((u=a==null?void 0:a.noise)===null||u===void 0?void 0:u.min_y)%16!==0&&s.add(r.push("noise").push("min_y"),"error.min_y_multiple",16),a}}))),e.register("noise_slider",(0,je.ObjectNode)({target:(0,je.NumberNode)(),size:(0,je.NumberNode)({integer:!0,min:0}),offset:(0,je.NumberNode)({integer:!0})})),e.register("generator_structures",(0,je.ObjectNode)({stronghold:(0,je.Opt)((0,je.ObjectNode)({distance:(0,je.NumberNode)({integer:!0,min:0,max:1023}),spread:(0,je.NumberNode)({integer:!0,min:0,max:1023}),count:(0,je.NumberNode)({integer:!0,min:1,max:4095})})),structures:(0,je.MapNode)(i({validator:"resource",params:{pool:"worldgen/structure_feature"}}),(0,je.Mod)((0,je.ObjectNode)({spacing:(0,je.NumberNode)({integer:!0,min:0,max:4096}),separation:(0,je.Mod)((0,je.NumberNode)({integer:!0,min:0,max:4096}),o=>({validate:(r,a,s,c)=>(r.pop().push("spacing").get()<=a&&s.add(r,"error.separation_smaller_spacing"),o.validate(r,a,s,c))})),salt:(0,je.NumberNode)({integer:!0,min:0})},{context:"generator_structure"}),{default:()=>({spacing:10,separation:5,salt:0})}))})),e.register("generator_layer",(0,je.Mod)((0,je.ObjectNode)({block:i({validator:"resource",params:{pool:"block"}}),height:(0,je.NumberNode)({integer:!0,min:1})}),{default:()=>({block:"minecraft:stone",height:1})})),e.register("terrain_shaper",(0,je.Mod)((0,je.ObjectNode)({offset:n("terrain_spline"),factor:n("terrain_spline"),jaggedness:n("terrain_spline")},{context:"terrain_shaper"}),{default:()=>({offset:0,factor:0,jaggedness:0})})),e.register("terrain_spline",(0,je.Mod)((0,je.ChoiceNode)([{type:"number",node:(0,je.NumberNode)()},{type:"object",node:(0,je.ObjectNode)({coordinate:(0,je.Mod)(i({enum:["continents","erosion","weirdness","ridges"]}),{default:()=>"continents"}),points:(0,je.ListNode)((0,je.ObjectNode)({location:(0,je.NumberNode)(),derivative:(0,je.NumberNode)(),value:n("terrain_spline")}))},{category:"function"})}],{context:"terrain_spline",choiceContext:"terrain_spline"}),{default:()=>0}))}Ku.initNoiseSettingsSchemas=Vx;var Qu={};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.initStructureFeatureSchemas=void 0;const Ai=j;function Wx(e,t){const n=Ai.StringNode.bind(void 0,t),i=Ai.Reference.bind(void 0,e),o={start_pool:n({validator:"resource",params:{pool:"$worldgen/template_pool"}}),size:(0,Ai.NumberNode)({integer:!0})};e.register("configured_structure_feature",(0,Ai.Mod)((0,Ai.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_feature"}}),config:(0,Ai.ObjectNode)({[Ai.Switch]:["pop",{push:"type"}],[Ai.Case]:{"minecraft:bastion_remnant":o,"minecraft:buried_treasure":{probability:(0,Ai.NumberNode)({min:0,max:1})},"minecraft:mineshaft":{type:n({enum:["normal","mesa"]}),probability:(0,Ai.NumberNode)({min:0,max:1})},"minecraft:nether_fossil":{height:i("height_provider")},"minecraft:ocean_ruin":{biome_temp:n({enum:["cold","warm"]}),large_probability:(0,Ai.NumberNode)({min:0,max:1}),cluster_probability:(0,Ai.NumberNode)({min:0,max:1})},"minecraft:pillager_outpost":o,"minecraft:ruined_portal":{portal_type:n({enum:["standard","desert","jungle","mountain","nether","ocean","swamp"]})},"minecraft:shipwreck":{is_beached:(0,Ai.Opt)((0,Ai.BooleanNode)())},"minecraft:village":o}},{context:"structure_feature",disableSwitchContext:!0})},{context:"structure_feature"}),{default:()=>({type:"minecraft:bastion_remnant",config:{start_pool:"minecraft:bastion/starts",size:6}})}))}Qu.initStructureFeatureSchemas=Wx;var Xu={};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.initSurfaceRuleSchemas=void 0;const On=j;function jx(e,t){const n=On.StringNode.bind(void 0,t),i=On.Reference.bind(void 0,e);e.register("material_rule",(0,On.Mod)((0,On.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_rule"}}),[On.Switch]:[{push:"type"}],[On.Case]:{"minecraft:block":{result_state:i("block_state")},"minecraft:condition":{if_true:i("material_condition"),then_run:i("material_rule")},"minecraft:sequence":{sequence:(0,On.ListNode)(i("material_rule"))}}},{context:"material_rule",category:"pool"}),{default:()=>({type:"minecraft:block",result_state:{Name:"minecraft:stone"}})})),e.register("material_condition",(0,On.Mod)((0,On.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_condition"}}),[On.Switch]:[{push:"type"}],[On.Case]:{"minecraft:biome":{biome_is:(0,On.ListNode)(n({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:noise_threshold":{noise:n({validator:"resource",params:{pool:"$worldgen/noise"}}),min_threshold:(0,On.NumberNode)(),max_threshold:(0,On.NumberNode)()},"minecraft:not":{invert:i("material_condition")},"minecraft:stone_depth":{offset:(0,On.NumberNode)({integer:!0}),surface_type:n({enum:"cave_surface"}),add_surface_depth:(0,On.BooleanNode)(),add_surface_secondary_depth:(0,On.BooleanNode)()},"minecraft:vertical_gradient":{random_name:n(),true_at_and_below:i("vertical_anchor"),false_at_and_above:i("vertical_anchor")},"minecraft:water":{offset:(0,On.NumberNode)({integer:!0}),surface_depth_multiplier:(0,On.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,On.BooleanNode)()},"minecraft:y_above":{anchor:i("vertical_anchor"),surface_depth_multiplier:(0,On.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,On.BooleanNode)()}}},{context:"material_condition"}),{default:()=>({type:"minecraft:biome",is_biome:"minecraft:plains"})}))}Xu.initSurfaceRuleSchemas=jx;var Zu={};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.initTemplatePoolSchemas=void 0;const Fi=j,cg=ea;function qx(e,t){const n=Fi.Reference.bind(void 0,e),i=Fi.StringNode.bind(void 0,t);e.register("template_pool",(0,Fi.Mod)((0,Fi.ObjectNode)({name:i(),fallback:i(),elements:(0,Fi.ListNode)(n("template_weighted_element"))},{context:"template_pool"}),{default:()=>({fallback:"minecraft:empty",elements:[{weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}}]})})),e.register("template_weighted_element",(0,Fi.Mod)((0,Fi.ObjectNode)({weight:(0,Fi.NumberNode)({integer:!0,min:1}),element:n("template_element")},{category:"pool"}),{default:()=>({weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}})})),e.register("template_element",(0,Fi.Mod)((0,Fi.ObjectNode)({element_type:i({validator:"resource",params:{pool:"worldgen/structure_pool_element"}}),projection:i({enum:["rigid","terrain_matching"]}),[Fi.Switch]:[{push:"element_type"}],[Fi.Case]:{"minecraft:feature_pool_element":{feature:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},"minecraft:legacy_single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:cg.Processors},"minecraft:list_pool_element":{elements:(0,Fi.ListNode)(n("template_element"))},"minecraft:single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:cg.Processors}}},{context:"template_element",disableSwitchContext:!0}),{default:()=>({element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"})}))}Zu.initTemplatePoolSchemas=qx;Object.defineProperty(Hu,"__esModule",{value:!0});Hu.initWorldgenSchemas=void 0;const Kx=Vu,Qx=Wu,Xx=ju,Zx=qu,Jx=Ku,eD=ea,tD=Qu,nD=Xu,iD=Zu;function rD(e,t){(0,eD.initProcessorListSchemas)(e,t),(0,Kx.initBiomeSchemas)(e,t),(0,Qx.initCarverSchemas)(e,t),(0,Xx.initDecoratorSchemas)(e,t),(0,Zx.initFeatureSchemas)(e,t),(0,Jx.initNoiseSettingsSchemas)(e,t),(0,tD.initStructureFeatureSchemas)(e,t),(0,nD.initSurfaceRuleSchemas)(e,t),(0,iD.initTemplatePoolSchemas)(e,t)}Hu.initWorldgenSchemas=rD;var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.initWorldSettingsSchemas=void 0;const wo=j;function oD(e,t){const n=wo.Reference.bind(void 0,e),i=wo.StringNode.bind(void 0,t);e.register("world_settings",(0,wo.Mod)((0,wo.ObjectNode)({generate_features:(0,wo.BooleanNode)(),bonus_chest:(0,wo.BooleanNode)(),seed:(0,wo.NumberNode)({integer:!0}),dimensions:(0,wo.MapNode)(i({validator:"resource",params:{pool:"$dimension"}}),n("dimension"))},{context:"world_settings"}),{default:()=>{const o=Math.floor(Math.random()*4294967296)-2147483648;return{generate_features:!0,bonus_chest:!1,seed:o,dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:overworld"},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:nether"},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:the_end",seed:o},settings:"minecraft:end"}}}}}}))}Ju.initWorldSettingsSchemas=oD;Object.defineProperty(Ru,"__esModule",{value:!0});Ru.initSchemas=void 0;const aD=xu,sD=Du,lD=Sr,cD=Mu,dD=Lu,uD=Fu,_D=Pu,mD=Bu,pD=$u,fD=Uu,hD=Gu,gD=zu,bD=Yu,ED=Hu,vD=Ju;function SD(e,t){(0,lD.initCommonSchemas)(e,t),(0,aD.initAdvancementSchemas)(e,t),(0,sD.initAssetsSchemas)(e,t),(0,cD.initConditionSchemas)(e,t),(0,uD.initDimensionTypeSchemas)(e,t),(0,dD.initDimensionSchemas)(e,t),(0,_D.initItemModifierSchemas)(e,t),(0,mD.initLootTableSchemas)(e,t),(0,pD.initPackMcmetaSchemas)(e,t),(0,fD.initPredicatesSchemas)(e,t),(0,hD.initRecipeSchemas)(e,t),(0,gD.initTagsSchemas)(e,t),(0,bD.initTextComponentSchemas)(e,t),(0,ED.initWorldgenSchemas)(e,t),(0,vD.initWorldSettingsSchemas)(e,t)}Ru.initSchemas=SD;var yD=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),ND=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CD=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&yD(t,e,n);return ND(t,e),t};Object.defineProperty(_o,"__esModule",{value:!0});var dv=_o.getSchemas=mv=_o.getCollections=_v=_o.lootContext=void 0;const uv=j,AD=wu,OD=Ru;var _v=_o.lootContext=CD(Wi);function TD(){const e=new uv.CollectionRegistry;return(0,AD.initCollections)(e),e}var mv=_o.getCollections=TD;function wD(e){const t=new uv.SchemaRegistry;return(0,OD.initSchemas)(t,e),t}dv=_o.getSchemas=wD;var RD=Ns({__proto__:null,get getSchemas(){return dv},get getCollections(){return mv},get lootContext(){return _v},default:_o},[_o]),mo={},e_={};Object.defineProperty(e_,"__esModule",{value:!0});e_.initCollections=void 0;function xD(e){e.register("advancement_trigger",["minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:fall_from_height","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:item_used_on_block","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:lightning_strike","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_generates_container_loot","minecraft:player_hurt_entity","minecraft:player_interacted_with_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:ride_entity_in_lava","minecraft:shot_crossbow","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:started_riding","minecraft:summoned_entity","minecraft:tame_animal","minecraft:target_hit","minecraft:tick","minecraft:thrown_item_picked_up_by_entity","minecraft:used_ender_eye","minecraft:used_totem","minecraft:using_item","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("entity_source",["this","killer","direct_killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("map_feature",["bastion_remnant","buried_treasure","desert_pyramid","endcity","fortress","igloo","jungle_pyramid","mansion","mineshaft","monument","nether_fossil","ocean_ruin","pillager_outpost","ruined_portal","shipwreck","stronghold","swamp_hut","village"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("biome_category",["beach","desert","extreme_hills","forest","icy","jungle","mesa","mountain","mushroom","nether","none","ocean","plains","river","savanna","swamp","taiga","the_end","underground"]),e.register("heightmap_type",["MOTION_BLOCKING","MOTION_BLOCKING_NO_LEAVES","OCEAN_FLOOR","OCEAN_FLOOR_WG","WORLD_SURFACE","WORLD_SURFACE_WG"]),e.register("generation_step",["air","liquid"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("banner_pattern",["base","square_bottom_left","square_bottom_right","square_top_left","square_top_right","stripe_bottom","stripe_top","stripe_left","stripe_right","stripe_center","stripe_middle","stripe_downright","stripe_downleft","small_stripes","cross","straight_cross","triangle_bottom","triangle_top","triangles_bottom","triangles_top","diagonal_left","diagonal_up_right","diagonal_up_left","diagonal_right","circle","rhombus","half_vertical","half_horizontal","half_vertical_right","half_horizontal_bottom","border","curly_border","gradient","gradient_up","bricks","globe","creeper","skull","flower","mojang","piglin"]),e.register("dye_color",["white","orange","magenta","light_blue","yellow","lime","pink","gray","light_gray","cyan","purple","blue","brown","green","red","black"]),e.register("cave_surface",["floor","ceiling"]),e.register("direction",["down","up","north","east","south","west"]),e.register("axis",["x","y","z"]),e.register("display_position",["firstperson_righthand","firstperson_lefthand","thirdperson_righthand","thirdperson_lefthand","gui","head","ground","fixed"]),e.register("gui_light",["front","side"]),e.register("item_model_predicates",["angle","blocking","broken","cast","charged","cooldown","custom_model_data","damage","damaged","firework","lefthanded","pull","pulling","throwing","time"]),e.register("mob_category",["monster","creature","ambient","axolotls","underground_water_creature","water_creature","water_ambient","misc"]),e.register("cat_texture",["textures/entity/cat/tabby.png","textures/entity/cat/black.png","textures/entity/cat/red.png","textures/entity/cat/siamese.png","textures/entity/cat/british_shorthair.png","textures/entity/cat/calico.png","textures/entity/cat/persian.png","textures/entity/cat/ragdoll.png","textures/entity/cat/white.png","textures/entity/cat/jellie.png","textures/entity/cat/all_black.png"])}e_.initCollections=xD;var t_={},n_={};Object.defineProperty(n_,"__esModule",{value:!0});n_.initAdvancementSchemas=void 0;const ve=j;function DD(e,t){const n=ve.Reference.bind(void 0,e),i=ve.StringNode.bind(void 0,t),o=(0,ve.ChoiceNode)([{type:"object",node:(0,ve.Opt)(n("entity_predicate")),change:r=>{var a,s;return(s=(a=r[0])===null||a===void 0?void 0:a.predicate)!==null&&s!==void 0?s:{}}},{type:"list",node:(0,ve.ListNode)(n("condition")),change:r=>[{condition:"minecraft:entity_properties",predicate:r}]}],{context:"conditions"});e.register("advancement",(0,ve.Mod)((0,ve.ObjectNode)({display:(0,ve.Opt)((0,ve.Mod)((0,ve.ObjectNode)({icon:(0,ve.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,ve.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,ve.Opt)(i()),frame:(0,ve.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,ve.Opt)((0,ve.BooleanNode)()),announce_to_chat:(0,ve.Opt)((0,ve.BooleanNode)()),hidden:(0,ve.Opt)((0,ve.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,ve.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,ve.MapNode)(i(),n("advancement_criteria")),requirements:(0,ve.Opt)((0,ve.ListNode)((0,ve.ListNode)(i()))),rewards:(0,ve.Opt)((0,ve.ObjectNode)({function:(0,ve.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,ve.Opt)((0,ve.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,ve.Opt)((0,ve.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,ve.Opt)((0,ve.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,ve.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,ve.Opt)((0,ve.ObjectNode)({player:(0,ve.Mod)(o,{enabled:r=>r.pop().push("trigger").get()!=="minecraft:impossible"}),[ve.Switch]:["pop",{push:"trigger"}],[ve.Case]:{"minecraft:bee_nest_destroyed":{block:(0,ve.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,ve.Opt)((0,ve.NumberNode)({integer:!0})),item:(0,ve.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:o,partner:o,child:o},"minecraft:brewed_potion":{potion:(0,ve.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,ve.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),to:(0,ve.Opt)(i({validator:"resource",params:{pool:"$dimension"}}))},"minecraft:channeled_lightning":{victims:(0,ve.Opt)((0,ve.ListNode)(o))},"minecraft:construct_beacon":{level:n("int_bounds")},"minecraft:consume_item":{item:(0,ve.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:o,zombie:o},"minecraft:effects_changed":{effects:(0,ve.Opt)((0,ve.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),(0,ve.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds")}))),source:(0,ve.Opt)(o)},"minecraft:enter_block":{block:(0,ve.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ve.Opt)((0,ve.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:n("int_bounds"),item:(0,ve.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,ve.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:o,killing_blow:(0,ve.Opt)(n("damage_source_predicate"))},"minecraft:fall_from_height":{start_position:(0,ve.Opt)(n("location_predicate")),distance:(0,ve.Opt)(n("distance_predicate"))},"minecraft:filled_bucket":{item:(0,ve.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:o,item:(0,ve.Opt)(n("item_predicate"))},"minecraft:hero_of_the_village":{location:(0,ve.Opt)(n("location_predicate"))},"minecraft:inventory_changed":{slots:(0,ve.Opt)((0,ve.ObjectNode)({empty:n("int_bounds"),occupied:n("int_bounds"),full:n("int_bounds")})),items:(0,ve.Opt)((0,ve.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:n("int_bounds"),durability:n("int_bounds"),item:(0,ve.Opt)(n("item_predicate"))},"minecraft:item_used_on_block":{item:(0,ve.Opt)(n("item_predicate")),location:(0,ve.Opt)(n("location_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:n("int_bounds"),victims:(0,ve.Opt)((0,ve.ListNode)(o))},"minecraft:levitation":{distance:(0,ve.Opt)(n("distance_predicate")),duration:n("int_bounds")},"minecraft:lightning_strike":{lightning:o,bystander:o},"minecraft:location":{location:(0,ve.Opt)(n("location_predicate"))},"minecraft:nether_travel":{start_position:(0,ve.Opt)(n("location_predicate")),distance:(0,ve.Opt)(n("distance_predicate"))},"minecraft:placed_block":{block:(0,ve.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,ve.Opt)((0,ve.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,ve.Opt)(n("item_predicate")),location:(0,ve.Opt)(n("location_predicate"))},"minecraft:player_generates_container_loot":{loot_table:i({validator:"resource",params:{pool:"$loot_table"}})},"minecraft:player_hurt_entity":{damage:(0,ve.Opt)(n("damage_predicate")),entity:o},"minecraft:player_interacted_with_entity":{item:(0,ve.Opt)(n("item_predicate")),entity:o},"minecraft:player_killed_entity":{entity:o,killing_blow:(0,ve.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:ride_entity_in_lava":{start_position:(0,ve.Opt)(n("location_predicate")),distance:(0,ve.Opt)(n("distance_predicate"))},"minecraft:slept_in_bed":{location:(0,ve.Opt)(n("location_predicate"))},"minecraft:slide_down_block":{block:(0,ve.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,ve.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:o},"minecraft:tame_animal":{entity:o},"minecraft:target_hit":{projectile:o,shooter:o,signal_strength:n("int_bounds")},"minecraft:thrown_item_picked_up_by_entity":{entity:o,item:(0,ve.Opt)(n("item_predicate"))},"minecraft:used_ender_eye":{distance:(0,ve.Opt)(n("float_bounds"))},"minecraft:used_totem":{item:(0,ve.Opt)(n("item_predicate"))},"minecraft:using_item":{item:(0,ve.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:o,item:(0,ve.Opt)(n("item_predicate"))},"minecraft:voluntary_exile":{location:(0,ve.Opt)(n("location_predicate"))}}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}n_.initAdvancementSchemas=DD;var i_={},r_={};Object.defineProperty(r_,"__esModule",{value:!0});r_.initModelSchemas=void 0;const It=j;function ID(e,t){It.Reference.bind(void 0,e);const n=It.StringNode.bind(void 0,t),i=(r,a,s)=>(0,It.ListNode)((0,It.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,It.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,It.Mod)((0,It.ObjectNode)({parent:(0,It.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,It.Opt)((0,It.BooleanNode)()),gui_light:(0,It.Opt)(n({enum:"gui_light"})),textures:(0,It.Opt)((0,It.MapNode)(n(),o)),elements:(0,It.Opt)((0,It.ListNode)((0,It.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,It.Opt)((0,It.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,It.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,It.Opt)((0,It.BooleanNode)())})),shade:(0,It.Opt)((0,It.BooleanNode)()),faces:(0,It.MapNode)(n({enum:"direction"}),(0,It.ObjectNode)({texture:o,uv:(0,It.Opt)(i(4)),cullface:(0,It.Opt)(n({enum:"direction"})),rotation:(0,It.Opt)((0,It.NumberNode)({integer:!0})),tintindex:(0,It.Opt)((0,It.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,It.Opt)((0,It.MapNode)(n({enum:"display_position"}),(0,It.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,It.Opt)((0,It.ListNode)((0,It.ObjectNode)({predicate:(0,It.MapNode)(n({enum:"item_model_predicates"}),(0,It.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}r_.initModelSchemas=ID;var o_={};Object.defineProperty(o_,"__esModule",{value:!0});o_.initBlockDefinitionSchemas=void 0;const pn=j;function kD(e,t){const n=pn.Reference.bind(void 0,e),i=pn.StringNode.bind(void 0,t);e.register("block_definition",(0,pn.Mod)((0,pn.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,pn.ObjectNode)({variants:(0,pn.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,pn.ObjectNode)({multipart:(0,pn.ListNode)((0,pn.ObjectNode)({when:(0,pn.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,pn.Opt)((0,pn.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,pn.Opt)((0,pn.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,pn.Opt)((0,pn.BooleanNode)())};e.register("model_variant",(0,pn.ChoiceNode)([{type:"object",node:(0,pn.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,pn.ListNode)((0,pn.ObjectNode)(qe(H({},o),{weight:(0,pn.Opt)((0,pn.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,pn.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,pn.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,pn.ObjectNode)({OR:(0,pn.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}o_.initBlockDefinitionSchemas=kD;Object.defineProperty(i_,"__esModule",{value:!0});i_.initAssetsSchemas=void 0;const MD=r_,LD=o_;function FD(e,t){(0,LD.initBlockDefinitionSchemas)(e,t),(0,MD.initModelSchemas)(e,t)}i_.initAssetsSchemas=FD;var Ii={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.Tag=e.InclusiveRange=e.IntProvider=e.FloatProvider=e.NoiseSettingsPresets=e.DefaultNoiseSettings=e.DimensionTypePresets=e.DefaultDimensionType=e.FunctionCases=e.ConditionCases=void 0;const t=j;e.DefaultDimensionType={ultrawarm:!1,natural:!0,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!0,has_raids:!0,has_skylight:!0,has_ceiling:!1,coordinate_scale:1,ambient_light:0,logical_height:256,infiniburn:"#minecraft:infiniburn_overworld",min_y:0,height:256},e.DefaultNoiseSettings={sea_level:63,ore_veins_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,legacy_random_source:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}};function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);i.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),i.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),i.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0}),{minLength:3,maxLength:3}),{default:()=>[0,0,0]}));const s=l=>(0,t.Opt)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)({integer:l}),change:_=>{var d,u;return _===void 0?0:(u=(d=_.min)!==null&&d!==void 0?d:_.max)!==null&&u!==void 0?u:0}},{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)((0,t.NumberNode)({integer:l})),max:(0,t.Opt)((0,t.NumberNode)({integer:l}))},{context:"range"}),change:_=>({min:_!=null?_:0,max:_!=null?_:0})}]));i.register("int_bounds",s(!0)),i.register("float_bounds",s()),i.register("int_range",(0,t.ChoiceNode)([{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)(a("number_provider")),max:(0,t.Opt)(a("number_provider"))})},{type:"number",node:(0,t.NumberNode)({integer:!0})}],{context:"range"}));const c=(l,_,d,u,m,f,p)=>{let h={};m&&Object.keys(p[m]).forEach(v=>{h[v]=(0,t.Mod)(p[m][v],{enabled:E=>E.push("type").get()===void 0})});const b=(0,t.ObjectNode)(H({type:(0,t.Mod)((0,t.Opt)(r({validator:"resource",params:{pool:l}})),{hidden:()=>!0}),[t.Switch]:[{push:"type"}],[t.Case]:p},h),{context:f,disableSwitchContext:!0}),g=[{type:_,node:p[u][d]}];return m&&g.push({type:"object",priority:-1,node:b}),Object.keys(p).forEach(v=>{g.push({type:v,match:E=>{var S;if("minecraft:"+((S=E==null?void 0:E.type)===null||S===void 0?void 0:S.replace(/^minecraft:/,""))===v)return!0;const C=E?Object.keys(E):[];return typeof E=="object"&&((C==null?void 0:C.length)===0||(C==null?void 0:C.length)===1&&(C==null?void 0:C[0])==="type")},node:b,change:E=>({type:v})})}),(0,t.ChoiceNode)(g,{context:f,choiceContext:`${f}.type`})};i.register("number_provider",c("loot_number_provider_type","number","value","minecraft:constant","minecraft:uniform","number_provider",{"minecraft:constant":{value:(0,t.NumberNode)()},"minecraft:uniform":{min:a("number_provider"),max:a("number_provider")},"minecraft:binomial":{n:a("number_provider"),p:a("number_provider")},"minecraft:score":{target:a("scoreboard_name_provider"),score:r({validator:"objective"}),scale:(0,t.Opt)((0,t.NumberNode)())}})),i.register("scoreboard_name_provider",c("loot_score_provider_type","string","target","minecraft:context",null,"score_provider",{"minecraft:fixed":{name:r({validator:"entity",params:{amount:"multiple",type:"entities",isScoreHolder:!0}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"entity_source"}),{default:()=>"this"})}})),i.register("nbt_provider",c("loot_nbt_provider_type","string","target","minecraft:context",null,"nbt_provider",{"minecraft:storage":{source:r({validator:"resource",params:{pool:"$storage"}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"copy_source"}),{default:()=>"this"})}})),e.FloatProvider=l=>c("float_provider_type","number","value","minecraft:constant",null,"float_provider",{"minecraft:constant":{value:(0,t.NumberNode)(l)},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(l),max_exclusive:(0,t.NumberNode)(l)})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:trapezoid":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),plateau:(0,t.NumberNode)()})}}),i.register("float_provider",(0,e.FloatProvider)()),e.IntProvider=l=>c("int_provider_type","number","value","minecraft:constant",null,"int_provider",{"minecraft:constant":{value:(0,t.NumberNode)(H({integer:!0},l))},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:biased_to_bottom":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:clamped":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l)),source:a("int_provider")})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l)),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:a("int_provider")}))}}),i.register("int_provider",(0,e.IntProvider)()),i.register("vertical_anchor",(0,t.ChoiceNode)(["absolute","above_bottom","below_top"].map(l=>({type:l,match:_=>(_==null?void 0:_[l])!==void 0,change:_=>{var d,u,m;return{[l]:(m=(u=(d=_.absolute)!==null&&d!==void 0?d:_.above_bottom)!==null&&u!==void 0?u:_.below_top)!==null&&m!==void 0?m:0}},node:(0,t.ObjectNode)({[l]:(0,t.NumberNode)({integer:!0,min:-2048,max:2047})})})),{context:"vertical_anchor"})),i.register("height_provider",c("height_provider_type","number","value","minecraft:constant",null,"height_provider",{"minecraft:constant":{value:a("vertical_anchor")},"minecraft:uniform":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor")},"minecraft:biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:very_biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:trapezoid":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),plateau:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:a("int_provider")}))}})),e.InclusiveRange=l=>(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(l),max_inclusive:(0,t.NumberNode)(l)},{context:"range"}),i.register("noise_parameters",(0,t.Mod)((0,t.ObjectNode)({firstOctave:(0,t.NumberNode)({integer:!0}),amplitudes:(0,t.ListNode)((0,t.NumberNode)())},{context:"noise_parameters"}),{default:()=>({firstOctave:-7,amplitudes:[1,1]})})),e.Tag=l=>(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:l.resource,allowTag:!0}}),change:_=>{if(Array.isArray(_)&&typeof _[0]=="string"&&!_[0].startsWith("#"))return _[0]}},{type:"list",node:(0,t.ListNode)(l.inlineSchema?(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:l.resource}})},{type:"object",node:a(l.inlineSchema)}],{choiceContext:"tag.list"}):r({validator:"resource",params:{pool:l.resource}})),change:_=>typeof _=="string"&&!_.startsWith("#")?[_]:[]}],{choiceContext:"tag"}),e.ConditionCases=(l=r({enum:"entity_source"}))=>({"minecraft:alternative":{terms:(0,t.ListNode)(a("condition"))},"minecraft:block_state_property":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:a("damage_source_predicate")},"minecraft:entity_properties":{entity:l,predicate:a("entity_predicate")},"minecraft:entity_scores":{entity:l,scores:(0,t.MapNode)(r({validator:"objective"}),a("int_range"))},"minecraft:inverted":{term:a("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:a("location_predicate")},"minecraft:match_tool":{predicate:a("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:r({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:a("int_range"),period:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:value_check":{value:a("number_provider"),range:a("int_range")},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}}),e.FunctionCases=(l,_=r({enum:"copy_source"}),d=r({enum:"entity_source"}))=>{const u={"minecraft:apply_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),formula:r({validator:"resource",params:{pool:o.get("loot_table_apply_bonus_formula")}}),parameters:(0,t.Mod)((0,t.ObjectNode)({bonusMultiplier:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:f=>f.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:_},"minecraft:copy_nbt":{source:a("nbt_provider"),ops:(0,t.ListNode)((0,t.ObjectNode)({source:r({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:r({validator:"nbt_path",params:{category:"minecraft:item"}}),op:r({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.ListNode)(r({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,t.Opt)((0,t.ListNode)(r({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:a("number_provider"),treasure:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:exploration_map":{destination:(0,t.Opt)((0,e.Tag)({resource:"$worldgen/configured_structure_feature"})),decoration:(0,t.Opt)(r({enum:"map_decoration"})),zoom:(0,t.Opt)((0,t.NumberNode)({integer:!0})),search_radius:(0,t.Opt)((0,t.NumberNode)({integer:!0})),skip_existing_chunks:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:fill_player_head":{entity:d},"minecraft:limit_count":{limit:a("int_range")},"minecraft:looting_enchant":{count:a("number_provider"),limit:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,t.ListNode)(a("attribute_modifier"))},"minecraft:set_banner_pattern":{patterns:(0,t.ListNode)((0,t.ObjectNode)({pattern:r({enum:"banner_pattern"}),color:r({enum:"dye_color"})})),append:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_contents":{type:r({validator:"resource",params:{pool:"block_entity_type"}}),entries:(0,t.ListNode)(a("loot_entry"))},"minecraft:set_count":{count:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_damage":{damage:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_enchantments":{enchantments:(0,t.MapNode)(r({validator:"resource",params:{pool:"enchantment"}}),a("number_provider")),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_loot_table":{type:r({validator:"resource",params:{pool:"block_entity_type"}}),name:r({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,t.Opt)(d),lore:(0,t.ListNode)(a("text_component")),replace:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_name":{entity:(0,t.Opt)(d),name:(0,t.Opt)(a("text_component"))},"minecraft:set_nbt":{tag:r({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_potion":{id:r({validator:"resource",params:{pool:"potion"}})},"minecraft:set_stew_effect":{effects:(0,t.Opt)((0,t.ListNode)((0,t.ObjectNode)({type:r({validator:"resource",params:{pool:"mob_effect"}}),duration:a("number_provider")})))}},m={};return o.get("loot_function_type").forEach(f=>{m[f]=H(H({},u[f]),l)}),m},e.DimensionTypePresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$dimension_type"}}),l,{"minecraft:overworld":e.DefaultDimensionType,"minecraft:the_nether":{name:"minecraft:the_nether",ultrawarm:!0,natural:!1,shrunk:!0,piglin_safe:!0,respawn_anchor_works:!0,bed_works:!1,has_raids:!1,has_skylight:!1,has_ceiling:!0,ambient_light:.1,fixed_time:18e3,logical_height:128,effects:"minecraft:the_nether",infiniburn:"#minecraft:infiniburn_nether",min_y:0,height:256},"minecraft:the_end":{name:"minecraft:the_end",ultrawarm:!1,natural:!1,shrunk:!1,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!1,has_raids:!0,has_skylight:!1,has_ceiling:!1,ambient_light:0,fixed_time:6e3,logical_height:256,effects:"minecraft:the_end",infiniburn:"#minecraft:infiniburn_end",min_y:0,height:256}}),e.NoiseSettingsPresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$worldgen/noise_settings"}}),l,{"minecraft:overworld":e.DefaultNoiseSettings,"minecraft:nether":{sea_level:32,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:netherrack"},default_fluid:{Properties:{level:"0"},Name:"minecraft:lava"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:end":{sea_level:0,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:end_stone"},default_fluid:{Name:"minecraft:air"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:amplified":{sea_level:63,ore_veins_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,legacy_random_source:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:caves":{sea_level:32,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:floating_islands":{sea_level:0,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}}})}e.initCommonSchemas=n})(Ii);var a_={};Object.defineProperty(a_,"__esModule",{value:!0});a_.initConditionSchemas=void 0;const pa=j,PD=Ii;function BD(e,t){const n=pa.Reference.bind(void 0,e),i=pa.StringNode.bind(void 0,t);e.register("predicate",(0,pa.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,pa.Mod)((0,pa.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[pa.Switch]:[{push:"condition"}],[pa.Case]:(0,PD.ConditionCases)()},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}a_.initConditionSchemas=BD;var s_={};Object.defineProperty(s_,"__esModule",{value:!0});s_.initDimensionSchemas=void 0;const zt=j,ym=Ii;function $D(e,t){const n=zt.Reference.bind(void 0,e),i=zt.StringNode.bind(void 0,t),o=(0,zt.ChoiceNode)([{type:"string",priority:1,node:i({validator:"resource",params:{pool:"$worldgen/structure_set"}}),change:()=>{}},{type:"object",node:n("structure_set"),change:()=>({})}],{choiceContext:"structure_set"});e.register("dimension",(0,zt.Mod)((0,zt.ObjectNode)({type:(0,ym.DimensionTypePresets)(n("dimension_type")),generator:(0,zt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/chunk_generator"}}),[zt.Switch]:[{push:"type"}],[zt.Case]:{"minecraft:noise":{seed:(0,zt.NumberNode)({integer:!0}),settings:(0,ym.NoiseSettingsPresets)(n("noise_settings")),biome_source:(0,zt.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/biome_source"}}),[zt.Switch]:[{push:"type"}],[zt.Case]:{"minecraft:fixed":{biome:i({validator:"resource",params:{pool:"$worldgen/biome"}})},"minecraft:multi_noise":{preset:(0,zt.Opt)(i({validator:"resource",params:{pool:["minecraft:overworld","minecraft:nether"]}})),biomes:(0,zt.Mod)((0,zt.ListNode)(n("generator_biome")),{enabled:a=>a.push("preset").get()===void 0,default:()=>[{biome:"minecraft:plains"}]})},"minecraft:checkerboard":{scale:(0,zt.Opt)((0,zt.NumberNode)({integer:!0,min:0,max:62})),biomes:(0,ym.Tag)({resource:"$worldgen/biome"})},"minecraft:the_end":{seed:(0,zt.NumberNode)({integer:!0})}}},{category:"predicate",disableSwitchContext:!0})},"minecraft:flat":{settings:(0,zt.ObjectNode)({biome:(0,zt.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),lakes:(0,zt.Opt)((0,zt.BooleanNode)()),features:(0,zt.Opt)((0,zt.BooleanNode)()),layers:(0,zt.ListNode)(n("generator_layer")),structure_overrides:(0,zt.ListNode)(o)})}}},{disableSwitchContext:!0})},{category:"pool",context:"dimension"}),{default:()=>{const a=Math.floor(Math.random()*4294967296)-2147483648;return{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:a,biome_source:{type:"minecraft:fixed",seed:a,biome:"minecraft:plains"},settings:"minecraft:overworld"}}}}));const r=(0,zt.ChoiceNode)([{type:"number",node:(0,zt.NumberNode)({min:-2,max:2}),change:a=>{var s;return(s=a[0])!==null&&s!==void 0?s:0}},{type:"list",node:(0,zt.ListNode)((0,zt.NumberNode)({min:-2,max:2}),{minLength:2,maxLength:2}),change:a=>[a!=null?a:0,a!=null?a:0]}]);e.register("generator_biome",(0,zt.Mod)((0,zt.ObjectNode)({biome:i({validator:"resource",params:{pool:"$worldgen/biome"}}),parameters:(0,zt.ObjectNode)({temperature:r,humidity:r,continentalness:r,erosion:r,weirdness:r,depth:r,offset:(0,zt.NumberNode)({min:0,max:1})})},{context:"generator_biome"}),{default:()=>({biome:"minecraft:plains",parameters:{altitude:0,temperature:0,humidity:0,weirdness:0,offset:0}})}))}s_.initDimensionSchemas=$D;var l_={};Object.defineProperty(l_,"__esModule",{value:!0});l_.initDimensionTypeSchemas=void 0;const Kn=j,UD=Ii;function GD(e,t){const n=Kn.StringNode.bind(void 0,t);e.register("dimension_type",(0,Kn.Mod)((0,Kn.ObjectNode)({ultrawarm:(0,Kn.BooleanNode)(),natural:(0,Kn.BooleanNode)(),piglin_safe:(0,Kn.BooleanNode)(),respawn_anchor_works:(0,Kn.BooleanNode)(),bed_works:(0,Kn.BooleanNode)(),has_raids:(0,Kn.BooleanNode)(),has_skylight:(0,Kn.BooleanNode)(),has_ceiling:(0,Kn.BooleanNode)(),coordinate_scale:(0,Kn.NumberNode)({min:1e-5,max:3e7}),ambient_light:(0,Kn.NumberNode)(),fixed_time:(0,Kn.Opt)((0,Kn.NumberNode)({integer:!0})),logical_height:(0,Kn.NumberNode)({integer:!0,min:0,max:4064}),effects:(0,Kn.Opt)(n({enum:["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]})),infiniburn:n({validator:"resource",params:{pool:"block",requireTag:!0}}),min_y:(0,Kn.NumberNode)({integer:!0,min:-2032,max:2031}),height:(0,Kn.NumberNode)({integer:!0,min:16,max:4064})},{context:"dimension_type"}),i=>({default:()=>UD.DefaultDimensionType,validate:(o,r,a,s)=>(r=i.validate(o,r,a,s),(r==null?void 0:r.min_y)+(r==null?void 0:r.height)>2032&&a.add(o.push("height"),"error.min_y_plus_height",2032),(r==null?void 0:r.logical_height)>(r==null?void 0:r.height)&&a.add(o.push("logical_height"),"error.logical_height"),(r==null?void 0:r.height)%16!==0&&a.add(o.push("height"),"error.height_multiple",16),(r==null?void 0:r.min_y)%16!==0&&a.add(o.push("min_y"),"error.min_y_multiple",16),r)})))}l_.initDimensionTypeSchemas=GD;var c_={};Object.defineProperty(c_,"__esModule",{value:!0});c_.initItemModifierSchemas=void 0;const Vr=j,zD=Ii;function YD(e,t){const n=Vr.Reference.bind(void 0,e),i=Vr.StringNode.bind(void 0,t);e.register("item_modifier",(0,Vr.ObjectOrList)(n("function"),{choiceContext:"function"}));const o={conditions:(0,Vr.Opt)((0,Vr.ListNode)(n("condition")))};e.register("function",(0,Vr.Mod)((0,Vr.ObjectNode)({function:i({validator:"resource",params:{pool:"loot_function_type"}}),[Vr.Switch]:[{push:"function"}],[Vr.Case]:(0,zD.FunctionCases)(o)},{category:"function",context:"function"}),{default:()=>[{function:"minecraft:set_count",count:1}]}))}c_.initItemModifierSchemas=YD;var d_={},ji={};Object.defineProperty(ji,"__esModule",{value:!0});ji.LootFunctions=ji.LootConditions=ji.LootCopySources=ji.LootEntitySources=ji.LootTableTypes=void 0;ji.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);ji.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);ji.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);ji.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);ji.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_banner_pattern",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty(d_,"__esModule",{value:!0});d_.initLootTableSchemas=void 0;const gt=j,Ys=ji,dg=Ii;function HD(e,t){const n=gt.Reference.bind(void 0,e),i=gt.StringNode.bind(void 0,t),o={conditions:(0,gt.Opt)((0,gt.ListNode)(n("loot_condition")))},r=H({functions:(0,gt.Opt)((0,gt.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of Ys.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new gt.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,gt.SwitchNode)(p)}const s=a(Ys.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(Ys.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(Ys.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(Ys.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,gt.Mod)((0,gt.ObjectNode)({type:(0,gt.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,gt.Opt)((0,gt.ListNode)((0,gt.Mod)((0,gt.ObjectNode)(H({rolls:n("number_provider"),bonus_rolls:(0,gt.Opt)(n("number_provider")),entries:(0,gt.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,gt.Opt)((0,gt.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,gt.Mod)((0,gt.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,gt.Opt)((0,gt.Mod)((0,gt.NumberNode)({integer:!0,min:1}),d)),quality:(0,gt.Opt)((0,gt.Mod)((0,gt.NumberNode)({integer:!0}),d)),[gt.Switch]:[{push:"type"}],[gt.Case]:{"minecraft:alternatives":H({children:(0,gt.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,gt.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,gt.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,gt.Opt)((0,gt.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,gt.Mod)((0,gt.ObjectNode)({function:c,[gt.Switch]:[{push:"function"}],[gt.Case]:(0,dg.FunctionCases)(o,_,l)},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,gt.Mod)((0,gt.ObjectNode)({condition:s,[gt.Switch]:[{push:"condition"}],[gt.Case]:(0,dg.ConditionCases)(l)},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,gt.Mod)((0,gt.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:n("number_provider"),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,gt.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}d_.initLootTableSchemas=HD;var u_={};Object.defineProperty(u_,"__esModule",{value:!0});u_.initPackMcmetaSchemas=void 0;const fa=j,Ro=9;function VD(e,t){e.register("pack_mcmeta",(0,fa.Mod)((0,fa.ObjectNode)({pack:(0,fa.Mod)((0,fa.ObjectNode)({pack_format:(0,fa.Mod)((0,fa.NumberNode)({integer:!0,min:Ro,max:Ro}),{default:()=>Ro,canUpdate:(n,i)=>i!==Ro,update:()=>[{name:"pack_format",params:[Ro],newValue:Ro}]}),description:(0,fa.Reference)(e,"text_component")}),{default:()=>({pack_format:Ro,description:""})})}),{default:()=>({pack:{pack_format:Ro,description:""}})}))}u_.initPackMcmetaSchemas=VD;var __={};Object.defineProperty(__,"__esModule",{value:!0});__.initPredicatesSchemas=void 0;const de=j;function WD(e,t){const n=de.Reference.bind(void 0,e),i=de.StringNode.bind(void 0,t),o=(0,de.ChoiceNode)([{type:"string",node:i(),change:r=>typeof r=="boolean"||typeof r=="number"?r.toString():""},{type:"number",node:(0,de.NumberNode)(),change:r=>typeof r=="string"?parseInt(r):0},{type:"object",node:(0,de.ObjectNode)({min:(0,de.Opt)((0,de.NumberNode)({integer:!0})),max:(0,de.Opt)((0,de.NumberNode)({integer:!0}))}),change:r=>typeof r=="number"?{min:r,max:r}:{}},{type:"boolean",node:(0,de.BooleanNode)(),change:r=>r==="true"||r===1}]);e.register("item_predicate",(0,de.ObjectNode)({items:(0,de.Opt)((0,de.ListNode)(i({validator:"resource",params:{pool:"item"}}))),tag:(0,de.Opt)(i({validator:"resource",params:{pool:"$tag/item"}})),count:n("int_bounds"),durability:n("int_bounds"),potion:(0,de.Opt)(i({validator:"resource",params:{pool:"potion"}})),nbt:(0,de.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,de.Opt)((0,de.ListNode)(n("enchantment_predicate")))},{context:"item"})),e.register("enchantment_predicate",(0,de.ObjectNode)({enchantment:(0,de.Opt)(i({validator:"resource",params:{pool:"enchantment"}})),levels:n("int_bounds")},{context:"enchantment"})),e.register("block_predicate",(0,de.ObjectNode)({blocks:(0,de.Opt)((0,de.ListNode)(i({validator:"resource",params:{pool:"block"}}))),tag:(0,de.Opt)(i({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,de.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,de.Opt)((0,de.MapNode)(i(),o,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),e.register("fluid_predicate",(0,de.ObjectNode)({fluid:(0,de.Opt)(i({validator:"resource",params:{pool:"fluid"}})),tag:(0,de.Opt)(i({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,de.Opt)((0,de.MapNode)(i(),o))},{context:"fluid"})),e.register("location_predicate",(0,de.ObjectNode)({position:(0,de.Opt)((0,de.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds")})),biome:(0,de.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),feature:(0,de.Opt)(i({validator:"resource",params:{pool:"$worldgen/configured_structure_feature"}})),dimension:(0,de.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),light:(0,de.Opt)((0,de.ObjectNode)({light:n("int_bounds")})),smokey:(0,de.Opt)((0,de.BooleanNode)()),block:(0,de.Opt)(n("block_predicate")),fluid:(0,de.Opt)(n("fluid_predicate"))},{context:"location"})),e.register("statistic_predicate",(0,de.ObjectNode)({type:i({validator:"resource",params:{pool:"stat_type"}}),stat:i(),value:n("int_bounds"),[de.Switch]:[{push:"type"}],[de.Case]:{"minecraft:mined":{stat:i({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:i({validator:"resource",params:{pool:"custom_stat"}})}}})),e.register("player_predicate",(0,de.ObjectNode)({gamemode:(0,de.Opt)(i({enum:"gamemode"})),level:n("int_bounds"),advancements:(0,de.Opt)((0,de.MapNode)(i({validator:"resource",params:{pool:"$advancement"}}),(0,de.ChoiceNode)([{type:"boolean",node:(0,de.BooleanNode)(),change:r=>!0},{type:"object",node:(0,de.MapNode)(i(),(0,de.BooleanNode)())}]))),recipes:(0,de.Opt)((0,de.MapNode)(i({validator:"resource",params:{pool:"$recipe"}}),(0,de.BooleanNode)())),stats:(0,de.Opt)((0,de.ListNode)(n("statistic_predicate"))),looking_at:(0,de.Opt)(n("entity_predicate"))},{context:"player"})),e.register("status_effect_predicate",(0,de.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds"),ambient:(0,de.Opt)((0,de.BooleanNode)()),visible:(0,de.Opt)((0,de.BooleanNode)())},{context:"status_effect"})),e.register("distance_predicate",(0,de.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds"),absolute:n("float_bounds"),horizontal:n("float_bounds")},{context:"distance"})),e.register("entity_predicate",(0,de.ObjectNode)({type:(0,de.Opt)(i({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),nbt:(0,de.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,de.Opt)(i({validator:"team"})),location:(0,de.Opt)(n("location_predicate")),stepping_on:(0,de.Opt)(n("location_predicate")),distance:(0,de.Opt)(n("distance_predicate")),flags:(0,de.Opt)((0,de.ObjectNode)({is_on_fire:(0,de.Opt)((0,de.BooleanNode)()),is_sneaking:(0,de.Opt)((0,de.BooleanNode)()),is_sprinting:(0,de.Opt)((0,de.BooleanNode)()),is_swimming:(0,de.Opt)((0,de.BooleanNode)()),is_baby:(0,de.Opt)((0,de.BooleanNode)())})),equipment:(0,de.Opt)((0,de.MapNode)(i({enum:"slot"}),n("item_predicate"))),player:(0,de.Opt)(n("player_predicate")),vehicle:(0,de.Opt)(n("entity_predicate")),passenger:(0,de.Opt)(n("entity_predicate")),targeted_entity:(0,de.Opt)(n("entity_predicate")),lightning_bolt:(0,de.Opt)((0,de.ObjectNode)({blocks_set_on_fire:(0,de.Opt)(n("int_bounds")),entity_struck:(0,de.Opt)(n("entity_predicate"))})),fishing_hook:(0,de.Opt)((0,de.ObjectNode)({in_open_water:(0,de.Opt)((0,de.BooleanNode)())})),catType:(0,de.Opt)(i({enum:"cat_texture"})),effects:(0,de.Opt)((0,de.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},{context:"entity"})),e.register("damage_source_predicate",(0,de.ObjectNode)({is_explosion:(0,de.Opt)((0,de.BooleanNode)()),is_fire:(0,de.Opt)((0,de.BooleanNode)()),is_magic:(0,de.Opt)((0,de.BooleanNode)()),is_projectile:(0,de.Opt)((0,de.BooleanNode)()),is_lightning:(0,de.Opt)((0,de.BooleanNode)()),bypasses_armor:(0,de.Opt)((0,de.BooleanNode)()),bypasses_invulnerability:(0,de.Opt)((0,de.BooleanNode)()),bypasses_magic:(0,de.Opt)((0,de.BooleanNode)()),source_entity:(0,de.Opt)(n("entity_predicate")),direct_entity:(0,de.Opt)(n("entity_predicate"))},{context:"damage_source"})),e.register("damage_predicate",(0,de.ObjectNode)({dealt:n("float_bounds"),taken:n("float_bounds"),blocked:(0,de.Opt)((0,de.BooleanNode)()),source_entity:(0,de.Opt)(n("entity_predicate")),type:(0,de.Opt)(n("damage_source_predicate"))},{context:"damage"}))}__.initPredicatesSchemas=WD;var m_={};Object.defineProperty(m_,"__esModule",{value:!0});m_.initRecipeSchemas=void 0;const st=j;function jD(e,t){const n=st.Reference.bind(void 0,e),i=st.StringNode.bind(void 0,t);e.register("recipe",(0,st.Mod)((0,st.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[st.Switch]:[{push:"type"}],[st.Case]:{"minecraft:crafting_shaped":{group:(0,st.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,st.ListNode)(i()),key:(0,st.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,st.Opt)(i()),ingredients:(0,st.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,st.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,st.Opt)((0,st.NumberNode)()),cookingtime:(0,st.Opt)((0,st.Mod)((0,st.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,st.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,st.Opt)((0,st.NumberNode)()),cookingtime:(0,st.Opt)((0,st.Mod)((0,st.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,st.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,st.Opt)((0,st.NumberNode)()),cookingtime:(0,st.Opt)((0,st.Mod)((0,st.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,st.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,st.Opt)((0,st.NumberNode)()),cookingtime:(0,st.Opt)((0,st.Mod)((0,st.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,st.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,st.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,st.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,st.Mod)((0,st.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,st.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,st.Mod)((0,st.ObjectNode)({item:(0,st.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,st.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,st.Mod)((0,st.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,st.Opt)((0,st.Mod)((0,st.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}m_.initRecipeSchemas=jD;var p_={};Object.defineProperty(p_,"__esModule",{value:!0});p_.initTagsSchemas=void 0;const Wr=j;function qD(e,t){const n=Wr.StringNode.bind(void 0,t),i=o=>(0,Wr.Mod)((0,Wr.ObjectNode)({replace:(0,Wr.Opt)((0,Wr.BooleanNode)()),values:(0,Wr.ListNode)((0,Wr.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,Wr.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,Wr.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("game_event_tag",i("game_event")),e.register("item_tag",i("item")),e.register("advancement_tag",i("$advancement")),e.register("dimension_tag",i("$dimension")),e.register("dimension_type_tag",i("$dimension_type")),e.register("function_tag",i("$function")),e.register("item_modifier_tag",i("$item_modifier")),e.register("loot_table_tag",i("$loot_table")),e.register("predicate_tag",i("$predicate")),e.register("recipe_tag",i("$recipe")),e.register("structure_tag",i("$structure")),e.register("biome_tag",i("$worldgen/biome")),e.register("configured_carver_tag",i("$worldgen/configured_carver")),e.register("configured_decorator_tag",i("$worldgen/configured_decorator")),e.register("configured_feature_tag",i("$worldgen/configured_feature")),e.register("configured_structure_feature_tag",i("$worldgen/configured_structure_feature")),e.register("configured_surface_builder_tag",i("$worldgen/configured_surface_builder")),e.register("density_function_tag",i("$worldgen/density_function")),e.register("noise_tag",i("$worldgen/noise")),e.register("noise_settings_tag",i("$worldgen/noise_settings")),e.register("placed_feature_tag",i("$worldgen/placed_feature")),e.register("processor_list_tag",i("$worldgen/processor_list")),e.register("structure_set_tag",i("$worldgen/structure_set")),e.register("template_pool_tag",i("$worldgen/template_pool"))}p_.initTagsSchemas=qD;var f_={};Object.defineProperty(f_,"__esModule",{value:!0});f_.initTextComponentSchemas=void 0;const Be=j;function KD(e,t){const n=Be.Reference.bind(void 0,e),i=Be.StringNode.bind(void 0,t),o=a=>{var s;return a instanceof Array?o(a[0]):(s=a==null?void 0:a.text)!==null&&s!==void 0?s:typeof a=="object"?"":a==null?void 0:a.toString()};e.register("text_component",(0,Be.Mod)((0,Be.ChoiceNode)([{type:"object",node:n("text_component_object"),change:a=>a instanceof Array?typeof a[0]=="object"?a[0]:{text:o(a[0])}:typeof a=="object"?a:{text:o(a)}},{type:"list",node:n("text_component_list"),change:a=>[a]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,Be.NumberNode)(),change:a=>{const s=parseFloat(o(a));return isFinite(s)?s:a?1:0}},{type:"boolean",node:(0,Be.BooleanNode)(),change:a=>{const s=o(a);return s==="true"||s==="false"?s==="true":!!s}}],{context:"text_component"}),{default:()=>({text:""})}));const r={color:(0,Be.Opt)(i()),font:(0,Be.Opt)(i()),bold:(0,Be.Opt)((0,Be.BooleanNode)()),italic:(0,Be.Opt)((0,Be.BooleanNode)()),underlined:(0,Be.Opt)((0,Be.BooleanNode)()),strikethrough:(0,Be.Opt)((0,Be.BooleanNode)()),obfuscated:(0,Be.Opt)((0,Be.BooleanNode)()),insertion:(0,Be.Opt)(i()),clickEvent:(0,Be.Opt)((0,Be.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[Be.Switch]:[{push:"action"}],[Be.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,Be.Opt)((0,Be.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[Be.Switch]:[{push:"action"}],[Be.Case]:{show_text:{value:(0,Be.Opt)(n("text_component")),contents:(0,Be.Opt)(n("text_component"))},show_item:{value:(0,Be.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}})),contents:(0,Be.Opt)((0,Be.ObjectNode)({id:i({validator:"resource",params:{pool:"item"}}),count:(0,Be.Opt)((0,Be.NumberNode)({integer:!0})),tag:(0,Be.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"id"}]}}}))}))},show_entity:{value:(0,Be.Opt)((0,Be.ObjectNode)({name:(0,Be.Opt)(i()),type:(0,Be.Opt)(i()),id:(0,Be.Opt)(i())})),contents:(0,Be.Opt)((0,Be.Mod)((0,Be.ObjectNode)({name:(0,Be.Opt)(n("text_component")),type:i({validator:"resource",params:{pool:"entity_type"}}),id:i({validator:"uuid"})}),{default:()=>({type:"minecraft:pig",id:"00000001-0001-0001-0001-000000000001"})}))}}})),extra:(0,Be.Opt)(n("text_component_list"))};e.register("text_component_object",(0,Be.Mod)((0,Be.ChoiceNode)([{type:"text",match:a=>typeof a=="object",change:a=>({text:""}),priority:-1,node:(0,Be.ObjectNode)(H({text:i()},r))},{type:"translation",match:a=>(a==null?void 0:a.translate)!==void 0,change:a=>({translate:""}),node:(0,Be.ObjectNode)(H({translate:i(),with:(0,Be.Opt)(n("text_component_list"))},r))},{type:"score",match:a=>(a==null?void 0:a.score)!==void 0,change:a=>({score:{}}),node:(0,Be.ObjectNode)(H({score:(0,Be.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,Be.Opt)(i())})},r))},{type:"selector",match:a=>(a==null?void 0:a.selector)!==void 0,change:a=>({selector:""}),node:(0,Be.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}}),separator:(0,Be.Opt)(n("text_component"))},r))},{type:"keybind",match:a=>(a==null?void 0:a.keybind)!==void 0,change:a=>({keybind:""}),node:(0,Be.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},r))},{type:"nbt",match:a=>(a==null?void 0:a.nbt)!==void 0,change:a=>({nbt:""}),node:(0,Be.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,Be.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,Be.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,Be.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,Be.Opt)((0,Be.BooleanNode)()),separator:(0,Be.Opt)(n("text_component"))},r))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,Be.Mod)((0,Be.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}f_.initTextComponentSchemas=KD;var h_={},gf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initBiomeSchemas=e.MobCategorySpawnSettings=void 0;const t=j,n=Ii;function i(o,r){const a=t.StringNode.bind(void 0,r);e.MobCategorySpawnSettings=(0,t.Mod)((0,t.ListNode)((0,t.ObjectNode)({type:a({validator:"resource",params:{pool:"entity_type"}}),weight:(0,t.NumberNode)({integer:!0}),minCount:(0,t.NumberNode)({integer:!0}),maxCount:(0,t.NumberNode)({integer:!0})})),{category:()=>"pool",default:()=>[{type:"minecraft:bat",weight:1}]}),o.register("biome",(0,t.Mod)((0,t.ObjectNode)({temperature:(0,t.NumberNode)(),downfall:(0,t.NumberNode)(),precipitation:a({enum:["none","rain","snow"]}),temperature_modifier:(0,t.Opt)(a({enum:["none","frozen"]})),category:a({enum:"biome_category"}),creature_spawn_probability:(0,t.Opt)((0,t.NumberNode)({min:0,max:1})),effects:(0,t.ObjectNode)({sky_color:(0,t.NumberNode)({color:!0}),fog_color:(0,t.NumberNode)({color:!0}),water_color:(0,t.NumberNode)({color:!0}),water_fog_color:(0,t.NumberNode)({color:!0}),grass_color:(0,t.Opt)((0,t.NumberNode)({color:!0})),foliage_color:(0,t.Opt)((0,t.NumberNode)({color:!0})),grass_color_modifier:(0,t.Opt)(a({enum:["none","dark_forest","swamp"]})),ambient_sound:(0,t.Opt)(a()),mood_sound:(0,t.Opt)((0,t.ObjectNode)({sound:a(),tick_delay:(0,t.NumberNode)({integer:!0}),block_search_extent:(0,t.NumberNode)({integer:!0}),offset:(0,t.NumberNode)()})),additions_sound:(0,t.Opt)((0,t.ObjectNode)({sound:a(),tick_chance:(0,t.NumberNode)({min:0,max:1})})),music:(0,t.Opt)((0,t.ObjectNode)({sound:a(),min_delay:(0,t.NumberNode)({integer:!0,min:0}),max_delay:(0,t.NumberNode)({integer:!0,min:0}),replace_current_music:(0,t.BooleanNode)()})),particle:(0,t.Opt)((0,t.ObjectNode)({options:(0,t.ObjectNode)({type:a()}),probability:(0,t.NumberNode)({min:0,max:1})}))}),spawners:(0,t.MapNode)(a({enum:"mob_category"}),e.MobCategorySpawnSettings),spawn_costs:(0,t.MapNode)(a({validator:"resource",params:{pool:"entity_type"}}),(0,t.Mod)((0,t.ObjectNode)({energy_budget:(0,t.NumberNode)(),charge:(0,t.NumberNode)()},{category:"function"}),{default:()=>({energy_budget:.12,charge:1})})),carvers:(0,t.MapNode)(a({enum:["air","liquid"]}),(0,t.Mod)((0,n.Tag)({resource:"$worldgen/configured_carver",inlineSchema:"configured_carver"}),{default:()=>["minecraft:cave"]})),features:(0,t.ListNode)((0,t.Mod)((0,n.Tag)({resource:"$worldgen/placed_feature",inlineSchema:"placed_feature"}),{category:()=>"predicate"}),{maxLength:11})},{context:"biome"}),{default:()=>({temperature:.8,downfall:.4,precipitation:"rain",category:"plains",effects:{sky_color:7907327,fog_color:12638463,water_color:4159204,water_fog_color:329011}})}))}e.initBiomeSchemas=i})(gf);var g_={};Object.defineProperty(g_,"__esModule",{value:!0});g_.initCarverSchemas=void 0;const Bn=j,xo=Ii;function QD(e,t){const n=Bn.Reference.bind(void 0,e),i=Bn.StringNode.bind(void 0,t),o={vertical_rotation:(0,xo.FloatProvider)(),shape:(0,Bn.ObjectNode)({distance_factor:(0,xo.FloatProvider)(),thickness:(0,xo.FloatProvider)(),width_smoothness:(0,Bn.NumberNode)({integer:!0,min:0}),horizontal_radius_factor:(0,xo.FloatProvider)(),vertical_radius_default_factor:(0,Bn.NumberNode)(),vertical_radius_center_factor:(0,Bn.NumberNode)()})},r={horizontal_radius_multiplier:(0,xo.FloatProvider)(),vertical_radius_multiplier:(0,xo.FloatProvider)(),floor_level:(0,xo.FloatProvider)({min:-1,max:1})};e.register("configured_carver",(0,Bn.Mod)((0,Bn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/carver"}}),config:(0,Bn.ObjectNode)({probability:(0,Bn.NumberNode)({min:0,max:1}),y:n("height_provider"),yScale:(0,xo.FloatProvider)(),lava_level:n("vertical_anchor"),debug_settings:(0,Bn.Opt)((0,Bn.ObjectNode)({debug_mode:(0,Bn.Opt)((0,Bn.BooleanNode)()),air_state:(0,Bn.Opt)(n("block_state")),water_state:(0,Bn.Opt)(n("block_state")),lava_state:(0,Bn.Opt)(n("block_state")),barrier_state:(0,Bn.Opt)(n("block_state"))})),[Bn.Switch]:["pop",{push:"type"}],[Bn.Case]:{"minecraft:canyon":o,"minecraft:cave":r,"minecraft:nether_cave":r}})},{context:"carver"}),{default:()=>({type:"minecraft:cave",config:{probability:.1}})}))}g_.initCarverSchemas=QD;var b_={};Object.defineProperty(b_,"__esModule",{value:!0});b_.initDecoratorSchemas=void 0;const $n=j,nc=Ii;function XD(e,t){const n=$n.Reference.bind(void 0,e),i=$n.StringNode.bind(void 0,t);e.register("decorator",(0,$n.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/placement_modifier_type"}}),[$n.Switch]:[{push:"type"}],[$n.Case]:{"minecraft:block_predicate_filter":{predicate:n("block_predicate_worldgen")},"minecraft:carving_mask":{step:i({enum:"generation_step"})},"minecraft:rarity_filter":{chance:(0,$n.NumberNode)({integer:!0,min:0})},"minecraft:count":{count:(0,nc.IntProvider)({min:0,max:256})},"minecraft:count_on_every_layer":{count:(0,nc.IntProvider)({min:0,max:256})},"minecraft:noise_threshold_count":{noise_level:(0,$n.NumberNode)(),below_noise:(0,$n.NumberNode)({integer:!0}),above_noise:(0,$n.NumberNode)({integer:!0})},"minecraft:noise_based_count":{noise_to_count_ratio:(0,$n.NumberNode)({integer:!0}),noise_factor:(0,$n.NumberNode)(),noise_offset:(0,$n.Opt)((0,$n.NumberNode)())},"minecraft:environment_scan":{direction_of_search:i({enum:["up","down"]}),max_steps:(0,$n.NumberNode)({integer:!0,min:1,max:32}),target_condition:n("block_predicate_worldgen"),allowed_search_condition:(0,$n.Opt)(n("block_predicate_worldgen"))},"minecraft:heightmap":{heightmap:i({enum:"heightmap_type"})},"minecraft:height_range":{height:n("height_provider")},"minecraft:random_offset":{xz_spread:(0,nc.IntProvider)({min:-16,max:16}),y_spread:(0,nc.IntProvider)({min:-16,max:16})},"minecraft:surface_relative_threshold_filter":{heightmap:i({enum:"heightmap_type"}),min_inclusive:(0,$n.Opt)((0,$n.NumberNode)({integer:!0})),max_inclusive:(0,$n.Opt)((0,$n.NumberNode)({integer:!0}))},"minecraft:surface_water_depth_filter":{max_water_depth:(0,$n.NumberNode)({integer:!0})}}},{context:"decorator",category:"predicate"}))}b_.initDecoratorSchemas=XD;var bf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initDensityFunctionSchemas=e.DensityFunction=void 0;const t=j;function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);e.DensityFunction=(0,t.Mod)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)(),change:()=>0},{type:"string",priority:1,node:r({validator:"resource",params:{pool:"$worldgen/density_function"}}),change:()=>{}},{type:"object",node:a("density_function"),change:()=>({})}],{choiceContext:"density_function"}),{default:()=>0});const s=(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:"$worldgen/noise"}}),change:()=>{}},{type:"object",node:a("noise_parameters")}],{choiceContext:"noise_parameters"}),c=(0,t.NumberNode)({min:-1e6,max:1e6}),l=(0,t.NumberNode)({integer:!0,min:-2032*2,max:2031*2});i.register("density_function",(0,t.Mod)((0,t.ObjectNode)({type:r({validator:"resource",params:{pool:"worldgen/density_function_type"}}),[t.Switch]:[{push:"type"}],[t.Case]:{"minecraft:abs":{argument:e.DensityFunction},"minecraft:add":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:blend_density":{argument:e.DensityFunction},"minecraft:cache_2d":{argument:e.DensityFunction},"minecraft:cache_all_in_cell":{argument:e.DensityFunction},"minecraft:cache_once":{argument:e.DensityFunction},"minecraft:clamp":{input:e.DensityFunction,min:c,max:c},"minecraft:constant":{argument:(0,t.NumberNode)()},"minecraft:cube":{argument:e.DensityFunction},"minecraft:flat_cache":{argument:e.DensityFunction},"minecraft:half_negative":{argument:e.DensityFunction},"minecraft:interpolated":{argument:e.DensityFunction},"minecraft:max":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:min":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:mul":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:noise":{noise:s,xz_scale:(0,t.NumberNode)(),y_scale:(0,t.NumberNode)()},"minecraft:quarter_negative":{argument:e.DensityFunction},"minecraft:range_choice":{input:e.DensityFunction,min_inclusive:c,max_exclusive:c,when_in_range:e.DensityFunction,when_out_of_range:e.DensityFunction},"minecraft:shift":{argument:e.DensityFunction},"minecraft:shift_a":{argument:e.DensityFunction},"minecraft:shift_b":{argument:e.DensityFunction},"minecraft:shifted_noise":{noise:s,xz_scale:(0,t.NumberNode)(),y_scale:(0,t.NumberNode)(),shift_x:e.DensityFunction,shift_y:e.DensityFunction,shift_z:e.DensityFunction},"minecraft:slide":{argument:e.DensityFunction},"minecraft:spline":{spline:a("cubic_spline"),min_value:c,max_value:c},"minecraft:square":{argument:e.DensityFunction},"minecraft:squeeze":{argument:e.DensityFunction},"minecraft:terrain_shaper_spline":{spline:r({enum:["offset","factor","jaggedness"]}),min_value:c,max_value:c,continentalness:e.DensityFunction,erosion:e.DensityFunction,weirdness:e.DensityFunction},"minecraft:weird_scaled_sampler":{rarity_value_mapper:r({enum:["type_1","type_2"]}),noise:s,input:e.DensityFunction},"minecraft:y_clamped_gradient":{from_y:l,to_y:l,from_value:c,to_value:c}}},{context:"density_function",disableSwitchContext:!0}),{default:()=>({type:"minecraft:noise",noise:"minecraft:cave_entrance",xz_scale:.75,y_scale:.5})})),i.register("cubic_spline",(0,t.Mod)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)()},{type:"object",node:(0,t.ObjectNode)({coordinate:e.DensityFunction,points:(0,t.ListNode)((0,t.ObjectNode)({location:(0,t.NumberNode)(),derivative:(0,t.NumberNode)(),value:a("cubic_spline")}))},{category:"function"})}],{context:"terrain_spline",choiceContext:"terrain_spline"}),{default:()=>0}))}e.initDensityFunctionSchemas=n})(bf);var E_={},ta={};Object.defineProperty(ta,"__esModule",{value:!0});ta.initProcessorListSchemas=ta.Processors=void 0;const $t=j;function ZD(e,t){const n=$t.Reference.bind(void 0,e),i=$t.StringNode.bind(void 0,t);ta.Processors=(0,$t.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/processor_list"}}),change:r=>{}},{type:"object",node:n("processor_list"),change:r=>({processors:[{processor_type:"minecraft:nop"}]})}]),e.register("processor_list",(0,$t.Mod)((0,$t.ObjectNode)({processors:(0,$t.ListNode)(n("processor"))},{context:"processor_list"}),{default:()=>({processors:[{processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]}]})})),e.register("processor",(0,$t.Mod)((0,$t.ObjectNode)({processor_type:i({validator:"resource",params:{pool:"worldgen/structure_processor"}}),[$t.Switch]:[{push:"processor_type"}],[$t.Case]:{"minecraft:block_age":{mossiness:(0,$t.NumberNode)()},"minecraft:block_ignore":{blocks:(0,$t.ListNode)(n("block_state"))},"minecraft:block_rot":{integrity:(0,$t.NumberNode)({min:0,max:1})},"minecraft:gravity":{heightmap:i({enum:"heightmap_type"}),offset:(0,$t.NumberNode)({integer:!0})},"minecraft:protected_blocks":{value:i({validator:"resource",params:{pool:"block",requireTag:!0}})},"minecraft:rule":{rules:(0,$t.ListNode)(n("processor_rule"))}}},{category:"function",context:"processor"}),{default:()=>({processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]})})),e.register("processor_rule",(0,$t.Mod)((0,$t.ObjectNode)({position_predicate:(0,$t.Opt)(n("pos_rule_test")),location_predicate:n("rule_test"),input_predicate:n("rule_test"),output_state:n("block_state"),output_nbt:(0,$t.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block"}}}))},{category:"predicate",context:"processor_rule"}),{default:()=>({location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}})}));const o={min_dist:(0,$t.Opt)((0,$t.NumberNode)({min:0,max:255,integer:!0})),max_dist:(0,$t.Opt)((0,$t.NumberNode)({min:0,max:255,integer:!0})),min_chance:(0,$t.Opt)((0,$t.NumberNode)({min:0,max:1})),max_chance:(0,$t.Opt)((0,$t.NumberNode)({min:0,max:1}))};e.register("pos_rule_test",(0,$t.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"pos_rule_test"}}),[$t.Switch]:[{push:"predicate_type"}],[$t.Case]:{"minecraft:axis_aligned_linear_pos":H({axis:i({enum:["x","y","z"]})},o),"minecraft:linear_pos":o}},{context:"pos_rule_test",disableSwitchContext:!0})),e.register("rule_test",(0,$t.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"rule_test"}}),[$t.Switch]:[{push:"predicate_type"}],[$t.Case]:{"minecraft:block_match":{block:i({validator:"resource",params:{pool:"block"}})},"minecraft:blockstate_match":{block_state:n("block_state")},"minecraft:random_block_match":{block:i({validator:"resource",params:{pool:"block"}}),probability:(0,$t.NumberNode)({min:0,max:1})},"minecraft:random_blockstate_match":{block_state:n("block_state"),probability:(0,$t.NumberNode)({min:0,max:1})},"minecraft:tag_match":{tag:i({validator:"resource",params:{pool:"$tag/block"}})}}},{context:"rule_test",disableSwitchContext:!0}))}ta.initProcessorListSchemas=ZD;Object.defineProperty(E_,"__esModule",{value:!0});E_.initFeatureSchemas=void 0;const W=j,Lt=Ii,ug=ta;function JD(e,t){const n=W.Reference.bind(void 0,e),i=W.StringNode.bind(void 0,t),o=(0,W.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:n("configured_feature")}],{choiceContext:"feature"}),r=(0,W.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},{type:"object",node:n("placed_feature")}],{choiceContext:"placed_feature"}),a={tries:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:1})),xz_spread:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0})),y_spread:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0})),feature:r},s={state:n("block_state"),radius:(0,Lt.IntProvider)({min:0,max:8}),half_height:(0,W.NumberNode)({integer:!0,min:0,max:4}),targets:(0,W.ListNode)(n("block_state"))},c={cap_provider:n("block_state_provider"),stem_provider:n("block_state_provider"),foliage_radius:(0,W.Opt)((0,W.NumberNode)({integer:!0}))},l=(0,W.ObjectNode)({target:n("rule_test"),state:n("block_state")}),_={size:(0,W.NumberNode)({integer:!0,min:0,max:64}),discard_chance_on_air_exposure:(0,W.NumberNode)({min:0,max:1}),targets:(0,W.ListNode)(l)},d={surface:i({enum:"cave_surface"}),depth:(0,Lt.IntProvider)({min:1,max:128}),vertical_range:(0,W.NumberNode)({integer:!0,min:1,max:256}),extra_bottom_block_chance:(0,W.NumberNode)({min:0,max:1}),extra_edge_column_chance:(0,W.NumberNode)({min:0,max:1}),vegetation_chance:(0,W.NumberNode)({min:0,max:1}),xz_radius:(0,Lt.IntProvider)(),replaceable:i({validator:"resource",params:{pool:"block",requireTag:!0}}),ground_state:n("block_state_provider"),vegetation_feature:r};e.register("configured_feature",(0,W.Mod)((0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature"}}),config:(0,W.ObjectNode)({[W.Switch]:["pop",{push:"type"}],[W.Case]:{"minecraft:bamboo":{probability:(0,W.NumberNode)({min:0,max:1})},"minecraft:basalt_columns":{reach:(0,Lt.IntProvider)({min:0,max:3}),height:(0,Lt.IntProvider)({min:1,max:10})},"minecraft:block_column":{direction:i({enum:["up","down","north","east","south","west"]}),allowed_placement:n("block_predicate_worldgen"),prioritize_tip:(0,W.BooleanNode)(),layers:(0,W.ListNode)((0,W.ObjectNode)({height:(0,Lt.IntProvider)({min:0}),provider:n("block_state_provider")}))},"minecraft:block_pile":{state_provider:n("block_state_provider")},"minecraft:delta_feature":{contents:n("block_state"),rim:n("block_state"),size:(0,Lt.IntProvider)({min:0,max:16}),rim_size:(0,Lt.IntProvider)({min:0,max:16})},"minecraft:disk":s,"minecraft:dripstone_cluster":{floor_to_ceiling_search_range:(0,W.NumberNode)({integer:!0,min:1,max:512}),height:(0,Lt.IntProvider)({min:0,max:128}),radius:(0,Lt.IntProvider)({min:0,max:128}),max_stalagmite_stalactite_height_diff:(0,W.NumberNode)({integer:!0,min:0,max:64}),height_deviation:(0,W.NumberNode)({integer:!0,min:1,max:64}),dripstone_block_layer_thickness:(0,Lt.IntProvider)({min:0,max:128}),density:(0,Lt.FloatProvider)({min:0,max:2}),wetness:(0,Lt.FloatProvider)({min:0,max:2}),chance_of_dripstone_column_at_max_distance_from_center:(0,W.NumberNode)({min:0,max:1}),max_distance_from_edge_affecting_chance_of_dripstone_column:(0,W.NumberNode)({integer:!0,min:1,max:64}),max_distance_from_center_affecting_height_bias:(0,W.NumberNode)({integer:!0,min:1,max:64})},"minecraft:end_gateway":{exact:(0,W.BooleanNode)(),exit:(0,W.Opt)(n("block_pos"))},"minecraft:end_spike":{crystal_invulnerable:(0,W.Opt)((0,W.BooleanNode)()),crystal_beam_target:(0,W.Opt)(n("block_pos")),spikes:(0,W.ListNode)((0,W.ObjectNode)({centerX:(0,W.Opt)((0,W.NumberNode)({integer:!0})),centerZ:(0,W.Opt)((0,W.NumberNode)({integer:!0})),radius:(0,W.Opt)((0,W.NumberNode)({integer:!0})),height:(0,W.Opt)((0,W.NumberNode)({integer:!0})),guarded:(0,W.Opt)((0,W.BooleanNode)())}))},"minecraft:fill_layer":{state:n("block_state"),height:(0,W.NumberNode)({integer:!0,min:0,max:255})},"minecraft:flower":a,"minecraft:forest_rock":{state:n("block_state")},"minecraft:fossil":{max_empty_corners_allowed:(0,W.NumberNode)({integer:!0,min:0,max:7}),fossil_structures:(0,W.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),overlay_structures:(0,W.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),fossil_processors:ug.Processors,overlay_processors:ug.Processors},"minecraft:geode":{blocks:(0,W.ObjectNode)({filling_provider:n("block_state_provider"),inner_layer_provider:n("block_state_provider"),alternate_inner_layer_provider:n("block_state_provider"),middle_layer_provider:n("block_state_provider"),outer_layer_provider:n("block_state_provider"),inner_placements:(0,W.ListNode)(n("block_state")),cannot_replace:i({validator:"resource",params:{pool:"block",requireTag:!0}}),invalid_blocks:i({validator:"resource",params:{pool:"block",requireTag:!0}})}),layers:(0,W.ObjectNode)({filling:(0,W.Opt)((0,W.NumberNode)({min:.01,max:50})),inner_layer:(0,W.Opt)((0,W.NumberNode)({min:.01,max:50})),middle_layer:(0,W.Opt)((0,W.NumberNode)({min:.01,max:50})),outer_layer:(0,W.Opt)((0,W.NumberNode)({min:.01,max:50}))}),crack:(0,W.ObjectNode)({generate_crack_chance:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),base_crack_size:(0,W.Opt)((0,W.NumberNode)({min:0,max:5})),crack_point_offset:(0,W.Opt)((0,W.NumberNode)({min:0,max:10}))}),noise_multiplier:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),use_potential_placements_chance:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),use_alternate_layer0_chance:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),placements_require_layer0_alternate:(0,W.Opt)((0,W.BooleanNode)()),outer_wall_distance:(0,W.Opt)((0,Lt.IntProvider)({min:1,max:20})),distribution_points:(0,W.Opt)((0,Lt.IntProvider)({min:1,max:20})),point_offset:(0,W.Opt)((0,Lt.IntProvider)({min:0,max:10})),min_gen_offset:(0,W.Opt)((0,W.NumberNode)({integer:!0})),max_gen_offset:(0,W.Opt)((0,W.NumberNode)({integer:!0})),invalid_blocks_threshold:(0,W.NumberNode)({integer:!0})},"minecraft:glow_lichen":{search_range:(0,W.Opt)((0,W.NumberNode)({min:1,max:64,integer:!0})),chance_of_spreading:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),can_place_on_floor:(0,W.Opt)((0,W.BooleanNode)()),can_place_on_ceiling:(0,W.Opt)((0,W.BooleanNode)()),can_place_on_wall:(0,W.Opt)((0,W.BooleanNode)()),can_be_placed_on:(0,Lt.Tag)({resource:"block"})},"minecraft:huge_brown_mushroom":c,"minecraft:huge_fungus":{hat_state:n("block_state"),decor_state:n("block_state"),stem_state:n("block_state"),valid_base_block:n("block_state"),planted:(0,W.Opt)((0,W.BooleanNode)())},"minecraft:huge_red_mushroom":c,"minecraft:ice_patch":s,"minecraft:iceberg":{state:n("block_state")},"minecraft:lake":{fluid:n("block_state_provider"),barrier:n("block_state_provider")},"minecraft:large_dripstone":{floor_to_ceiling_search_range:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:1,max:512})),column_radius:(0,Lt.IntProvider)({min:0,max:60}),height_scale:(0,Lt.FloatProvider)({min:0,max:20}),max_column_radius_to_cave_height_ratio:(0,W.NumberNode)({min:0,max:1}),stalactite_bluntness:(0,Lt.FloatProvider)({min:.1,max:10}),stalagmite_bluntness:(0,Lt.FloatProvider)({min:.1,max:10}),wind_speed:(0,Lt.FloatProvider)({min:0,max:2}),min_radius_for_wind:(0,W.NumberNode)({integer:!0,min:0,max:100}),min_bluntness_for_wind:(0,W.NumberNode)({min:0,max:5})},"minecraft:nether_forest_vegetation":{state_provider:n("block_state_provider"),spread_width:(0,W.NumberNode)({integer:!0,min:1}),spread_height:(0,W.NumberNode)({integer:!0,min:1})},"minecraft:netherrack_replace_blobs":{state:n("block_state"),target:n("block_state"),radius:(0,Lt.IntProvider)({min:0,max:12})},"minecraft:no_bonemeal_flower":a,"minecraft:ore":_,"minecraft:pointed_dripstone":{chance_of_taller_dripstone:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),chance_of_directional_spread:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),chance_of_spread_radius2:(0,W.Opt)((0,W.NumberNode)({min:0,max:1})),chance_of_spread_radius3:(0,W.Opt)((0,W.NumberNode)({min:0,max:1}))},"minecraft:random_patch":a,"minecraft:random_boolean_selector":{feature_false:r,feature_true:r},"minecraft:random_selector":{features:(0,W.ListNode)((0,W.ObjectNode)({chance:(0,W.NumberNode)({min:0,max:1}),feature:r})),default:r},"minecraft:replace_single_block":{targets:(0,W.ListNode)(l)},"minecraft:root_system":{required_vertical_space_for_tree:(0,W.NumberNode)({integer:!0,min:1,max:64}),root_radius:(0,W.NumberNode)({integer:!0,min:1,max:64}),root_placement_attempts:(0,W.NumberNode)({integer:!0,min:1,max:256}),root_column_max_height:(0,W.NumberNode)({integer:!0,min:1,max:4096}),hanging_root_radius:(0,W.NumberNode)({integer:!0,min:1,max:64}),hanging_roots_vertical_span:(0,W.NumberNode)({integer:!0,min:0,max:16}),hanging_root_placement_attempts:(0,W.NumberNode)({integer:!0,min:0,max:256}),allowed_vertical_water_for_tree:(0,W.NumberNode)({integer:!0,min:1,max:64}),root_replaceable:i({validator:"resource",params:{pool:"block",requireTag:!0}}),root_state_provider:n("block_state_provider"),hanging_root_state_provider:n("block_state_provider"),allowed_tree_position:n("block_predicate_worldgen"),feature:r},"minecraft:scattered_ore":_,"minecraft:sea_pickle":{count:(0,Lt.IntProvider)({min:0,max:256})},"minecraft:seagrass":{probability:(0,W.NumberNode)({min:0,max:1})},"minecraft:simple_block":{to_place:n("block_state_provider")},"minecraft:simple_random_selector":{features:(0,Lt.Tag)({resource:"$worldgen/placed_feature",inlineSchema:"placed_feature"})},"minecraft:spring_feature":{state:n("fluid_state"),rock_count:(0,W.NumberNode)({integer:!0}),hole_count:(0,W.NumberNode)({integer:!0}),requires_block_below:(0,W.BooleanNode)(),valid_blocks:(0,Lt.Tag)({resource:"block"})},"minecraft:tree":{ignore_vines:(0,W.Opt)((0,W.BooleanNode)()),force_dirt:(0,W.Opt)((0,W.BooleanNode)()),minimum_size:n("feature_size"),dirt_provider:n("block_state_provider"),trunk_provider:n("block_state_provider"),foliage_provider:n("block_state_provider"),trunk_placer:(0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/trunk_placer_type"}}),base_height:(0,W.NumberNode)({integer:!0,min:0,max:32}),height_rand_a:(0,W.NumberNode)({integer:!0,min:0,max:24}),height_rand_b:(0,W.NumberNode)({integer:!0,min:0,max:24}),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:bending_trunk_placer":{bend_length:(0,Lt.IntProvider)({min:1,max:64}),min_height_for_leaves:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:1}))}}},{context:"trunk_placer"}),foliage_placer:(0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/foliage_placer_type"}}),radius:(0,Lt.IntProvider)({min:0,max:16}),offset:(0,Lt.IntProvider)({min:0,max:16}),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:blob_foliage_placer":{height:(0,W.NumberNode)({integer:!0,min:0,max:16})},"minecraft:bush_foliage_placer":{height:(0,W.NumberNode)({integer:!0,min:0,max:16})},"minecraft:fancy_foliage_placer":{height:(0,W.NumberNode)({integer:!0,min:0,max:16})},"minecraft:jungle_foliage_placer":{height:(0,W.NumberNode)({integer:!0,min:0,max:16})},"minecraft:mega_pine_foliage_placer":{crown_height:(0,Lt.IntProvider)({min:0,max:24})},"minecraft:pine_foliage_placer":{height:(0,Lt.IntProvider)({min:0,max:24})},"minecraft:random_spread_foliage_placer":{foliage_height:(0,Lt.IntProvider)({min:1,max:512}),leaf_placement_attempts:(0,W.NumberNode)({integer:!0,min:0,max:256})},"minecraft:spruce_foliage_placer":{trunk_height:(0,Lt.IntProvider)({min:0,max:24})}}},{context:"foliage_placer",disableSwitchContext:!0}),decorators:(0,W.ListNode)((0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/tree_decorator_type"}}),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:alter_ground":{provider:n("block_state_provider")},"minecraft:beehive":{probability:(0,W.NumberNode)({min:0,max:1})},"minecraft:cocoa":{probability:(0,W.NumberNode)({min:0,max:1})}}},{context:"tree_decorator"}))},"minecraft:twisting_vines":{spread_width:(0,W.NumberNode)({integer:!0,min:1}),spread_height:(0,W.NumberNode)({integer:!0,min:1}),max_height:(0,W.NumberNode)({integer:!0,min:1})},"minecraft:underwater_magma":{floor_search_range:(0,W.NumberNode)({integer:!0,min:0,max:512}),placement_radius_around_floor:(0,W.NumberNode)({integer:!0,min:0,max:64}),placement_probability_per_valid_position:(0,W.NumberNode)({min:0,max:1})},"minecraft:vegetation_patch":d,"minecraft:waterlogged_vegetation_patch":d}},{context:"feature"})},{context:"feature"}),{default:()=>({type:"minecraft:tree",config:{minimum_size:{type:"minecraft:two_layers_feature_size"},trunk_placer:{type:"minecraft:straight_trunk_placer",base_height:5,height_rand_a:2,height_rand_b:0},foliage_placer:{type:"minecraft:blob_foliage_placer",radius:2,offset:0,height:3}}})})),e.register("placed_feature",(0,W.Mod)((0,W.ObjectNode)({feature:o,placement:(0,W.ListNode)(n("decorator"))},{context:"placed_feature"}),{default:()=>({feature:"minecraft:oak",placement:[{type:"minecraft:count",count:4},{type:"minecraft:in_square"},{type:"minecraft:heightmap",heightmap:"OCEAN_FLOOR"}]})})),e.register("feature_size",(0,W.Mod)((0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature_size_type"}}),min_clipped_height:(0,W.Opt)((0,W.NumberNode)({min:0,max:80})),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:two_layers_feature_size":{limit:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:81})),lower_size:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:16}))},"minecraft:three_layers_feature_size":{limit:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:80})),upper_limit:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:80})),lower_size:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:16})),middle_size:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,W.Opt)((0,W.NumberNode)({integer:!0,min:0,max:16}))}}},{disableSwitchContext:!0}),{default:()=>({type:"minecraft:two_layers_feature_size"})}));const u={seed:(0,W.NumberNode)({integer:!0}),noise:n("noise_parameters"),scale:(0,W.Mod)((0,W.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1})};e.register("block_state_provider",(0,W.Mod)((0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_state_provider_type"}}),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:dual_noise_provider":qe(H({},u),{variety:(0,Lt.InclusiveRange)({integer:!0,min:1,max:64}),slow_noise:n("noise_parameters"),slow_scale:(0,W.Mod)((0,W.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1}),states:(0,W.ListNode)(n("block_state"))}),"minecraft:noise_threshold_provider":qe(H({},u),{threshold:(0,W.NumberNode)({min:-1,max:1}),high_chance:(0,W.NumberNode)({min:0,max:1}),default_state:n("block_state"),low_states:(0,W.ListNode)(n("block_state")),high_states:(0,W.ListNode)(n("block_state"))}),"minecraft:noise_provider":qe(H({},u),{states:(0,W.ListNode)(n("block_state"))}),"minecraft:randomized_int_state_provider":{property:i(),values:(0,Lt.IntProvider)(),source:n("block_state_provider")},"minecraft:rotated_block_provider":{state:n("block_state")},"minecraft:simple_state_provider":{state:n("block_state")},"minecraft:weighted_state_provider":{entries:(0,W.ListNode)((0,W.Mod)((0,W.ObjectNode)({weight:(0,W.NumberNode)({integer:!0,min:1}),data:n("block_state")}),{default:()=>({data:{}})}))}}},{context:"block_state_provider"}),{default:()=>({type:"minecraft:simple_state_provider"})}));const m={offset:(0,W.Opt)((0,W.ListNode)((0,W.NumberNode)({integer:!0,min:-16,max:16}),{minLength:3,maxLength:3}))};e.register("block_predicate_worldgen",(0,W.Mod)((0,W.ObjectNode)({type:i({validator:"resource",params:{pool:"block_predicate_type"}}),[W.Switch]:[{push:"type"}],[W.Case]:{"minecraft:all_of":{predicates:(0,W.ListNode)(n("block_predicate_worldgen"))},"minecraft:any_of":{predicates:(0,W.ListNode)(n("block_predicate_worldgen"))},"minecraft:has_sturdy_face":qe(H({},m),{direction:i({enum:"direction"})}),"minecraft:inside_world_bounds":H({},m),"minecraft:matching_block_tag":qe(H({},m),{tag:i({validator:"resource",params:{pool:"$tag/block"}})}),"minecraft:matching_blocks":qe(H({},m),{blocks:(0,Lt.Tag)({resource:"block"})}),"minecraft:matching_fluids":qe(H({},m),{fluids:(0,Lt.Tag)({resource:"fluid"})}),"minecraft:not":{predicate:n("block_predicate_worldgen")},"minecraft:would_survive":qe(H({},m),{state:n("block_state")})}},{context:"block_predicate"}),{default:()=>({type:"minecraft:true"})}))}E_.initFeatureSchemas=JD;var v_={};Object.defineProperty(v_,"__esModule",{value:!0});v_.initNoiseSettingsSchemas=void 0;const Mt=j,eI=Ii,bi=bf;function tI(e,t){const n=Mt.Reference.bind(void 0,e),i=Mt.StringNode.bind(void 0,t);e.register("noise_settings",(0,Mt.Mod)((0,Mt.ObjectNode)({sea_level:(0,Mt.NumberNode)({integer:!0}),disable_mob_generation:(0,Mt.BooleanNode)(),aquifers_enabled:(0,Mt.BooleanNode)(),ore_veins_enabled:(0,Mt.BooleanNode)(),legacy_random_source:(0,Mt.BooleanNode)(),default_block:n("block_state"),default_fluid:n("block_state"),noise:(0,Mt.ObjectNode)({min_y:(0,Mt.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,Mt.NumberNode)({integer:!0,min:0,max:4096}),size_horizontal:(0,Mt.NumberNode)({integer:!0}),size_vertical:(0,Mt.NumberNode)({integer:!0}),sampling:(0,Mt.ObjectNode)({xz_scale:(0,Mt.NumberNode)(),y_scale:(0,Mt.NumberNode)(),xz_factor:(0,Mt.NumberNode)(),y_factor:(0,Mt.NumberNode)()}),bottom_slide:n("noise_slider"),top_slide:n("noise_slider"),terrain_shaper:n("terrain_shaper")}),noise_router:(0,Mt.ObjectNode)({barrier:bi.DensityFunction,fluid_level_floodedness:bi.DensityFunction,fluid_level_spread:bi.DensityFunction,lava:bi.DensityFunction,temperature:bi.DensityFunction,vegetation:bi.DensityFunction,continents:bi.DensityFunction,erosion:bi.DensityFunction,depth:bi.DensityFunction,ridges:bi.DensityFunction,initial_density_without_jaggedness:bi.DensityFunction,final_density:bi.DensityFunction,vein_toggle:bi.DensityFunction,vein_ridged:bi.DensityFunction,vein_gap:bi.DensityFunction}),surface_rule:n("material_rule")},{context:"noise_settings"}),o=>({default:()=>eI.DefaultNoiseSettings,validate:(r,a,s,c)=>{var l,_,d,u;return a=o.validate(r,a,s,c),((l=a==null?void 0:a.noise)===null||l===void 0?void 0:l.min_y)+((_=a==null?void 0:a.noise)===null||_===void 0?void 0:_.height)>2047&&s.add(r.push("noise").push("height"),"error.min_y_plus_height",2047),((d=a==null?void 0:a.noise)===null||d===void 0?void 0:d.height)%16!==0&&s.add(r.push("noise").push("height"),"error.height_multiple",16),((u=a==null?void 0:a.noise)===null||u===void 0?void 0:u.min_y)%16!==0&&s.add(r.push("noise").push("min_y"),"error.min_y_multiple",16),a}}))),e.register("noise_slider",(0,Mt.ObjectNode)({target:(0,Mt.NumberNode)(),size:(0,Mt.NumberNode)({integer:!0,min:0}),offset:(0,Mt.NumberNode)({integer:!0})})),e.register("generator_layer",(0,Mt.Mod)((0,Mt.ObjectNode)({block:i({validator:"resource",params:{pool:"block"}}),height:(0,Mt.NumberNode)({integer:!0,min:1})}),{default:()=>({block:"minecraft:stone",height:1})})),e.register("terrain_shaper",(0,Mt.Mod)((0,Mt.ObjectNode)({offset:n("terrain_spline"),factor:n("terrain_spline"),jaggedness:n("terrain_spline")},{context:"terrain_shaper"}),{default:()=>({offset:0,factor:0,jaggedness:0})})),e.register("terrain_spline",(0,Mt.Mod)((0,Mt.ChoiceNode)([{type:"number",node:(0,Mt.NumberNode)()},{type:"object",node:(0,Mt.ObjectNode)({coordinate:(0,Mt.Mod)(i({enum:["continents","erosion","weirdness","ridges"]}),{default:()=>"continents"}),points:(0,Mt.ListNode)((0,Mt.ObjectNode)({location:(0,Mt.NumberNode)(),derivative:(0,Mt.NumberNode)(),value:n("terrain_spline")}))},{category:"function"})}],{context:"terrain_spline",choiceContext:"terrain_spline"}),{default:()=>0}))}v_.initNoiseSettingsSchemas=tI;var S_={};Object.defineProperty(S_,"__esModule",{value:!0});S_.initStructureFeatureSchemas=void 0;const ri=j,nI=Ii,iI=gf;function rI(e,t){const n=ri.StringNode.bind(void 0,t),i=ri.Reference.bind(void 0,e),o={start_pool:n({validator:"resource",params:{pool:"$worldgen/template_pool"}}),size:(0,ri.NumberNode)({integer:!0})};e.register("configured_structure_feature",(0,ri.Mod)((0,ri.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_feature"}}),biomes:(0,nI.Tag)({resource:"$worldgen/biome"}),adapt_noise:(0,ri.Opt)((0,ri.BooleanNode)()),spawn_overrides:(0,ri.MapNode)(n({enum:"mob_category"}),(0,ri.ObjectNode)({bounding_box:n({enum:["piece","full"]}),spawns:iI.MobCategorySpawnSettings})),config:(0,ri.ObjectNode)({[ri.Switch]:["pop",{push:"type"}],[ri.Case]:{"minecraft:bastion_remnant":o,"minecraft:buried_treasure":{probability:(0,ri.NumberNode)({min:0,max:1})},"minecraft:mineshaft":{type:n({enum:["normal","mesa"]}),probability:(0,ri.NumberNode)({min:0,max:1})},"minecraft:nether_fossil":{height:i("height_provider")},"minecraft:ocean_ruin":{biome_temp:n({enum:["cold","warm"]}),large_probability:(0,ri.NumberNode)({min:0,max:1}),cluster_probability:(0,ri.NumberNode)({min:0,max:1})},"minecraft:pillager_outpost":o,"minecraft:ruined_portal":{portal_type:n({enum:["standard","desert","jungle","mountain","nether","ocean","swamp"]})},"minecraft:shipwreck":{is_beached:(0,ri.Opt)((0,ri.BooleanNode)())},"minecraft:village":o}},{context:"structure_feature",disableSwitchContext:!0})},{context:"structure_feature"}),{default:()=>({type:"minecraft:bastion_remnant",config:{start_pool:"minecraft:bastion/starts",size:6}})}))}S_.initStructureFeatureSchemas=rI;var y_={};Object.defineProperty(y_,"__esModule",{value:!0});y_.initStructureSetSchemas=void 0;const kn=j,oI=Ii;function aI(e,t){const n=kn.StringNode.bind(void 0,t),i=kn.Reference.bind(void 0,e);e.register("structure_set",(0,kn.ObjectNode)({structures:(0,kn.ListNode)((0,kn.ObjectNode)({structure:(0,oI.Tag)({resource:"$worldgen/configured_structure_feature"}),weight:(0,kn.NumberNode)({integer:!0,min:1})})),placement:i("structure_placement")},{context:"structure_set"})),e.register("structure_placement",(0,kn.Mod)((0,kn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_placement"}}),[kn.Switch]:[{push:"type"}],[kn.Case]:{"minecraft:concentric_rings":{distance:(0,kn.NumberNode)({integer:!0,min:0,max:1023}),spread:(0,kn.NumberNode)({integer:!0,min:0,max:1023}),count:(0,kn.NumberNode)({integer:!0,min:1,max:4095})},"minecraft:random_spread":{spread_type:(0,kn.Opt)(n({enum:["linear","triangular"]})),spacing:(0,kn.NumberNode)({integer:!0,min:0,max:4096}),separation:(0,kn.Mod)((0,kn.NumberNode)({integer:!0,min:0,max:4096}),o=>({validate:(r,a,s,c)=>(r.pop().push("spacing").get()<=a&&s.add(r,"error.separation_smaller_spacing"),o.validate(r,a,s,c))})),salt:(0,kn.NumberNode)({integer:!0,min:0}),locate_offset:(0,kn.Opt)((0,kn.ListNode)((0,kn.NumberNode)({integer:!0,min:-16,max:16}),{minLength:3,maxLength:3}))}}},{context:"structure_placement"}),{default:()=>({type:"minecraft:random_spread",spacing:10,separation:5,salt:Math.floor(Math.random()*2147483647)})}))}y_.initStructureSetSchemas=aI;var N_={};Object.defineProperty(N_,"__esModule",{value:!0});N_.initSurfaceRuleSchemas=void 0;const Tn=j;function sI(e,t){const n=Tn.StringNode.bind(void 0,t),i=Tn.Reference.bind(void 0,e);e.register("material_rule",(0,Tn.Mod)((0,Tn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_rule"}}),[Tn.Switch]:[{push:"type"}],[Tn.Case]:{"minecraft:block":{result_state:i("block_state")},"minecraft:condition":{if_true:i("material_condition"),then_run:i("material_rule")},"minecraft:sequence":{sequence:(0,Tn.ListNode)(i("material_rule"))}}},{context:"material_rule",category:"pool"}),{default:()=>({type:"minecraft:block",result_state:{Name:"minecraft:stone"}})})),e.register("material_condition",(0,Tn.Mod)((0,Tn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_condition"}}),[Tn.Switch]:[{push:"type"}],[Tn.Case]:{"minecraft:biome":{biome_is:(0,Tn.ListNode)(n({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:noise_threshold":{noise:n({validator:"resource",params:{pool:"$worldgen/noise"}}),min_threshold:(0,Tn.NumberNode)(),max_threshold:(0,Tn.NumberNode)()},"minecraft:not":{invert:i("material_condition")},"minecraft:stone_depth":{offset:(0,Tn.NumberNode)({integer:!0}),surface_type:n({enum:"cave_surface"}),add_surface_depth:(0,Tn.BooleanNode)(),secondary_depth_range:(0,Tn.NumberNode)({integer:!0})},"minecraft:vertical_gradient":{random_name:n(),true_at_and_below:i("vertical_anchor"),false_at_and_above:i("vertical_anchor")},"minecraft:water":{offset:(0,Tn.NumberNode)({integer:!0}),surface_depth_multiplier:(0,Tn.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,Tn.BooleanNode)()},"minecraft:y_above":{anchor:i("vertical_anchor"),surface_depth_multiplier:(0,Tn.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,Tn.BooleanNode)()}}},{context:"material_condition"}),{default:()=>({type:"minecraft:biome",is_biome:"minecraft:plains"})}))}N_.initSurfaceRuleSchemas=sI;var C_={};Object.defineProperty(C_,"__esModule",{value:!0});C_.initTemplatePoolSchemas=void 0;const Pi=j,_g=ta;function lI(e,t){const n=Pi.Reference.bind(void 0,e),i=Pi.StringNode.bind(void 0,t);e.register("template_pool",(0,Pi.Mod)((0,Pi.ObjectNode)({name:i(),fallback:i(),elements:(0,Pi.ListNode)(n("template_weighted_element"))},{context:"template_pool"}),{default:()=>({fallback:"minecraft:empty",elements:[{weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}}]})})),e.register("template_weighted_element",(0,Pi.Mod)((0,Pi.ObjectNode)({weight:(0,Pi.NumberNode)({integer:!0,min:1}),element:n("template_element")},{category:"pool"}),{default:()=>({weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}})})),e.register("template_element",(0,Pi.Mod)((0,Pi.ObjectNode)({element_type:i({validator:"resource",params:{pool:"worldgen/structure_pool_element"}}),projection:i({enum:["rigid","terrain_matching"]}),[Pi.Switch]:[{push:"element_type"}],[Pi.Case]:{"minecraft:feature_pool_element":{feature:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},"minecraft:legacy_single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:_g.Processors},"minecraft:list_pool_element":{elements:(0,Pi.ListNode)(n("template_element"))},"minecraft:single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:_g.Processors}}},{context:"template_element",disableSwitchContext:!0}),{default:()=>({element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"})}))}C_.initTemplatePoolSchemas=lI;Object.defineProperty(h_,"__esModule",{value:!0});h_.initWorldgenSchemas=void 0;const cI=gf,dI=g_,uI=b_,_I=bf,mI=E_,pI=v_,fI=ta,hI=S_,gI=y_,bI=N_,EI=C_;function vI(e,t){(0,fI.initProcessorListSchemas)(e,t),(0,_I.initDensityFunctionSchemas)(e,t),(0,cI.initBiomeSchemas)(e,t),(0,dI.initCarverSchemas)(e,t),(0,uI.initDecoratorSchemas)(e,t),(0,mI.initFeatureSchemas)(e,t),(0,pI.initNoiseSettingsSchemas)(e,t),(0,hI.initStructureFeatureSchemas)(e,t),(0,gI.initStructureSetSchemas)(e,t),(0,bI.initSurfaceRuleSchemas)(e,t),(0,EI.initTemplatePoolSchemas)(e,t)}h_.initWorldgenSchemas=vI;var A_={};Object.defineProperty(A_,"__esModule",{value:!0});A_.initWorldSettingsSchemas=void 0;const Do=j;function SI(e,t){const n=Do.Reference.bind(void 0,e),i=Do.StringNode.bind(void 0,t);e.register("world_settings",(0,Do.Mod)((0,Do.ObjectNode)({generate_features:(0,Do.BooleanNode)(),bonus_chest:(0,Do.BooleanNode)(),seed:(0,Do.NumberNode)({integer:!0}),dimensions:(0,Do.MapNode)(i({validator:"resource",params:{pool:"$dimension"}}),n("dimension"))},{context:"world_settings"}),{default:()=>{const o=Math.floor(Math.random()*4294967296)-2147483648;return{generate_features:!0,bonus_chest:!1,seed:o,dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:overworld"},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:nether"},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:the_end",seed:o},settings:"minecraft:end"}}}}}}))}A_.initWorldSettingsSchemas=SI;Object.defineProperty(t_,"__esModule",{value:!0});t_.initSchemas=void 0;const yI=n_,NI=i_,CI=Ii,AI=a_,OI=s_,TI=l_,wI=c_,RI=d_,xI=u_,DI=__,II=m_,kI=p_,MI=f_,LI=h_,FI=A_;function PI(e,t){(0,CI.initCommonSchemas)(e,t),(0,yI.initAdvancementSchemas)(e,t),(0,NI.initAssetsSchemas)(e,t),(0,AI.initConditionSchemas)(e,t),(0,TI.initDimensionTypeSchemas)(e,t),(0,OI.initDimensionSchemas)(e,t),(0,wI.initItemModifierSchemas)(e,t),(0,RI.initLootTableSchemas)(e,t),(0,xI.initPackMcmetaSchemas)(e,t),(0,DI.initPredicatesSchemas)(e,t),(0,II.initRecipeSchemas)(e,t),(0,kI.initTagsSchemas)(e,t),(0,MI.initTextComponentSchemas)(e,t),(0,LI.initWorldgenSchemas)(e,t),(0,FI.initWorldSettingsSchemas)(e,t)}t_.initSchemas=PI;var BI=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),$I=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),UI=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&BI(t,e,n);return $I(t,e),t};Object.defineProperty(mo,"__esModule",{value:!0});var pv=mo.getSchemas=gv=mo.getCollections=hv=mo.lootContext=void 0;const fv=j,GI=e_,zI=t_;var hv=mo.lootContext=UI(ji);function YI(){const e=new fv.CollectionRegistry;return(0,GI.initCollections)(e),e}var gv=mo.getCollections=YI;function HI(e){const t=new fv.SchemaRegistry;return(0,zI.initSchemas)(t,e),t}pv=mo.getSchemas=HI;var VI=Ns({__proto__:null,get getSchemas(){return pv},get getCollections(){return gv},get lootContext(){return hv},default:mo},[mo]),po={},O_={};Object.defineProperty(O_,"__esModule",{value:!0});O_.initCollections=void 0;function WI(e){e.register("advancement_trigger",["minecraft:allay_drop_item_on_block","minecraft:avoid_vibration","minecraft:bee_nest_destroyed","minecraft:bred_animals","minecraft:brewed_potion","minecraft:changed_dimension","minecraft:channeled_lightning","minecraft:construct_beacon","minecraft:consume_item","minecraft:cured_zombie_villager","minecraft:effects_changed","minecraft:enchanted_item","minecraft:enter_block","minecraft:entity_hurt_player","minecraft:entity_killed_player","minecraft:fall_from_height","minecraft:filled_bucket","minecraft:fishing_rod_hooked","minecraft:hero_of_the_village","minecraft:impossible","minecraft:inventory_changed","minecraft:item_durability_changed","minecraft:item_used_on_block","minecraft:kill_mob_near_sculk_catalyst","minecraft:killed_by_crossbow","minecraft:levitation","minecraft:lightning_strike","minecraft:location","minecraft:nether_travel","minecraft:placed_block","minecraft:player_generates_container_loot","minecraft:player_hurt_entity","minecraft:player_interacted_with_entity","minecraft:player_killed_entity","minecraft:recipe_unlocked","minecraft:ride_entity_in_lava","minecraft:shot_crossbow","minecraft:slept_in_bed","minecraft:slide_down_block","minecraft:started_riding","minecraft:summoned_entity","minecraft:tame_animal","minecraft:target_hit","minecraft:tick","minecraft:thrown_item_picked_up_by_entity","minecraft:thrown_item_picked_up_by_player","minecraft:used_ender_eye","minecraft:used_totem","minecraft:using_item","minecraft:villager_trade","minecraft:voluntary_exile"]),e.register("keybind",["key.advancements","key.attack","key.back","key.chat","key.command","key.drop","key.forward","key.fullscreen","key.hotbar.1","key.hotbar.2","key.hotbar.3","key.hotbar.4","key.hotbar.5","key.hotbar.6","key.hotbar.7","key.hotbar.8","key.hotbar.9","key.inventory","key.jump","key.left","key.loadToolbarActivator","key.pickItem","key.playerlist","key.right","key.saveToolbarActivator","key.screenshot","key.smoothCamera","key.sneak","key.spectatorOutlines","key.sprint","key.swapOffhand","key.togglePerspective","key.use"]),e.register("slot",["mainhand","offhand","head","chest","legs","feet"]),e.register("gamemode",["survival","creative","adventure","spectator"]),e.register("entity_source",["this","killer","direct_killer","killer_player"]),e.register("copy_source",["block_entity","this","killer","killer_player"]),e.register("loot_table_apply_bonus_formula",["minecraft:uniform_bonus_count","minecraft:binomial_with_bonus_count","minecraft:ore_drops"]),e.register("map_decoration",["mansion","monument","player","frame","red_marker","blue_marker","target_x","target_point","player_off_map","player_off_limits","red_x","banner_white","banner_orange","banner_magenta","banner_light_blue","banner_yellow","banner_lime","banner_pink","banner_gray","banner_light_gray","banner_cyan","banner_purple","banner_blue","banner_brown","banner_green","banner_red","banner_black"]),e.register("map_feature",["bastion_remnant","buried_treasure","desert_pyramid","endcity","fortress","igloo","jungle_pyramid","mansion","mineshaft","monument","nether_fossil","ocean_ruin","pillager_outpost","ruined_portal","shipwreck","stronghold","swamp_hut","village"]),e.register("recipe_group",["bed","light_gray_dye","iron_ingot","wooden_stairs","black_dye","stained_terracotta","dyed_bed","magenta_dye","bark","rabbit_stew","light_blue_dye","wooden_fence_gate","planks","stained_glass","wooden_door","stained_glass_pane","wooden_fence","sticks","concrete_powder","wooden_pressure_plate","boat","brown_dye","yellow_dye","bonemeal","red_dye","wooden_trapdoor","wooden_button","gold_ingot","pink_dye","wooden_slab","orange_dye","carpet","sign","wool","sugar","blue_dye","white_dye","banner","netherite_ingot"]),e.register("biome_category",["beach","desert","extreme_hills","forest","icy","jungle","mesa","mountain","mushroom","nether","none","ocean","plains","river","savanna","swamp","taiga","the_end","underground"]),e.register("heightmap_type",["MOTION_BLOCKING","MOTION_BLOCKING_NO_LEAVES","OCEAN_FLOOR","OCEAN_FLOOR_WG","WORLD_SURFACE","WORLD_SURFACE_WG"]),e.register("generation_step",["air","liquid"]),e.register("decoration_step",["raw_generation","lakes","local_modifications","underground_structures","surface_structures","strongholds","underground_ores","underground_decoration","fluid_springs","vegetal_decoration","top_layer_modification"]),e.register("loot_context_type",["minecraft:empty","minecraft:chest","minecraft:command","minecraft:selector","minecraft:fishing","minecraft:entity","minecraft:gift","minecraft:barter","minecraft:advancement_reward","minecraft:advancement_entity","minecraft:generic","minecraft:block"]),e.register("banner_pattern",["base","square_bottom_left","square_bottom_right","square_top_left","square_top_right","stripe_bottom","stripe_top","stripe_left","stripe_right","stripe_center","stripe_middle","stripe_downright","stripe_downleft","small_stripes","cross","straight_cross","triangle_bottom","triangle_top","triangles_bottom","triangles_top","diagonal_left","diagonal_up_right","diagonal_up_left","diagonal_right","circle","rhombus","half_vertical","half_horizontal","half_vertical_right","half_horizontal_bottom","border","curly_border","gradient","gradient_up","bricks","globe","creeper","skull","flower","mojang","piglin"]),e.register("dye_color",["white","orange","magenta","light_blue","yellow","lime","pink","gray","light_gray","cyan","purple","blue","brown","green","red","black"]),e.register("cave_surface",["floor","ceiling"]),e.register("direction",["down","up","north","east","south","west"]),e.register("axis",["x","y","z"]),e.register("display_position",["firstperson_righthand","firstperson_lefthand","thirdperson_righthand","thirdperson_lefthand","gui","head","ground","fixed"]),e.register("gui_light",["front","side"]),e.register("item_model_predicates",["angle","blocking","broken","cast","charged","cooldown","custom_model_data","damage","damaged","firework","lefthanded","pull","pulling","throwing","time"]),e.register("mob_category",["monster","creature","ambient","axolotls","underground_water_creature","water_creature","water_ambient","misc"])}O_.initCollections=WI;var T_={},w_={};Object.defineProperty(w_,"__esModule",{value:!0});w_.initAdvancementSchemas=void 0;const Se=j;function jI(e,t){const n=Se.Reference.bind(void 0,e),i=Se.StringNode.bind(void 0,t),o=(0,Se.ChoiceNode)([{type:"object",node:(0,Se.Opt)(n("entity_predicate")),change:r=>{var a,s;return(s=(a=r[0])===null||a===void 0?void 0:a.predicate)!==null&&s!==void 0?s:{}}},{type:"list",node:(0,Se.ListNode)(n("condition")),change:r=>[{condition:"minecraft:entity_properties",predicate:r}]}],{context:"conditions"});e.register("advancement",(0,Se.Mod)((0,Se.ObjectNode)({display:(0,Se.Opt)((0,Se.Mod)((0,Se.ObjectNode)({icon:(0,Se.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),nbt:(0,Se.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}}))}),title:n("text_component"),description:n("text_component"),background:(0,Se.Opt)(i()),frame:(0,Se.Opt)(i({enum:["task","challenge","goal"]})),show_toast:(0,Se.Opt)((0,Se.BooleanNode)()),announce_to_chat:(0,Se.Opt)((0,Se.BooleanNode)()),hidden:(0,Se.Opt)((0,Se.BooleanNode)())}),{default:()=>({icon:{item:"minecraft:stone"},title:"",description:""})})),parent:(0,Se.Opt)(i({validator:"resource",params:{pool:"$advancement"}})),criteria:(0,Se.MapNode)(i(),n("advancement_criteria")),requirements:(0,Se.Opt)((0,Se.ListNode)((0,Se.ListNode)(i()))),rewards:(0,Se.Opt)((0,Se.ObjectNode)({function:(0,Se.Opt)(i({validator:"resource",params:{pool:"$function"}})),loot:(0,Se.Opt)((0,Se.ListNode)(i({validator:"resource",params:{pool:"$loot_table"}}))),recipes:(0,Se.Opt)((0,Se.ListNode)(i({validator:"resource",params:{pool:"$recipe"}}))),experience:(0,Se.Opt)((0,Se.NumberNode)({integer:!0}))}))},{context:"advancement"}),{default:()=>({criteria:{requirement:{trigger:"minecraft:location"}}})})),e.register("advancement_criteria",(0,Se.ObjectNode)({trigger:i({validator:"resource",params:{pool:t.get("advancement_trigger")}}),conditions:(0,Se.Opt)((0,Se.ObjectNode)({player:(0,Se.Mod)(o,{enabled:r=>r.pop().push("trigger").get()!=="minecraft:impossible"}),[Se.Switch]:["pop",{push:"trigger"}],[Se.Case]:{"minecraft:allay_drop_item_on_block":{item:(0,Se.Opt)(n("item_predicate")),location:(0,Se.Opt)(n("location_predicate"))},"minecraft:bee_nest_destroyed":{block:(0,Se.Opt)(i({validator:"resource",params:{pool:"block"}})),num_bees_inside:(0,Se.Opt)((0,Se.NumberNode)({integer:!0})),item:(0,Se.Opt)(n("item_predicate"))},"minecraft:bred_animals":{parent:o,partner:o,child:o},"minecraft:brewed_potion":{potion:(0,Se.Opt)(i({validator:"resource",params:{pool:"potion"}}))},"minecraft:changed_dimension":{from:(0,Se.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),to:(0,Se.Opt)(i({validator:"resource",params:{pool:"$dimension"}}))},"minecraft:channeled_lightning":{victims:(0,Se.Opt)((0,Se.ListNode)(o))},"minecraft:construct_beacon":{level:n("int_bounds")},"minecraft:consume_item":{item:(0,Se.Opt)(n("item_predicate"))},"minecraft:cured_zombie_villager":{villager:o,zombie:o},"minecraft:effects_changed":{effects:(0,Se.Opt)((0,Se.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),(0,Se.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds")}))),source:(0,Se.Opt)(o)},"minecraft:enter_block":{block:(0,Se.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,Se.Opt)((0,Se.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},"minecraft:enchanted_item":{levels:n("int_bounds"),item:(0,Se.Opt)(n("item_predicate"))},"minecraft:entity_hurt_player":{damage:(0,Se.Opt)(n("damage_predicate"))},"minecraft:entity_killed_player":{entity:o,killing_blow:(0,Se.Opt)(n("damage_source_predicate"))},"minecraft:fall_from_height":{start_position:(0,Se.Opt)(n("location_predicate")),distance:(0,Se.Opt)(n("distance_predicate"))},"minecraft:filled_bucket":{item:(0,Se.Opt)(n("item_predicate"))},"minecraft:fishing_rod_hooked":{entity:o,item:(0,Se.Opt)(n("item_predicate"))},"minecraft:inventory_changed":{slots:(0,Se.Opt)((0,Se.ObjectNode)({empty:n("int_bounds"),occupied:n("int_bounds"),full:n("int_bounds")})),items:(0,Se.Opt)((0,Se.ListNode)(n("item_predicate")))},"minecraft:item_durability_changed":{delta:n("int_bounds"),durability:n("int_bounds"),item:(0,Se.Opt)(n("item_predicate"))},"minecraft:item_used_on_block":{item:(0,Se.Opt)(n("item_predicate")),location:(0,Se.Opt)(n("location_predicate"))},"minecraft:kill_mob_near_sculk_catalyst":{entity:o,killing_blow:(0,Se.Opt)(n("damage_source_predicate"))},"minecraft:killed_by_crossbow":{unique_entity_types:n("int_bounds"),victims:(0,Se.Opt)((0,Se.ListNode)(o))},"minecraft:levitation":{distance:(0,Se.Opt)(n("distance_predicate")),duration:n("int_bounds")},"minecraft:lightning_strike":{lightning:o,bystander:o},"minecraft:nether_travel":{start_position:(0,Se.Opt)(n("location_predicate")),distance:(0,Se.Opt)(n("distance_predicate"))},"minecraft:placed_block":{block:(0,Se.Opt)(i({validator:"resource",params:{pool:"block"}})),state:(0,Se.Opt)((0,Se.MapNode)(i(),i(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})),item:(0,Se.Opt)(n("item_predicate")),location:(0,Se.Opt)(n("location_predicate"))},"minecraft:player_generates_container_loot":{loot_table:i({validator:"resource",params:{pool:"$loot_table"}})},"minecraft:player_hurt_entity":{damage:(0,Se.Opt)(n("damage_predicate")),entity:o},"minecraft:player_interacted_with_entity":{item:(0,Se.Opt)(n("item_predicate")),entity:o},"minecraft:player_killed_entity":{entity:o,killing_blow:(0,Se.Opt)(n("damage_source_predicate"))},"minecraft:recipe_unlocked":{recipe:i({validator:"resource",params:{pool:"$recipe"}})},"minecraft:ride_entity_in_lava":{start_position:(0,Se.Opt)(n("location_predicate")),distance:(0,Se.Opt)(n("distance_predicate"))},"minecraft:slide_down_block":{block:(0,Se.Opt)(i({validator:"resource",params:{pool:"block"}}))},"minecraft:shot_crossbow":{item:(0,Se.Opt)(n("item_predicate"))},"minecraft:summoned_entity":{entity:o},"minecraft:tame_animal":{entity:o},"minecraft:target_hit":{projectile:o,shooter:o,signal_strength:n("int_bounds")},"minecraft:thrown_item_picked_up_by_entity":{entity:o,item:(0,Se.Opt)(n("item_predicate"))},"minecraft:thrown_item_picked_up_by_player":{entity:o,item:(0,Se.Opt)(n("item_predicate"))},"minecraft:used_ender_eye":{distance:(0,Se.Opt)(n("float_bounds"))},"minecraft:used_totem":{item:(0,Se.Opt)(n("item_predicate"))},"minecraft:using_item":{item:(0,Se.Opt)(n("item_predicate"))},"minecraft:villager_trade":{villager:o,item:(0,Se.Opt)(n("item_predicate"))}}},{context:"criterion"}))},{category:"predicate",context:"criterion"}))}w_.initAdvancementSchemas=jI;var R_={},x_={};Object.defineProperty(x_,"__esModule",{value:!0});x_.initModelSchemas=void 0;const kt=j;function qI(e,t){kt.Reference.bind(void 0,e);const n=kt.StringNode.bind(void 0,t),i=(r,a,s)=>(0,kt.ListNode)((0,kt.NumberNode)({min:a,max:s}),{minLength:r,maxLength:r}),o=(0,kt.ChoiceNode)([{type:"alias",match:r=>typeof r=="string"&&r.startsWith("#"),node:n(),change:r=>typeof r=="string"?`#${r}`:"#0"},{type:"reference",match:r=>typeof r=="string",node:n({validator:"resource",params:{pool:"$texture"}}),change:r=>typeof r=="string"?r.replace(/^#/,""):""}],{choiceContext:"texture"});e.register("model",(0,kt.Mod)((0,kt.ObjectNode)({parent:(0,kt.Opt)(n({validator:"resource",params:{pool:"$model"}})),ambientocclusion:(0,kt.Opt)((0,kt.BooleanNode)()),gui_light:(0,kt.Opt)(n({enum:"gui_light"})),textures:(0,kt.Opt)((0,kt.MapNode)(n(),o)),elements:(0,kt.Opt)((0,kt.ListNode)((0,kt.ObjectNode)({from:i(3,-16,32),to:i(3,-16,32),rotation:(0,kt.Opt)((0,kt.ObjectNode)({origin:i(3),axis:n({enum:"axis"}),angle:(0,kt.NumberEnum)({values:[-45,-22.5,0,22.5,45]}),rescale:(0,kt.Opt)((0,kt.BooleanNode)())})),shade:(0,kt.Opt)((0,kt.BooleanNode)()),faces:(0,kt.MapNode)(n({enum:"direction"}),(0,kt.ObjectNode)({texture:o,uv:(0,kt.Opt)(i(4)),cullface:(0,kt.Opt)(n({enum:"direction"})),rotation:(0,kt.Opt)((0,kt.NumberNode)({integer:!0})),tintindex:(0,kt.Opt)((0,kt.NumberNode)({integer:!0}))}))},{context:"model_element"}))),display:(0,kt.Opt)((0,kt.MapNode)(n({enum:"display_position"}),(0,kt.ObjectNode)({rotation:i(3),translation:i(3,-80,80),scale:i(3,-4,4)},{context:"item_transform"}))),overrides:(0,kt.Opt)((0,kt.ListNode)((0,kt.ObjectNode)({predicate:(0,kt.MapNode)(n({enum:"item_model_predicates"}),(0,kt.NumberNode)()),model:n({validator:"resource",params:{pool:"$model"}})},{context:"model_override"})))},{context:"model"}),{default:()=>({parent:"minecraft:item/generated",textures:{layer0:"minecraft:item/diamond"}})}))}x_.initModelSchemas=qI;var D_={};Object.defineProperty(D_,"__esModule",{value:!0});D_.initBlockDefinitionSchemas=void 0;const fn=j;function KI(e,t){const n=fn.Reference.bind(void 0,e),i=fn.StringNode.bind(void 0,t);e.register("block_definition",(0,fn.Mod)((0,fn.ChoiceNode)([{type:"variants",match:r=>r.variants!==void 0,node:(0,fn.ObjectNode)({variants:(0,fn.MapNode)(i(),n("model_variant"))}),change:r=>({variants:{"":{}}})},{type:"multipart",match:r=>r.multipart!==void 0,node:(0,fn.ObjectNode)({multipart:(0,fn.ListNode)((0,fn.ObjectNode)({when:(0,fn.Opt)(n("multipart_condition")),apply:n("model_variant")}))}),change:r=>({multipart:{when:{},apply:{}}})}],{context:"block_definition"}),{default:()=>({variants:{"":{model:"minecraft:block/stone"}}})}));const o={model:i({validator:"resource",params:{pool:"$model"}}),x:(0,fn.Opt)((0,fn.NumberEnum)({integer:!0,values:[0,90,180,270]})),y:(0,fn.Opt)((0,fn.NumberEnum)({integer:!0,values:[0,90,180,270]})),uvlock:(0,fn.Opt)((0,fn.BooleanNode)())};e.register("model_variant",(0,fn.ChoiceNode)([{type:"object",node:(0,fn.ObjectNode)(o),change:r=>Array.isArray(r)&&r.length>0?r[0]:{}},{type:"list",node:(0,fn.ListNode)((0,fn.ObjectNode)(qe(H({},o),{weight:(0,fn.Opt)((0,fn.NumberNode)({integer:!0,min:1}))}),{context:"model_variant"})),change:r=>[H({weight:1},r)]}],{context:"model_variant"})),e.register("multipart_condition",(0,fn.ChoiceNode)([{type:"object",priority:-1,match:()=>!0,node:(0,fn.MapNode)(i(),i()),change:r=>typeof r=="object"&&Array.isArray(r==null?void 0:r.OR)&&r.OR.length>0?r.OR[0]:{}},{type:"or",match:r=>typeof r=="object"&&(r==null?void 0:r.OR)!==void 0,node:(0,fn.ObjectNode)({OR:(0,fn.ListNode)(n("multipart_condition"))}),change:r=>({OR:[r!=null?r:{}]})}],{context:"multipart_condition"}))}D_.initBlockDefinitionSchemas=KI;Object.defineProperty(R_,"__esModule",{value:!0});R_.initAssetsSchemas=void 0;const QI=x_,XI=D_;function ZI(e,t){(0,XI.initBlockDefinitionSchemas)(e,t),(0,QI.initModelSchemas)(e,t)}R_.initAssetsSchemas=ZI;var I_={};Object.defineProperty(I_,"__esModule",{value:!0});I_.initChatTypeSchemas=void 0;const pi=j;function JI(e,t){const n=pi.Reference.bind(void 0,e),i=pi.StringNode.bind(void 0,t);e.register("chat_type",(0,pi.Mod)((0,pi.ObjectNode)({chat:(0,pi.Opt)((0,pi.ObjectNode)({decoration:(0,pi.Opt)(n("text_decoration"))})),overlay:(0,pi.Opt)((0,pi.ObjectNode)({decoration:(0,pi.Opt)(n("text_decoration"))})),narration:(0,pi.Opt)((0,pi.ObjectNode)({decoration:(0,pi.Opt)(n("text_decoration")),priority:i({enum:["chat","system"]})}))},{context:"chat_type"}),{default:()=>({chat:{decoration:{parameters:["sender","content"],translation_key:"chat.type.text",style:{}}}})})),e.register("text_decoration",(0,pi.Mod)((0,pi.ObjectNode)({translation_key:i(),parameters:(0,pi.ListNode)(i({enum:["sender","team_name","content"]})),style:n("text_style")},{context:"text_decoration"}),{default:()=>({translation_key:"chat.type.text",parameters:["sender","content"],style:{}})}))}I_.initChatTypeSchemas=JI;var yi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initCommonSchemas=e.Tag=e.InclusiveRange=e.IntProvider=e.FloatProvider=e.NoiseSettingsPresets=e.DefaultNoiseSettings=e.DimensionTypePresets=e.DefaultDimensionType=e.FunctionCases=e.ConditionCases=void 0;const t=j;e.DefaultDimensionType={ultrawarm:!1,natural:!0,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!0,has_raids:!0,has_skylight:!0,has_ceiling:!1,coordinate_scale:1,ambient_light:0,logical_height:256,infiniburn:"#minecraft:infiniburn_overworld",min_y:0,height:256},e.DefaultNoiseSettings={sea_level:63,ore_veins_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,legacy_random_source:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}};function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);i.register("block_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"block"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"Name"}]}}}))},{context:"block_state"}),{default:()=>({Name:"minecraft:stone"})})),i.register("fluid_state",(0,t.Mod)((0,t.ObjectNode)({Name:r({validator:"resource",params:{pool:"fluid"}}),Properties:(0,t.Opt)((0,t.MapNode)(r(),r()))},{context:"fluid_state"}),{default:()=>({Name:"minecraft:water",Properties:{level:"0"}})})),i.register("block_pos",(0,t.Mod)((0,t.ListNode)((0,t.NumberNode)({integer:!0}),{minLength:3,maxLength:3}),{default:()=>[0,0,0]}));const s=l=>(0,t.Opt)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)({integer:l}),change:_=>{var d,u;return _===void 0?0:(u=(d=_.min)!==null&&d!==void 0?d:_.max)!==null&&u!==void 0?u:0}},{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)((0,t.NumberNode)({integer:l})),max:(0,t.Opt)((0,t.NumberNode)({integer:l}))},{context:"range"}),change:_=>({min:_!=null?_:0,max:_!=null?_:0})}]));i.register("int_bounds",s(!0)),i.register("float_bounds",s()),i.register("int_range",(0,t.ChoiceNode)([{type:"object",node:(0,t.ObjectNode)({min:(0,t.Opt)(a("number_provider")),max:(0,t.Opt)(a("number_provider"))})},{type:"number",node:(0,t.NumberNode)({integer:!0})}],{context:"range"}));const c=(l,_,d,u,m,f,p)=>{let h={};m&&Object.keys(p[m]).forEach(v=>{h[v]=(0,t.Mod)(p[m][v],{enabled:E=>E.push("type").get()===void 0})});const b=(0,t.ObjectNode)(H({type:(0,t.Mod)((0,t.Opt)(r({validator:"resource",params:{pool:l}})),{hidden:()=>!0}),[t.Switch]:[{push:"type"}],[t.Case]:p},h),{context:f,disableSwitchContext:!0}),g=[{type:_,node:p[u][d]}];return m&&g.push({type:"object",priority:-1,node:b}),Object.keys(p).forEach(v=>{g.push({type:v,match:E=>{var S;if("minecraft:"+((S=E==null?void 0:E.type)===null||S===void 0?void 0:S.replace(/^minecraft:/,""))===v)return!0;const C=E?Object.keys(E):[];return typeof E=="object"&&((C==null?void 0:C.length)===0||(C==null?void 0:C.length)===1&&(C==null?void 0:C[0])==="type")},node:b,change:E=>({type:v})})}),(0,t.ChoiceNode)(g,{context:f,choiceContext:`${f}.type`})};i.register("number_provider",c("loot_number_provider_type","number","value","minecraft:constant","minecraft:uniform","number_provider",{"minecraft:constant":{value:(0,t.NumberNode)()},"minecraft:uniform":{min:a("number_provider"),max:a("number_provider")},"minecraft:binomial":{n:a("number_provider"),p:a("number_provider")},"minecraft:score":{target:a("scoreboard_name_provider"),score:r({validator:"objective"}),scale:(0,t.Opt)((0,t.NumberNode)())}})),i.register("scoreboard_name_provider",c("loot_score_provider_type","string","target","minecraft:context",null,"score_provider",{"minecraft:fixed":{name:r({validator:"entity",params:{amount:"multiple",type:"entities",isScoreHolder:!0}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"entity_source"}),{default:()=>"this"})}})),i.register("nbt_provider",c("loot_nbt_provider_type","string","target","minecraft:context",null,"nbt_provider",{"minecraft:storage":{source:r({validator:"resource",params:{pool:"$storage"}})},"minecraft:context":{target:(0,t.Mod)(r({enum:"copy_source"}),{default:()=>"this"})}})),e.FloatProvider=l=>c("float_provider_type","number","value","minecraft:constant",null,"float_provider",{"minecraft:constant":{value:(0,t.NumberNode)(l)},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(l),max_exclusive:(0,t.NumberNode)(l)})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:trapezoid":{value:(0,t.ObjectNode)({min:(0,t.NumberNode)(),max:(0,t.NumberNode)(),plateau:(0,t.NumberNode)()})}}),i.register("float_provider",(0,e.FloatProvider)()),e.IntProvider=l=>c("int_provider_type","number","value","minecraft:constant",null,"int_provider",{"minecraft:constant":{value:(0,t.NumberNode)(H({integer:!0},l))},"minecraft:uniform":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:biased_to_bottom":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l))})},"minecraft:clamped":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l)),source:a("int_provider")})},"minecraft:clamped_normal":{value:(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(H({integer:!0},l)),max_inclusive:(0,t.NumberNode)(H({integer:!0},l)),mean:(0,t.NumberNode)(),deviation:(0,t.NumberNode)()})},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:a("int_provider")}))}}),i.register("int_provider",(0,e.IntProvider)()),i.register("vertical_anchor",(0,t.ChoiceNode)(["absolute","above_bottom","below_top"].map(l=>({type:l,match:_=>(_==null?void 0:_[l])!==void 0,change:_=>{var d,u,m;return{[l]:(m=(u=(d=_.absolute)!==null&&d!==void 0?d:_.above_bottom)!==null&&u!==void 0?u:_.below_top)!==null&&m!==void 0?m:0}},node:(0,t.ObjectNode)({[l]:(0,t.NumberNode)({integer:!0,min:-2048,max:2047})})})),{context:"vertical_anchor"})),i.register("height_provider",c("height_provider_type","number","value","minecraft:constant",null,"height_provider",{"minecraft:constant":{value:a("vertical_anchor")},"minecraft:uniform":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor")},"minecraft:biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:very_biased_to_bottom":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),inner:(0,t.Opt)((0,t.NumberNode)({integer:!0,min:1}))},"minecraft:trapezoid":{min_inclusive:a("vertical_anchor"),max_inclusive:a("vertical_anchor"),plateau:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:weighted_list":{distribution:(0,t.ListNode)((0,t.ObjectNode)({weight:(0,t.NumberNode)({integer:!0}),data:a("int_provider")}))}})),e.InclusiveRange=l=>(0,t.ObjectNode)({min_inclusive:(0,t.NumberNode)(l),max_inclusive:(0,t.NumberNode)(l)},{context:"range"}),i.register("noise_parameters",(0,t.Mod)((0,t.ObjectNode)({firstOctave:(0,t.NumberNode)({integer:!0}),amplitudes:(0,t.ListNode)((0,t.NumberNode)())},{context:"noise_parameters"}),{default:()=>({firstOctave:-7,amplitudes:[1,1]})})),e.Tag=l=>(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:l.resource,allowTag:!0}}),change:_=>{if(Array.isArray(_)&&typeof _[0]=="string"&&!_[0].startsWith("#"))return _[0]}},{type:"list",node:(0,t.ListNode)(l.inlineSchema?(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:l.resource}})},{type:"object",node:a(l.inlineSchema)}],{choiceContext:"tag.list"}):r({validator:"resource",params:{pool:l.resource}})),change:_=>typeof _=="string"&&!_.startsWith("#")?[_]:[]}],{choiceContext:"tag"}),e.ConditionCases=(l=r({enum:"entity_source"}))=>({"minecraft:alternative":{terms:(0,t.ListNode)(a("condition"))},"minecraft:block_state_property":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.MapNode)(r(),r(),{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}})},"minecraft:damage_source_properties":{predicate:a("damage_source_predicate")},"minecraft:entity_properties":{entity:l,predicate:a("entity_predicate")},"minecraft:entity_scores":{entity:l,scores:(0,t.MapNode)(r({validator:"objective"}),a("int_range"))},"minecraft:inverted":{term:a("condition")},"minecraft:killed_by_player":{inverse:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:location_check":{offsetX:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetY:(0,t.Opt)((0,t.NumberNode)({integer:!0})),offsetZ:(0,t.Opt)((0,t.NumberNode)({integer:!0})),predicate:a("location_predicate")},"minecraft:match_tool":{predicate:a("item_predicate")},"minecraft:random_chance":{chance:(0,t.NumberNode)({min:0,max:1})},"minecraft:random_chance_with_looting":{chance:(0,t.NumberNode)({min:0,max:1}),looting_multiplier:(0,t.NumberNode)()},"minecraft:reference":{name:r({validator:"resource",params:{pool:"$predicate"}})},"minecraft:table_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),chances:(0,t.ListNode)((0,t.NumberNode)({min:0,max:1}))},"minecraft:time_check":{value:a("int_range"),period:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:value_check":{value:a("number_provider"),range:a("int_range")},"minecraft:weather_check":{raining:(0,t.Opt)((0,t.BooleanNode)()),thundering:(0,t.Opt)((0,t.BooleanNode)())}}),e.FunctionCases=(l,_=r({enum:"copy_source"}),d=r({enum:"entity_source"}))=>{const u={"minecraft:apply_bonus":{enchantment:r({validator:"resource",params:{pool:"enchantment"}}),formula:r({validator:"resource",params:{pool:o.get("loot_table_apply_bonus_formula")}}),parameters:(0,t.Mod)((0,t.ObjectNode)({bonusMultiplier:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:uniform_bonus_count"}),extra:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"}),probability:(0,t.Mod)((0,t.NumberNode)(),{enabled:f=>f.pop().push("formula").get()==="minecraft:binomial_with_bonus_count"})}),{enabled:f=>f.push("formula").get()!=="minecraft:ore_drops"})},"minecraft:copy_name":{source:_},"minecraft:copy_nbt":{source:a("nbt_provider"),ops:(0,t.ListNode)((0,t.ObjectNode)({source:r({validator:"nbt_path",params:{category:{getter:"copy_source",path:["pop","pop","pop",{push:"source"}]}}}),target:r({validator:"nbt_path",params:{category:"minecraft:item"}}),op:r({enum:["replace","append","merge"]})},{context:"nbt_operation"}))},"minecraft:copy_state":{block:r({validator:"resource",params:{pool:"block"}}),properties:(0,t.ListNode)(r({validator:"block_state_key",params:{id:["pop","pop",{push:"block"}]}}))},"minecraft:enchant_randomly":{enchantments:(0,t.Opt)((0,t.ListNode)(r({validator:"resource",params:{pool:"enchantment"}})))},"minecraft:enchant_with_levels":{levels:a("number_provider"),treasure:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:exploration_map":{destination:(0,t.Opt)((0,e.Tag)({resource:"$worldgen/structure"})),decoration:(0,t.Opt)(r({enum:"map_decoration"})),zoom:(0,t.Opt)((0,t.NumberNode)({integer:!0})),search_radius:(0,t.Opt)((0,t.NumberNode)({integer:!0})),skip_existing_chunks:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:fill_player_head":{entity:d},"minecraft:limit_count":{limit:a("int_range")},"minecraft:looting_enchant":{count:a("number_provider"),limit:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_attributes":{modifiers:(0,t.ListNode)(a("attribute_modifier"))},"minecraft:set_banner_pattern":{patterns:(0,t.ListNode)((0,t.ObjectNode)({pattern:r({enum:"banner_pattern"}),color:r({enum:"dye_color"})})),append:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_contents":{type:r({validator:"resource",params:{pool:"block_entity_type"}}),entries:(0,t.ListNode)(a("loot_entry"))},"minecraft:set_count":{count:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_damage":{damage:a("number_provider"),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_enchantments":{enchantments:(0,t.MapNode)(r({validator:"resource",params:{pool:"enchantment"}}),a("number_provider")),add:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_instrument":{options:r({validator:"resource",params:{pool:"instrument",requireTag:!0}})},"minecraft:set_loot_table":{type:r({validator:"resource",params:{pool:"block_entity_type"}}),name:r({validator:"resource",params:{pool:"$loot_table"}}),seed:(0,t.Opt)((0,t.NumberNode)({integer:!0}))},"minecraft:set_lore":{entity:(0,t.Opt)(d),lore:(0,t.ListNode)(a("text_component")),replace:(0,t.Opt)((0,t.BooleanNode)())},"minecraft:set_name":{entity:(0,t.Opt)(d),name:(0,t.Opt)(a("text_component"))},"minecraft:set_nbt":{tag:r({validator:"nbt",params:{registry:{category:"minecraft:item"}}})},"minecraft:set_potion":{id:r({validator:"resource",params:{pool:"potion"}})},"minecraft:set_stew_effect":{effects:(0,t.Opt)((0,t.ListNode)((0,t.ObjectNode)({type:r({validator:"resource",params:{pool:"mob_effect"}}),duration:a("number_provider")})))}},m={};return o.get("loot_function_type").forEach(f=>{m[f]=H(H({},u[f]),l)}),m},e.DimensionTypePresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$dimension_type"}}),l,{"minecraft:overworld":e.DefaultDimensionType,"minecraft:the_nether":{name:"minecraft:the_nether",ultrawarm:!0,natural:!1,shrunk:!0,piglin_safe:!0,respawn_anchor_works:!0,bed_works:!1,has_raids:!1,has_skylight:!1,has_ceiling:!0,ambient_light:.1,fixed_time:18e3,logical_height:128,effects:"minecraft:the_nether",infiniburn:"#minecraft:infiniburn_nether",min_y:0,height:256},"minecraft:the_end":{name:"minecraft:the_end",ultrawarm:!1,natural:!1,shrunk:!1,piglin_safe:!1,respawn_anchor_works:!1,bed_works:!1,has_raids:!0,has_skylight:!1,has_ceiling:!1,ambient_light:0,fixed_time:6e3,logical_height:256,effects:"minecraft:the_end",infiniburn:"#minecraft:infiniburn_end",min_y:0,height:256}}),e.NoiseSettingsPresets=l=>(0,t.ObjectOrPreset)(r({validator:"resource",params:{pool:"$worldgen/noise_settings"}}),l,{"minecraft:overworld":e.DefaultNoiseSettings,"minecraft:nether":{sea_level:32,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:netherrack"},default_fluid:{Properties:{level:"0"},Name:"minecraft:lava"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:end":{sea_level:0,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:end_stone"},default_fluid:{Name:"minecraft:air"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:amplified":{sea_level:63,ore_veins_enabled:!0,disable_mob_generation:!1,aquifers_enabled:!0,legacy_random_source:!1,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:-64,height:384,size_horizontal:1,size_vertical:2,top_slide:{target:-.078125,size:2,offset:8},bottom_slide:{target:.1171875,size:3,offset:0},sampling:{xz_scale:.9999999814507745,y_scale:.9999999814507745,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:caves":{sea_level:32,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:1,size_vertical:2,top_slide:{target:.9375,size:3,offset:0},bottom_slide:{target:2.5,size:4,offset:-1},sampling:{xz_scale:1,y_scale:3,xz_factor:80,y_factor:60},terrain_shaper:{offset:0,factor:0,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}},"minecraft:floating_islands":{sea_level:0,ore_veins_enabled:!1,disable_mob_generation:!1,aquifers_enabled:!1,legacy_random_source:!0,default_block:{Name:"minecraft:stone"},default_fluid:{Properties:{level:"0"},Name:"minecraft:water"},noise:{min_y:0,height:128,size_horizontal:2,size_vertical:1,top_slide:{target:-23.4375,size:64,offset:-46},bottom_slide:{target:-.234375,size:7,offset:1},sampling:{xz_scale:2,y_scale:1,xz_factor:80,y_factor:160},terrain_shaper:{offset:0,factor:1,jaggedness:0}},noise_router:{barrier:0,fluid_level_floodedness:0,fluid_level_spread:0,lava:0,temperature:0,vegetation:0,continents:0,erosion:0,depth:0,ridges:0,initial_density_without_jaggedness:0,final_density:{type:"minecraft:interpolated",argument:"minecraft:overworld/base_3d_noise"},vein_toggle:0,vein_ridged:0,vein_gap:0},surface_rule:{type:"minecraft:sequence",sequence:[]}}})}e.initCommonSchemas=n})(yi);var k_={};Object.defineProperty(k_,"__esModule",{value:!0});k_.initConditionSchemas=void 0;const ha=j,ek=yi;function tk(e,t){const n=ha.Reference.bind(void 0,e),i=ha.StringNode.bind(void 0,t);e.register("predicate",(0,ha.ObjectOrList)(n("condition"),{choiceContext:"condition"})),e.register("condition",(0,ha.Mod)((0,ha.ObjectNode)({condition:i({validator:"resource",params:{pool:"loot_condition_type"}}),[ha.Switch]:[{push:"condition"}],[ha.Case]:(0,ek.ConditionCases)()},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:entity_properties",entity:"this"})}))}k_.initConditionSchemas=tk;var M_={};Object.defineProperty(M_,"__esModule",{value:!0});M_.initDimensionSchemas=void 0;const nn=j,ic=yi;function nk(e,t){const n=nn.Reference.bind(void 0,e),i=nn.StringNode.bind(void 0,t);e.register("dimension",(0,nn.Mod)((0,nn.ObjectNode)({type:(0,ic.DimensionTypePresets)(n("dimension_type")),generator:(0,nn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/chunk_generator"}}),[nn.Switch]:[{push:"type"}],[nn.Case]:{"minecraft:noise":{settings:(0,ic.NoiseSettingsPresets)(n("noise_settings")),biome_source:(0,nn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/biome_source"}}),[nn.Switch]:[{push:"type"}],[nn.Case]:{"minecraft:fixed":{biome:i({validator:"resource",params:{pool:"$worldgen/biome"}})},"minecraft:multi_noise":{preset:(0,nn.Opt)(i({validator:"resource",params:{pool:["minecraft:overworld","minecraft:nether"]}})),biomes:(0,nn.Mod)((0,nn.ListNode)(n("generator_biome")),{enabled:r=>r.push("preset").get()===void 0,default:()=>[{biome:"minecraft:plains"}]})},"minecraft:checkerboard":{scale:(0,nn.Opt)((0,nn.NumberNode)({integer:!0,min:0,max:62})),biomes:(0,ic.Tag)({resource:"$worldgen/biome"})}}},{category:"predicate",disableSwitchContext:!0})},"minecraft:flat":{settings:n("flat_generator_settings")}}},{disableSwitchContext:!0})},{category:"pool",context:"dimension"}),{default:()=>({type:"minecraft:overworld",generator:{type:"minecraft:noise",biome_source:{type:"minecraft:fixed",biome:"minecraft:plains"},settings:"minecraft:overworld"}})})),e.register("flat_generator_settings",(0,nn.ObjectNode)({biome:(0,nn.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),lakes:(0,nn.Opt)((0,nn.BooleanNode)()),features:(0,nn.Opt)((0,nn.BooleanNode)()),layers:(0,nn.ListNode)(n("generator_layer")),structure_overrides:(0,ic.Tag)({resource:"$worldgen/structure_set",inlineSchema:"structure_set"})}));const o=(0,nn.ChoiceNode)([{type:"number",node:(0,nn.NumberNode)({min:-2,max:2}),change:r=>{var a;return(a=r[0])!==null&&a!==void 0?a:0}},{type:"list",node:(0,nn.ListNode)((0,nn.NumberNode)({min:-2,max:2}),{minLength:2,maxLength:2}),change:r=>[r!=null?r:0,r!=null?r:0]}]);e.register("parameter_point",(0,nn.ObjectNode)({temperature:o,humidity:o,continentalness:o,erosion:o,weirdness:o,depth:o,offset:(0,nn.NumberNode)({min:0,max:1})})),e.register("generator_biome",(0,nn.Mod)((0,nn.ObjectNode)({biome:i({validator:"resource",params:{pool:"$worldgen/biome"}}),parameters:n("parameter_point")},{context:"generator_biome"}),{default:()=>({biome:"minecraft:plains",parameters:{temperature:0,humidity:0,continentalness:0,erosion:0,weirdness:0,depth:0,offset:0}})}))}M_.initDimensionSchemas=nk;var L_={};Object.defineProperty(L_,"__esModule",{value:!0});L_.initDimensionTypeSchemas=void 0;const Qn=j,ik=yi;function rk(e,t){const n=Qn.StringNode.bind(void 0,t);e.register("dimension_type",(0,Qn.Mod)((0,Qn.ObjectNode)({ultrawarm:(0,Qn.BooleanNode)(),natural:(0,Qn.BooleanNode)(),piglin_safe:(0,Qn.BooleanNode)(),respawn_anchor_works:(0,Qn.BooleanNode)(),bed_works:(0,Qn.BooleanNode)(),has_raids:(0,Qn.BooleanNode)(),has_skylight:(0,Qn.BooleanNode)(),has_ceiling:(0,Qn.BooleanNode)(),coordinate_scale:(0,Qn.NumberNode)({min:1e-5,max:3e7}),ambient_light:(0,Qn.NumberNode)(),fixed_time:(0,Qn.Opt)((0,Qn.NumberNode)({integer:!0})),logical_height:(0,Qn.NumberNode)({integer:!0,min:0,max:4064}),effects:(0,Qn.Opt)(n({enum:["minecraft:overworld","minecraft:the_nether","minecraft:the_end"]})),infiniburn:n({validator:"resource",params:{pool:"block",requireTag:!0}}),min_y:(0,Qn.NumberNode)({integer:!0,min:-2032,max:2031}),height:(0,Qn.NumberNode)({integer:!0,min:16,max:4064})},{context:"dimension_type"}),i=>({default:()=>ik.DefaultDimensionType,validate:(o,r,a,s)=>(r=i.validate(o,r,a,s),(r==null?void 0:r.min_y)+(r==null?void 0:r.height)>2032&&a.add(o.push("height"),"error.min_y_plus_height",2032),(r==null?void 0:r.logical_height)>(r==null?void 0:r.height)&&a.add(o.push("logical_height"),"error.logical_height"),(r==null?void 0:r.height)%16!==0&&a.add(o.push("height"),"error.height_multiple",16),(r==null?void 0:r.min_y)%16!==0&&a.add(o.push("min_y"),"error.min_y_multiple",16),r)})))}L_.initDimensionTypeSchemas=rk;var F_={};Object.defineProperty(F_,"__esModule",{value:!0});F_.initItemModifierSchemas=void 0;const jr=j,ok=yi;function ak(e,t){const n=jr.Reference.bind(void 0,e),i=jr.StringNode.bind(void 0,t);e.register("item_modifier",(0,jr.ObjectOrList)(n("function"),{choiceContext:"function"}));const o={conditions:(0,jr.Opt)((0,jr.ListNode)(n("condition")))};e.register("function",(0,jr.Mod)((0,jr.ObjectNode)({function:i({validator:"resource",params:{pool:"loot_function_type"}}),[jr.Switch]:[{push:"function"}],[jr.Case]:(0,ok.FunctionCases)(o)},{category:"function",context:"function"}),{default:()=>[{function:"minecraft:set_count",count:1}]}))}F_.initItemModifierSchemas=ak;var P_={},qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.LootFunctions=qi.LootConditions=qi.LootCopySources=qi.LootEntitySources=qi.LootTableTypes=void 0;qi.LootTableTypes=new Map([["minecraft:advancement_entity",{requires:[7,8],allows:[]}],["minecraft:advancement_reward",{requires:[7,8],allows:[]}],["minecraft:barter",{requires:[8],allows:[]}],["minecraft:block",{requires:[1,7,9],allows:[0,4,8]}],["minecraft:chest",{requires:[7],allows:[8]}],["minecraft:command",{requires:[7],allows:[8]}],["minecraft:empty",{requires:[],allows:[]}],["minecraft:entity",{requires:[2,7,8],allows:[3,5,6]}],["minecraft:fishing",{requires:[7,9],allows:[8]}],["minecraft:generic",{requires:[2,0,1,3,4,5,6,7,8,9],allows:[]}],["minecraft:gift",{requires:[7,8],allows:[]}],["minecraft:selector",{requires:[7],allows:[8]}]]);qi.LootEntitySources=new Map([["direct_killer",[3]],["killer",[5]],["killer_player",[5]],["this",[8]]]);qi.LootCopySources=new Map([["block_entity",[0]],["killer",[5]],["killer_player",[5]],["this",[8]]]);qi.LootConditions=new Map([["minecraft:alternative",[]],["minecraft:block_state_property",[1]],["minecraft:damage_source_properties",[2]],["minecraft:entity_properties",[7]],["minecraft:entity_scores",[]],["minecraft:inverted",[]],["minecraft:killed_by_player",[6]],["minecraft:location_check",[]],["minecraft:match_tool",[9]],["minecraft:random_chance",[]],["minecraft:random_chance_with_looting",[5]],["minecraft:reference",[]],["minecraft:survives_explosion",[4]],["minecraft:table_bonus",[9]],["minecraft:time_check",[]],["minecraft:weather_check",[]]]);qi.LootFunctions=new Map([["minecraft:apply_bonus",[9]],["minecraft:copy_name",[]],["minecraft:copy_nbt",[]],["minecraft:copy_state",[1]],["minecraft:enchant_randomly",[]],["minecraft:enchant_with_levels",[]],["minecraft:exploration_map",[7]],["minecraft:explosion_decay",[]],["minecraft:fill_player_head",[]],["minecraft:furnace_smelt",[]],["minecraft:limit_count",[]],["minecraft:looting_enchant",[5]],["minecraft:set_attributes",[]],["minecraft:set_banner_pattern",[]],["minecraft:set_contents",[]],["minecraft:set_count",[]],["minecraft:set_damage",[]],["minecraft:set_loot_table",[]],["minecraft:set_lore",[]],["minecraft:set_name",[]],["minecraft:set_nbt",[]],["minecraft:set_stew_effect",[]]]);Object.defineProperty(P_,"__esModule",{value:!0});P_.initLootTableSchemas=void 0;const bt=j,Hs=qi,mg=yi;function sk(e,t){const n=bt.Reference.bind(void 0,e),i=bt.StringNode.bind(void 0,t),o={conditions:(0,bt.Opt)((0,bt.ListNode)(n("loot_condition")))},r=H({functions:(0,bt.Opt)((0,bt.ListNode)(n("loot_function")))},o);function a(u,m,f){const p=[],h=b=>t.get(m).filter(g=>{var v;return((v=u.get(g))!==null&&v!==void 0?v:[]).every(S=>b.includes(S))});for(const[b,{allows:g,requires:v}]of Hs.LootTableTypes){const E=[...g,...v];p.push({match:S=>S.getModel().get(new bt.Path(["type"]))===b,node:f(h(E))})}return p.push({match:b=>!0,node:f(m)}),(0,bt.SwitchNode)(p)}const s=a(Hs.LootConditions,"loot_condition_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_condition_type"}})),c=a(Hs.LootFunctions,"loot_function_type",u=>i({validator:"resource",params:{pool:u instanceof Array?u:"loot_function_type"}})),l=a(Hs.LootEntitySources,"entity_source",u=>i({enum:u})),_=a(Hs.LootCopySources,"copy_source",u=>i({enum:u}));e.register("loot_table",(0,bt.Mod)((0,bt.ObjectNode)({type:(0,bt.Opt)(i({validator:"resource",params:{pool:t.get("loot_context_type")}})),pools:(0,bt.Opt)((0,bt.ListNode)((0,bt.Mod)((0,bt.ObjectNode)(H({rolls:n("number_provider"),bonus_rolls:(0,bt.Opt)(n("number_provider")),entries:(0,bt.ListNode)(n("loot_entry"))},r),{category:"pool",context:"loot_pool"}),{default:()=>({rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]})}))),functions:(0,bt.Opt)((0,bt.ListNode)(n("loot_function")))},{context:"loot_table"}),{default:()=>({pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:stone"}]}]})}));const d={enabled:u=>{var m;return((m=u.pop().get())===null||m===void 0?void 0:m.length)>1&&!["minecraft:alternatives","minecraft:group","minecraft:sequence"].includes(u.push("type").get())}};e.register("loot_entry",(0,bt.Mod)((0,bt.ObjectNode)({type:i({validator:"resource",params:{pool:"loot_pool_entry_type"}}),weight:(0,bt.Opt)((0,bt.Mod)((0,bt.NumberNode)({integer:!0,min:1}),d)),quality:(0,bt.Opt)((0,bt.Mod)((0,bt.NumberNode)({integer:!0}),d)),[bt.Switch]:[{push:"type"}],[bt.Case]:{"minecraft:alternatives":H({children:(0,bt.ListNode)(n("loot_entry"))},r),"minecraft:dynamic":H({name:i()},r),"minecraft:group":H({children:(0,bt.ListNode)(n("loot_entry"))},r),"minecraft:item":H({name:i({validator:"resource",params:{pool:"item"}})},r),"minecraft:loot_table":H({name:i({validator:"resource",params:{pool:"$loot_table"}})},r),"minecraft:sequence":H({children:(0,bt.ListNode)(n("loot_entry"))},r),"minecraft:tag":H({name:i({validator:"resource",params:{pool:"$tag/item"}}),expand:(0,bt.Opt)((0,bt.BooleanNode)())},r)}},{context:"loot_entry"}),{default:()=>({type:"minecraft:item",name:"minecraft:stone"})})),e.register("loot_function",(0,bt.Mod)((0,bt.ObjectNode)({function:c,[bt.Switch]:[{push:"function"}],[bt.Case]:(0,mg.FunctionCases)(o,_,l)},{category:"function",context:"function"}),{default:()=>({function:"minecraft:set_count",count:1})})),e.register("loot_condition",(0,bt.Mod)((0,bt.ObjectNode)({condition:s,[bt.Switch]:[{push:"condition"}],[bt.Case]:(0,mg.ConditionCases)(l)},{category:"predicate",context:"condition"}),{default:()=>({condition:"minecraft:random_chance",chance:.5})})),e.register("attribute_modifier",(0,bt.Mod)((0,bt.ObjectNode)({attribute:i({validator:"resource",params:{pool:"attribute"}}),name:i(),amount:n("number_provider"),operation:i({enum:["addition","multiply_base","multiply_total"]}),slot:(0,bt.StringOrList)(i({enum:"slot"}))},{context:"attribute_modifier"}),{default:()=>({attribute:"minecraft:generic.max_health",name:"",amount:1,operation:"addition",slot:"mainhand"})}))}P_.initLootTableSchemas=sk;var B_={};Object.defineProperty(B_,"__esModule",{value:!0});B_.initPackMcmetaSchemas=void 0;const Oi=j,Io=10;function lk(e,t){const n=Oi.Reference.bind(void 0,e),i=Oi.StringNode.bind(void 0,t);e.register("pack_mcmeta",(0,Oi.Mod)((0,Oi.ObjectNode)({pack:(0,Oi.Mod)((0,Oi.ObjectNode)({pack_format:(0,Oi.Mod)((0,Oi.NumberNode)({integer:!0,min:Io,max:Io}),{default:()=>Io,canUpdate:(o,r)=>r!==Io,update:()=>[{name:"pack_format",params:[Io],newValue:Io}]}),description:n("text_component")}),{default:()=>({pack_format:Io,description:""})}),filter:(0,Oi.Opt)((0,Oi.ObjectNode)({block:(0,Oi.ListNode)((0,Oi.ObjectNode)({namespace:(0,Oi.Opt)(i({validator:"regex_pattern"})),path:(0,Oi.Opt)(i({validator:"regex_pattern"}))}))}))}),{default:()=>({pack:{pack_format:Io,description:""}})}))}B_.initPackMcmetaSchemas=lk;var $_={};Object.defineProperty($_,"__esModule",{value:!0});$_.initPredicatesSchemas=void 0;const ue=j;function ck(e,t){const n=ue.Reference.bind(void 0,e),i=ue.StringNode.bind(void 0,t),o=(0,ue.ChoiceNode)([{type:"string",node:i(),change:r=>typeof r=="boolean"||typeof r=="number"?r.toString():""},{type:"number",node:(0,ue.NumberNode)(),change:r=>typeof r=="string"?parseInt(r):0},{type:"object",node:(0,ue.ObjectNode)({min:(0,ue.Opt)((0,ue.NumberNode)({integer:!0})),max:(0,ue.Opt)((0,ue.NumberNode)({integer:!0}))}),change:r=>typeof r=="number"?{min:r,max:r}:{}},{type:"boolean",node:(0,ue.BooleanNode)(),change:r=>r==="true"||r===1}]);e.register("item_predicate",(0,ue.ObjectNode)({items:(0,ue.Opt)((0,ue.ListNode)(i({validator:"resource",params:{pool:"item"}}))),tag:(0,ue.Opt)(i({validator:"resource",params:{pool:"$tag/item"}})),count:n("int_bounds"),durability:n("int_bounds"),potion:(0,ue.Opt)(i({validator:"resource",params:{pool:"potion"}})),nbt:(0,ue.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"item"}]}}})),enchantments:(0,ue.Opt)((0,ue.ListNode)(n("enchantment_predicate")))},{context:"item"})),e.register("enchantment_predicate",(0,ue.ObjectNode)({enchantment:(0,ue.Opt)(i({validator:"resource",params:{pool:"enchantment"}})),levels:n("int_bounds")},{context:"enchantment"})),e.register("block_predicate",(0,ue.ObjectNode)({blocks:(0,ue.Opt)((0,ue.ListNode)(i({validator:"resource",params:{pool:"block"}}))),tag:(0,ue.Opt)(i({validator:"resource",params:{pool:"$tag/block"}})),nbt:(0,ue.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block",id:["pop",{push:"block"}]}}})),state:(0,ue.Opt)((0,ue.MapNode)(i(),o,{validation:{validator:"block_state_map",params:{id:["pop",{push:"block"}]}}}))},{context:"block"})),e.register("fluid_predicate",(0,ue.ObjectNode)({fluid:(0,ue.Opt)(i({validator:"resource",params:{pool:"fluid"}})),tag:(0,ue.Opt)(i({validator:"resource",params:{pool:"$tag/fluid"}})),state:(0,ue.Opt)((0,ue.MapNode)(i(),o))},{context:"fluid"})),e.register("location_predicate",(0,ue.ObjectNode)({position:(0,ue.Opt)((0,ue.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds")})),biome:(0,ue.Opt)(i({validator:"resource",params:{pool:"$worldgen/biome"}})),structure:(0,ue.Opt)(i({validator:"resource",params:{pool:"$worldgen/structure"}})),dimension:(0,ue.Opt)(i({validator:"resource",params:{pool:"$dimension"}})),light:(0,ue.Opt)((0,ue.ObjectNode)({light:n("int_bounds")})),smokey:(0,ue.Opt)((0,ue.BooleanNode)()),block:(0,ue.Opt)(n("block_predicate")),fluid:(0,ue.Opt)(n("fluid_predicate"))},{context:"location"})),e.register("statistic_predicate",(0,ue.ObjectNode)({type:i({validator:"resource",params:{pool:"stat_type"}}),stat:i(),value:n("int_bounds"),[ue.Switch]:[{push:"type"}],[ue.Case]:{"minecraft:mined":{stat:i({validator:"resource",params:{pool:"block"}})},"minecraft:crafted":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:used":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:broken":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:picked_up":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:dropped":{stat:i({validator:"resource",params:{pool:"item"}})},"minecraft:killed":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:killed_by":{stat:i({validator:"resource",params:{pool:"entity_type"}})},"minecraft:custom":{stat:i({validator:"resource",params:{pool:"custom_stat"}})}}})),e.register("status_effect_predicate",(0,ue.ObjectNode)({amplifier:n("int_bounds"),duration:n("int_bounds"),ambient:(0,ue.Opt)((0,ue.BooleanNode)()),visible:(0,ue.Opt)((0,ue.BooleanNode)())},{context:"status_effect"})),e.register("distance_predicate",(0,ue.ObjectNode)({x:n("float_bounds"),y:n("float_bounds"),z:n("float_bounds"),absolute:n("float_bounds"),horizontal:n("float_bounds")},{context:"distance"})),e.register("entity_predicate",(0,ue.ObjectNode)({type:(0,ue.Opt)(i({validator:"resource",params:{pool:"entity_type",allowTag:!0}})),type_specific:(0,ue.Opt)((0,ue.ObjectNode)({type:i({enum:["any","cat","fishing_hook","frog","lightning","player","slime"]}),[ue.Switch]:[{push:"type"}],[ue.Case]:{cat:{variant:(0,ue.Opt)(i({validator:"resource",params:{pool:"cat_variant"}}))},fishing_hook:{in_open_water:(0,ue.Opt)((0,ue.BooleanNode)())},frog:{variant:(0,ue.Opt)(i({validator:"resource",params:{pool:"frog_variant"}}))},lightning:{blocks_set_on_fire:(0,ue.Opt)(n("int_bounds")),entity_struck:(0,ue.Opt)(n("entity_predicate"))},player:{gamemode:(0,ue.Opt)(i({enum:"gamemode"})),level:n("int_bounds"),advancements:(0,ue.Opt)((0,ue.MapNode)(i({validator:"resource",params:{pool:"$advancement"}}),(0,ue.ChoiceNode)([{type:"boolean",node:(0,ue.BooleanNode)(),change:()=>!0},{type:"object",node:(0,ue.MapNode)(i(),(0,ue.BooleanNode)())}]))),recipes:(0,ue.Opt)((0,ue.MapNode)(i({validator:"resource",params:{pool:"$recipe"}}),(0,ue.BooleanNode)())),stats:(0,ue.Opt)((0,ue.ListNode)(n("statistic_predicate"))),looking_at:(0,ue.Opt)(n("entity_predicate"))},slime:{size:n("int_bounds")}}})),nbt:(0,ue.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:entity",id:["pop",{push:"type"}]}}})),team:(0,ue.Opt)(i({validator:"team"})),location:(0,ue.Opt)(n("location_predicate")),stepping_on:(0,ue.Opt)(n("location_predicate")),distance:(0,ue.Opt)(n("distance_predicate")),flags:(0,ue.Opt)((0,ue.ObjectNode)({is_on_fire:(0,ue.Opt)((0,ue.BooleanNode)()),is_sneaking:(0,ue.Opt)((0,ue.BooleanNode)()),is_sprinting:(0,ue.Opt)((0,ue.BooleanNode)()),is_swimming:(0,ue.Opt)((0,ue.BooleanNode)()),is_baby:(0,ue.Opt)((0,ue.BooleanNode)())})),equipment:(0,ue.Opt)((0,ue.MapNode)(i({enum:"slot"}),n("item_predicate"))),vehicle:(0,ue.Opt)(n("entity_predicate")),passenger:(0,ue.Opt)(n("entity_predicate")),targeted_entity:(0,ue.Opt)(n("entity_predicate")),effects:(0,ue.Opt)((0,ue.MapNode)(i({validator:"resource",params:{pool:"mob_effect"}}),n("status_effect_predicate")))},{context:"entity"})),e.register("damage_source_predicate",(0,ue.ObjectNode)({is_explosion:(0,ue.Opt)((0,ue.BooleanNode)()),is_fire:(0,ue.Opt)((0,ue.BooleanNode)()),is_magic:(0,ue.Opt)((0,ue.BooleanNode)()),is_projectile:(0,ue.Opt)((0,ue.BooleanNode)()),is_lightning:(0,ue.Opt)((0,ue.BooleanNode)()),bypasses_armor:(0,ue.Opt)((0,ue.BooleanNode)()),bypasses_invulnerability:(0,ue.Opt)((0,ue.BooleanNode)()),bypasses_magic:(0,ue.Opt)((0,ue.BooleanNode)()),source_entity:(0,ue.Opt)(n("entity_predicate")),direct_entity:(0,ue.Opt)(n("entity_predicate"))},{context:"damage_source"})),e.register("damage_predicate",(0,ue.ObjectNode)({dealt:n("float_bounds"),taken:n("float_bounds"),blocked:(0,ue.Opt)((0,ue.BooleanNode)()),source_entity:(0,ue.Opt)(n("entity_predicate")),type:(0,ue.Opt)(n("damage_source_predicate"))},{context:"damage"}))}$_.initPredicatesSchemas=ck;var U_={};Object.defineProperty(U_,"__esModule",{value:!0});U_.initRecipeSchemas=void 0;const lt=j;function dk(e,t){const n=lt.Reference.bind(void 0,e),i=lt.StringNode.bind(void 0,t);e.register("recipe",(0,lt.Mod)((0,lt.ObjectNode)({type:i({validator:"resource",params:{pool:"recipe_serializer"}}),[lt.Switch]:[{push:"type"}],[lt.Case]:{"minecraft:crafting_shaped":{group:(0,lt.Opt)(i({enum:"recipe_group",additional:!0})),pattern:(0,lt.ListNode)(i()),key:(0,lt.MapNode)(i(),n("recipe_ingredient")),result:n("recipe_result")},"minecraft:crafting_shapeless":{group:(0,lt.Opt)(i()),ingredients:(0,lt.ListNode)(n("recipe_ingredient")),result:n("recipe_result")},"minecraft:smelting":{group:(0,lt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,lt.Opt)((0,lt.NumberNode)()),cookingtime:(0,lt.Opt)((0,lt.Mod)((0,lt.NumberNode)({integer:!0}),{default:()=>200}))},"minecraft:blasting":{group:(0,lt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,lt.Opt)((0,lt.NumberNode)()),cookingtime:(0,lt.Opt)((0,lt.Mod)((0,lt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:smoking":{group:(0,lt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,lt.Opt)((0,lt.NumberNode)()),cookingtime:(0,lt.Opt)((0,lt.Mod)((0,lt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:campfire_cooking":{group:(0,lt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),experience:(0,lt.Opt)((0,lt.NumberNode)()),cookingtime:(0,lt.Opt)((0,lt.Mod)((0,lt.NumberNode)({integer:!0}),{default:()=>100}))},"minecraft:stonecutting":{group:(0,lt.Opt)(i()),ingredient:n("recipe_ingredient"),result:i({validator:"resource",params:{pool:"item"}}),count:(0,lt.NumberNode)({integer:!0})},"minecraft:smithing":{group:(0,lt.Opt)(i()),base:n("recipe_ingredient_object"),addition:n("recipe_ingredient_object"),result:n("recipe_result")}}},{context:"recipe",disableSwitchContext:!0}),{default:()=>({type:"minecraft:crafting_shaped"})})),e.register("recipe_ingredient",(0,lt.Mod)((0,lt.ChoiceNode)([{type:"object",node:n("recipe_ingredient_object"),change:o=>o[0]},{type:"list",node:(0,lt.ListNode)(n("recipe_ingredient_object")),change:o=>[o]}]),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_ingredient_object",(0,lt.Mod)((0,lt.ObjectNode)({item:(0,lt.Opt)(i({validator:"resource",params:{pool:"item"}})),tag:(0,lt.Opt)(i({validator:"resource",params:{pool:"$tag/item"}}))}),{default:()=>({item:"minecraft:stone"})})),e.register("recipe_result",(0,lt.Mod)((0,lt.ObjectNode)({item:i({validator:"resource",params:{pool:"item"}}),count:(0,lt.Opt)((0,lt.Mod)((0,lt.NumberNode)({integer:!0}),{default:()=>1}))}),{default:()=>({item:"minecraft:stone"})}))}U_.initRecipeSchemas=dk;var G_={};Object.defineProperty(G_,"__esModule",{value:!0});G_.initTagsSchemas=void 0;const qr=j;function uk(e,t){const n=qr.StringNode.bind(void 0,t),i=o=>(0,qr.Mod)((0,qr.ObjectNode)({replace:(0,qr.Opt)((0,qr.BooleanNode)()),values:(0,qr.ListNode)((0,qr.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:o,allowTag:!0}}),change:r=>r.id},{type:"object",node:(0,qr.ObjectNode)({id:n({validator:"resource",params:{pool:o,allowTag:!0,allowUnknown:!0}}),required:(0,qr.BooleanNode)()}),change:r=>({id:r})}]))},{context:"tag"}),{default:()=>({values:[]})});e.register("block_tag",i("block")),e.register("entity_type_tag",i("entity_type")),e.register("fluid_tag",i("fluid")),e.register("function_tag",i("$function")),e.register("game_event_tag",i("game_event")),e.register("item_tag",i("item")),e.register("advancement_tag",i("$advancement")),e.register("dimension_tag",i("$dimension")),e.register("dimension_type_tag",i("$dimension_type")),e.register("function_tag",i("$function")),e.register("item_modifier_tag",i("$item_modifier")),e.register("loot_table_tag",i("$loot_table")),e.register("predicate_tag",i("$predicate")),e.register("recipe_tag",i("$recipe")),e.register("structure_tag",i("$structure")),e.register("biome_tag",i("$worldgen/biome")),e.register("configured_carver_tag",i("$worldgen/configured_carver")),e.register("configured_feature_tag",i("$worldgen/configured_feature")),e.register("structure_tag",i("$worldgen/structure")),e.register("configured_surface_builder_tag",i("$worldgen/configured_surface_builder")),e.register("density_function_tag",i("$worldgen/density_function")),e.register("flat_level_generator_preset_tag",i("$worldgen/flat_level_generator_preset")),e.register("noise_tag",i("$worldgen/noise")),e.register("noise_settings_tag",i("$worldgen/noise_settings")),e.register("placed_feature_tag",i("$worldgen/placed_feature")),e.register("processor_list_tag",i("$worldgen/processor_list")),e.register("structure_set_tag",i("$worldgen/structure_set")),e.register("template_pool_tag",i("$worldgen/template_pool")),e.register("world_preset_tag",i("$worldgen/world_preset"))}G_.initTagsSchemas=uk;var z_={};Object.defineProperty(z_,"__esModule",{value:!0});z_.initTextComponentSchemas=void 0;const ke=j;function _k(e,t){const n=ke.Reference.bind(void 0,e),i=ke.StringNode.bind(void 0,t),o=s=>{var c;return s instanceof Array?o(s[0]):(c=s==null?void 0:s.text)!==null&&c!==void 0?c:typeof s=="object"?"":s==null?void 0:s.toString()};e.register("text_component",(0,ke.Mod)((0,ke.ChoiceNode)([{type:"object",node:n("text_component_object"),change:s=>s instanceof Array?typeof s[0]=="object"?s[0]:{text:o(s[0])}:typeof s=="object"?s:{text:o(s)}},{type:"list",node:n("text_component_list"),change:s=>[s]},{type:"string",priority:1,node:i(),change:o},{type:"number",node:(0,ke.NumberNode)(),change:s=>{const c=parseFloat(o(s));return isFinite(c)?c:s?1:0}},{type:"boolean",node:(0,ke.BooleanNode)(),change:s=>{const c=o(s);return c==="true"||c==="false"?c==="true":!!c}}],{context:"text_component"}),{default:()=>({text:""})}));const r={color:(0,ke.Opt)(i()),font:(0,ke.Opt)(i()),bold:(0,ke.Opt)((0,ke.BooleanNode)()),italic:(0,ke.Opt)((0,ke.BooleanNode)()),underlined:(0,ke.Opt)((0,ke.BooleanNode)()),strikethrough:(0,ke.Opt)((0,ke.BooleanNode)()),obfuscated:(0,ke.Opt)((0,ke.BooleanNode)()),insertion:(0,ke.Opt)(i())};e.register("text_style",(0,ke.ObjectNode)(H({},r),{context:"text_component_object"}));const a=qe(H({},r),{clickEvent:(0,ke.Opt)((0,ke.ObjectNode)({action:i({enum:["open_url","open_file","run_command","suggest_command","change_page","copy_to_clipboard"]}),[ke.Switch]:[{push:"action"}],[ke.Case]:{change_page:{value:i()},copy_to_clipboard:{value:i()},open_file:{value:i()},open_url:{value:i()},run_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})},suggest_command:{value:i({validator:"command",params:{leadingSlash:!0,allowPartial:!0}})}}})),hoverEvent:(0,ke.Opt)((0,ke.ObjectNode)({action:i({enum:["show_text","show_item","show_entity"]}),[ke.Switch]:[{push:"action"}],[ke.Case]:{show_text:{value:(0,ke.Opt)(n("text_component")),contents:(0,ke.Opt)(n("text_component"))},show_item:{value:(0,ke.Opt)(i({validator:"nbt",params:{module:"util::InventoryItem"}})),contents:(0,ke.Opt)((0,ke.ObjectNode)({id:i({validator:"resource",params:{pool:"item"}}),count:(0,ke.Opt)((0,ke.NumberNode)({integer:!0})),tag:(0,ke.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:item",id:["pop",{push:"id"}]}}}))}))},show_entity:{value:(0,ke.Opt)((0,ke.ObjectNode)({name:(0,ke.Opt)(i()),type:(0,ke.Opt)(i()),id:(0,ke.Opt)(i())})),contents:(0,ke.Opt)((0,ke.Mod)((0,ke.ObjectNode)({name:(0,ke.Opt)(n("text_component")),type:i({validator:"resource",params:{pool:"entity_type"}}),id:i({validator:"uuid"})}),{default:()=>({type:"minecraft:pig",id:"00000001-0001-0001-0001-000000000001"})}))}}})),extra:(0,ke.Opt)(n("text_component_list"))});e.register("text_component_object",(0,ke.Mod)((0,ke.ChoiceNode)([{type:"text",match:s=>typeof s=="object",change:s=>({text:""}),priority:-1,node:(0,ke.ObjectNode)(H({text:i()},a))},{type:"translation",match:s=>(s==null?void 0:s.translate)!==void 0,change:s=>({translate:""}),node:(0,ke.ObjectNode)(H({translate:i(),with:(0,ke.Opt)(n("text_component_list"))},a))},{type:"score",match:s=>(s==null?void 0:s.score)!==void 0,change:s=>({score:{}}),node:(0,ke.ObjectNode)(H({score:(0,ke.ObjectNode)({name:i({validator:"entity",params:{amount:"single",type:"entities",isScoreHolder:!0}}),objective:i({validator:"objective"}),value:(0,ke.Opt)(i())})},a))},{type:"selector",match:s=>(s==null?void 0:s.selector)!==void 0,change:s=>({selector:""}),node:(0,ke.ObjectNode)(H({selector:i({validator:"entity",params:{amount:"multiple",type:"entities"}}),separator:(0,ke.Opt)(n("text_component"))},a))},{type:"keybind",match:s=>(s==null?void 0:s.keybind)!==void 0,change:s=>({keybind:""}),node:(0,ke.ObjectNode)(H({keybind:i({enum:"keybind",additional:!0})},a))},{type:"nbt",match:s=>(s==null?void 0:s.nbt)!==void 0,change:s=>({nbt:""}),node:(0,ke.ObjectNode)(H({nbt:i({validator:"nbt_path"}),block:(0,ke.Opt)(i({validator:"vector",params:{dimension:3,isInteger:!0}})),entity:(0,ke.Opt)(i({validator:"entity",params:{amount:"multiple",type:"entities"}})),storage:(0,ke.Opt)(i({validator:"resource",params:{pool:"$storage"}})),interpret:(0,ke.Opt)((0,ke.BooleanNode)()),separator:(0,ke.Opt)(n("text_component"))},a))}],{context:"text_component_object",choiceContext:"text_component.object"}),{default:()=>({text:""})})),e.register("text_component_list",(0,ke.Mod)((0,ke.ListNode)(n("text_component")),{default:()=>[{text:""}]}))}z_.initTextComponentSchemas=_k;var Y_={},Ef={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initBiomeSchemas=e.MobCategorySpawnSettings=void 0;const t=j,n=yi;function i(o,r){const a=t.StringNode.bind(void 0,r);e.MobCategorySpawnSettings=(0,t.Mod)((0,t.ListNode)((0,t.ObjectNode)({type:a({validator:"resource",params:{pool:"entity_type"}}),weight:(0,t.NumberNode)({integer:!0}),minCount:(0,t.NumberNode)({integer:!0}),maxCount:(0,t.NumberNode)({integer:!0})})),{category:()=>"pool",default:()=>[{type:"minecraft:bat",weight:1}]}),o.register("biome",(0,t.Mod)((0,t.ObjectNode)({temperature:(0,t.NumberNode)(),downfall:(0,t.NumberNode)(),precipitation:a({enum:["none","rain","snow"]}),temperature_modifier:(0,t.Opt)(a({enum:["none","frozen"]})),creature_spawn_probability:(0,t.Opt)((0,t.NumberNode)({min:0,max:1})),effects:(0,t.ObjectNode)({sky_color:(0,t.NumberNode)({color:!0}),fog_color:(0,t.NumberNode)({color:!0}),water_color:(0,t.NumberNode)({color:!0}),water_fog_color:(0,t.NumberNode)({color:!0}),grass_color:(0,t.Opt)((0,t.NumberNode)({color:!0})),foliage_color:(0,t.Opt)((0,t.NumberNode)({color:!0})),grass_color_modifier:(0,t.Opt)(a({enum:["none","dark_forest","swamp"]})),ambient_sound:(0,t.Opt)(a()),mood_sound:(0,t.Opt)((0,t.ObjectNode)({sound:a(),tick_delay:(0,t.NumberNode)({integer:!0}),block_search_extent:(0,t.NumberNode)({integer:!0}),offset:(0,t.NumberNode)()})),additions_sound:(0,t.Opt)((0,t.ObjectNode)({sound:a(),tick_chance:(0,t.NumberNode)({min:0,max:1})})),music:(0,t.Opt)((0,t.ObjectNode)({sound:a(),min_delay:(0,t.NumberNode)({integer:!0,min:0}),max_delay:(0,t.NumberNode)({integer:!0,min:0}),replace_current_music:(0,t.BooleanNode)()})),particle:(0,t.Opt)((0,t.ObjectNode)({options:(0,t.ObjectNode)({type:a()}),probability:(0,t.NumberNode)({min:0,max:1})}))}),spawners:(0,t.MapNode)(a({enum:"mob_category"}),e.MobCategorySpawnSettings),spawn_costs:(0,t.MapNode)(a({validator:"resource",params:{pool:"entity_type"}}),(0,t.Mod)((0,t.ObjectNode)({energy_budget:(0,t.NumberNode)(),charge:(0,t.NumberNode)()},{category:"function"}),{default:()=>({energy_budget:.12,charge:1})})),carvers:(0,t.MapNode)(a({enum:["air","liquid"]}),(0,t.Mod)((0,n.Tag)({resource:"$worldgen/configured_carver",inlineSchema:"configured_carver"}),{default:()=>["minecraft:cave"]})),features:(0,t.ListNode)((0,t.Mod)((0,n.Tag)({resource:"$worldgen/placed_feature",inlineSchema:"placed_feature"}),{category:()=>"predicate"}),{maxLength:11})},{context:"biome"}),{default:()=>({temperature:.8,downfall:.4,precipitation:"rain",category:"plains",effects:{sky_color:7907327,fog_color:12638463,water_color:4159204,water_fog_color:329011}})}))}e.initBiomeSchemas=i})(Ef);var H_={};Object.defineProperty(H_,"__esModule",{value:!0});H_.initCarverSchemas=void 0;const Un=j,Kr=yi;function mk(e,t){const n=Un.Reference.bind(void 0,e),i=Un.StringNode.bind(void 0,t),o={vertical_rotation:(0,Kr.FloatProvider)(),shape:(0,Un.ObjectNode)({distance_factor:(0,Kr.FloatProvider)(),thickness:(0,Kr.FloatProvider)(),width_smoothness:(0,Un.NumberNode)({integer:!0,min:0}),horizontal_radius_factor:(0,Kr.FloatProvider)(),vertical_radius_default_factor:(0,Un.NumberNode)(),vertical_radius_center_factor:(0,Un.NumberNode)()})},r={horizontal_radius_multiplier:(0,Kr.FloatProvider)(),vertical_radius_multiplier:(0,Kr.FloatProvider)(),floor_level:(0,Kr.FloatProvider)({min:-1,max:1})};e.register("configured_carver",(0,Un.Mod)((0,Un.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/carver"}}),config:(0,Un.ObjectNode)({probability:(0,Un.NumberNode)({min:0,max:1}),y:n("height_provider"),yScale:(0,Kr.FloatProvider)(),lava_level:n("vertical_anchor"),replaceable:(0,Kr.Tag)({resource:"block"}),debug_settings:(0,Un.Opt)((0,Un.ObjectNode)({debug_mode:(0,Un.Opt)((0,Un.BooleanNode)()),air_state:(0,Un.Opt)(n("block_state")),water_state:(0,Un.Opt)(n("block_state")),lava_state:(0,Un.Opt)(n("block_state")),barrier_state:(0,Un.Opt)(n("block_state"))})),[Un.Switch]:["pop",{push:"type"}],[Un.Case]:{"minecraft:canyon":o,"minecraft:cave":r,"minecraft:nether_cave":r}})},{context:"carver"}),{default:()=>({type:"minecraft:cave",config:{probability:.1}})}))}H_.initCarverSchemas=mk;var V_={};Object.defineProperty(V_,"__esModule",{value:!0});V_.initDecoratorSchemas=void 0;const Gn=j,rc=yi;function pk(e,t){const n=Gn.Reference.bind(void 0,e),i=Gn.StringNode.bind(void 0,t);e.register("decorator",(0,Gn.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/placement_modifier_type"}}),[Gn.Switch]:[{push:"type"}],[Gn.Case]:{"minecraft:block_predicate_filter":{predicate:n("block_predicate_worldgen")},"minecraft:carving_mask":{step:i({enum:"generation_step"})},"minecraft:rarity_filter":{chance:(0,Gn.NumberNode)({integer:!0,min:0})},"minecraft:count":{count:(0,rc.IntProvider)({min:0,max:256})},"minecraft:count_on_every_layer":{count:(0,rc.IntProvider)({min:0,max:256})},"minecraft:noise_threshold_count":{noise_level:(0,Gn.NumberNode)(),below_noise:(0,Gn.NumberNode)({integer:!0}),above_noise:(0,Gn.NumberNode)({integer:!0})},"minecraft:noise_based_count":{noise_to_count_ratio:(0,Gn.NumberNode)({integer:!0}),noise_factor:(0,Gn.NumberNode)(),noise_offset:(0,Gn.Opt)((0,Gn.NumberNode)())},"minecraft:environment_scan":{direction_of_search:i({enum:["up","down"]}),max_steps:(0,Gn.NumberNode)({integer:!0,min:1,max:32}),target_condition:n("block_predicate_worldgen"),allowed_search_condition:(0,Gn.Opt)(n("block_predicate_worldgen"))},"minecraft:heightmap":{heightmap:i({enum:"heightmap_type"})},"minecraft:height_range":{height:n("height_provider")},"minecraft:random_offset":{xz_spread:(0,rc.IntProvider)({min:-16,max:16}),y_spread:(0,rc.IntProvider)({min:-16,max:16})},"minecraft:surface_relative_threshold_filter":{heightmap:i({enum:"heightmap_type"}),min_inclusive:(0,Gn.Opt)((0,Gn.NumberNode)({integer:!0})),max_inclusive:(0,Gn.Opt)((0,Gn.NumberNode)({integer:!0}))},"minecraft:surface_water_depth_filter":{max_water_depth:(0,Gn.NumberNode)({integer:!0})}}},{context:"decorator",category:"predicate"}))}V_.initDecoratorSchemas=pk;var vf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.initDensityFunctionSchemas=e.DensityFunction=void 0;const t=j;function n(i,o){const r=t.StringNode.bind(void 0,o),a=t.Reference.bind(void 0,i);e.DensityFunction=(0,t.Mod)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)(),change:()=>0},{type:"string",priority:1,node:r({validator:"resource",params:{pool:"$worldgen/density_function"}}),change:()=>{}},{type:"object",node:a("density_function"),change:()=>({})}],{choiceContext:"density_function"}),{default:()=>0});const s=(0,t.ChoiceNode)([{type:"string",node:r({validator:"resource",params:{pool:"$worldgen/noise"}}),change:()=>{}},{type:"object",node:a("noise_parameters")}],{choiceContext:"noise_parameters"}),c=(0,t.NumberNode)({min:-1e6,max:1e6}),l=(0,t.NumberNode)({integer:!0,min:-2032*2,max:2031*2});i.register("density_function",(0,t.Mod)((0,t.ObjectNode)({type:r({validator:"resource",params:{pool:"worldgen/density_function_type"}}),[t.Switch]:[{push:"type"}],[t.Case]:{"minecraft:abs":{argument:e.DensityFunction},"minecraft:add":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:blend_density":{argument:e.DensityFunction},"minecraft:cache_2d":{argument:e.DensityFunction},"minecraft:cache_all_in_cell":{argument:e.DensityFunction},"minecraft:cache_once":{argument:e.DensityFunction},"minecraft:clamp":{input:e.DensityFunction,min:c,max:c},"minecraft:constant":{argument:(0,t.NumberNode)()},"minecraft:cube":{argument:e.DensityFunction},"minecraft:flat_cache":{argument:e.DensityFunction},"minecraft:half_negative":{argument:e.DensityFunction},"minecraft:interpolated":{argument:e.DensityFunction},"minecraft:max":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:min":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:mul":{argument1:e.DensityFunction,argument2:e.DensityFunction},"minecraft:noise":{noise:s,xz_scale:(0,t.NumberNode)(),y_scale:(0,t.NumberNode)()},"minecraft:old_blended_noise":{xz_scale:(0,t.NumberNode)(),y_scale:(0,t.NumberNode)(),xz_factor:(0,t.NumberNode)(),y_factor:(0,t.NumberNode)(),smear_scale_multiplier:(0,t.NumberNode)({min:1,max:8})},"minecraft:quarter_negative":{argument:e.DensityFunction},"minecraft:range_choice":{input:e.DensityFunction,min_inclusive:c,max_exclusive:c,when_in_range:e.DensityFunction,when_out_of_range:e.DensityFunction},"minecraft:shift":{argument:e.DensityFunction},"minecraft:shift_a":{argument:e.DensityFunction},"minecraft:shift_b":{argument:e.DensityFunction},"minecraft:shifted_noise":{noise:s,xz_scale:(0,t.NumberNode)(),y_scale:(0,t.NumberNode)(),shift_x:e.DensityFunction,shift_y:e.DensityFunction,shift_z:e.DensityFunction},"minecraft:slide":{argument:e.DensityFunction},"minecraft:spline":{spline:a("cubic_spline")},"minecraft:square":{argument:e.DensityFunction},"minecraft:squeeze":{argument:e.DensityFunction},"minecraft:weird_scaled_sampler":{rarity_value_mapper:r({enum:["type_1","type_2"]}),noise:s,input:e.DensityFunction},"minecraft:y_clamped_gradient":{from_y:l,to_y:l,from_value:c,to_value:c}}},{context:"density_function",disableSwitchContext:!0}),{default:()=>({type:"minecraft:noise",noise:"minecraft:cave_entrance",xz_scale:.75,y_scale:.5})})),i.register("cubic_spline",(0,t.Mod)((0,t.ChoiceNode)([{type:"number",node:(0,t.NumberNode)()},{type:"object",node:(0,t.ObjectNode)({coordinate:e.DensityFunction,points:(0,t.ListNode)((0,t.ObjectNode)({location:(0,t.NumberNode)(),derivative:(0,t.NumberNode)(),value:a("cubic_spline")}))},{category:"function"})}],{context:"terrain_spline",choiceContext:"terrain_spline"}),{default:()=>0}))}e.initDensityFunctionSchemas=n})(vf);var W_={},na={};Object.defineProperty(na,"__esModule",{value:!0});na.initProcessorListSchemas=na.Processors=void 0;const Ft=j,fk=yi;function hk(e,t){const n=Ft.Reference.bind(void 0,e),i=Ft.StringNode.bind(void 0,t);na.Processors=(0,Ft.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/processor_list"}}),change:r=>{}},{type:"object",node:n("processor_list"),change:r=>({processors:[{processor_type:"minecraft:nop"}]})}]),e.register("processor_list",(0,Ft.Mod)((0,Ft.ObjectNode)({processors:(0,Ft.ListNode)(n("processor"))},{context:"processor_list"}),{default:()=>({processors:[{processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]}]})})),e.register("processor",(0,Ft.Mod)((0,Ft.ObjectNode)({processor_type:i({validator:"resource",params:{pool:"worldgen/structure_processor"}}),[Ft.Switch]:[{push:"processor_type"}],[Ft.Case]:{"minecraft:block_age":{mossiness:(0,Ft.NumberNode)()},"minecraft:block_ignore":{blocks:(0,Ft.ListNode)(n("block_state"))},"minecraft:block_rot":{integrity:(0,Ft.NumberNode)({min:0,max:1}),rottable_blocks:(0,Ft.Opt)((0,fk.Tag)({resource:"block"}))},"minecraft:gravity":{heightmap:i({enum:"heightmap_type"}),offset:(0,Ft.NumberNode)({integer:!0})},"minecraft:protected_blocks":{value:i({validator:"resource",params:{pool:"block",requireTag:!0}})},"minecraft:rule":{rules:(0,Ft.ListNode)(n("processor_rule"))}}},{category:"function",context:"processor"}),{default:()=>({processor_type:"minecraft:rule",rules:[{location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}}]})})),e.register("processor_rule",(0,Ft.Mod)((0,Ft.ObjectNode)({position_predicate:(0,Ft.Opt)(n("pos_rule_test")),location_predicate:n("rule_test"),input_predicate:n("rule_test"),output_state:n("block_state"),output_nbt:(0,Ft.Opt)(i({validator:"nbt",params:{registry:{category:"minecraft:block"}}}))},{category:"predicate",context:"processor_rule"}),{default:()=>({location_predicate:{predicate_type:"minecraft:always_true"},input_predicate:{predicate_type:"minecraft:always_true"}})}));const o={min_dist:(0,Ft.Opt)((0,Ft.NumberNode)({min:0,max:255,integer:!0})),max_dist:(0,Ft.Opt)((0,Ft.NumberNode)({min:0,max:255,integer:!0})),min_chance:(0,Ft.Opt)((0,Ft.NumberNode)({min:0,max:1})),max_chance:(0,Ft.Opt)((0,Ft.NumberNode)({min:0,max:1}))};e.register("pos_rule_test",(0,Ft.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"pos_rule_test"}}),[Ft.Switch]:[{push:"predicate_type"}],[Ft.Case]:{"minecraft:axis_aligned_linear_pos":H({axis:i({enum:["x","y","z"]})},o),"minecraft:linear_pos":o}},{context:"pos_rule_test",disableSwitchContext:!0})),e.register("rule_test",(0,Ft.ObjectNode)({predicate_type:i({validator:"resource",params:{pool:"rule_test"}}),[Ft.Switch]:[{push:"predicate_type"}],[Ft.Case]:{"minecraft:block_match":{block:i({validator:"resource",params:{pool:"block"}})},"minecraft:blockstate_match":{block_state:n("block_state")},"minecraft:random_block_match":{block:i({validator:"resource",params:{pool:"block"}}),probability:(0,Ft.NumberNode)({min:0,max:1})},"minecraft:random_blockstate_match":{block_state:n("block_state"),probability:(0,Ft.NumberNode)({min:0,max:1})},"minecraft:tag_match":{tag:i({validator:"resource",params:{pool:"$tag/block"}})}}},{context:"rule_test",disableSwitchContext:!0}))}na.initProcessorListSchemas=hk;Object.defineProperty(W_,"__esModule",{value:!0});W_.initFeatureSchemas=void 0;const G=j,St=yi,pg=na;function gk(e,t){const n=G.Reference.bind(void 0,e),i=G.StringNode.bind(void 0,t),o=(0,G.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:n("configured_feature")}],{choiceContext:"feature"}),r=(0,G.ChoiceNode)([{type:"string",node:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},{type:"object",node:n("placed_feature")}],{choiceContext:"placed_feature"}),a={tries:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:1})),xz_spread:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0})),y_spread:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0})),feature:r},s={cap_provider:n("block_state_provider"),stem_provider:n("block_state_provider"),foliage_radius:(0,G.Opt)((0,G.NumberNode)({integer:!0}))},c=(0,G.ObjectNode)({target:n("rule_test"),state:n("block_state")}),l={size:(0,G.NumberNode)({integer:!0,min:0,max:64}),discard_chance_on_air_exposure:(0,G.NumberNode)({min:0,max:1}),targets:(0,G.ListNode)(c)},_={surface:i({enum:"cave_surface"}),depth:(0,St.IntProvider)({min:1,max:128}),vertical_range:(0,G.NumberNode)({integer:!0,min:1,max:256}),extra_bottom_block_chance:(0,G.NumberNode)({min:0,max:1}),extra_edge_column_chance:(0,G.NumberNode)({min:0,max:1}),vegetation_chance:(0,G.NumberNode)({min:0,max:1}),xz_radius:(0,St.IntProvider)(),replaceable:i({validator:"resource",params:{pool:"block",requireTag:!0}}),ground_state:n("block_state_provider"),vegetation_feature:r};e.register("configured_feature",(0,G.Mod)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature"}}),config:(0,G.ObjectNode)({[G.Switch]:["pop",{push:"type"}],[G.Case]:{"minecraft:bamboo":{probability:(0,G.NumberNode)({min:0,max:1})},"minecraft:basalt_columns":{reach:(0,St.IntProvider)({min:0,max:3}),height:(0,St.IntProvider)({min:1,max:10})},"minecraft:block_column":{direction:i({enum:["up","down","north","east","south","west"]}),allowed_placement:n("block_predicate_worldgen"),prioritize_tip:(0,G.BooleanNode)(),layers:(0,G.ListNode)((0,G.ObjectNode)({height:(0,St.IntProvider)({min:0}),provider:n("block_state_provider")}))},"minecraft:block_pile":{state_provider:n("block_state_provider")},"minecraft:delta_feature":{contents:n("block_state"),rim:n("block_state"),size:(0,St.IntProvider)({min:0,max:16}),rim_size:(0,St.IntProvider)({min:0,max:16})},"minecraft:disk":{state_provider:n("rule_based_block_state_provider"),target:n("block_predicate_worldgen"),radius:(0,St.IntProvider)({min:0,max:8}),half_height:(0,G.NumberNode)({integer:!0,min:0,max:4})},"minecraft:dripstone_cluster":{floor_to_ceiling_search_range:(0,G.NumberNode)({integer:!0,min:1,max:512}),height:(0,St.IntProvider)({min:0,max:128}),radius:(0,St.IntProvider)({min:0,max:128}),max_stalagmite_stalactite_height_diff:(0,G.NumberNode)({integer:!0,min:0,max:64}),height_deviation:(0,G.NumberNode)({integer:!0,min:1,max:64}),dripstone_block_layer_thickness:(0,St.IntProvider)({min:0,max:128}),density:(0,St.FloatProvider)({min:0,max:2}),wetness:(0,St.FloatProvider)({min:0,max:2}),chance_of_dripstone_column_at_max_distance_from_center:(0,G.NumberNode)({min:0,max:1}),max_distance_from_edge_affecting_chance_of_dripstone_column:(0,G.NumberNode)({integer:!0,min:1,max:64}),max_distance_from_center_affecting_height_bias:(0,G.NumberNode)({integer:!0,min:1,max:64})},"minecraft:end_gateway":{exact:(0,G.BooleanNode)(),exit:(0,G.Opt)(n("block_pos"))},"minecraft:end_spike":{crystal_invulnerable:(0,G.Opt)((0,G.BooleanNode)()),crystal_beam_target:(0,G.Opt)(n("block_pos")),spikes:(0,G.ListNode)((0,G.ObjectNode)({centerX:(0,G.Opt)((0,G.NumberNode)({integer:!0})),centerZ:(0,G.Opt)((0,G.NumberNode)({integer:!0})),radius:(0,G.Opt)((0,G.NumberNode)({integer:!0})),height:(0,G.Opt)((0,G.NumberNode)({integer:!0})),guarded:(0,G.Opt)((0,G.BooleanNode)())}))},"minecraft:fill_layer":{state:n("block_state"),height:(0,G.NumberNode)({integer:!0,min:0,max:255})},"minecraft:flower":a,"minecraft:forest_rock":{state:n("block_state")},"minecraft:fossil":{max_empty_corners_allowed:(0,G.NumberNode)({integer:!0,min:0,max:7}),fossil_structures:(0,G.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),overlay_structures:(0,G.ListNode)(i({validator:"resource",params:{pool:"$structure"}})),fossil_processors:pg.Processors,overlay_processors:pg.Processors},"minecraft:geode":{blocks:(0,G.ObjectNode)({filling_provider:n("block_state_provider"),inner_layer_provider:n("block_state_provider"),alternate_inner_layer_provider:n("block_state_provider"),middle_layer_provider:n("block_state_provider"),outer_layer_provider:n("block_state_provider"),inner_placements:(0,G.ListNode)(n("block_state")),cannot_replace:i({validator:"resource",params:{pool:"block",requireTag:!0}}),invalid_blocks:i({validator:"resource",params:{pool:"block",requireTag:!0}})}),layers:(0,G.ObjectNode)({filling:(0,G.Opt)((0,G.NumberNode)({min:.01,max:50})),inner_layer:(0,G.Opt)((0,G.NumberNode)({min:.01,max:50})),middle_layer:(0,G.Opt)((0,G.NumberNode)({min:.01,max:50})),outer_layer:(0,G.Opt)((0,G.NumberNode)({min:.01,max:50}))}),crack:(0,G.ObjectNode)({generate_crack_chance:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),base_crack_size:(0,G.Opt)((0,G.NumberNode)({min:0,max:5})),crack_point_offset:(0,G.Opt)((0,G.NumberNode)({min:0,max:10}))}),noise_multiplier:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),use_potential_placements_chance:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),use_alternate_layer0_chance:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),placements_require_layer0_alternate:(0,G.Opt)((0,G.BooleanNode)()),outer_wall_distance:(0,G.Opt)((0,St.IntProvider)({min:1,max:20})),distribution_points:(0,G.Opt)((0,St.IntProvider)({min:1,max:20})),point_offset:(0,G.Opt)((0,St.IntProvider)({min:0,max:10})),min_gen_offset:(0,G.Opt)((0,G.NumberNode)({integer:!0})),max_gen_offset:(0,G.Opt)((0,G.NumberNode)({integer:!0})),invalid_blocks_threshold:(0,G.NumberNode)({integer:!0})},"minecraft:multiface_growth":{search_range:(0,G.Opt)((0,G.NumberNode)({min:1,max:64,integer:!0})),chance_of_spreading:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),can_place_on_floor:(0,G.Opt)((0,G.BooleanNode)()),can_place_on_ceiling:(0,G.Opt)((0,G.BooleanNode)()),can_place_on_wall:(0,G.Opt)((0,G.BooleanNode)()),can_be_placed_on:(0,St.Tag)({resource:"block"})},"minecraft:huge_brown_mushroom":s,"minecraft:huge_fungus":{hat_state:n("block_state"),decor_state:n("block_state"),stem_state:n("block_state"),valid_base_block:n("block_state"),planted:(0,G.Opt)((0,G.BooleanNode)())},"minecraft:huge_red_mushroom":s,"minecraft:iceberg":{state:n("block_state")},"minecraft:lake":{fluid:n("block_state_provider"),barrier:n("block_state_provider")},"minecraft:large_dripstone":{floor_to_ceiling_search_range:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:1,max:512})),column_radius:(0,St.IntProvider)({min:0,max:60}),height_scale:(0,St.FloatProvider)({min:0,max:20}),max_column_radius_to_cave_height_ratio:(0,G.NumberNode)({min:0,max:1}),stalactite_bluntness:(0,St.FloatProvider)({min:.1,max:10}),stalagmite_bluntness:(0,St.FloatProvider)({min:.1,max:10}),wind_speed:(0,St.FloatProvider)({min:0,max:2}),min_radius_for_wind:(0,G.NumberNode)({integer:!0,min:0,max:100}),min_bluntness_for_wind:(0,G.NumberNode)({min:0,max:5})},"minecraft:nether_forest_vegetation":{state_provider:n("block_state_provider"),spread_width:(0,G.NumberNode)({integer:!0,min:1}),spread_height:(0,G.NumberNode)({integer:!0,min:1})},"minecraft:netherrack_replace_blobs":{state:n("block_state"),target:n("block_state"),radius:(0,St.IntProvider)({min:0,max:12})},"minecraft:no_bonemeal_flower":a,"minecraft:ore":l,"minecraft:pointed_dripstone":{chance_of_taller_dripstone:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),chance_of_directional_spread:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),chance_of_spread_radius2:(0,G.Opt)((0,G.NumberNode)({min:0,max:1})),chance_of_spread_radius3:(0,G.Opt)((0,G.NumberNode)({min:0,max:1}))},"minecraft:random_patch":a,"minecraft:random_boolean_selector":{feature_false:r,feature_true:r},"minecraft:random_selector":{features:(0,G.ListNode)((0,G.ObjectNode)({chance:(0,G.NumberNode)({min:0,max:1}),feature:r})),default:r},"minecraft:replace_single_block":{targets:(0,G.ListNode)(c)},"minecraft:root_system":{required_vertical_space_for_tree:(0,G.NumberNode)({integer:!0,min:1,max:64}),root_radius:(0,G.NumberNode)({integer:!0,min:1,max:64}),root_placement_attempts:(0,G.NumberNode)({integer:!0,min:1,max:256}),root_column_max_height:(0,G.NumberNode)({integer:!0,min:1,max:4096}),hanging_root_radius:(0,G.NumberNode)({integer:!0,min:1,max:64}),hanging_roots_vertical_span:(0,G.NumberNode)({integer:!0,min:0,max:16}),hanging_root_placement_attempts:(0,G.NumberNode)({integer:!0,min:0,max:256}),allowed_vertical_water_for_tree:(0,G.NumberNode)({integer:!0,min:1,max:64}),root_replaceable:i({validator:"resource",params:{pool:"block",requireTag:!0}}),root_state_provider:n("block_state_provider"),hanging_root_state_provider:n("block_state_provider"),allowed_tree_position:n("block_predicate_worldgen"),feature:r},"minecraft:scattered_ore":l,"minecraft:sculk_patch":{charge_count:(0,G.NumberNode)({integer:!0,min:1,max:32}),amount_per_charge:(0,G.NumberNode)({integer:!0,min:1,max:500}),spread_attempts:(0,G.NumberNode)({integer:!0,min:1,max:64}),growth_rounds:(0,G.NumberNode)({integer:!0,min:0,max:8}),spread_rounds:(0,G.NumberNode)({integer:!0,min:0,max:8}),extra_rare_growths:(0,St.IntProvider)(),catalyst_chance:(0,G.NumberNode)({min:0,max:1})},"minecraft:sea_pickle":{count:(0,St.IntProvider)({min:0,max:256})},"minecraft:seagrass":{probability:(0,G.NumberNode)({min:0,max:1})},"minecraft:simple_block":{to_place:n("block_state_provider")},"minecraft:simple_random_selector":{features:(0,St.Tag)({resource:"$worldgen/placed_feature",inlineSchema:"placed_feature"})},"minecraft:spring_feature":{state:n("fluid_state"),rock_count:(0,G.NumberNode)({integer:!0}),hole_count:(0,G.NumberNode)({integer:!0}),requires_block_below:(0,G.BooleanNode)(),valid_blocks:(0,St.Tag)({resource:"block"})},"minecraft:tree":{ignore_vines:(0,G.Opt)((0,G.BooleanNode)()),force_dirt:(0,G.Opt)((0,G.BooleanNode)()),minimum_size:n("feature_size"),dirt_provider:n("block_state_provider"),trunk_provider:n("block_state_provider"),foliage_provider:n("block_state_provider"),root_placer:(0,G.Opt)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/root_placer_type"}}),root_provider:n("block_state_provider"),trunk_offset_y:(0,St.IntProvider)(),above_root_placement:(0,G.Opt)((0,G.ObjectNode)({above_root_provider:n("block_state_provider"),above_root_placement_chance:(0,G.NumberNode)({min:0,max:1})})),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:mangrove_root_placer":{mangrove_root_placement:(0,G.ObjectNode)({max_root_width:(0,G.NumberNode)({integer:!0,min:1,max:12}),max_root_length:(0,G.NumberNode)({integer:!0,min:1,max:64}),random_skew_chance:(0,G.NumberNode)({min:0,max:1}),can_grow_through:(0,St.Tag)({resource:"block"}),muddy_roots_in:(0,St.Tag)({resource:"block"}),muddy_roots_provider:n("block_state_provider")})}}},{context:"root_placer"})),trunk_placer:(0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/trunk_placer_type"}}),base_height:(0,G.NumberNode)({integer:!0,min:0,max:32}),height_rand_a:(0,G.NumberNode)({integer:!0,min:0,max:24}),height_rand_b:(0,G.NumberNode)({integer:!0,min:0,max:24}),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:bending_trunk_placer":{bend_length:(0,St.IntProvider)({min:1,max:64}),min_height_for_leaves:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:1}))},"minecraft:upwards_branching_trunk_placer":{extra_branch_steps:(0,St.IntProvider)({min:1}),extra_branch_length:(0,St.IntProvider)({min:0}),place_branch_per_log_probability:(0,G.NumberNode)({min:0,max:1}),can_grow_through:(0,St.Tag)({resource:"block"})}}},{context:"trunk_placer"}),foliage_placer:(0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/foliage_placer_type"}}),radius:(0,St.IntProvider)({min:0,max:16}),offset:(0,St.IntProvider)({min:0,max:16}),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:blob_foliage_placer":{height:(0,G.NumberNode)({integer:!0,min:0,max:16})},"minecraft:bush_foliage_placer":{height:(0,G.NumberNode)({integer:!0,min:0,max:16})},"minecraft:fancy_foliage_placer":{height:(0,G.NumberNode)({integer:!0,min:0,max:16})},"minecraft:jungle_foliage_placer":{height:(0,G.NumberNode)({integer:!0,min:0,max:16})},"minecraft:mega_pine_foliage_placer":{crown_height:(0,St.IntProvider)({min:0,max:24})},"minecraft:pine_foliage_placer":{height:(0,St.IntProvider)({min:0,max:24})},"minecraft:random_spread_foliage_placer":{foliage_height:(0,St.IntProvider)({min:1,max:512}),leaf_placement_attempts:(0,G.NumberNode)({integer:!0,min:0,max:256})},"minecraft:spruce_foliage_placer":{trunk_height:(0,St.IntProvider)({min:0,max:24})}}},{context:"foliage_placer",disableSwitchContext:!0}),decorators:(0,G.ListNode)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/tree_decorator_type"}}),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:alter_ground":{provider:n("block_state_provider")},"minecraft:attached_to_leaves":{probability:(0,G.NumberNode)({min:0,max:1}),exclusion_radius_xz:(0,G.NumberNode)({integer:!0,min:0,max:16}),exclusion_radius_y:(0,G.NumberNode)({integer:!0,min:0,max:16}),required_empty_blocks:(0,G.NumberNode)({integer:!0,min:1,max:16}),block_provider:n("block_state_provider"),directions:(0,G.ListNode)(i({enum:"direction"}))},"minecraft:beehive":{probability:(0,G.NumberNode)({min:0,max:1})},"minecraft:cocoa":{probability:(0,G.NumberNode)({min:0,max:1})},"minecraft:leave_vine":{probability:(0,G.NumberNode)({min:0,max:1})}}},{context:"tree_decorator"}))},"minecraft:twisting_vines":{spread_width:(0,G.NumberNode)({integer:!0,min:1}),spread_height:(0,G.NumberNode)({integer:!0,min:1}),max_height:(0,G.NumberNode)({integer:!0,min:1})},"minecraft:underwater_magma":{floor_search_range:(0,G.NumberNode)({integer:!0,min:0,max:512}),placement_radius_around_floor:(0,G.NumberNode)({integer:!0,min:0,max:64}),placement_probability_per_valid_position:(0,G.NumberNode)({min:0,max:1})},"minecraft:vegetation_patch":_,"minecraft:waterlogged_vegetation_patch":_}},{context:"feature"})},{context:"feature"}),{default:()=>({type:"minecraft:tree",config:{minimum_size:{type:"minecraft:two_layers_feature_size"},trunk_placer:{type:"minecraft:straight_trunk_placer",base_height:5,height_rand_a:2,height_rand_b:0},foliage_placer:{type:"minecraft:blob_foliage_placer",radius:2,offset:0,height:3}}})})),e.register("placed_feature",(0,G.Mod)((0,G.ObjectNode)({feature:o,placement:(0,G.ListNode)(n("decorator"))},{context:"placed_feature"}),{default:()=>({feature:"minecraft:oak",placement:[{type:"minecraft:count",count:4},{type:"minecraft:in_square"},{type:"minecraft:heightmap",heightmap:"OCEAN_FLOOR"}]})})),e.register("feature_size",(0,G.Mod)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/feature_size_type"}}),min_clipped_height:(0,G.Opt)((0,G.NumberNode)({min:0,max:80})),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:two_layers_feature_size":{limit:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:81})),lower_size:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:16}))},"minecraft:three_layers_feature_size":{limit:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:80})),upper_limit:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:80})),lower_size:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:16})),middle_size:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:16})),upper_size:(0,G.Opt)((0,G.NumberNode)({integer:!0,min:0,max:16}))}}},{disableSwitchContext:!0}),{default:()=>({type:"minecraft:two_layers_feature_size"})}));const d={seed:(0,G.NumberNode)({integer:!0}),noise:n("noise_parameters"),scale:(0,G.Mod)((0,G.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1})};e.register("block_state_provider",(0,G.Mod)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"worldgen/block_state_provider_type"}}),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:dual_noise_provider":qe(H({},d),{variety:(0,St.InclusiveRange)({integer:!0,min:1,max:64}),slow_noise:n("noise_parameters"),slow_scale:(0,G.Mod)((0,G.NumberNode)({min:Number.MIN_VALUE}),{default:()=>1}),states:(0,G.ListNode)(n("block_state"))}),"minecraft:noise_threshold_provider":qe(H({},d),{threshold:(0,G.NumberNode)({min:-1,max:1}),high_chance:(0,G.NumberNode)({min:0,max:1}),default_state:n("block_state"),low_states:(0,G.ListNode)(n("block_state")),high_states:(0,G.ListNode)(n("block_state"))}),"minecraft:noise_provider":qe(H({},d),{states:(0,G.ListNode)(n("block_state"))}),"minecraft:randomized_int_state_provider":{property:i(),values:(0,St.IntProvider)(),source:n("block_state_provider")},"minecraft:rotated_block_provider":{state:n("block_state")},"minecraft:simple_state_provider":{state:n("block_state")},"minecraft:weighted_state_provider":{entries:(0,G.ListNode)((0,G.Mod)((0,G.ObjectNode)({weight:(0,G.NumberNode)({integer:!0,min:1}),data:n("block_state")}),{default:()=>({data:{}})}))}}},{context:"block_state_provider"}),{default:()=>({type:"minecraft:simple_state_provider"})})),e.register("rule_based_block_state_provider",(0,G.Mod)((0,G.ObjectNode)({fallback:n("block_state_provider"),rules:(0,G.ListNode)((0,G.ObjectNode)({if_true:n("block_predicate_worldgen"),then:n("block_state_provider")}))},{context:"block_state_provider"}),{default:()=>({fallback:{type:"minecraft:simple_state_provider"}})}));const u={offset:(0,G.Opt)((0,G.ListNode)((0,G.NumberNode)({integer:!0,min:-16,max:16}),{minLength:3,maxLength:3}))};e.register("block_predicate_worldgen",(0,G.Mod)((0,G.ObjectNode)({type:i({validator:"resource",params:{pool:"block_predicate_type"}}),[G.Switch]:[{push:"type"}],[G.Case]:{"minecraft:all_of":{predicates:(0,G.ListNode)(n("block_predicate_worldgen"))},"minecraft:any_of":{predicates:(0,G.ListNode)(n("block_predicate_worldgen"))},"minecraft:has_sturdy_face":qe(H({},u),{direction:i({enum:"direction"})}),"minecraft:inside_world_bounds":H({},u),"minecraft:matching_block_tag":qe(H({},u),{tag:i({validator:"resource",params:{pool:"$tag/block"}})}),"minecraft:matching_blocks":qe(H({},u),{blocks:(0,St.Tag)({resource:"block"})}),"minecraft:matching_fluids":qe(H({},u),{fluids:(0,St.Tag)({resource:"fluid"})}),"minecraft:not":{predicate:n("block_predicate_worldgen")},"minecraft:would_survive":qe(H({},u),{state:n("block_state")})}},{context:"block_predicate"}),{default:()=>({type:"minecraft:true"})}))}W_.initFeatureSchemas=gk;var j_={};Object.defineProperty(j_,"__esModule",{value:!0});j_.initNoiseSettingsSchemas=void 0;const Nn=j,bk=yi,Ei=vf;function Ek(e,t){const n=Nn.Reference.bind(void 0,e),i=Nn.StringNode.bind(void 0,t);e.register("noise_settings",(0,Nn.Mod)((0,Nn.ObjectNode)({sea_level:(0,Nn.NumberNode)({integer:!0}),disable_mob_generation:(0,Nn.BooleanNode)(),aquifers_enabled:(0,Nn.BooleanNode)(),ore_veins_enabled:(0,Nn.BooleanNode)(),legacy_random_source:(0,Nn.BooleanNode)(),default_block:n("block_state"),default_fluid:n("block_state"),noise:(0,Nn.ObjectNode)({min_y:(0,Nn.NumberNode)({integer:!0,min:-2048,max:2047}),height:(0,Nn.NumberNode)({integer:!0,min:0,max:4096}),size_horizontal:(0,Nn.NumberNode)({integer:!0}),size_vertical:(0,Nn.NumberNode)({integer:!0})}),noise_router:(0,Nn.ObjectNode)({barrier:Ei.DensityFunction,fluid_level_floodedness:Ei.DensityFunction,fluid_level_spread:Ei.DensityFunction,lava:Ei.DensityFunction,temperature:Ei.DensityFunction,vegetation:Ei.DensityFunction,continents:Ei.DensityFunction,erosion:Ei.DensityFunction,depth:Ei.DensityFunction,ridges:Ei.DensityFunction,initial_density_without_jaggedness:Ei.DensityFunction,final_density:Ei.DensityFunction,vein_toggle:Ei.DensityFunction,vein_ridged:Ei.DensityFunction,vein_gap:Ei.DensityFunction}),spawn_target:(0,Nn.ListNode)(n("parameter_point")),surface_rule:n("material_rule")},{context:"noise_settings"}),o=>({default:()=>bk.DefaultNoiseSettings,validate:(r,a,s,c)=>{var l,_,d,u;return a=o.validate(r,a,s,c),((l=a==null?void 0:a.noise)===null||l===void 0?void 0:l.min_y)+((_=a==null?void 0:a.noise)===null||_===void 0?void 0:_.height)>2047&&s.add(r.push("noise").push("height"),"error.min_y_plus_height",2047),((d=a==null?void 0:a.noise)===null||d===void 0?void 0:d.height)%16!==0&&s.add(r.push("noise").push("height"),"error.height_multiple",16),((u=a==null?void 0:a.noise)===null||u===void 0?void 0:u.min_y)%16!==0&&s.add(r.push("noise").push("min_y"),"error.min_y_multiple",16),a}}))),e.register("noise_slider",(0,Nn.ObjectNode)({target:(0,Nn.NumberNode)(),size:(0,Nn.NumberNode)({integer:!0,min:0}),offset:(0,Nn.NumberNode)({integer:!0})})),e.register("generator_layer",(0,Nn.Mod)((0,Nn.ObjectNode)({block:i({validator:"resource",params:{pool:"block"}}),height:(0,Nn.NumberNode)({integer:!0,min:1})}),{default:()=>({block:"minecraft:stone",height:1})}))}j_.initNoiseSettingsSchemas=Ek;var q_={};Object.defineProperty(q_,"__esModule",{value:!0});q_.initStructureSchemas=void 0;const sn=j,vk=yi,Sk=Ef;function yk(e,t){const n=sn.StringNode.bind(void 0,t),i=sn.Reference.bind(void 0,e);e.register("structure",(0,sn.Mod)((0,sn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_type"}}),biomes:(0,vk.Tag)({resource:"$worldgen/biome"}),step:n({enum:"decoration_step"}),spawn_overrides:(0,sn.MapNode)(n({enum:"mob_category"}),(0,sn.ObjectNode)({bounding_box:n({enum:["piece","full"]}),spawns:Sk.MobCategorySpawnSettings})),terrain_adaptation:(0,sn.Opt)(n({enum:["none","beard_thin","beard_box","bury"]})),[sn.Switch]:[{push:"type"}],[sn.Case]:{"minecraft:jigsaw":{start_pool:n({validator:"resource",params:{pool:"$worldgen/template_pool"}}),size:(0,sn.NumberNode)({integer:!0}),start_height:i("height_provider"),start_jigsaw_name:(0,sn.Opt)(n()),project_start_to_heightmap:(0,sn.Opt)(n({enum:"heightmap_type"})),max_distance_from_center:(0,sn.NumberNode)({integer:!0,min:1,max:128}),use_expansion_hack:(0,sn.BooleanNode)()},"minecraft:mineshaft":{mineshaft_type:n({enum:["normal","mesa"]})},"minecraft:nether_fossil":{height:i("height_provider")},"minecraft:ocean_ruin":{biome_temp:n({enum:["cold","warm"]}),large_probability:(0,sn.NumberNode)({min:0,max:1}),cluster_probability:(0,sn.NumberNode)({min:0,max:1})},"minecraft:ruined_portal":{setups:(0,sn.ListNode)((0,sn.ObjectNode)({placement:n({enum:["on_land_surface","partly_buried","on_ocean_floor","in_mountain","underground","in_nether"]}),air_pocket_probability:(0,sn.NumberNode)({min:0,max:1}),mossiness:(0,sn.NumberNode)({min:0,max:1}),overgrown:(0,sn.BooleanNode)(),vines:(0,sn.BooleanNode)(),can_be_cold:(0,sn.BooleanNode)(),replace_with_blackstone:(0,sn.BooleanNode)(),weight:(0,sn.NumberNode)({min:0})}))},"minecraft:shipwreck":{is_beached:(0,sn.Opt)((0,sn.BooleanNode)())}}},{context:"structure_feature"}),{default:()=>({type:"minecraft:jigsaw",step:"surface_structures",size:6})}))}q_.initStructureSchemas=yk;var K_={};Object.defineProperty(K_,"__esModule",{value:!0});K_.initStructureSetSchemas=void 0;const on=j,fg=yi;function Nk(e,t){const n=on.StringNode.bind(void 0,t),i=on.Reference.bind(void 0,e),o=(0,on.ChoiceNode)([{type:"string",node:n({validator:"resource",params:{pool:"$worldgen/structure_set"}})},{type:"object",node:i("structure_set")}],{choiceContext:"structure_set"});e.register("structure_set",(0,on.ObjectNode)({structures:(0,on.ListNode)((0,on.ObjectNode)({structure:(0,fg.Tag)({resource:"$worldgen/structure"}),weight:(0,on.NumberNode)({integer:!0,min:1})})),placement:i("structure_placement")},{context:"structure_set"})),e.register("structure_placement",(0,on.Mod)((0,on.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/structure_placement"}}),salt:(0,on.NumberNode)({integer:!0,min:0}),frequency_reduction_method:(0,on.Opt)(n({enum:["default","legacy_type_1","legacy_type_2","legacy_type_3"]})),frequency:(0,on.Opt)((0,on.NumberNode)({min:0,max:1})),exclusion_zone:(0,on.Opt)((0,on.ObjectNode)({other_set:o,chunk_count:(0,on.NumberNode)({integer:!0,min:1,max:16})})),locate_offset:(0,on.Opt)((0,on.ListNode)((0,on.NumberNode)({integer:!0,min:-16,max:16}),{minLength:3,maxLength:3})),[on.Switch]:[{push:"type"}],[on.Case]:{"minecraft:concentric_rings":{distance:(0,on.NumberNode)({integer:!0,min:0,max:1023}),spread:(0,on.NumberNode)({integer:!0,min:0,max:1023}),count:(0,on.NumberNode)({integer:!0,min:1,max:4095}),preferred_biomes:(0,fg.Tag)({resource:"$worldgen/biome"})},"minecraft:random_spread":{spread_type:(0,on.Opt)(n({enum:["linear","triangular"]})),spacing:(0,on.NumberNode)({integer:!0,min:0,max:4096}),separation:(0,on.Mod)((0,on.NumberNode)({integer:!0,min:0,max:4096}),r=>({validate:(a,s,c,l)=>(a.pop().push("spacing").get()<=s&&c.add(a,"error.separation_smaller_spacing"),r.validate(a,s,c,l))}))}}},{context:"structure_placement"}),{default:()=>({type:"minecraft:random_spread",spacing:10,separation:5,salt:Math.floor(Math.random()*2147483647)})}))}K_.initStructureSetSchemas=Nk;var Q_={};Object.defineProperty(Q_,"__esModule",{value:!0});Q_.initSurfaceRuleSchemas=void 0;const wn=j;function Ck(e,t){const n=wn.StringNode.bind(void 0,t),i=wn.Reference.bind(void 0,e);e.register("material_rule",(0,wn.Mod)((0,wn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_rule"}}),[wn.Switch]:[{push:"type"}],[wn.Case]:{"minecraft:block":{result_state:i("block_state")},"minecraft:condition":{if_true:i("material_condition"),then_run:i("material_rule")},"minecraft:sequence":{sequence:(0,wn.ListNode)(i("material_rule"))}}},{context:"material_rule",category:"pool"}),{default:()=>({type:"minecraft:block",result_state:{Name:"minecraft:stone"}})})),e.register("material_condition",(0,wn.Mod)((0,wn.ObjectNode)({type:n({validator:"resource",params:{pool:"worldgen/material_condition"}}),[wn.Switch]:[{push:"type"}],[wn.Case]:{"minecraft:biome":{biome_is:(0,wn.ListNode)(n({validator:"resource",params:{pool:"$worldgen/biome"}}))},"minecraft:noise_threshold":{noise:n({validator:"resource",params:{pool:"$worldgen/noise"}}),min_threshold:(0,wn.NumberNode)(),max_threshold:(0,wn.NumberNode)()},"minecraft:not":{invert:i("material_condition")},"minecraft:stone_depth":{offset:(0,wn.NumberNode)({integer:!0}),surface_type:n({enum:"cave_surface"}),add_surface_depth:(0,wn.BooleanNode)(),secondary_depth_range:(0,wn.NumberNode)({integer:!0})},"minecraft:vertical_gradient":{random_name:n(),true_at_and_below:i("vertical_anchor"),false_at_and_above:i("vertical_anchor")},"minecraft:water":{offset:(0,wn.NumberNode)({integer:!0}),surface_depth_multiplier:(0,wn.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,wn.BooleanNode)()},"minecraft:y_above":{anchor:i("vertical_anchor"),surface_depth_multiplier:(0,wn.NumberNode)({integer:!0,min:-20,max:20}),add_stone_depth:(0,wn.BooleanNode)()}}},{context:"material_condition"}),{default:()=>({type:"minecraft:biome",is_biome:"minecraft:plains"})}))}Q_.initSurfaceRuleSchemas=Ck;var X_={};Object.defineProperty(X_,"__esModule",{value:!0});X_.initTemplatePoolSchemas=void 0;const Bi=j,hg=na;function Ak(e,t){const n=Bi.Reference.bind(void 0,e),i=Bi.StringNode.bind(void 0,t);e.register("template_pool",(0,Bi.Mod)((0,Bi.ObjectNode)({name:i(),fallback:i(),elements:(0,Bi.ListNode)(n("template_weighted_element"))},{context:"template_pool"}),{default:()=>({fallback:"minecraft:empty",elements:[{weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}}]})})),e.register("template_weighted_element",(0,Bi.Mod)((0,Bi.ObjectNode)({weight:(0,Bi.NumberNode)({integer:!0,min:1}),element:n("template_element")},{category:"pool"}),{default:()=>({weight:1,element:{element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"}})})),e.register("template_element",(0,Bi.Mod)((0,Bi.ObjectNode)({element_type:i({validator:"resource",params:{pool:"worldgen/structure_pool_element"}}),projection:i({enum:["rigid","terrain_matching"]}),[Bi.Switch]:[{push:"element_type"}],[Bi.Case]:{"minecraft:feature_pool_element":{feature:i({validator:"resource",params:{pool:"$worldgen/placed_feature"}})},"minecraft:legacy_single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:hg.Processors},"minecraft:list_pool_element":{elements:(0,Bi.ListNode)(n("template_element"))},"minecraft:single_pool_element":{location:i({validator:"resource",params:{pool:"$structure"}}),processors:hg.Processors}}},{context:"template_element",disableSwitchContext:!0}),{default:()=>({element_type:"minecraft:single_pool_element",projection:"rigid",processors:"minecraft:empty"})}))}X_.initTemplatePoolSchemas=Ak;var Z_={};Object.defineProperty(Z_,"__esModule",{value:!0});Z_.initWorldPresetSchemas=void 0;const ba=j;function Ok(e,t){const n=ba.StringNode.bind(void 0,t),i=ba.Reference.bind(void 0,e);e.register("world_preset",(0,ba.Mod)((0,ba.ObjectNode)({dimensions:(0,ba.MapNode)(n({validator:"resource",params:{pool:"$dimension",isDefinition:!0}}),i("dimension"))},{context:"world_preset"}),{default:()=>({dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",biome_source:{type:"minecraft:multi_noise",preset:"minecraft:overworld"},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",biome_source:{type:"minecraft:multi_noise",preset:"minecraft:nether"},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",biome_source:{type:"minecraft:the_end"},settings:"minecraft:end"}}}})})),e.register("flat_level_generator_preset",(0,ba.Mod)((0,ba.ObjectNode)({display:n({validator:"resource",params:{pool:"item"}}),settings:i("flat_generator_settings")}),{default:()=>({display:"minecraft:grass_block",settings:{lakes:!1,features:!1,biome:"minecraft:plains",structure_overrides:[],layers:[{height:3,block:"minecraft:dirt"},{height:1,block:"minecraft:grass_block"}]}})}))}Z_.initWorldPresetSchemas=Ok;Object.defineProperty(Y_,"__esModule",{value:!0});Y_.initWorldgenSchemas=void 0;const Tk=Ef,wk=H_,Rk=V_,xk=vf,Dk=W_,Ik=j_,kk=na,Mk=q_,Lk=K_,Fk=Q_,Pk=X_,Bk=Z_;function $k(e,t){(0,kk.initProcessorListSchemas)(e,t),(0,xk.initDensityFunctionSchemas)(e,t),(0,Tk.initBiomeSchemas)(e,t),(0,wk.initCarverSchemas)(e,t),(0,Rk.initDecoratorSchemas)(e,t),(0,Dk.initFeatureSchemas)(e,t),(0,Ik.initNoiseSettingsSchemas)(e,t),(0,Mk.initStructureSchemas)(e,t),(0,Lk.initStructureSetSchemas)(e,t),(0,Fk.initSurfaceRuleSchemas)(e,t),(0,Pk.initTemplatePoolSchemas)(e,t),(0,Bk.initWorldPresetSchemas)(e,t)}Y_.initWorldgenSchemas=$k;var J_={};Object.defineProperty(J_,"__esModule",{value:!0});J_.initWorldSettingsSchemas=void 0;const ko=j;function Uk(e,t){const n=ko.Reference.bind(void 0,e),i=ko.StringNode.bind(void 0,t);e.register("world_settings",(0,ko.Mod)((0,ko.ObjectNode)({generate_features:(0,ko.BooleanNode)(),bonus_chest:(0,ko.BooleanNode)(),seed:(0,ko.NumberNode)({integer:!0}),dimensions:(0,ko.MapNode)(i({validator:"resource",params:{pool:"$dimension"}}),n("dimension"))},{context:"world_settings"}),{default:()=>{const o=Math.floor(Math.random()*4294967296)-2147483648;return{generate_features:!0,bonus_chest:!1,seed:o,dimensions:{"minecraft:overworld":{type:"minecraft:overworld",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:overworld"},settings:"minecraft:overworld"}},"minecraft:the_nether":{type:"minecraft:the_nether",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:multi_noise",preset:"minecraft:nether"},settings:"minecraft:nether"}},"minecraft:the_end":{type:"minecraft:the_end",generator:{type:"minecraft:noise",seed:o,biome_source:{type:"minecraft:the_end",seed:o},settings:"minecraft:end"}}}}}}))}J_.initWorldSettingsSchemas=Uk;Object.defineProperty(T_,"__esModule",{value:!0});T_.initSchemas=void 0;const Gk=w_,zk=R_,Yk=I_,Hk=yi,Vk=k_,Wk=M_,jk=L_,qk=F_,Kk=P_,Qk=B_,Xk=$_,Zk=U_,Jk=G_,eM=z_,tM=Y_,nM=J_;function iM(e,t){(0,Hk.initCommonSchemas)(e,t),(0,Yk.initChatTypeSchemas)(e,t),(0,Gk.initAdvancementSchemas)(e,t),(0,zk.initAssetsSchemas)(e,t),(0,Vk.initConditionSchemas)(e,t),(0,jk.initDimensionTypeSchemas)(e,t),(0,Wk.initDimensionSchemas)(e,t),(0,qk.initItemModifierSchemas)(e,t),(0,Kk.initLootTableSchemas)(e,t),(0,Qk.initPackMcmetaSchemas)(e,t),(0,Xk.initPredicatesSchemas)(e,t),(0,Zk.initRecipeSchemas)(e,t),(0,Jk.initTagsSchemas)(e,t),(0,eM.initTextComponentSchemas)(e,t),(0,tM.initWorldgenSchemas)(e,t),(0,nM.initWorldSettingsSchemas)(e,t)}T_.initSchemas=iM;var rM=ut&&ut.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),oM=ut&&ut.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),aM=ut&&ut.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&rM(t,e,n);return oM(t,e),t};Object.defineProperty(po,"__esModule",{value:!0});var bv=po.getSchemas=Sv=po.getCollections=vv=po.lootContext=void 0;const Ev=j,sM=O_,lM=T_;var vv=po.lootContext=aM(qi);function cM(){const e=new Ev.CollectionRegistry;return(0,sM.initCollections)(e),e}var Sv=po.getCollections=cM;function dM(e){const t=new Ev.SchemaRegistry;return(0,lM.initSchemas)(t,e),t}bv=po.getSchemas=dM;var uM=Ns({__proto__:null,get getSchemas(){return bv},get getCollections(){return Sv},get lootContext(){return vv},default:po},[po]);const yv=["1.15","1.16","1.17","1.18","1.18.2","1.19"],Ga={},za={},gg={1.15:X1,1.16:aR,1.17:bx,1.18:RD,"1.18.2":VI,1.19:uM};let Nv,Cv,Tc;async function Sf(e){return Ga[e]||(Ga[e]=(async()=>{try{const t=gg[e].getCollections(),n={};await u1(e,t,n);const i=gg[e].getSchemas(t);return Ga[e]={collections:t,schemas:i,blockStates:n},Ga[e]}catch(t){throw new Error(`Cannot get version "${e}": ${or(t)}`)}})()),Ga[e]}async function _M(e,t){var n;if(!za[t]||za[t].version!==e){const i=await Sf(e);Nv=j.Reference(i.schemas,"configured_decorator"),Cv=j.ChoiceNode([{type:"string",node:j.StringNode(i.collections,{validator:"resource",params:{pool:"$worldgen/configured_feature"}})},{type:"object",node:j.Reference(i.schemas,"configured_feature")}],{choiceContext:"feature"});const o=(n=Xt.generators.find(r=>r.id===t))==null?void 0:n.schema;if(!o)throw new Error(`Cannot find model ${t}`);try{const r=i.schemas.get(o),a=new j.DataModel(r,{wrapLists:!0});za[t]?a.reset(za[t].model.data,!1):(a.validate(!0),a.history=[JSON.stringify(a.data)]),za[t]={model:a,version:e}}catch(r){const a=new Error(`Cannot get generator "${t}" for version "${e}": ${or(r)}`);throw r instanceof Error&&(a.stack=r.stack),a}}return za[t].model}async function mM(e){const t=await Sf(e);return Tc=t.collections,t.collections}async function pM(e){return(await Sf(e)).blockStates}function xi(e,t,n){const i=Xt.versions.findIndex(a=>a.id===e),o=t?Xt.versions.findIndex(a=>a.id===t):0,r=n?Xt.versions.findIndex(a=>a.id===n):Xt.versions.length-1;return o<=i&&i<=r}var Av={exports:{}};(function(e){var t=function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function a(c,l){if(!r[c]){r[c]={};for(var _=0;_<c.length;_++)r[c][c.charAt(_)]=_}return r[c][l]}var s={compressToBase64:function(c){if(c==null)return"";var l=s._compress(c,6,function(_){return i.charAt(_)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:s._decompress(c.length,32,function(l){return a(i,c.charAt(l))})},compressToUTF16:function(c){return c==null?"":s._compress(c,15,function(l){return n(l+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:s._decompress(c.length,16384,function(l){return c.charCodeAt(l)-32})},compressToUint8Array:function(c){for(var l=s.compress(c),_=new Uint8Array(l.length*2),d=0,u=l.length;d<u;d++){var m=l.charCodeAt(d);_[d*2]=m>>>8,_[d*2+1]=m%256}return _},decompressFromUint8Array:function(c){if(c==null)return s.decompress(c);for(var l=new Array(c.length/2),_=0,d=l.length;_<d;_++)l[_]=c[_*2]*256+c[_*2+1];var u=[];return l.forEach(function(m){u.push(n(m))}),s.decompress(u.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":s._compress(c,6,function(l){return o.charAt(l)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),s._decompress(c.length,32,function(l){return a(o,c.charAt(l))}))},compress:function(c){return s._compress(c,16,function(l){return n(l)})},_compress:function(c,l,_){if(c==null)return"";var d,u,m={},f={},p="",h="",b="",g=2,v=3,E=2,S=[],N=0,C=0,y;for(y=0;y<c.length;y+=1)if(p=c.charAt(y),Object.prototype.hasOwnProperty.call(m,p)||(m[p]=v++,f[p]=!0),h=b+p,Object.prototype.hasOwnProperty.call(m,h))b=h;else{if(Object.prototype.hasOwnProperty.call(f,b)){if(b.charCodeAt(0)<256){for(d=0;d<E;d++)N=N<<1,C==l-1?(C=0,S.push(_(N)),N=0):C++;for(u=b.charCodeAt(0),d=0;d<8;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1}else{for(u=1,d=0;d<E;d++)N=N<<1|u,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=0;for(u=b.charCodeAt(0),d=0;d<16;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1}g--,g==0&&(g=Math.pow(2,E),E++),delete f[b]}else for(u=m[b],d=0;d<E;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1;g--,g==0&&(g=Math.pow(2,E),E++),m[h]=v++,b=String(p)}if(b!==""){if(Object.prototype.hasOwnProperty.call(f,b)){if(b.charCodeAt(0)<256){for(d=0;d<E;d++)N=N<<1,C==l-1?(C=0,S.push(_(N)),N=0):C++;for(u=b.charCodeAt(0),d=0;d<8;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1}else{for(u=1,d=0;d<E;d++)N=N<<1|u,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=0;for(u=b.charCodeAt(0),d=0;d<16;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1}g--,g==0&&(g=Math.pow(2,E),E++),delete f[b]}else for(u=m[b],d=0;d<E;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1;g--,g==0&&(g=Math.pow(2,E),E++)}for(u=2,d=0;d<E;d++)N=N<<1|u&1,C==l-1?(C=0,S.push(_(N)),N=0):C++,u=u>>1;for(;;)if(N=N<<1,C==l-1){S.push(_(N));break}else C++;return S.join("")},decompress:function(c){return c==null?"":c==""?null:s._decompress(c.length,32768,function(l){return c.charCodeAt(l)})},_decompress:function(c,l,_){var d=[],u=4,m=4,f=3,p="",h=[],b,g,v,E,S,N,C,y={val:_(0),position:l,index:1};for(b=0;b<3;b+=1)d[b]=b;for(v=0,S=Math.pow(2,2),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;switch(v){case 0:for(v=0,S=Math.pow(2,8),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;C=n(v);break;case 1:for(v=0,S=Math.pow(2,16),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;C=n(v);break;case 2:return""}for(d[3]=C,g=C,h.push(C);;){if(y.index>c)return"";for(v=0,S=Math.pow(2,f),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;switch(C=v){case 0:for(v=0,S=Math.pow(2,8),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;d[m++]=n(v),C=m-1,u--;break;case 1:for(v=0,S=Math.pow(2,16),N=1;N!=S;)E=y.val&y.position,y.position>>=1,y.position==0&&(y.position=l,y.val=_(y.index++)),v|=(E>0?1:0)*N,N<<=1;d[m++]=n(v),C=m-1,u--;break;case 2:return h.join("")}if(u==0&&(u=Math.pow(2,f),f++),d[C])p=d[C];else if(C===m)p=g+g.charAt(0);else return null;h.push(p),d[m++]=g+p.charAt(0),u--,g=p,u==0&&(u=Math.pow(2,f),f++)}}};return s}();e!=null&&(e.exports=t)})(Av);var Ov=Av.exports;const fM="https://z15g7can.directus.app/items",vp="share",bg=new Map;async function hM(e,t,n,i){try{const o=Ov.compressToBase64(JSON.stringify(n)),r=btoa(JSON.stringify(n));console.log("Compression rate",r.length/o.length);const a=JSON.stringify({data:o,type:e,version:t,show_preview:i});let s=bg.get(a);if(!s){const l=await Tv("/snippets",a);bg.set(a,l.id),s=l.id}const c=Xt.generators.find(l=>l.id===e);return`${location.protocol}//${location.host}/${c.url}/?${vp}=${s}`}catch(o){throw o instanceof Error&&(o.message=`Error creating share link: ${o.message}`),o}}async function Eg(e){var t;try{const n=await Tv(`/snippets/${e}`);return qe(H({},n),{data:JSON.parse((t=Ov.decompressFromBase64(n.data))!=null?t:"{}")})}catch(n){throw n instanceof Error&&(n.message=`Error loading shared content: ${n.message}`),n}}async function Tv(e,t){var o,r,a;const i=await(await fetch(fM+e,t?{method:"post",headers:{"Content-Type":"application/json"},body:t}:void 0)).json();if(i.data)return i.data;throw new Error((a=(r=(o=i.errors)==null?void 0:o[0])==null?void 0:r.message)!=null?a:"Unknown error")}const gM="modulepreload",vg={},bM="/",vn=function(t,n){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=`${bM}${i}`,i in vg)return;vg[i]=!0;const o=i.endsWith(".css"),r=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${r}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":gM,o||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),o)return new Promise((s,c)=>{a.addEventListener("load",s),a.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var wv=JSON.parse('{"add":"Add","add_bottom":"Add to bottom","add_top":"Add to top","advancement":"Advancement","any_version":"Any","assets":"Assets","block_definition":"Blockstate","changelog.search":"Search changes","changelog.no_results":"No changes","chat_type":"Chat Type","collapse":"Collapse","collapse_all":"Hold %0% to collapse all","configure_layers":"Configure layers","copy":"Copy","copy_share":"Copy share link","copied":"Copied!","copy_context":"Copy context","dimension_type":"Dimension Type","dimension":"Dimension","disabled":"Disabled","download":"Download","duplicate":"Duplicate","enabled":"Enabled","entries_hidden":"%0% entries hidden","entries_hidden.more":"Show %0% more","entries_hidden.all":"Show all","expand":"Expand","expand_all":"Hold %0% to expand all","feature.decorated.decorators":"Decorators","feature.decorated.decorators.entry":"Decorator","follow_reference":"Follow reference","format.json":"JSON","format.yaml":"YAML","fields":"Fields","generate_new_seed":"Generate new seed","github":"GitHub","guides.all":"All guides","guides.search":"Search guides","guides.no_results.version":"No guides for this version","guides.no_results.query":"No guides for this query","hide_output":"Hide output","hide_preview":"Hide preview","home":"Home","import":"Import","indentation.2_spaces":"2 spaces","indentation.4_spaces":"4 spaces","indentation.minified":"Minified","indentation.tabs":"Tabs","item_modifier":"Item Modifier","language":"Language","layer.biomes":"Biomes","layer.temperature":"Temperature","layer.humidity":"Humidity","layer.continentalness":"Continentalness","layer.erosion":"Erosion","layer.weirdness":"Weirdness","layer.offset":"Offset","layer.factor":"Factor","layer.jaggedness":"Jaggedness","highlighting":"Highlighting","loading":"Loading...","loot_table":"Loot Table","model":"Model","more":"More","move_down":"Move down","move_up":"Move up","not_found.description":"The page you were looking for does not exist.","no_presets":"No presets","output_settings":"Output settings","predicate":"Predicate","recipe":"Recipe","redo":"Redo","reset":"Reset","restore_backup":"Restore last backup","settings":"Settings","settings.fields.description":"Customize advanced field settings","settings.fields.path":"Context","settings.fields.name":"Name","share":"Share","theme":"Theme","theme.dark":"Dark","theme.light":"Light","theme.system":"System","title.changelog":"Technical Changelog","title.generator":"%0% Generator","title.generator_category":"%0% Generators","title.guides":"Data Pack Guides","title.home":"Data Pack Generators","title.project":"%0% Project","title.sounds":"Sound Explorer","title.versions":"Versions Explorer","presets":"Presets","preview":"Visualize","preview.auto_scroll":"Auto scroll","preview.biome":"Biome","preview.scale":"Scale","preview.depth":"Depth","preview.factor":"Factor","preview.offset":"Offset","preview.peaks":"Peaks","preview.width":"Width","project.delete_file":"Delete file","project.go_to":"Go to project","project.new_file":"New file","project.no_files":"No files","project.search":"Search project","project.search_drafts":"Search drafts","project.unsaved_file":"Unsaved file","remove":"Remove","search":"Search","show_output":"Show output","show_preview":"Show preview","sounds.play":"Play","sounds.play_sound":"Play sound","sounds.play_all":"Play all","sounds.search":"Search sounds","sounds.download_function":"Download Mcfunction","sounds.delay":"Delay","sounds.pitch":"Pitch","sounds.volume":"Volume","sounds.copy_command":"Copy command","sounds.add_sound":"Add sound","sounds.remove_sound":"Remove sound","sounds.unknown_sound":"Unknown sound","sounds.loading_sound":"Loading sound","source_placeholder":"Paste raw %0% content here","switch_generator":"Switch generator","switch_version":"Switch version","terrain_settings":"Terrain settings","text_component":"Text Component","undo":"Undo","versions.search":"Search versions","versions.no_results":"No results","versions.all":"All versions","versions.previous":"Previous","versions.next":"Next","versions.released":"Released","versions.release_target":"Release target","versions.data_version":"Data version","versions.protocol_version":"Protocol version","versions.pack_format":"Pack format","versions.data_pack_format":"Data pack format","versions.resource_pack_format":"Resource pack format","versions.technical_changes":"Technical changes","versions.discussion":"Discussion","world":"World Settings","worldgen":"Worldgen","worldgen/biome":"Biome","worldgen/configured_carver":"Carver","worldgen/configured_feature":"Feature","worldgen/density_function":"Density Function","worldgen/placed_feature":"Placed Feature","worldgen/noise":"Noise","worldgen/noise_settings":"Noise Settings","worldgen/processor_list":"Processor List","worldgen/configured_structure_feature":"Structure Feature","worldgen/structure":"Structure","worldgen/structure_set":"Structure Set","worldgen/configured_surface_builder":"Surface Builder","worldgen/template_pool":"Template Pool","worldgen/world_preset":"World Preset","worldgen/flat_level_generator_preset":"Flat World Preset","zoom_in":"Zoom in","zoom_out":"Zoom out"}'),EM=Object.freeze(Object.defineProperty({__proto__:null,default:wv},Symbol.toStringTag,{value:"Module"})),si;(e=>{e.ID_LANGUAGE="language",e.ID_THEME="theme",e.ID_VERSION="schema_version",e.ID_INDENT="indentation",e.ID_FORMAT="output_format",e.ID_HIGHLIGHTING="output_highlighting",e.ID_SOUNDS_VERSION="minecraft_sounds_version",e.ID_PROJECTS="misode_projects",e.ID_BACKUPS="misode_generator_backups";function t(){var v;return(v=localStorage.getItem(e.ID_LANGUAGE))!=null?v:"en"}e.getLanguage=t;function n(){var v;return(v=localStorage.getItem(e.ID_THEME))!=null?v:"dark"}e.getTheme=n;function i(){const v=localStorage.getItem(e.ID_VERSION);return v&&yv.includes(v)?v:"1.18.2"}e.getVersion=i;function o(){var v;return(v=localStorage.getItem(e.ID_INDENT))!=null?v:"2_spaces"}e.getIndent=o;function r(){var v;return(v=localStorage.getItem(e.ID_FORMAT))!=null?v:"json"}e.getFormat=r;function a(){return localStorage.getItem(e.ID_HIGHLIGHTING)!=="false"}e.getHighlighting=a;function s(){var v;return(v=localStorage.getItem(e.ID_SOUNDS_VERSION))!=null?v:"latest"}e.getSoundsVersion=s;function c(){const v=localStorage.getItem(e.ID_PROJECTS);return v?JSON.parse(v):[Wc]}e.getProjects=c;function l(v){var S;return JSON.parse((S=localStorage.getItem(e.ID_BACKUPS))!=null?S:"{}")[v]}e.getBackup=l;function _(v){v&&localStorage.setItem(e.ID_LANGUAGE,v)}e.setLanguage=_;function d(v){v&&localStorage.setItem(e.ID_THEME,v)}e.setTheme=d;function u(v){v&&localStorage.setItem(e.ID_VERSION,v)}e.setVersion=u;function m(v){v&&localStorage.setItem(e.ID_INDENT,v)}e.setIndent=m;function f(v){v&&localStorage.setItem(e.ID_FORMAT,v)}e.setFormat=f;function p(v){v!==void 0&&localStorage.setItem(e.ID_HIGHLIGHTING,v.toString())}e.setHighlighting=p;function h(v){v&&localStorage.setItem(e.ID_SOUNDS_VERSION,v)}e.setSoundsVersion=h;function b(v){v&&localStorage.setItem(e.ID_PROJECTS,JSON.stringify(v))}e.setProjects=b;function g(v,E){var N;const S=JSON.parse((N=localStorage.getItem(e.ID_BACKUPS))!=null?N:"{}");E===void 0?delete S[v]:S[v]=E,localStorage.setItem(e.ID_BACKUPS,JSON.stringify(S))}e.setBackup=g})(si||(si={}));function vM(e){switch(e){case"../../../node_modules/@mcschema/locales/src/cs.json":return vn(()=>import("./cs.967a01eb.js"),[]);case"../../../node_modules/@mcschema/locales/src/de.json":return vn(()=>import("./de.8e2383d8.js"),[]);case"../../../node_modules/@mcschema/locales/src/en.json":return vn(()=>import("./en.4ab98cb7.js"),[]);case"../../../node_modules/@mcschema/locales/src/es.json":return vn(()=>import("./es.6b3597bc.js"),[]);case"../../../node_modules/@mcschema/locales/src/fr.json":return vn(()=>import("./fr.e316b1e2.js"),[]);case"../../../node_modules/@mcschema/locales/src/it.json":return vn(()=>import("./it.7ff123cd.js"),[]);case"../../../node_modules/@mcschema/locales/src/ja.json":return vn(()=>import("./ja.3170354d.js"),[]);case"../../../node_modules/@mcschema/locales/src/pl.json":return vn(()=>import("./pl.ae1f6791.js"),[]);case"../../../node_modules/@mcschema/locales/src/pt.json":return vn(()=>import("./pt.31e14993.js"),[]);case"../../../node_modules/@mcschema/locales/src/ru.json":return vn(()=>import("./ru.1298edc9.js"),[]);case"../../../node_modules/@mcschema/locales/src/sk.json":return vn(()=>import("./sk.d4265232.js"),[]);case"../../../node_modules/@mcschema/locales/src/zh-cn.json":return vn(()=>import("./zh-cn.4129665a.js"),[]);case"../../../node_modules/@mcschema/locales/src/zh-tw.json":return vn(()=>import("./zh-tw.bdc36a24.js"),[]);default:return new Promise(function(t,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}function SM(e){switch(e){case"../../locales/de.json":return vn(()=>import("./de.a269acce.js"),[]);case"../../locales/en.json":return vn(()=>Promise.resolve().then(function(){return EM}),void 0);case"../../locales/es.json":return vn(()=>import("./es.833a9774.js"),[]);case"../../locales/fr.json":return vn(()=>import("./fr.f5531eea.js"),[]);case"../../locales/it.json":return vn(()=>import("./it.fd9a8268.js"),[]);case"../../locales/ja.json":return vn(()=>import("./ja.167de97b.js"),[]);case"../../locales/pl.json":return vn(()=>import("./pl.3a9fb38c.js"),[]);case"../../locales/pt.json":return vn(()=>import("./pt.1a04bd2d.js"),[]);case"../../locales/ru.json":return vn(()=>import("./ru.578070fe.js"),[]);case"../../locales/sk.json":return vn(()=>import("./sk.96bbf351.js"),[]);case"../../locales/zh-cn.json":return vn(()=>import("./zh-cn.e3c47b68.js"),[]);case"../../locales/zh-tw.json":return vn(()=>import("./zh-tw.42e9d37d.js"),[]);default:return new Promise(function(t,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const Rv=Cs({lang:"none",locale:e=>e,changeLanguage:()=>{}}),ol={fallback:wv};function Ht(e,t,...n){var o,r,a,s,c;const i=(c=(s=(a=(o=ol[e])==null?void 0:o[t])!=null?a:(r=ol.en)==null?void 0:r[t])!=null?s:ol.fallback[t])!=null?c:t;return yM(i,n)}function yM(e,t){return e.replace(/%\d+%/g,n=>{const i=parseInt(n.slice(1,-1));return(t==null?void 0:t[i])!==void 0?t[i]:n})}async function Nm(e){if(ol[e])return;const t=Xt.languages.find(o=>o.code===e);if(!t)return;const n=await SM(`../../locales/${e}.json`),i=t.schemas!==!1&&await vM(`../../../node_modules/@mcschema/locales/src/${e}.json`);ol[e]=H(H({},n.default),i.default)}function An(){return Os(Rv)}function NM({children:e}){const[t,n]=we("none"),i=li((a,...s)=>Ht(t,a,...s),[t]),o=li(async a=>{await Nm(a),zn.setLanguage(a),si.setLanguage(a),n(a)},[]);ct(()=>{(async()=>{const a=si.getLanguage();await Promise.all([Nm("en"),...a!=="en"?[Nm(a)]:[]]),n(a)})()},[]);const r={lang:t,locale:i,changeLanguage:o};return T(Rv.Provider,{value:r},e)}const Wc={name:"Drafts",namespace:"draft",files:[]},xv=Cs({project:Wc,changeProject:()=>{},updateProject:()=>{},updateFile:()=>!1,openFile:()=>{},closeFile:()=>{}});function Dv(){return Os(xv)}function CM({children:e}){const[t,n]=we(si.getProjects()),[i,o]=we(Wc.name),r=bn(()=>{var p;return(p=t.find(h=>h.name===i))!=null?p:Wc},[t,i]),[a,s]=we(void 0),c=bn(()=>{if(!!a)return r.files.find(p=>p.type===a[0]&&p.id===a[1])},[r,a]),l=li(p=>{si.setProjects(p),n(p)},[]),_=li(p=>{l(t.map(h=>h.name===i?H(H({},h),p):h))},[t,i]),d=li((p,h,b)=>{var g;if(!b.id)_({files:r.files.filter(v=>v.type!==p||v.id!==h)});else{const v=b.id.includes(":")?b.id:`${r.namespace}:${b.id}`,E=r.files.some(S=>S.type===p&&S.id===v);if(h){if((c==null?void 0:c.id)===h&&h!==v&&E)return!1;_({files:r.files.map(S=>S.type===p&&S.id===h?qe(H(H({},S),b),{id:v}):S)}),(c==null?void 0:c.id)===h&&s([p,v])}else{if(E)return!1;_({files:[...r.files,{type:p,id:v,data:(g=b.data)!=null?g:{}}]}),s([p,v])}}return!0},[_,r,c]),u=li((p,h)=>{const b=Xt.generators.find(g=>g.id===p||g.path===p);if(!b)throw new Error(`Cannot find generator of type ${p}`);s([b.id,h]),Qo(bo(b.url))},[]),m=li(()=>{s(void 0)},[]),f={project:r,file:c,changeProject:o,updateProject:_,updateFile:d,openFile:u,closeFile:m};return T(xv.Provider,{value:f},e)}function AM(e){var o;const[t,n]=e.id.includes(":")?e.id.split(":"):["minecraft",e.id],i=Xt.generators.find(r=>r.id===e.type);if(!i)throw new Error(`Cannot find generator of type ${e.type}`);return`data/${t}/${(o=i.path)!=null?o:i.id}/${n}`}const Iv=Cs({theme:"dark",actualTheme:"dark",changeTheme:()=>{}});function kv(){return Os(Iv)}function OM({children:e}){const[t,n]=we(si.getTheme()),i=Qh("(prefers-color-scheme: light)"),o=Qh("(prefers-color-scheme: dark)");ct(()=>{document.documentElement.setAttribute("data-theme",t)},[t]);const r=li(s=>{zn.setTheme(s),si.setTheme(s),n(s)},[]);ct(()=>{zn.setPrefersColorScheme(i?"light":o?"dark":"none")},[i,o]);const a={theme:t,actualTheme:t==="light"||t!=="dark"&&i?"light":"dark",changeTheme:r};return T(Iv.Provider,{value:a},e)}const TM=3,Mv=Cs({title:"",changeTitle:()=>{}});function br(e,t){const n=Os(Mv);return ct(()=>{e&&n.changeTitle(e,t)},[e,t]),n}function wM({children:e}){const{locale:t}=An(),[n,i]=we(t("title.home")),o=li((a,s)=>{s!=null||(s=Xt.versions.map(l=>l.id));const c=s.slice(-TM);document.title=`${a} Minecraft ${c.join(", ")}`,i(a)},[]),r={title:n,changeTitle:o};return T(Mv.Provider,{value:r},e)}const RM="version",Lv=Cs({version:"1.18.2",changeVersion:()=>{},changeTargetVersion:()=>{}});function xs(){return Os(Lv)}function xM({children:e}){const[t,n]=we(si.getVersion()),[i,o]=hl(RM);ct(()=>{yv.includes(i)&&t!==i&&n(i)},[t,i]);const r=li((s,c=!0,l=!1)=>{(l||i)&&o(s,!0),c&&(zn.setVersion(s),si.setVersion(s)),n(s)},[i]),a={version:t,changeVersion:r,changeTargetVersion:o};return T(Lv.Provider,{value:a},e)}/*! pako 2.0.4 https://github.com/nodeca/pako @license (MIT AND Zlib) */const DM=4,Sg=0,yg=1,IM=2;function Ds(e){let t=e.length;for(;--t>=0;)e[t]=0}const kM=0,Fv=1,MM=2,LM=3,FM=258,yf=29,jl=256,gl=jl+1+yf,ss=30,Nf=19,Pv=2*gl+1,ya=15,Cm=16,PM=7,Cf=256,Bv=16,$v=17,Uv=18,Sp=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]),wc=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]),BM=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Gv=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),$M=512,io=new Array((gl+2)*2);Ds(io);const al=new Array(ss*2);Ds(al);const bl=new Array($M);Ds(bl);const El=new Array(FM-LM+1);Ds(El);const Af=new Array(yf);Ds(Af);const jc=new Array(ss);Ds(jc);function Am(e,t,n,i,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=o,this.has_stree=e&&e.length}let zv,Yv,Hv;function Om(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const Vv=e=>e<256?bl[e]:bl[256+(e>>>7)],vl=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Di=(e,t,n)=>{e.bi_valid>Cm-n?(e.bi_buf|=t<<e.bi_valid&65535,vl(e,e.bi_buf),e.bi_buf=t>>Cm-e.bi_valid,e.bi_valid+=n-Cm):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},Or=(e,t,n)=>{Di(e,n[t*2],n[t*2+1])},Wv=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},UM=e=>{e.bi_valid===16?(vl(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)},GM=(e,t)=>{const n=t.dyn_tree,i=t.max_code,o=t.stat_desc.static_tree,r=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length;let l,_,d,u,m,f,p=0;for(u=0;u<=ya;u++)e.bl_count[u]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<Pv;l++)_=e.heap[l],u=n[n[_*2+1]*2+1]+1,u>c&&(u=c,p++),n[_*2+1]=u,!(_>i)&&(e.bl_count[u]++,m=0,_>=s&&(m=a[_-s]),f=n[_*2],e.opt_len+=f*(u+m),r&&(e.static_len+=f*(o[_*2+1]+m)));if(p!==0){do{for(u=c-1;e.bl_count[u]===0;)u--;e.bl_count[u]--,e.bl_count[u+1]+=2,e.bl_count[c]--,p-=2}while(p>0);for(u=c;u!==0;u--)for(_=e.bl_count[u];_!==0;)d=e.heap[--l],!(d>i)&&(n[d*2+1]!==u&&(e.opt_len+=(u-n[d*2+1])*n[d*2],n[d*2+1]=u),_--)}},jv=(e,t,n)=>{const i=new Array(ya+1);let o=0,r,a;for(r=1;r<=ya;r++)i[r]=o=o+n[r-1]<<1;for(a=0;a<=t;a++){let s=e[a*2+1];s!==0&&(e[a*2]=Wv(i[s]++,s))}},zM=()=>{let e,t,n,i,o;const r=new Array(ya+1);for(n=0,i=0;i<yf-1;i++)for(Af[i]=n,e=0;e<1<<Sp[i];e++)El[n++]=i;for(El[n-1]=i,o=0,i=0;i<16;i++)for(jc[i]=o,e=0;e<1<<wc[i];e++)bl[o++]=i;for(o>>=7;i<ss;i++)for(jc[i]=o<<7,e=0;e<1<<wc[i]-7;e++)bl[256+o++]=i;for(t=0;t<=ya;t++)r[t]=0;for(e=0;e<=143;)io[e*2+1]=8,e++,r[8]++;for(;e<=255;)io[e*2+1]=9,e++,r[9]++;for(;e<=279;)io[e*2+1]=7,e++,r[7]++;for(;e<=287;)io[e*2+1]=8,e++,r[8]++;for(jv(io,gl+1,r),e=0;e<ss;e++)al[e*2+1]=5,al[e*2]=Wv(e,5);zv=new Am(io,Sp,jl+1,gl,ya),Yv=new Am(al,wc,0,ss,ya),Hv=new Am(new Array(0),BM,0,Nf,PM)},qv=e=>{let t;for(t=0;t<gl;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ss;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Nf;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Cf*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0},Kv=e=>{e.bi_valid>8?vl(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},YM=(e,t,n,i)=>{Kv(e),i&&(vl(e,n),vl(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Ng=(e,t,n,i)=>{const o=t*2,r=n*2;return e[o]<e[r]||e[o]===e[r]&&i[t]<=i[n]},Tm=(e,t,n)=>{const i=e.heap[n];let o=n<<1;for(;o<=e.heap_len&&(o<e.heap_len&&Ng(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!Ng(t,i,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=i},Cg=(e,t,n)=>{let i,o,r=0,a,s;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+r*2]<<8|e.pending_buf[e.d_buf+r*2+1],o=e.pending_buf[e.l_buf+r],r++,i===0?Or(e,o,t):(a=El[o],Or(e,a+jl+1,t),s=Sp[a],s!==0&&(o-=Af[a],Di(e,o,s)),i--,a=Vv(i),Or(e,a,n),s=wc[a],s!==0&&(i-=jc[a],Di(e,i,s)));while(r<e.last_lit);Or(e,Cf,t)},yp=(e,t)=>{const n=t.dyn_tree,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,r=t.stat_desc.elems;let a,s,c=-1,l;for(e.heap_len=0,e.heap_max=Pv,a=0;a<r;a++)n[a*2]!==0?(e.heap[++e.heap_len]=c=a,e.depth[a]=0):n[a*2+1]=0;for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,o&&(e.static_len-=i[l*2+1]);for(t.max_code=c,a=e.heap_len>>1;a>=1;a--)Tm(e,n,a);l=r;do a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Tm(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=s,n[l*2]=n[a*2]+n[s*2],e.depth[l]=(e.depth[a]>=e.depth[s]?e.depth[a]:e.depth[s])+1,n[a*2+1]=n[s*2+1]=l,e.heap[1]=l++,Tm(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],GM(e,t),jv(n,c,e.bl_count)},Ag=(e,t,n)=>{let i,o=-1,r,a=t[0*2+1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)r=a,a=t[(i+1)*2+1],!(++s<c&&r===a)&&(s<l?e.bl_tree[r*2]+=s:r!==0?(r!==o&&e.bl_tree[r*2]++,e.bl_tree[Bv*2]++):s<=10?e.bl_tree[$v*2]++:e.bl_tree[Uv*2]++,s=0,o=r,a===0?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4))},Og=(e,t,n)=>{let i,o=-1,r,a=t[0*2+1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),i=0;i<=n;i++)if(r=a,a=t[(i+1)*2+1],!(++s<c&&r===a)){if(s<l)do Or(e,r,e.bl_tree);while(--s!==0);else r!==0?(r!==o&&(Or(e,r,e.bl_tree),s--),Or(e,Bv,e.bl_tree),Di(e,s-3,2)):s<=10?(Or(e,$v,e.bl_tree),Di(e,s-3,3)):(Or(e,Uv,e.bl_tree),Di(e,s-11,7));s=0,o=r,a===0?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4)}},HM=e=>{let t;for(Ag(e,e.dyn_ltree,e.l_desc.max_code),Ag(e,e.dyn_dtree,e.d_desc.max_code),yp(e,e.bl_desc),t=Nf-1;t>=3&&e.bl_tree[Gv[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},VM=(e,t,n,i)=>{let o;for(Di(e,t-257,5),Di(e,n-1,5),Di(e,i-4,4),o=0;o<i;o++)Di(e,e.bl_tree[Gv[o]*2+1],3);Og(e,e.dyn_ltree,t-1),Og(e,e.dyn_dtree,n-1)},WM=e=>{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Sg;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return yg;for(n=32;n<jl;n++)if(e.dyn_ltree[n*2]!==0)return yg;return Sg};let Tg=!1;const jM=e=>{Tg||(zM(),Tg=!0),e.l_desc=new Om(e.dyn_ltree,zv),e.d_desc=new Om(e.dyn_dtree,Yv),e.bl_desc=new Om(e.bl_tree,Hv),e.bi_buf=0,e.bi_valid=0,qv(e)},Qv=(e,t,n,i)=>{Di(e,(kM<<1)+(i?1:0),3),YM(e,t,n,!0)},qM=e=>{Di(e,Fv<<1,3),Or(e,Cf,io),UM(e)},KM=(e,t,n,i)=>{let o,r,a=0;e.level>0?(e.strm.data_type===IM&&(e.strm.data_type=WM(e)),yp(e,e.l_desc),yp(e,e.d_desc),a=HM(e),o=e.opt_len+3+7>>>3,r=e.static_len+3+7>>>3,r<=o&&(o=r)):o=r=n+5,n+4<=o&&t!==-1?Qv(e,t,n,i):e.strategy===DM||r===o?(Di(e,(Fv<<1)+(i?1:0),3),Cg(e,io,al)):(Di(e,(MM<<1)+(i?1:0),3),VM(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Cg(e,e.dyn_ltree,e.dyn_dtree)),qv(e),i&&Kv(e)},QM=(e,t,n)=>(e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(El[n]+jl+1)*2]++,e.dyn_dtree[Vv(t)*2]++),e.last_lit===e.lit_bufsize-1);var XM=jM,ZM=Qv,JM=KM,eL=QM,tL=qM,nL={_tr_init:XM,_tr_stored_block:ZM,_tr_flush_block:JM,_tr_tally:eL,_tr_align:tL};const iL=(e,t,n,i)=>{let o=e&65535|0,r=e>>>16&65535|0,a=0;for(;n!==0;){a=n>2e3?2e3:n,n-=a;do o=o+t[i++]|0,r=r+o|0;while(--a);o%=65521,r%=65521}return o|r<<16|0};var Sl=iL;const rL=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},oL=new Uint32Array(rL()),aL=(e,t,n,i)=>{const o=oL,r=i+n;e^=-1;for(let a=i;a<r;a++)e=e>>>8^o[(e^t[a])&255];return e^-1};var oi=aL,yl={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"},em={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:sL,_tr_stored_block:lL,_tr_flush_block:cL,_tr_tally:Wo,_tr_align:dL}=nL,{Z_NO_FLUSH:Ba,Z_PARTIAL_FLUSH:uL,Z_FULL_FLUSH:_L,Z_FINISH:jo,Z_BLOCK:wg,Z_OK:Tr,Z_STREAM_END:Rg,Z_STREAM_ERROR:rr,Z_DATA_ERROR:mL,Z_BUF_ERROR:wm,Z_DEFAULT_COMPRESSION:pL,Z_FILTERED:fL,Z_HUFFMAN_ONLY:oc,Z_RLE:hL,Z_FIXED:gL,Z_DEFAULT_STRATEGY:bL,Z_UNKNOWN:EL,Z_DEFLATED:tm}=em,vL=9,SL=15,yL=8,NL=29,CL=256,Np=CL+1+NL,AL=30,OL=19,TL=2*Np+1,wL=15,Ut=3,Go=258,gr=Go+Ut+1,RL=32,nm=42,Cp=69,Rc=73,xc=91,Dc=103,Na=113,Xs=666,ei=1,ql=2,Ia=3,Is=4,xL=3,zo=(e,t)=>(e.msg=yl[t],t),xg=e=>(e<<1)-(e>4?9:0),$o=e=>{let t=e.length;for(;--t>=0;)e[t]=0};let DL=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,qo=DL;const Fo=e=>{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))},ui=(e,t)=>{cL(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Fo(e.strm)},Kt=(e,t)=>{e.pending_buf[e.pending++]=t},Vs=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},IL=(e,t,n,i)=>{let o=e.avail_in;return o>i&&(o=i),o===0?0:(e.avail_in-=o,t.set(e.input.subarray(e.next_in,e.next_in+o),n),e.state.wrap===1?e.adler=Sl(e.adler,t,o,n):e.state.wrap===2&&(e.adler=oi(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)},Xv=(e,t)=>{let n=e.max_chain_length,i=e.strstart,o,r,a=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-gr?e.strstart-(e.w_size-gr):0,l=e.window,_=e.w_mask,d=e.prev,u=e.strstart+Go;let m=l[i+a-1],f=l[i+a];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(o=t,!(l[o+a]!==f||l[o+a-1]!==m||l[o]!==l[i]||l[++o]!==l[i+1])){i+=2,o++;do;while(l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&l[++i]===l[++o]&&i<u);if(r=Go-(u-i),i=u-Go,r>a){if(e.match_start=t,a=r,r>=s)break;m=l[i+a-1],f=l[i+a]}}while((t=d[t&_])>c&&--n!==0);return a<=e.lookahead?a:e.lookahead},ka=e=>{const t=e.w_size;let n,i,o,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-gr)){e.window.set(e.window.subarray(t,t+t),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do o=e.head[--n],e.head[n]=o>=t?o-t:0;while(--i);i=t,n=i;do o=e.prev[--n],e.prev[n]=o>=t?o-t:0;while(--i);r+=t}if(e.strm.avail_in===0)break;if(i=IL(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=i,e.lookahead+e.insert>=Ut)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=qo(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=qo(e,e.ins_h,e.window[a+Ut-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<Ut)););}while(e.lookahead<gr&&e.strm.avail_in!==0)},kL=(e,t)=>{let n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ka(e),e.lookahead===0&&t===Ba)return ei;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;const i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,ui(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-gr&&(ui(e,!1),e.strm.avail_out===0))return ei}return e.insert=0,t===jo?(ui(e,!0),e.strm.avail_out===0?Ia:Is):(e.strstart>e.block_start&&(ui(e,!1),e.strm.avail_out===0),ei)},Rm=(e,t)=>{let n,i;for(;;){if(e.lookahead<gr){if(ka(e),e.lookahead<gr&&t===Ba)return ei;if(e.lookahead===0)break}if(n=0,e.lookahead>=Ut&&(e.ins_h=qo(e,e.ins_h,e.window[e.strstart+Ut-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-gr&&(e.match_length=Xv(e,n)),e.match_length>=Ut)if(i=Wo(e,e.strstart-e.match_start,e.match_length-Ut),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ut){e.match_length--;do e.strstart++,e.ins_h=qo(e,e.ins_h,e.window[e.strstart+Ut-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=qo(e,e.ins_h,e.window[e.strstart+1]);else i=Wo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(ui(e,!1),e.strm.avail_out===0))return ei}return e.insert=e.strstart<Ut-1?e.strstart:Ut-1,t===jo?(ui(e,!0),e.strm.avail_out===0?Ia:Is):e.last_lit&&(ui(e,!1),e.strm.avail_out===0)?ei:ql},Ya=(e,t)=>{let n,i,o;for(;;){if(e.lookahead<gr){if(ka(e),e.lookahead<gr&&t===Ba)return ei;if(e.lookahead===0)break}if(n=0,e.lookahead>=Ut&&(e.ins_h=qo(e,e.ins_h,e.window[e.strstart+Ut-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=Ut-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-gr&&(e.match_length=Xv(e,n),e.match_length<=5&&(e.strategy===fL||e.match_length===Ut&&e.strstart-e.match_start>4096)&&(e.match_length=Ut-1)),e.prev_length>=Ut&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-Ut,i=Wo(e,e.strstart-1-e.prev_match,e.prev_length-Ut),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=o&&(e.ins_h=qo(e,e.ins_h,e.window[e.strstart+Ut-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=Ut-1,e.strstart++,i&&(ui(e,!1),e.strm.avail_out===0))return ei}else if(e.match_available){if(i=Wo(e,0,e.window[e.strstart-1]),i&&ui(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ei}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Wo(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ut-1?e.strstart:Ut-1,t===jo?(ui(e,!0),e.strm.avail_out===0?Ia:Is):e.last_lit&&(ui(e,!1),e.strm.avail_out===0)?ei:ql},ML=(e,t)=>{let n,i,o,r;const a=e.window;for(;;){if(e.lookahead<=Go){if(ka(e),e.lookahead<=Go&&t===Ba)return ei;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ut&&e.strstart>0&&(o=e.strstart-1,i=a[o],i===a[++o]&&i===a[++o]&&i===a[++o])){r=e.strstart+Go;do;while(i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&o<r);e.match_length=Go-(r-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ut?(n=Wo(e,1,e.match_length-Ut),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Wo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ui(e,!1),e.strm.avail_out===0))return ei}return e.insert=0,t===jo?(ui(e,!0),e.strm.avail_out===0?Ia:Is):e.last_lit&&(ui(e,!1),e.strm.avail_out===0)?ei:ql},LL=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(ka(e),e.lookahead===0)){if(t===Ba)return ei;break}if(e.match_length=0,n=Wo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ui(e,!1),e.strm.avail_out===0))return ei}return e.insert=0,t===jo?(ui(e,!0),e.strm.avail_out===0?Ia:Is):e.last_lit&&(ui(e,!1),e.strm.avail_out===0)?ei:ql};function Nr(e,t,n,i,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=o}const Zs=[new Nr(0,0,0,0,kL),new Nr(4,4,8,4,Rm),new Nr(4,5,16,8,Rm),new Nr(4,6,32,32,Rm),new Nr(4,4,16,16,Ya),new Nr(8,16,32,32,Ya),new Nr(8,16,128,128,Ya),new Nr(8,32,128,256,Ya),new Nr(32,128,258,1024,Ya),new Nr(32,258,258,4096,Ya)],FL=e=>{e.window_size=2*e.w_size,$o(e.head),e.max_lazy_match=Zs[e.level].max_lazy,e.good_match=Zs[e.level].good_length,e.nice_match=Zs[e.level].nice_length,e.max_chain_length=Zs[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ut-1,e.match_available=0,e.ins_h=0};function PL(){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=tm,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(TL*2),this.dyn_dtree=new Uint16Array((2*AL+1)*2),this.bl_tree=new Uint16Array((2*OL+1)*2),$o(this.dyn_ltree),$o(this.dyn_dtree),$o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(wL+1),this.heap=new Uint16Array(2*Np+1),$o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Np+1),$o(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Zv=e=>{if(!e||!e.state)return zo(e,rr);e.total_in=e.total_out=0,e.data_type=EL;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?nm:Na,e.adler=t.wrap===2?0:1,t.last_flush=Ba,sL(t),Tr},Jv=e=>{const t=Zv(e);return t===Tr&&FL(e.state),t},BL=(e,t)=>!e||!e.state||e.state.wrap!==2?rr:(e.state.gzhead=t,Tr),eS=(e,t,n,i,o,r)=>{if(!e)return rr;let a=1;if(t===pL&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),o<1||o>vL||n!==tm||i<8||i>15||t<0||t>9||r<0||r>gL)return zo(e,rr);i===8&&(i=9);const s=new PL;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+Ut-1)/Ut),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=(1+2)*s.lit_bufsize,s.level=t,s.strategy=r,s.method=n,Jv(e)},$L=(e,t)=>eS(e,t,tm,SL,yL,bL),UL=(e,t)=>{let n,i;if(!e||!e.state||t>wg||t<0)return e?zo(e,rr):rr;const o=e.state;if(!e.output||!e.input&&e.avail_in!==0||o.status===Xs&&t!==jo)return zo(e,e.avail_out===0?wm:rr);o.strm=e;const r=o.last_flush;if(o.last_flush=t,o.status===nm)if(o.wrap===2)e.adler=0,Kt(o,31),Kt(o,139),Kt(o,8),o.gzhead?(Kt(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),Kt(o,o.gzhead.time&255),Kt(o,o.gzhead.time>>8&255),Kt(o,o.gzhead.time>>16&255),Kt(o,o.gzhead.time>>24&255),Kt(o,o.level===9?2:o.strategy>=oc||o.level<2?4:0),Kt(o,o.gzhead.os&255),o.gzhead.extra&&o.gzhead.extra.length&&(Kt(o,o.gzhead.extra.length&255),Kt(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=oi(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=Cp):(Kt(o,0),Kt(o,0),Kt(o,0),Kt(o,0),Kt(o,0),Kt(o,o.level===9?2:o.strategy>=oc||o.level<2?4:0),Kt(o,xL),o.status=Na);else{let a=tm+(o.w_bits-8<<4)<<8,s=-1;o.strategy>=oc||o.level<2?s=0:o.level<6?s=1:o.level===6?s=2:s=3,a|=s<<6,o.strstart!==0&&(a|=RL),a+=31-a%31,o.status=Na,Vs(o,a),o.strstart!==0&&(Vs(o,e.adler>>>16),Vs(o,e.adler&65535)),e.adler=1}if(o.status===Cp)if(o.gzhead.extra){for(n=o.pending;o.gzindex<(o.gzhead.extra.length&65535)&&!(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),Fo(e),n=o.pending,o.pending===o.pending_buf_size));)Kt(o,o.gzhead.extra[o.gzindex]&255),o.gzindex++;o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=Rc)}else o.status=Rc;if(o.status===Rc)if(o.gzhead.name){n=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),Fo(e),n=o.pending,o.pending===o.pending_buf_size)){i=1;break}o.gzindex<o.gzhead.name.length?i=o.gzhead.name.charCodeAt(o.gzindex++)&255:i=0,Kt(o,i)}while(i!==0);o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),i===0&&(o.gzindex=0,o.status=xc)}else o.status=xc;if(o.status===xc)if(o.gzhead.comment){n=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),Fo(e),n=o.pending,o.pending===o.pending_buf_size)){i=1;break}o.gzindex<o.gzhead.comment.length?i=o.gzhead.comment.charCodeAt(o.gzindex++)&255:i=0,Kt(o,i)}while(i!==0);o.gzhead.hcrc&&o.pending>n&&(e.adler=oi(e.adler,o.pending_buf,o.pending-n,n)),i===0&&(o.status=Dc)}else o.status=Dc;if(o.status===Dc&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Fo(e),o.pending+2<=o.pending_buf_size&&(Kt(o,e.adler&255),Kt(o,e.adler>>8&255),e.adler=0,o.status=Na)):o.status=Na),o.pending!==0){if(Fo(e),e.avail_out===0)return o.last_flush=-1,Tr}else if(e.avail_in===0&&xg(t)<=xg(r)&&t!==jo)return zo(e,wm);if(o.status===Xs&&e.avail_in!==0)return zo(e,wm);if(e.avail_in!==0||o.lookahead!==0||t!==Ba&&o.status!==Xs){let a=o.strategy===oc?LL(o,t):o.strategy===hL?ML(o,t):Zs[o.level].func(o,t);if((a===Ia||a===Is)&&(o.status=Xs),a===ei||a===Ia)return e.avail_out===0&&(o.last_flush=-1),Tr;if(a===ql&&(t===uL?dL(o):t!==wg&&(lL(o,0,0,!1),t===_L&&($o(o.head),o.lookahead===0&&(o.strstart=0,o.block_start=0,o.insert=0))),Fo(e),e.avail_out===0))return o.last_flush=-1,Tr}return t!==jo?Tr:o.wrap<=0?Rg:(o.wrap===2?(Kt(o,e.adler&255),Kt(o,e.adler>>8&255),Kt(o,e.adler>>16&255),Kt(o,e.adler>>24&255),Kt(o,e.total_in&255),Kt(o,e.total_in>>8&255),Kt(o,e.total_in>>16&255),Kt(o,e.total_in>>24&255)):(Vs(o,e.adler>>>16),Vs(o,e.adler&65535)),Fo(e),o.wrap>0&&(o.wrap=-o.wrap),o.pending!==0?Tr:Rg)},GL=e=>{if(!e||!e.state)return rr;const t=e.state.status;return t!==nm&&t!==Cp&&t!==Rc&&t!==xc&&t!==Dc&&t!==Na&&t!==Xs?zo(e,rr):(e.state=null,t===Na?zo(e,mL):Tr)},zL=(e,t)=>{let n=t.length;if(!e||!e.state)return rr;const i=e.state,o=i.wrap;if(o===2||o===1&&i.status!==nm||i.lookahead)return rr;if(o===1&&(e.adler=Sl(e.adler,t,n,0)),i.wrap=0,n>=i.w_size){o===0&&($o(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(t.subarray(n-i.w_size,n),0),t=c,n=i.w_size}const r=e.avail_in,a=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,ka(i);i.lookahead>=Ut;){let c=i.strstart,l=i.lookahead-(Ut-1);do i.ins_h=qo(i,i.ins_h,i.window[c+Ut-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--l);i.strstart=c,i.lookahead=Ut-1,ka(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=Ut-1,i.match_available=0,e.next_in=a,e.input=s,e.avail_in=r,i.wrap=o,Tr};var YL=$L,HL=eS,VL=Jv,WL=Zv,jL=BL,qL=UL,KL=GL,QL=zL,XL="pako deflate (from Nodeca project)",sl={deflateInit:YL,deflateInit2:HL,deflateReset:VL,deflateResetKeep:WL,deflateSetHeader:jL,deflate:qL,deflateEnd:KL,deflateSetDictionary:QL,deflateInfo:XL};const ZL=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var JL=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 i in n)ZL(n,i)&&(e[i]=n[i])}}return e},eF=e=>{let t=0;for(let i=0,o=e.length;i<o;i++)t+=e[i].length;const n=new Uint8Array(t);for(let i=0,o=0,r=e.length;i<r;i++){let a=e[i];n.set(a,o),o+=a.length}return n},im={assign:JL,flattenChunks:eF};let tS=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{tS=!1}const Nl=new Uint8Array(256);for(let e=0;e<256;e++)Nl[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Nl[254]=Nl[254]=1;var tF=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,i,o,r,a=e.length,s=0;for(o=0;o<a;o++)n=e.charCodeAt(o),(n&64512)===55296&&o+1<a&&(i=e.charCodeAt(o+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),o++)),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),r=0,o=0;r<s;o++)n=e.charCodeAt(o),(n&64512)===55296&&o+1<a&&(i=e.charCodeAt(o+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),o++)),n<128?t[r++]=n:n<2048?(t[r++]=192|n>>>6,t[r++]=128|n&63):n<65536?(t[r++]=224|n>>>12,t[r++]=128|n>>>6&63,t[r++]=128|n&63):(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63,t[r++]=128|n>>>6&63,t[r++]=128|n&63);return t};const nF=(e,t)=>{if(t<65534&&e.subarray&&tS)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n};var iF=(e,t)=>{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let i,o;const r=new Array(n*2);for(o=0,i=0;i<n;){let a=e[i++];if(a<128){r[o++]=a;continue}let s=Nl[a];if(s>4){r[o++]=65533,i+=s-1;continue}for(a&=s===2?31:s===3?15:7;s>1&&i<n;)a=a<<6|e[i++]&63,s--;if(s>1){r[o++]=65533;continue}a<65536?r[o++]=a:(a-=65536,r[o++]=55296|a>>10&1023,r[o++]=56320|a&1023)}return nF(r,o)},rF=(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+Nl[e[n]]>t?n:t},Cl={string2buf:tF,buf2string:iF,utf8border:rF};function oF(){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 nS=oF;const iS=Object.prototype.toString,{Z_NO_FLUSH:aF,Z_SYNC_FLUSH:sF,Z_FULL_FLUSH:lF,Z_FINISH:cF,Z_OK:qc,Z_STREAM_END:dF,Z_DEFAULT_COMPRESSION:uF,Z_DEFAULT_STRATEGY:_F,Z_DEFLATED:mF}=em;function Of(e){this.options=im.assign({level:uF,method:mF,chunkSize:16384,windowBits:15,memLevel:8,strategy:_F},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 nS,this.strm.avail_out=0;let n=sl.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==qc)throw new Error(yl[n]);if(t.header&&sl.deflateSetHeader(this.strm,t.header),t.dictionary){let i;if(typeof t.dictionary=="string"?i=Cl.string2buf(t.dictionary):iS.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=sl.deflateSetDictionary(this.strm,i),n!==qc)throw new Error(yl[n]);this._dict_set=!0}}Of.prototype.push=function(e,t){const n=this.strm,i=this.options.chunkSize;let o,r;if(this.ended)return!1;for(t===~~t?r=t:r=t===!0?cF:aF,typeof e=="string"?n.input=Cl.string2buf(e):iS.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(i),n.next_out=0,n.avail_out=i),(r===sF||r===lF)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(o=sl.deflate(n,r),o===dF)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),o=sl.deflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===qc;if(n.avail_out===0){this.onData(n.output);continue}if(r>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};Of.prototype.onData=function(e){this.chunks.push(e)};Of.prototype.onEnd=function(e){e===qc&&(this.result=im.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const ac=30,pF=12;var fF=function(t,n){let i,o,r,a,s,c,l,_,d,u,m,f,p,h,b,g,v,E,S,N,C,y,A,R;const D=t.state;i=t.next_in,A=t.input,o=i+(t.avail_in-5),r=t.next_out,R=t.output,a=r-(n-t.avail_out),s=r+(t.avail_out-257),c=D.dmax,l=D.wsize,_=D.whave,d=D.wnext,u=D.window,m=D.hold,f=D.bits,p=D.lencode,h=D.distcode,b=(1<<D.lenbits)-1,g=(1<<D.distbits)-1;e:do{f<15&&(m+=A[i++]<<f,f+=8,m+=A[i++]<<f,f+=8),v=p[m&b];t:for(;;){if(E=v>>>24,m>>>=E,f-=E,E=v>>>16&255,E===0)R[r++]=v&65535;else if(E&16){S=v&65535,E&=15,E&&(f<E&&(m+=A[i++]<<f,f+=8),S+=m&(1<<E)-1,m>>>=E,f-=E),f<15&&(m+=A[i++]<<f,f+=8,m+=A[i++]<<f,f+=8),v=h[m&g];n:for(;;){if(E=v>>>24,m>>>=E,f-=E,E=v>>>16&255,E&16){if(N=v&65535,E&=15,f<E&&(m+=A[i++]<<f,f+=8,f<E&&(m+=A[i++]<<f,f+=8)),N+=m&(1<<E)-1,N>c){t.msg="invalid distance too far back",D.mode=ac;break e}if(m>>>=E,f-=E,E=r-a,N>E){if(E=N-E,E>_&&D.sane){t.msg="invalid distance too far back",D.mode=ac;break e}if(C=0,y=u,d===0){if(C+=l-E,E<S){S-=E;do R[r++]=u[C++];while(--E);C=r-N,y=R}}else if(d<E){if(C+=l+d-E,E-=d,E<S){S-=E;do R[r++]=u[C++];while(--E);if(C=0,d<S){E=d,S-=E;do R[r++]=u[C++];while(--E);C=r-N,y=R}}}else if(C+=d-E,E<S){S-=E;do R[r++]=u[C++];while(--E);C=r-N,y=R}for(;S>2;)R[r++]=y[C++],R[r++]=y[C++],R[r++]=y[C++],S-=3;S&&(R[r++]=y[C++],S>1&&(R[r++]=y[C++]))}else{C=r-N;do R[r++]=R[C++],R[r++]=R[C++],R[r++]=R[C++],S-=3;while(S>2);S&&(R[r++]=R[C++],S>1&&(R[r++]=R[C++]))}}else if((E&64)===0){v=h[(v&65535)+(m&(1<<E)-1)];continue n}else{t.msg="invalid distance code",D.mode=ac;break e}break}}else if((E&64)===0){v=p[(v&65535)+(m&(1<<E)-1)];continue t}else if(E&32){D.mode=pF;break e}else{t.msg="invalid literal/length code",D.mode=ac;break e}break}}while(i<o&&r<s);S=f>>3,i-=S,f-=S<<3,m&=(1<<f)-1,t.next_in=i,t.next_out=r,t.avail_in=i<o?5+(o-i):5-(i-o),t.avail_out=r<s?257+(s-r):257-(r-s),D.hold=m,D.bits=f};const Ha=15,Dg=852,Ig=592,kg=0,xm=1,Mg=2,hF=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),gF=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),bF=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),EF=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),vF=(e,t,n,i,o,r,a,s)=>{const c=s.bits;let l=0,_=0,d=0,u=0,m=0,f=0,p=0,h=0,b=0,g=0,v,E,S,N,C,y=null,A=0,R;const D=new Uint16Array(Ha+1),M=new Uint16Array(Ha+1);let L=null,F=0,q,$,Y;for(l=0;l<=Ha;l++)D[l]=0;for(_=0;_<i;_++)D[t[n+_]]++;for(m=c,u=Ha;u>=1&&D[u]===0;u--);if(m>u&&(m=u),u===0)return o[r++]=1<<24|64<<16|0,o[r++]=1<<24|64<<16|0,s.bits=1,0;for(d=1;d<u&&D[d]===0;d++);for(m<d&&(m=d),h=1,l=1;l<=Ha;l++)if(h<<=1,h-=D[l],h<0)return-1;if(h>0&&(e===kg||u!==1))return-1;for(M[1]=0,l=1;l<Ha;l++)M[l+1]=M[l]+D[l];for(_=0;_<i;_++)t[n+_]!==0&&(a[M[t[n+_]]++]=_);if(e===kg?(y=L=a,R=19):e===xm?(y=hF,A-=257,L=gF,F-=257,R=256):(y=bF,L=EF,R=-1),g=0,_=0,l=d,C=r,f=m,p=0,S=-1,b=1<<m,N=b-1,e===xm&&b>Dg||e===Mg&&b>Ig)return 1;for(;;){q=l-p,a[_]<R?($=0,Y=a[_]):a[_]>R?($=L[F+a[_]],Y=y[A+a[_]]):($=32+64,Y=0),v=1<<l-p,E=1<<f,d=E;do E-=v,o[C+(g>>p)+E]=q<<24|$<<16|Y|0;while(E!==0);for(v=1<<l-1;g&v;)v>>=1;if(v!==0?(g&=v-1,g+=v):g=0,_++,--D[l]===0){if(l===u)break;l=t[n+a[_]]}if(l>m&&(g&N)!==S){for(p===0&&(p=m),C+=d,f=l-p,h=1<<f;f+p<u&&(h-=D[f+p],!(h<=0));)f++,h<<=1;if(b+=1<<f,e===xm&&b>Dg||e===Mg&&b>Ig)return 1;S=g&N,o[S]=m<<24|f<<16|C-r|0}}return g!==0&&(o[C+g]=l-p<<24|64<<16|0),s.bits=m,0};var ll=vF;const SF=0,rS=1,oS=2,{Z_FINISH:Lg,Z_BLOCK:yF,Z_TREES:sc,Z_OK:Ma,Z_STREAM_END:NF,Z_NEED_DICT:CF,Z_STREAM_ERROR:ar,Z_DATA_ERROR:aS,Z_MEM_ERROR:sS,Z_BUF_ERROR:AF,Z_DEFLATED:Fg}=em,lS=1,Pg=2,Bg=3,$g=4,Ug=5,Gg=6,zg=7,Yg=8,Hg=9,Vg=10,Kc=11,Qr=12,Dm=13,Wg=14,Im=15,jg=16,qg=17,Kg=18,Qg=19,lc=20,cc=21,Xg=22,Zg=23,Jg=24,e0=25,t0=26,km=27,n0=28,i0=29,Sn=30,cS=31,OF=32,TF=852,wF=592,RF=15,xF=RF,r0=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function DF(){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 dS=e=>{if(!e||!e.state)return ar;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=lS,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(TF),t.distcode=t.distdyn=new Int32Array(wF),t.sane=1,t.back=-1,Ma},uS=e=>{if(!e||!e.state)return ar;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,dS(e)},_S=(e,t)=>{let n;if(!e||!e.state)return ar;const i=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15)?ar:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,uS(e))},mS=(e,t)=>{if(!e)return ar;const n=new DF;e.state=n,n.window=null;const i=_S(e,t);return i!==Ma&&(e.state=null),i},IF=e=>mS(e,xF);let o0=!0,Mm,Lm;const kF=e=>{if(o0){Mm=new Int32Array(512),Lm=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(ll(rS,e.lens,0,288,Mm,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;ll(oS,e.lens,0,32,Lm,0,e.work,{bits:5}),o0=!1}e.lencode=Mm,e.lenbits=9,e.distcode=Lm,e.distbits=5},pS=(e,t,n,i)=>{let o;const r=e.state;return r.window===null&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),i>=r.wsize?(r.window.set(t.subarray(n-r.wsize,n),0),r.wnext=0,r.whave=r.wsize):(o=r.wsize-r.wnext,o>i&&(o=i),r.window.set(t.subarray(n-i,n-i+o),r.wnext),i-=o,i?(r.window.set(t.subarray(n-i,n),0),r.wnext=i,r.whave=r.wsize):(r.wnext+=o,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=o))),0},MF=(e,t)=>{let n,i,o,r,a,s,c,l,_,d,u,m,f,p,h=0,b,g,v,E,S,N,C,y;const A=new Uint8Array(4);let R,D;const M=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return ar;n=e.state,n.mode===Qr&&(n.mode=Dm),a=e.next_out,o=e.output,c=e.avail_out,r=e.next_in,i=e.input,s=e.avail_in,l=n.hold,_=n.bits,d=s,u=c,y=Ma;e:for(;;)switch(n.mode){case lS:if(n.wrap===0){n.mode=Dm;break}for(;_<16;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(n.wrap&2&&l===35615){n.check=0,A[0]=l&255,A[1]=l>>>8&255,n.check=oi(n.check,A,2,0),l=0,_=0,n.mode=Pg;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=Sn;break}if((l&15)!==Fg){e.msg="unknown compression method",n.mode=Sn;break}if(l>>>=4,_-=4,C=(l&15)+8,n.wbits===0)n.wbits=C;else if(C>n.wbits){e.msg="invalid window size",n.mode=Sn;break}n.dmax=1<<n.wbits,e.adler=n.check=1,n.mode=l&512?Vg:Qr,l=0,_=0;break;case Pg:for(;_<16;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(n.flags=l,(n.flags&255)!==Fg){e.msg="unknown compression method",n.mode=Sn;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Sn;break}n.head&&(n.head.text=l>>8&1),n.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,n.check=oi(n.check,A,2,0)),l=0,_=0,n.mode=Bg;case Bg:for(;_<32;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.head&&(n.head.time=l),n.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,A[2]=l>>>16&255,A[3]=l>>>24&255,n.check=oi(n.check,A,4,0)),l=0,_=0,n.mode=$g;case $g:for(;_<16;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.head&&(n.head.xflags=l&255,n.head.os=l>>8),n.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,n.check=oi(n.check,A,2,0)),l=0,_=0,n.mode=Ug;case Ug:if(n.flags&1024){for(;_<16;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.length=l,n.head&&(n.head.extra_len=l),n.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,n.check=oi(n.check,A,2,0)),l=0,_=0}else n.head&&(n.head.extra=null);n.mode=Gg;case Gg:if(n.flags&1024&&(m=n.length,m>s&&(m=s),m&&(n.head&&(C=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(i.subarray(r,r+m),C)),n.flags&512&&(n.check=oi(n.check,i,m,r)),s-=m,r+=m,n.length-=m),n.length))break e;n.length=0,n.mode=zg;case zg:if(n.flags&2048){if(s===0)break e;m=0;do C=i[r+m++],n.head&&C&&n.length<65536&&(n.head.name+=String.fromCharCode(C));while(C&&m<s);if(n.flags&512&&(n.check=oi(n.check,i,m,r)),s-=m,r+=m,C)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Yg;case Yg:if(n.flags&4096){if(s===0)break e;m=0;do C=i[r+m++],n.head&&C&&n.length<65536&&(n.head.comment+=String.fromCharCode(C));while(C&&m<s);if(n.flags&512&&(n.check=oi(n.check,i,m,r)),s-=m,r+=m,C)break e}else n.head&&(n.head.comment=null);n.mode=Hg;case Hg:if(n.flags&512){for(;_<16;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(l!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Sn;break}l=0,_=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Qr;break;case Vg:for(;_<32;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}e.adler=n.check=r0(l),l=0,_=0,n.mode=Kc;case Kc:if(n.havedict===0)return e.next_out=a,e.avail_out=c,e.next_in=r,e.avail_in=s,n.hold=l,n.bits=_,CF;e.adler=n.check=1,n.mode=Qr;case Qr:if(t===yF||t===sc)break e;case Dm:if(n.last){l>>>=_&7,_-=_&7,n.mode=km;break}for(;_<3;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}switch(n.last=l&1,l>>>=1,_-=1,l&3){case 0:n.mode=Wg;break;case 1:if(kF(n),n.mode=lc,t===sc){l>>>=2,_-=2;break e}break;case 2:n.mode=qg;break;case 3:e.msg="invalid block type",n.mode=Sn}l>>>=2,_-=2;break;case Wg:for(l>>>=_&7,_-=_&7;_<32;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if((l&65535)!==(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Sn;break}if(n.length=l&65535,l=0,_=0,n.mode=Im,t===sc)break e;case Im:n.mode=jg;case jg:if(m=n.length,m){if(m>s&&(m=s),m>c&&(m=c),m===0)break e;o.set(i.subarray(r,r+m),a),s-=m,r+=m,c-=m,a+=m,n.length-=m;break}n.mode=Qr;break;case qg:for(;_<14;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(n.nlen=(l&31)+257,l>>>=5,_-=5,n.ndist=(l&31)+1,l>>>=5,_-=5,n.ncode=(l&15)+4,l>>>=4,_-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Sn;break}n.have=0,n.mode=Kg;case Kg:for(;n.have<n.ncode;){for(;_<3;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.lens[M[n.have++]]=l&7,l>>>=3,_-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R={bits:n.lenbits},y=ll(SF,n.lens,0,19,n.lencode,0,n.work,R),n.lenbits=R.bits,y){e.msg="invalid code lengths set",n.mode=Sn;break}n.have=0,n.mode=Qg;case Qg:for(;n.have<n.nlen+n.ndist;){for(;h=n.lencode[l&(1<<n.lenbits)-1],b=h>>>24,g=h>>>16&255,v=h&65535,!(b<=_);){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(v<16)l>>>=b,_-=b,n.lens[n.have++]=v;else{if(v===16){for(D=b+2;_<D;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(l>>>=b,_-=b,n.have===0){e.msg="invalid bit length repeat",n.mode=Sn;break}C=n.lens[n.have-1],m=3+(l&3),l>>>=2,_-=2}else if(v===17){for(D=b+3;_<D;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}l>>>=b,_-=b,C=0,m=3+(l&7),l>>>=3,_-=3}else{for(D=b+7;_<D;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}l>>>=b,_-=b,C=0,m=11+(l&127),l>>>=7,_-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Sn;break}for(;m--;)n.lens[n.have++]=C}}if(n.mode===Sn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Sn;break}if(n.lenbits=9,R={bits:n.lenbits},y=ll(rS,n.lens,0,n.nlen,n.lencode,0,n.work,R),n.lenbits=R.bits,y){e.msg="invalid literal/lengths set",n.mode=Sn;break}if(n.distbits=6,n.distcode=n.distdyn,R={bits:n.distbits},y=ll(oS,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,R),n.distbits=R.bits,y){e.msg="invalid distances set",n.mode=Sn;break}if(n.mode=lc,t===sc)break e;case lc:n.mode=cc;case cc:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=r,e.avail_in=s,n.hold=l,n.bits=_,fF(e,u),a=e.next_out,o=e.output,c=e.avail_out,r=e.next_in,i=e.input,s=e.avail_in,l=n.hold,_=n.bits,n.mode===Qr&&(n.back=-1);break}for(n.back=0;h=n.lencode[l&(1<<n.lenbits)-1],b=h>>>24,g=h>>>16&255,v=h&65535,!(b<=_);){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(g&&(g&240)===0){for(E=b,S=g,N=v;h=n.lencode[N+((l&(1<<E+S)-1)>>E)],b=h>>>24,g=h>>>16&255,v=h&65535,!(E+b<=_);){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}l>>>=E,_-=E,n.back+=E}if(l>>>=b,_-=b,n.back+=b,n.length=v,g===0){n.mode=t0;break}if(g&32){n.back=-1,n.mode=Qr;break}if(g&64){e.msg="invalid literal/length code",n.mode=Sn;break}n.extra=g&15,n.mode=Xg;case Xg:if(n.extra){for(D=n.extra;_<D;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,_-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Zg;case Zg:for(;h=n.distcode[l&(1<<n.distbits)-1],b=h>>>24,g=h>>>16&255,v=h&65535,!(b<=_);){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if((g&240)===0){for(E=b,S=g,N=v;h=n.distcode[N+((l&(1<<E+S)-1)>>E)],b=h>>>24,g=h>>>16&255,v=h&65535,!(E+b<=_);){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}l>>>=E,_-=E,n.back+=E}if(l>>>=b,_-=b,n.back+=b,g&64){e.msg="invalid distance code",n.mode=Sn;break}n.offset=v,n.extra=g&15,n.mode=Jg;case Jg:if(n.extra){for(D=n.extra;_<D;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,_-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Sn;break}n.mode=e0;case e0:if(c===0)break e;if(m=u-c,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Sn;break}m>n.wnext?(m-=n.wnext,f=n.wsize-m):f=n.wnext-m,m>n.length&&(m=n.length),p=n.window}else p=o,f=a-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do o[a++]=p[f++];while(--m);n.length===0&&(n.mode=cc);break;case t0:if(c===0)break e;o[a++]=n.length,c--,n.mode=cc;break;case km:if(n.wrap){for(;_<32;){if(s===0)break e;s--,l|=i[r++]<<_,_+=8}if(u-=c,e.total_out+=u,n.total+=u,u&&(e.adler=n.check=n.flags?oi(n.check,o,u,a-u):Sl(n.check,o,u,a-u)),u=c,(n.flags?l:r0(l))!==n.check){e.msg="incorrect data check",n.mode=Sn;break}l=0,_=0}n.mode=n0;case n0:if(n.wrap&&n.flags){for(;_<32;){if(s===0)break e;s--,l+=i[r++]<<_,_+=8}if(l!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Sn;break}l=0,_=0}n.mode=i0;case i0:y=NF;break e;case Sn:y=aS;break e;case cS:return sS;case OF:default:return ar}return e.next_out=a,e.avail_out=c,e.next_in=r,e.avail_in=s,n.hold=l,n.bits=_,(n.wsize||u!==e.avail_out&&n.mode<Sn&&(n.mode<km||t!==Lg))&&pS(e,e.output,e.next_out,u-e.avail_out),d-=e.avail_in,u-=e.avail_out,e.total_in+=d,e.total_out+=u,n.total+=u,n.wrap&&u&&(e.adler=n.check=n.flags?oi(n.check,o,u,e.next_out-u):Sl(n.check,o,u,e.next_out-u)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Qr?128:0)+(n.mode===lc||n.mode===Im?256:0),(d===0&&u===0||t===Lg)&&y===Ma&&(y=AF),y},LF=e=>{if(!e||!e.state)return ar;let t=e.state;return t.window&&(t.window=null),e.state=null,Ma},FF=(e,t)=>{if(!e||!e.state)return ar;const n=e.state;return(n.wrap&2)===0?ar:(n.head=t,t.done=!1,Ma)},PF=(e,t)=>{const n=t.length;let i,o,r;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==Kc)?ar:i.mode===Kc&&(o=1,o=Sl(o,t,n,0),o!==i.check)?aS:(r=pS(e,t,n,n),r?(i.mode=cS,sS):(i.havedict=1,Ma))};var BF=uS,$F=_S,UF=dS,GF=IF,zF=mS,YF=MF,HF=LF,VF=FF,WF=PF,jF="pako inflate (from Nodeca project)",ro={inflateReset:BF,inflateReset2:$F,inflateResetKeep:UF,inflateInit:GF,inflateInit2:zF,inflate:YF,inflateEnd:HF,inflateGetHeader:VF,inflateSetDictionary:WF,inflateInfo:jF};function qF(){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 KF=qF;const fS=Object.prototype.toString,{Z_NO_FLUSH:QF,Z_FINISH:XF,Z_OK:Al,Z_STREAM_END:Fm,Z_NEED_DICT:Pm,Z_STREAM_ERROR:ZF,Z_DATA_ERROR:a0,Z_MEM_ERROR:JF}=em;function Tf(e){this.options=im.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)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nS,this.strm.avail_out=0;let n=ro.inflateInit2(this.strm,t.windowBits);if(n!==Al)throw new Error(yl[n]);if(this.header=new KF,ro.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Cl.string2buf(t.dictionary):fS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ro.inflateSetDictionary(this.strm,t.dictionary),n!==Al)))throw new Error(yl[n])}Tf.prototype.push=function(e,t){const n=this.strm,i=this.options.chunkSize,o=this.options.dictionary;let r,a,s;if(this.ended)return!1;for(t===~~t?a=t:a=t===!0?XF:QF,fS.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(i),n.next_out=0,n.avail_out=i),r=ro.inflate(n,a),r===Pm&&o&&(r=ro.inflateSetDictionary(n,o),r===Al?r=ro.inflate(n,a):r===a0&&(r=Pm));n.avail_in>0&&r===Fm&&n.state.wrap>0&&e[n.next_in]!==0;)ro.inflateReset(n),r=ro.inflate(n,a);switch(r){case ZF:case a0:case Pm:case JF:return this.onEnd(r),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||r===Fm))if(this.options.to==="string"){let c=Cl.utf8border(n.output,n.next_out),l=n.next_out-c,_=Cl.buf2string(n.output,c);n.next_out=l,n.avail_out=i-l,l&&n.output.set(n.output.subarray(c,c+l),0),this.onData(_)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(r===Al&&s===0)){if(r===Fm)return r=ro.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Tf.prototype.onData=function(e){this.chunks.push(e)};Tf.prototype.onEnd=function(e){e===Al&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=im.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var hS={exports:{}},gS={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,i){return n<<i|n>>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var i=0;i<n.length;i++)n[i]=t.endian(n[i]);return n},randomBytes:function(n){for(var i=[];n>0;n--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(n){for(var i=[],o=0,r=0;o<n.length;o++,r+=8)i[r>>>5]|=n[o]<<24-r%32;return i},wordsToBytes:function(n){for(var i=[],o=0;o<n.length*32;o+=8)i.push(n[o>>>5]>>>24-o%32&255);return i},bytesToHex:function(n){for(var i=[],o=0;o<n.length;o++)i.push((n[o]>>>4).toString(16)),i.push((n[o]&15).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],o=0;o<n.length;o+=2)i.push(parseInt(n.substr(o,2),16));return i},bytesToBase64:function(n){for(var i=[],o=0;o<n.length;o+=3)for(var r=n[o]<<16|n[o+1]<<8|n[o+2],a=0;a<4;a++)o*8+a*6<=n.length*8?i.push(e.charAt(r>>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],o=0,r=0;o<n.length;r=++o%4)r!=0&&i.push((e.indexOf(n.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<r*2|e.indexOf(n.charAt(o))>>>6-r*2);return i}};gS.exports=t})();var Ap={utf8:{stringToBytes:function(e){return Ap.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(Ap.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n)&255);return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}},s0=Ap;/*!
|
|
* Determine if an object is a Buffer
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*/var e2=function(e){return e!=null&&(bS(e)||t2(e)||!!e._isBuffer)};function bS(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function t2(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&bS(e.slice(0,0))}(function(){var e=gS.exports,t=s0.utf8,n=e2,i=s0.bin,o=function(r,a){r.constructor==String?a&&a.encoding==="binary"?r=i.stringToBytes(r):r=t.stringToBytes(r):n(r)?r=Array.prototype.slice.call(r,0):!Array.isArray(r)&&r.constructor!==Uint8Array&&(r=r.toString());for(var s=e.bytesToWords(r),c=r.length*8,l=1732584193,_=-271733879,d=-1732584194,u=271733878,m=0;m<s.length;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360;s[c>>>5]|=128<<c%32,s[(c+64>>>9<<4)+14]=c;for(var f=o._ff,p=o._gg,h=o._hh,b=o._ii,m=0;m<s.length;m+=16){var g=l,v=_,E=d,S=u;l=f(l,_,d,u,s[m+0],7,-680876936),u=f(u,l,_,d,s[m+1],12,-389564586),d=f(d,u,l,_,s[m+2],17,606105819),_=f(_,d,u,l,s[m+3],22,-1044525330),l=f(l,_,d,u,s[m+4],7,-176418897),u=f(u,l,_,d,s[m+5],12,1200080426),d=f(d,u,l,_,s[m+6],17,-1473231341),_=f(_,d,u,l,s[m+7],22,-45705983),l=f(l,_,d,u,s[m+8],7,1770035416),u=f(u,l,_,d,s[m+9],12,-1958414417),d=f(d,u,l,_,s[m+10],17,-42063),_=f(_,d,u,l,s[m+11],22,-1990404162),l=f(l,_,d,u,s[m+12],7,1804603682),u=f(u,l,_,d,s[m+13],12,-40341101),d=f(d,u,l,_,s[m+14],17,-1502002290),_=f(_,d,u,l,s[m+15],22,1236535329),l=p(l,_,d,u,s[m+1],5,-165796510),u=p(u,l,_,d,s[m+6],9,-1069501632),d=p(d,u,l,_,s[m+11],14,643717713),_=p(_,d,u,l,s[m+0],20,-373897302),l=p(l,_,d,u,s[m+5],5,-701558691),u=p(u,l,_,d,s[m+10],9,38016083),d=p(d,u,l,_,s[m+15],14,-660478335),_=p(_,d,u,l,s[m+4],20,-405537848),l=p(l,_,d,u,s[m+9],5,568446438),u=p(u,l,_,d,s[m+14],9,-1019803690),d=p(d,u,l,_,s[m+3],14,-187363961),_=p(_,d,u,l,s[m+8],20,1163531501),l=p(l,_,d,u,s[m+13],5,-1444681467),u=p(u,l,_,d,s[m+2],9,-51403784),d=p(d,u,l,_,s[m+7],14,1735328473),_=p(_,d,u,l,s[m+12],20,-1926607734),l=h(l,_,d,u,s[m+5],4,-378558),u=h(u,l,_,d,s[m+8],11,-2022574463),d=h(d,u,l,_,s[m+11],16,1839030562),_=h(_,d,u,l,s[m+14],23,-35309556),l=h(l,_,d,u,s[m+1],4,-1530992060),u=h(u,l,_,d,s[m+4],11,1272893353),d=h(d,u,l,_,s[m+7],16,-155497632),_=h(_,d,u,l,s[m+10],23,-1094730640),l=h(l,_,d,u,s[m+13],4,681279174),u=h(u,l,_,d,s[m+0],11,-358537222),d=h(d,u,l,_,s[m+3],16,-722521979),_=h(_,d,u,l,s[m+6],23,76029189),l=h(l,_,d,u,s[m+9],4,-640364487),u=h(u,l,_,d,s[m+12],11,-421815835),d=h(d,u,l,_,s[m+15],16,530742520),_=h(_,d,u,l,s[m+2],23,-995338651),l=b(l,_,d,u,s[m+0],6,-198630844),u=b(u,l,_,d,s[m+7],10,1126891415),d=b(d,u,l,_,s[m+14],15,-1416354905),_=b(_,d,u,l,s[m+5],21,-57434055),l=b(l,_,d,u,s[m+12],6,1700485571),u=b(u,l,_,d,s[m+3],10,-1894986606),d=b(d,u,l,_,s[m+10],15,-1051523),_=b(_,d,u,l,s[m+1],21,-2054922799),l=b(l,_,d,u,s[m+8],6,1873313359),u=b(u,l,_,d,s[m+15],10,-30611744),d=b(d,u,l,_,s[m+6],15,-1560198380),_=b(_,d,u,l,s[m+13],21,1309151649),l=b(l,_,d,u,s[m+4],6,-145523070),u=b(u,l,_,d,s[m+11],10,-1120210379),d=b(d,u,l,_,s[m+2],15,718787259),_=b(_,d,u,l,s[m+9],21,-343485551),l=l+g>>>0,_=_+v>>>0,d=d+E>>>0,u=u+S>>>0}return e.endian([l,_,d,u])};o._ff=function(r,a,s,c,l,_,d){var u=r+(a&s|~a&c)+(l>>>0)+d;return(u<<_|u>>>32-_)+a},o._gg=function(r,a,s,c,l,_,d){var u=r+(a&c|s&~c)+(l>>>0)+d;return(u<<_|u>>>32-_)+a},o._hh=function(r,a,s,c,l,_,d){var u=r+(a^s^c)+(l>>>0)+d;return(u<<_|u>>>32-_)+a},o._ii=function(r,a,s,c,l,_,d){var u=r+(s^(a|~c))+(l>>>0)+d;return(u<<_|u>>>32-_)+a},o._blocksize=16,o._digestsize=16,hS.exports=function(r,a){if(r==null)throw new Error("Illegal argument "+r);var s=e.wordsToBytes(o(r,a));return a&&a.asBytes?s:a&&a.asString?i.bytesToString(s):e.bytesToHex(s)}})();var rm=hS.exports,mr,Va;(Va=mr||(mr={})).UP="up",Va.DOWN="down",Va.NORTH="north",Va.EAST="east",Va.SOUTH="south",Va.WEST="west";const n2={[mr.UP]:[0,1,0],[mr.DOWN]:[0,-1,0],[mr.NORTH]:[0,0,-1],[mr.EAST]:[1,0,0],[mr.SOUTH]:[0,0,1],[mr.WEST]:[-1,0,0]};var gs,Mo;(function(e){e.ALL=[e.UP,e.DOWN,e.NORTH,e.EAST,e.SOUTH,e.WEST],e.normal=function(t){return n2[t]}})(mr||(mr={})),(Mo=gs||(gs={})).create=function(e,t,n){return[e,t,n]},Mo.ZERO=Mo.create(0,0,0),Mo.offset=function(e,t,n,i){return[e[0]+t,e[1]+n,e[2]+i]},Mo.towards=function(e,t){return Mo.offset(e,...mr.normal(t))},Mo.equals=function(e,t){return e===t||e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]},Mo.magnitude=function(e){return e[0]*e[0]+e[1]*e[1]+e[2]*e[2]};function Bm(e,t,n){if(!e[t])throw new Error(`Missing ${t} tag`);if(e[t].type!==n)throw new Error(`Expected ${t} to be of type ${n}, but found ${e[t].type}`);return e[t].value}function i2(e,t){try{return e()}catch{return t}}var Ne;function $m(e){let t=null;return()=>(t==null&&(t=e()),t)}function om(e,t,n){const i=e.get(t);if(i)return i;const o=n(t);return e.set(t,o),o}(function(e){function t(n){return typeof n=="object"&&n!==null?n:void 0}e.readNumber=function(n){return typeof n=="number"?n:void 0},e.readInt=function(n){return typeof n=="number"?Math.floor(n):void 0},e.readString=function(n){return typeof n=="string"?n:void 0},e.readBoolean=function(n){return typeof n=="boolean"?n:void 0},e.readObject=t,e.readArray=function(n,i){if(Array.isArray(n))return n.map(o=>i(o))},e.readMap=function(n,i){var o;const r=(o=t(n))!=null?o:{};return Object.fromEntries(Object.entries(r).map(([a,s])=>[a,i(s)]))},e.compose=function(n,i,o){const r=i(n);return r?o(r):void 0},e.readEnum=function(n,i){return typeof n!="string"?i[0]:i.includes(n)?n:i[0]}})(Ne||(Ne={}));const Ic=class{constructor(e,t){if(this.namespace=e,this.path=t,!e.match(/^[a-z0-9._-]+$/))throw new Error(`Non [a-z0-9._-] character in namespace of ${e}:${t}`);if(!t.match(/^[a-z0-9/._-]+$/))throw new Error(`Non [a-z0-9/._-] character in path of ${e}:${t}`)}equals(e){return this===e||this.namespace===e.namespace&&this.path===e.path}toString(){return`${this.namespace}:${this.path}`}static create(e){return new Ic(this.DEFAULT_NAMESPACE,e)}static parse(e){const t=e.indexOf(this.SEPARATOR);if(t>=0){const n=t>=1?e.substring(0,t):this.DEFAULT_NAMESPACE,i=e.substring(t+1);return new Ic(n,i)}return new Ic(this.DEFAULT_NAMESPACE,e)}};let Qt=Ic;Qt.DEFAULT_NAMESPACE="minecraft",Qt.SEPARATOR=":";var r2=Object.defineProperty,o2=Object.defineProperties,a2=Object.getOwnPropertyDescriptors,l0=Object.getOwnPropertySymbols,s2=Object.prototype.hasOwnProperty,l2=Object.prototype.propertyIsEnumerable,c0=(e,t,n)=>t in e?r2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const wr=class{constructor(e,t={}){this.properties=t,this.name=typeof e=="string"?Qt.parse(e):e}getName(){return this.name}getProperties(){return this.properties}getProperty(e){return this.properties[e]}isFluid(){return this.is(wr.WATER)||this.is(wr.LAVA)}equals(e){return!!this.name.equals(e.name)&&Object.keys(this.properties).every(t=>e.properties[t]===this.properties[t])}is(e){return this.name.equals(e.name)}toString(){return Object.keys(this.properties).length===0?this.name.toString():`${this.name.toString()}[${Object.entries(this.properties).map(([e,t])=>e+"="+t).join(",")}]`}static fromNbt(e){const t=Qt.parse(Bm(e.value,"Name","string")),n=i2(()=>Bm(e.value,"Properties","compound"),{}),i=Object.keys(n).reduce((o,r)=>{return a=((c,l)=>{for(var _ in l||(l={}))s2.call(l,_)&&c0(c,_,l[_]);if(l0)for(var _ of l0(l))l2.call(l,_)&&c0(c,_,l[_]);return c})({},o),s={[r]:Bm(n,r,"string")},o2(a,a2(s));var a,s},{});return new wr(t,i)}static fromJson(e){var t,n;const i=(t=Ne.readObject(e))!=null?t:{},o=Qt.parse((n=Ne.readString(i.Name))!=null?n:wr.STONE.name.toString()),r=Ne.readMap(i.Properties,a=>{var s;return(s=Ne.readString(a))!=null?s:""});return new wr(o,r)}};let Si=wr;Si.AIR=new wr(Qt.create("air")),Si.STONE=new wr(Qt.create("stone")),Si.WATER=new wr(Qt.create("water"),{level:"0"}),Si.LAVA=new wr(Qt.create("lava"),{level:"0"});const cl=class{constructor(e){this.minY=e,this.storage=Array(cl.SIZE).fill(0),this.palette=[Si.AIR]}get minBlockY(){return this.minY<<4}index(e,t,n){return(e<<8)+(t<<4)+n}getBlockState(e,t,n){var i;const o=this.storage[this.index(e,t,n)];return(i=this.palette[o])!=null?i:Si.AIR}setBlockState(e,t,n,i){let o=this.palette.findIndex(r=>r.equals(i));o===-1&&(o=this.palette.length,this.palette.push(i)),this.storage[this.index(e,t,n)]=o}};let Op=cl;Op.WIDTH=16,Op.SIZE=cl.WIDTH*cl.WIDTH*cl.WIDTH;class c2{constructor(t,n,i){this.minY=t,this.height=n,this.pos=i,this.sections=Array(this.sectionsCount).fill(null)}get maxY(){return this.minY+this.height}get minSection(){return this.minY>>4}get maxSection(){return 1+(this.maxY-1>>4)}get sectionsCount(){return this.maxSection-this.minSection}getSectionIndex(t){return(t>>4)-this.minSection}getBlockState(t){var n;const[i,o,r]=t,a=this.sections[this.getSectionIndex(o)];return(n=a==null?void 0:a.getBlockState(15&i,15&o,15&r))!=null?n:Si.AIR}setBlockState(t,n){const[i,o,r]=t,a=this.getSectionIndex(o);let s=this.sections[a];if(s===null){if(n.equals(Si.AIR))return;s=this.getOrCreateSection(a)}s.setBlockState(15&i,15&o,15&r,n)}getOrCreateSection(t){return this.sections[t]==null&&(this.sections[t]=new Op(this.minSection+t)),this.sections[t]}}var Ki,bs;(function(e){function t(n,i){return BigInt(4294967295&n)|BigInt(4294967295&i)<<BigInt(32)}e.create=function(n,i){return[n,i]},e.fromBlockPos=function(n){return[n[0]>>4,n[2]>>4]},e.fromLong=function(n){return[4294967295&Number(n),Number(n>>BigInt(32))]},e.toLong=function(n){return t(n[0],n[1])},e.asLong=t,e.minBlockX=function(n){return n[0]<<4},e.minBlockZ=function(n){return n[1]<<4},e.maxBlockX=function(n){return 15+(n[0]<<4)},e.maxBlockZ=function(n){return 15+(n[1]<<4)}})(Ki||(Ki={})),function(e){function t(i){return{value:()=>i,key:()=>{}}}function n(i,o){return{value:()=>i.getOrThrow(o),key:()=>o}}e.parser=function(i,o){return r=>typeof r=="string"?n(i,Qt.parse(r)):t(o(r))},e.direct=t,e.reference=n}(bs||(bs={}));const wf=class{constructor(e,t){this.key=e,this.parser=t,this.storage=new Map,this.builtin=new Map}register(e,t,n){return this.storage.set(e.toString(),t),n&&this.builtin.set(e.toString(),t),bs.reference(this,e)}keys(){return[...this.storage.keys()].map(e=>Qt.parse(e))}get(e){return this.storage.get(e.toString())}getOrThrow(e){const t=this.storage.get(e.toString());if(t===void 0)throw new Error(`Missing key in ${this.key.toString()}: ${e.toString()}`);return t}parse(e){if(!this.parser)throw new Error(`No parser exists for ${this.key.toString()}`);return this.parser(e)}clear(){this.storage.clear();for(const[e,t]of this.builtin.entries())this.storage.set(e,t);return this}assign(e){if(!this.key.equals(e.key))throw new Error(`Cannot assign registry of type ${e.key.toString()} to registry of type ${this.key.toString()}`);for(const t of e.keys())this.storage.set(t.toString(),e.getOrThrow(t));return this}cloneEmpty(){return new wf(this.key,this.parser)}};let Ol=wf;Ol.REGISTRY=new wf(Qt.create("root"));function Lo(e){return e*e}function Js(e,t,n){return Math.max(t,Math.min(n,e))}function Ko(e,t,n){return t+e*(n-t)}function Tp(e,t,n,i,o,r){return Ko(t,Ko(e,n,i),Ko(e,o,r))}function d2(e,t,n,i,o,r,a,s,c,l,_){return Ko(n,Tp(e,t,i,o,r,a),Tp(e,t,s,c,l,_))}function kc(e,t,n){return e===0?t():e===1?n():t()+e*(n()-t())}function d0(e,t,n,i,o,r){return kc(t,()=>kc(e,n,i),()=>kc(e,o,r))}function u2(e,t,n,i,o,r,a,s,c,l,_){return kc(n,()=>d0(e,t,i,o,r,a),()=>d0(e,t,s,c,l,_))}function Rf(e,t,n){return n<0?e:n>1?t:Ko(n,e,t)}function ES(e,t,n){return(e-t)/(n-t)}function Um(e){return e*e*e*(e*(6*e-15)+10)}function u0(e,t,n,i,o){return Ko(ES(e,t,n),i,o)}function vS(e,t,n,i,o){return Rf(i,o,ES(e,t,n))}function _2(e,t,n){let i=t-e;for(;i>0;){const o=Math.floor(i/2),r=e+o;n(r)?i=o:(e=r+1,i-=o+1)}return e}function SS(e,t,n){let i=BigInt(3129871*e)^BigInt(n)*BigInt(116129781)^BigInt(t);return i=i*i*BigInt(42317861)+i*BigInt(11),i>>BigInt(16)}function wp(e,t,n,i,o,r,a,s){return BigInt(e)<<BigInt(56)|BigInt(t)<<BigInt(48)|BigInt(n)<<BigInt(40)|BigInt(i)<<BigInt(32)|BigInt(o)<<BigInt(24)|BigInt(r)<<BigInt(16)|BigInt(a)<<BigInt(8)|BigInt(s)}var ls;(function(e){e.fromJson=function i(o,r){var a,s,c,l;if(typeof o=="number")return new t(o);const _=(a=Ne.readObject(o))!=null?a:{},d=new n(r(_.coordinate)),u=(s=Ne.readArray(_.points,m=>{var f;return(f=Ne.readObject(m))!=null?f:{}}))!=null?s:[];if(u.length===0)return new t(0);for(const m of u){const f=(c=Ne.readNumber(m.location))!=null?c:0,p=i(m.value,r),h=(l=Ne.readNumber(m.derivative))!=null?l:0;d.addPoint(f,p,h)}return d};class t{constructor(o){this.value=o}compute(){return this.value}min(){return this.value}max(){return this.value}mapAll(){return this}}e.Constant=t;class n{constructor(o,r=[],a=[],s=[]){this.coordinate=o,this.locations=r,this.values=a,this.derivatives=s}compute(o){const r=this.coordinate.compute(o),a=_2(0,this.locations.length,b=>r<this.locations[b])-1,s=this.locations.length-1;if(a<0)return this.values[0].compute(o)+this.derivatives[0]*(r-this.locations[0]);if(a===s)return this.values[s].compute(o)+this.derivatives[s]*(r-this.locations[s]);const c=this.locations[a],l=this.locations[a+1],_=this.derivatives[a],d=this.derivatives[a+1],u=(r-c)/(l-c),m=this.values[a].compute(o),f=this.values[a+1].compute(o),p=_*(l-c)-(f-m),h=-d*(l-c)+(f-m);return Ko(u,m,f)+u*(1-u)*Ko(u,p,h)}min(){return Math.min(...this.values.map(o=>o.min()))}max(){return Math.max(...this.values.map(o=>o.max()))}mapAll(o){return new n(o(this.coordinate),this.locations,this.values.map(r=>r.mapAll(o)),this.derivatives)}addPoint(o,r,a=0){return this.locations.push(o),this.values.push(typeof r=="number"?new e.Constant(r):r),this.derivatives.push(a),this}}e.MultiPoint=n})(ls||(ls={}));const Ar=class{constructor(e){this.seed=BigInt(0),this.setSeed(e)}fork(){return new Ar(this.nextLong())}forkPositional(){return new m2(this.nextLong())}setSeed(e){this.seed=e^Ar.MULTIPLIER&Ar.MODULUS_MASK}advance(){this.seed=this.seed*Ar.MULTIPLIER+Ar.INCREMENT&Ar.MODULUS_MASK}consume(e){for(let t=0;t<e;t+=1)this.advance()}next(e){this.advance();const t=Number(this.seed>>BigInt(Ar.MODULUS_BITS-e));return t>2147483647?t-4294967296:t}nextInt(e){if(e===void 0)return this.next(32);if((e&e-1)==0)return Number(BigInt(e)*BigInt(this.next(31))>>BigInt(31));let t,n;for(;(t=this.next(31))-(n=t%e)+(e-1)<0;);return n}nextLong(){return(BigInt(this.next(32))<<BigInt(32))+BigInt(this.next(32))}nextFloat(){return this.next(24)*Ar.FLOAT_MULTIPLIER}nextDouble(){const e=this.next(30);return this.advance(),e*Ar.DOUBLE_MULTIPLIER}};let Gi=Ar;Gi.MODULUS_BITS=48,Gi.MODULUS_MASK=BigInt("281474976710655"),Gi.MULTIPLIER=BigInt("25214903917"),Gi.INCREMENT=BigInt("11"),Gi.FLOAT_MULTIPLIER=1/Math.pow(2,24),Gi.DOUBLE_MULTIPLIER=1/Math.pow(2,30);class m2{constructor(t){this.seed=t}at(t,n,i){const o=SS(t,n,i);return new Gi(o^this.seed)}fromHashOf(t){const n=rm(t,{asBytes:!0}),i=wp(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]);return new Gi(i^this.seed)}seedKey(){return[this.seed,BigInt(0)]}}const dt=class{constructor(e){this.seed=[BigInt(0),BigInt(0)],this.seed=e}static create(e){return new dt(dt.upgradeSeedTo128bit(e))}static mixStafford13(e){return((e=((e=(e^e>>dt.BIGINT_30)*dt.STAFFORD_1&dt.MAX_ULONG)^e>>dt.BIGINT_27)*dt.STAFFORD_2&dt.MAX_ULONG)^e>>dt.BIGINT_31)&dt.MAX_ULONG}static upgradeSeedTo128bit(e){e<0&&(e+=dt.POW2_60);const t=e^dt.SILVER_RATIO_64,n=t+dt.GOLDEN_RATIO_64&dt.MAX_ULONG;return[dt.mixStafford13(t),dt.mixStafford13(n)]}static rotateLeft(e,t){return e<<t&dt.MAX_ULONG|e>>dt.BIGINT_64-t}setSeed(e){this.seed=dt.upgradeSeedTo128bit(e)}fork(){return new dt([this.next(),this.next()])}forkPositional(){return new p2(this.next(),this.next())}next(){const e=this.seed[0];let t=this.seed[1];const n=dt.rotateLeft(e+t&dt.MAX_ULONG,dt.BIGINT_17)+e&dt.MAX_ULONG;return t^=e,this.seed=[dt.rotateLeft(e,dt.BIGINT_49)^t^t<<dt.BIGINT_21&dt.MAX_ULONG,dt.rotateLeft(t,dt.BIGINT_28)],n}nextLong(){let e=this.next();return e>dt.POW2_63&&(e-=dt.POW2_60),e}consume(e){let t=this.seed[0],n=this.seed[1];for(let i=0;i<e;i+=1)n^=t,t=dt.rotateLeft(t,dt.BIGINT_49)^n^n<<dt.BIGINT_21,n=dt.rotateLeft(n,dt.BIGINT_28);this.seed=[t,n]}nextBits(e){return this.next()>>BigInt(64-e)}nextInt(e){let t=this.next()&dt.MAX_UINT;if(e){const n=BigInt(e);let i=t*n,o=i&dt.MAX_UINT;if(o<n){const a=((~n&dt.MAX_UINT)+dt.BIGINT_1)%n;for(;o<a;)t=this.next()&dt.MAX_UINT,i=t*n,o=i&dt.MAX_UINT}const r=i>>dt.BIGINT_32;return Number(r)}{let n=Number(t);return n>=2147483648&&(n-=4294967296),n}}nextFloat(){return Number(this.nextBits(24))*dt.FLOAT_MULTIPLIER}nextDouble(){return Number(this.nextBits(53))*dt.DOUBLE_MULTIPLIER}parityConfigString(){return"seedLo: "+this.seed[0]+", seedHi: "+this.seed[1]}};let ln=dt;ln.SILVER_RATIO_64=BigInt("7640891576956012809"),ln.GOLDEN_RATIO_64=BigInt("-7046029254386353131"),ln.FLOAT_MULTIPLIER=1/Math.pow(2,24),ln.DOUBLE_MULTIPLIER=11102230246251565e-32,ln.BIGINT_1=BigInt(1),ln.BIGINT_17=BigInt(17),ln.BIGINT_21=BigInt(21),ln.BIGINT_27=BigInt(27),ln.BIGINT_28=BigInt(28),ln.BIGINT_30=BigInt(30),ln.BIGINT_31=BigInt(31),ln.BIGINT_32=BigInt(32),ln.BIGINT_49=BigInt(49),ln.BIGINT_64=BigInt(64),ln.STAFFORD_1=BigInt("-4658895280553007687"),ln.STAFFORD_2=BigInt("-7723592293110705685"),ln.MAX_ULONG=BigInt("0xFFFFFFFFFFFFFFFF"),ln.POW2_60=BigInt("0x10000000000000000"),ln.POW2_63=BigInt("0x8000000000000000"),ln.MAX_UINT=BigInt(4294967295);class p2{constructor(t,n){this.seedLo=t,this.seedHi=n}at(t,n,i){const o=SS(t,n,i)^this.seedLo;return new ln([o,this.seedHi])}fromHashOf(t){const n=rm(t,{asBytes:!0}),i=wp(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]),o=wp(n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);return new ln([i^this.seedLo,o^this.seedHi])}seedKey(){return[this.seedLo,this.seedHi]}}const Zr=class{constructor(e){this.xo=256*e.nextDouble(),this.yo=256*e.nextDouble(),this.zo=256*e.nextDouble(),this.p=Array(256);for(let t=0;t<256;t+=1)this.p[t]=t;for(let t=0;t<256;t+=1){const n=e.nextInt(256-t),i=this.p[t];this.p[t]=this.p[t+n],this.p[t+n]=i}}sample2D(e,t){let n,i,o;const r=(e+t)*Zr.F2,a=Math.floor(e+r),s=e-(a-(n=(a+(i=Math.floor(t+r)))*Zr.G2));let c,l;s>(o=t-(i-n))?(c=1,l=0):(c=0,l=1);const _=s-c+Zr.G2,d=o-l+Zr.G2,u=s-1+2*Zr.G2,m=o-1+2*Zr.G2,f=255&a,p=255&i,h=this.P(f+this.P(p))%12,b=this.P(f+c+this.P(p+l))%12,g=this.P(f+1+this.P(p+1))%12;return 70*(this.getCornerNoise3D(h,s,o,0,.5)+this.getCornerNoise3D(b,_,d,0,.5)+this.getCornerNoise3D(g,u,m,0,.5))}sample(e,t,n){const i=.3333333333333333*(e+t+n),o=Math.floor(e+i),r=Math.floor(t+i),a=Math.floor(n+i),s=.16666666666666666*(o+r+a),c=e-(o-s),l=t-(r-s),_=n-(a-s);let d,u,m,f,p,h;c>=l?l>=_?(d=1,u=0,m=0,f=1,p=1,h=0):c>=_?(d=1,u=0,m=0,f=1,p=0,h=1):(d=0,u=0,m=1,f=1,p=0,h=1):l<_?(d=0,u=0,m=1,f=0,p=1,h=1):c<_?(d=0,u=1,m=0,f=0,p=1,h=1):(d=0,u=1,m=0,f=1,p=1,h=0);const b=c-d+.16666666666666666,g=l-u+.16666666666666666,v=_-m+.16666666666666666,E=c-f+.3333333333333333,S=l-p+.3333333333333333,N=_-h+.3333333333333333,C=c-.5,y=l-.5,A=_-.5,R=255&o,D=255&r,M=255&a,L=this.P(R+this.P(D+this.P(M)))%12,F=this.P(R+d+this.P(D+u+this.P(M+m)))%12,q=this.P(R+f+this.P(D+p+this.P(M+h)))%12,$=this.P(R+1+this.P(D+1+this.P(M+1)))%12;return 32*(this.getCornerNoise3D(L,c,l,_,.6)+this.getCornerNoise3D(F,b,g,v,.6)+this.getCornerNoise3D(q,E,S,N,.6)+this.getCornerNoise3D($,C,y,A,.6))}P(e){return this.p[255&e]}getCornerNoise3D(e,t,n,i,o){let r,a=o-t*t-n*n-i*i;return a<0?r=0:(a*=a,r=a*a*Zr.gradDot(e,t,n,i)),r}static gradDot(e,t,n,i){const o=Zr.GRADIENT[15&e];return o[0]*t+o[1]*n+o[2]*i}};let _r=Zr;_r.GRADIENT=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,1],[0,1,-1],[0,-1,-1],[1,1,0],[0,-1,1],[-1,1,0],[0,-1,-1]],_r.F2=.5*(Math.sqrt(3)-1),_r.G2=(3-Math.sqrt(3))/6;class _0{constructor(t){this.xo=256*t.nextDouble(),this.yo=256*t.nextDouble(),this.zo=256*t.nextDouble(),this.p=Array(256);for(let n=0;n<256;n+=1)this.p[n]=n>127?n-256:n;for(let n=0;n<256;n+=1){const i=t.nextInt(256-n),o=this.p[n];this.p[n]=this.p[n+i],this.p[n+i]=o}}sample(t,n,i,o=0,r=0){const a=t+this.xo,s=n+this.yo,c=i+this.zo,l=Math.floor(a),_=Math.floor(s),d=Math.floor(c),u=a-l,m=s-_,f=c-d;let p=0;if(o!==0){const h=r>=0&&r<m?r:m;p=Math.floor(h/o+1e-7)*o}return this.sampleAndLerp(l,_,d,u,m-p,f,m)}sampleAndLerp(t,n,i,o,r,a,s){const c=this.P(t),l=this.P(t+1),_=this.P(c+n),d=this.P(c+n+1),u=this.P(l+n),m=this.P(l+n+1),f=_r.gradDot(this.P(_+i),o,r,a),p=_r.gradDot(this.P(u+i),o-1,r,a),h=_r.gradDot(this.P(d+i),o,r-1,a),b=_r.gradDot(this.P(m+i),o-1,r-1,a),g=_r.gradDot(this.P(_+i+1),o,r,a-1),v=_r.gradDot(this.P(u+i+1),o-1,r,a-1),E=_r.gradDot(this.P(d+i+1),o,r-1,a-1),S=_r.gradDot(this.P(m+i+1),o-1,r-1,a-1);return d2(Um(o),Um(s),Um(a),f,p,h,b,g,v,E,S)}P(t){return 255&this.p[255&t]}}class gn{constructor(t,n,i){if(t instanceof ln){const o=t.forkPositional();this.noiseLevels=Array(i.length);for(let r=0;r<i.length;r++)if(i[r]!==0){const a=n+r;this.noiseLevels[r]=new _0(o.fromHashOf("octave_"+a))}}else{if(1-n<i.length)throw new Error("Positive octaves are not allowed when using LegacyRandom");this.noiseLevels=Array(i.length);for(let o=-n;o>=0;o-=1)o<i.length&&i[o]!==0?this.noiseLevels[o]=new _0(t):t.consume(262)}this.amplitudes=i,this.lowestFreqInputFactor=Math.pow(2,n),this.lowestFreqValueFactor=Math.pow(2,i.length-1)/(Math.pow(2,i.length)-1),this.maxValue=this.edgeValue(2)}sample(t,n,i,o=0,r=0,a=!1){let s=0,c=this.lowestFreqInputFactor,l=this.lowestFreqValueFactor;for(let _=0;_<this.noiseLevels.length;_+=1){const d=this.noiseLevels[_];d&&(s+=this.amplitudes[_]*l*d.sample(gn.wrap(t*c),a?-d.yo:gn.wrap(n*c),gn.wrap(i*c),o*c,r*c)),c*=2,l/=2}return s}getOctaveNoise(t){return this.noiseLevels[this.noiseLevels.length-1-t]}edgeValue(t){let n=0,i=this.lowestFreqValueFactor;for(let o=0;o<this.noiseLevels.length;o+=1)this.noiseLevels[o]&&(n+=this.amplitudes[o]*t*i),i/=2;return n}static wrap(t){return t-33554432*Math.floor(t/33554432+.5)}}class yS{constructor(t,n,i,o){this.cellWidth=i,this.cellHeight=o,this.minLimitNoise=new gn(t,-15,[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0]),this.maxLimitNoise=new gn(t,-15,[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0]),this.mainNoise=new gn(t,-7,[1,1,1,1,1,0,0,0]),this.xzScale=684.412*n.xzScale,this.yScale=684.412*n.yScale,this.xzMainScale=this.xzScale/n.xzFactor,this.yMainScale=this.yScale/n.yFactor,this.maxValue=this.minLimitNoise.edgeValue(this.yScale+2)}sample(t,n,i){let o;t=Math.floor(t/this.cellWidth),n=Math.floor(n/this.cellHeight),i=Math.floor(i/this.cellWidth);let r=0,a=1;for(let l=0;l<8;l+=1){if(o=this.mainNoise.getOctaveNoise(l),o){const _=this.xzMainScale*a,d=this.yMainScale*a,u=gn.wrap(t*_),m=gn.wrap(n*d),f=gn.wrap(i*_);r+=o.sample(u,m,f,d,n*d)/a}a/=2}r=(r/10+1)/2,a=1;let s=0,c=0;for(let l=0;l<16;l+=1){const _=this.xzScale*a,d=this.yScale*a,u=gn.wrap(t*_),m=gn.wrap(n*d),f=gn.wrap(i*_);r<1&&(o=this.minLimitNoise.getOctaveNoise(l))&&(s+=o.sample(u,m,f,d,n*d)/a),r>0&&(o=this.maxLimitNoise.getOctaveNoise(l))&&(c+=o.sample(u,m,f,d,n*d)/a),a/=2}return Rf(s/512,c/512,r)/128}}var Rp;(Rp||(Rp={})).fromJson=function(e){var t,n,i,o,r;const a=(t=Ne.readObject(e))!=null?t:{};return{xzScale:(n=Ne.readNumber(a.xz_scale))!=null?n:1,yScale:(i=Ne.readNumber(a.y_scale))!=null?i:1,xzFactor:(o=Ne.readNumber(a.xz_factor))!=null?o:80,yFactor:(r=Ne.readNumber(a.y_factor))!=null?r:80}};const Mc=class{constructor(e,{firstOctave:t,amplitudes:n}){this.first=new gn(e,t,n),this.second=new gn(e,t,n);let i=1/0,o=-1/0;for(let a=0;a<n.length;a+=1)n[a]!==0&&(i=Math.min(i,a),o=Math.max(o,a));const r=.1*(1+1/(o-i+1));this.valueFactor=1/6/r,this.maxValue=(this.first.maxValue+this.second.maxValue)*this.valueFactor}sample(e,t,n){const i=e*Mc.INPUT_FACTOR,o=t*Mc.INPUT_FACTOR,r=n*Mc.INPUT_FACTOR;return(this.first.sample(e,t,n)+this.second.sample(i,o,r))*this.valueFactor}};let am=Mc;var Es,m0;am.INPUT_FACTOR=1.0181268882175227,(m0=Es||(Es={})).create=function(e,t){return{firstOctave:e,amplitudes:t}},m0.fromJson=function(e){var t,n,i;const o=(t=Ne.readObject(e))!=null?t:{};return{firstOctave:(n=Ne.readInt(o.firstOctave))!=null?n:0,amplitudes:(i=Ne.readArray(o.amplitudes,r=>{var a;return(a=Ne.readNumber(r))!=null?a:0}))!=null?i:[]}};var p0;(p0||(p0={})).rotate=function(e,t,n){let{up:i,down:o,north:r,east:a,south:s,west:c}=e;switch(n){case 90:[r,a,s,c]=[a,s,c,r];break;case 180:[r,a,s,c]=[s,c,r,a];break;case 270:[r,a,s,c]=[c,r,a,s]}switch(t){case 90:[i,r,o,s]=[r,o,s,i];break;case 180:[i,r,o,s]=[o,s,i,r];break;case 270:[i,r,o,s]=[s,i,r,o]}return{up:i,down:o,north:r,east:a,south:s,west:c}};const Uo=class{constructor(e,t,n){this.offsetSampler=e,this.factorSampler=t,this.jaggednessSampler=n}static extractor(e){return{compute:t=>t[e]}}static fromJson(e){var t;const n=(t=Ne.readObject(e))!=null?t:{};return new Uo(ls.fromJson(n.offset,this.EXTRACTOR),ls.fromJson(n.factor,this.EXTRACTOR),ls.fromJson(n.jaggedness,this.EXTRACTOR))}offset(e){return this.offsetSampler.compute(e)+Uo.GLOBAL_OFFSET}factor(e){return this.factorSampler.compute(e)}jaggedness(e){return this.jaggednessSampler.compute(e)}static point(e,t,n){return{continents:e,erosion:t,weirdness:n,ridges:this.peaksAndValleys(n)}}static peaksAndValleys(e){return 3*-(Math.abs(Math.abs(e)-.6666667)-.33333334)}};let Po=Uo;var Hn,Wa,f0,ia,xp;Po.GLOBAL_OFFSET=-.50375,Po.EXTRACTOR=e=>{var t;const n=(t=Ne.readString(e))!=null?t:"continents";return Uo.extractor(n)},Po.CONTINENTS=Uo.extractor("continents"),Po.EROSION=Uo.extractor("erosion"),Po.WEIRDNESS=Uo.extractor("weirdness"),Po.RIDGES=Uo.extractor("ridges"),function(e){function t(n){return n.ySize<<2}e.fromJson=function(n){var i,o,r,a,s;const c=(i=Ne.readObject(n))!=null?i:{};return{minY:(o=Ne.readInt(c.min_y))!=null?o:0,height:(r=Ne.readInt(c.height))!=null?r:256,xzSize:(a=Ne.readInt(c.size_horizontal))!=null?a:1,ySize:(s=Ne.readInt(c.size_vertical))!=null?s:1,sampling:Rp.fromJson(c.sampling),topSlide:Wa.fromJson(c.top_slide),bottomSlide:Wa.fromJson(c.bottom_slide),terrainShaper:Po.fromJson(c.terrain_shaper)}},e.cellHeight=t,e.cellWidth=function(n){return n.xzSize<<2},e.cellCountY=function(n){return n.height/t(n)},e.minCellY=function(n){return Math.floor(n.minY/t(n))},e.applySlides=function(n,i,o){const r=Math.floor(o/t(n))-e.minCellY(n);return i=Wa.apply(n.topSlide,i,e.cellCountY(n)-r),i=Wa.apply(n.bottomSlide,i,r)}}(Hn||(Hn={})),(f0=Wa||(Wa={})).fromJson=function(e){var t,n,i,o;const r=(t=Ne.readObject(e))!=null?t:{};return{target:(n=Ne.readNumber(r.target))!=null?n:0,size:(i=Ne.readInt(r.size))!=null?i:0,offset:(o=Ne.readInt(r.offset))!=null?o:0}},f0.apply=function(e,t,n){if(e.size<=0)return t;const i=(n-e.offset)/e.size;return Rf(e.target,t,i)},function(e){function t(n){const i=new Ol(Qt.create(n));return Ol.REGISTRY.register(i.key,i),i}e.NOISE=t("worldgen/noise"),e.DENSITY_FUNCTION=t("worldgen/density_function")}(ia||(ia={}));class Tt{minValue(){return-this.maxValue()}mapAll(t){return t.map(this)}}(function(e){e.context=function(B,w,I){return{x:B,y:w,z:I}};class t extends e{constructor(w){super(),this.input=w}compute(w){return this.transform(w,this.input.compute(w))}}const n=bs.parser(ia.NOISE,Es.fromJson);e.fromJson=function B(w,I=B){var U,z,ee,ae,te,me,he,Ve,ze,_e,Re,De,Vt,Zt,Le,mi,Ot,yt,jn;if(typeof w=="string")return new r(bs.reference(ia.DENSITY_FUNCTION,Qt.parse(w)));if(typeof w=="number")return new o(w);const xe=(U=Ne.readObject(w))!=null?U:{},ti=(z=Ne.readString(xe.type))==null?void 0:z.replace(/^minecraft:/,"");switch(ti){case"blend_alpha":return new a(1,0,1);case"blend_offset":case"beardifier":return new a(0,-1/0,1/0);case"old_blended_noise":return new s;case"flat_cache":return new l(I(xe.argument));case"interpolated":return new m(I(xe.argument));case"cache_2d":return new d(I(xe.argument));case"cache_once":return new u(I(xe.argument));case"cache_all_in_cell":return new _(I(xe.argument));case"noise":return new f((ee=Ne.readNumber(xe.xz_scale))!=null?ee:1,(ae=Ne.readNumber(xe.y_scale))!=null?ae:1,n(xe.noise));case"end_islands":return new p;case"weird_scaled_sampler":return new g(I(xe.input),Ne.readEnum(xe.rarity_value_mapper,h),n(xe.noise));case"shifted_noise":return new v(I(xe.shift_x),I(xe.shift_y),I(xe.shift_z),(te=Ne.readNumber(xe.xz_scale))!=null?te:1,(me=Ne.readNumber(xe.y_scale))!=null?me:1,n(xe.noise));case"range_choice":return new E(I(xe.input),(he=Ne.readNumber(xe.min_inclusive))!=null?he:0,(Ve=Ne.readNumber(xe.max_exclusive))!=null?Ve:1,I(xe.when_in_range),I(xe.when_out_of_range));case"shift_a":return new N(n(xe.argument));case"shift_b":return new C(n(xe.argument));case"shift":return new y(n(xe.argument));case"blend_density":return new A(I(xe.argument));case"clamp":return new R(I(xe.input),(ze=Ne.readNumber(xe.min))!=null?ze:0,(_e=Ne.readNumber(xe.max))!=null?_e:1);case"abs":case"square":case"cube":case"half_negative":case"quarter_negative":case"squeeze":return new M(ti,I(xe.argument));case"slide":return new L(I(xe.argument));case"add":case"mul":case"min":case"max":return new q(Ne.readEnum(ti,F),I(xe.argument1),I(xe.argument2));case"spline":return new $(ls.fromJson(xe.spline,I),(Re=Ne.readNumber(xe.min_value))!=null?Re:0,(De=Ne.readNumber(xe.max_value))!=null?De:1);case"terrain_shaper_spline":return new X(I(xe.continentalness),I(xe.erosion),I(xe.weirdness),Ne.readEnum(xe.spline,Y),(Vt=Ne.readNumber(xe.min_value))!=null?Vt:0,(Zt=Ne.readNumber(xe.max_value))!=null?Zt:1);case"constant":return new o((Le=Ne.readNumber(xe.argument))!=null?Le:0);case"y_clamped_gradient":return new J((mi=Ne.readInt(xe.from_y))!=null?mi:-4064,(Ot=Ne.readInt(xe.to_y))!=null?Ot:4062,(yt=Ne.readNumber(xe.from_value))!=null?yt:-4064,(jn=Ne.readNumber(xe.to_value))!=null?jn:4062)}return o.ZERO};const i=class extends e{constructor(B){super(),this.value=B}compute(){return this.value}minValue(){return this.value}maxValue(){return this.value}};let o=i;o.ZERO=new i(0),o.ONE=new i(1),e.Constant=o;class r extends e{constructor(w){super(),this.holder=w}compute(w){return this.holder.value().compute(w)}minValue(){return this.holder.value().minValue()}maxValue(){return this.holder.value().maxValue()}}e.HolderHolder=r;class a extends e.Constant{constructor(w,I,U){super(w),this.min=I,this.max=U}minValue(){return this.min}maxValue(){return this.max}}e.ConstantMinMax=a;class s extends e{constructor(w){super(),this.blendedNoise=w!=null?w:new yS(ln.create(BigInt(0)),{xzScale:1,yScale:1,xzFactor:80,yFactor:160},4,8)}compute(w){return this.blendedNoise.sample(w.x,w.y,w.z)}maxValue(){return this.blendedNoise.maxValue}}e.OldBlendedNoise=s;class c extends e{constructor(w){super(),this.wrapped=w}minValue(){return this.wrapped.minValue()}maxValue(){return this.wrapped.maxValue()}}class l extends c{constructor(w){super(w),this.lastValue=0}compute(w){const I=w.x>>2,U=w.z>>2;return this.lastQuartX===I&&this.lastQuartZ===U||(this.lastValue=this.wrapped.compute(e.context(I<<2,0,U<<2)),this.lastQuartX=I,this.lastQuartZ=U),this.lastValue}mapAll(w){return w.map(new l(this.wrapped.mapAll(w)))}}e.FlatCache=l;class _ extends c{constructor(w){super(w)}compute(w){return this.wrapped.compute(w)}mapAll(w){return w.map(new _(this.wrapped.mapAll(w)))}}e.CacheAllInCell=_;class d extends c{constructor(w){super(w),this.lastValue=0}compute(w){const I=w.x,U=w.z;return this.lastBlockX===I&&this.lastBlockZ===U||(this.lastValue=this.wrapped.compute(w),this.lastBlockX=I,this.lastBlockZ=U),this.lastValue}mapAll(w){return w.map(new d(this.wrapped.mapAll(w)))}}e.Cache2D=d;class u extends c{constructor(w){super(w),this.lastValue=0}compute(w){const I=w.x,U=w.y,z=w.z;return this.lastBlockX===I&&this.lastBlockY===U&&this.lastBlockZ===z||(this.lastValue=this.wrapped.compute(w),this.lastBlockX=I,this.lastBlockY=U,this.lastBlockZ=z),this.lastValue}mapAll(w){return w.map(new u(this.wrapped.mapAll(w)))}}e.CacheOnce=u;class m extends c{constructor(w,I=4,U=4){super(w),this.cellWidth=I,this.cellHeight=U,this.values=new Map}compute({x:w,y:I,z:U}){const z=this.cellWidth,ee=this.cellHeight,ae=(w%z+z)%z/z,te=(I%ee+ee)%ee/ee,me=(U%z+z)%z/z,he=Math.floor(w/z)*z,Ve=Math.floor(I/ee)*ee,ze=Math.floor(U/z)*z;return u2(ae,te,me,()=>this.computeCorner(he,Ve,ze),()=>this.computeCorner(he+z,Ve,ze),()=>this.computeCorner(he,Ve+ee,ze),()=>this.computeCorner(he+z,Ve+ee,ze),()=>this.computeCorner(he,Ve,ze+z),()=>this.computeCorner(he+z,Ve,ze+z),()=>this.computeCorner(he,Ve+ee,ze+z),()=>this.computeCorner(he+z,Ve+ee,ze+z))}computeCorner(w,I,U){return om(this.values,`${w} ${I} ${U}`,()=>this.wrapped.compute(e.context(w,I,U)))}mapAll(w){return w.map(new m(this.wrapped.mapAll(w)))}withCellSize(w,I){return new m(this.wrapped,w,I)}}e.Interpolated=m;class f extends e{constructor(w,I,U,z){super(),this.xzScale=w,this.yScale=I,this.noiseData=U,this.noise=z}compute(w){var I,U;return(U=(I=this.noise)==null?void 0:I.sample(w.x*this.xzScale,w.y*this.yScale,w.z*this.xzScale))!=null?U:0}maxValue(){var w,I;return(I=(w=this.noise)==null?void 0:w.maxValue)!=null?I:2}}e.Noise=f;class p extends e{compute(){return 0}minValue(){return-.84375}maxValue(){return .5625}}const h=["type_1","type_2"],b=class extends t{constructor(B,w,I,U){super(B),this.rarityValueMapper=w,this.noiseData=I,this.noise=U,this.mapper=b.ValueMapper[this.rarityValueMapper]}transform(B,w){if(!this.noise)return 0;const I=this.mapper(w);return I*Math.abs(this.noise.sample(B.x/I,B.y/I,B.z/I))}mapAll(B){return B.map(new b(this.input.mapAll(B),this.rarityValueMapper,this.noiseData,this.noise))}minValue(){return 0}maxValue(){return this.rarityValueMapper==="type_1"?2:3}static rarityValueMapper1(B){return B<-.5?.75:B<0?1:B<.5?1.5:2}static rarityValueMapper2(B){return B<-.75?.5:B<-.5?.75:B<.5?1:B<.75?2:3}};let g=b;g.ValueMapper={type_1:b.rarityValueMapper1,type_2:b.rarityValueMapper2},e.WeirdScaledSampler=g;class v extends f{constructor(w,I,U,z,ee,ae,te){super(z,ee,ae,te),this.shiftX=w,this.shiftY=I,this.shiftZ=U}compute(w){var I,U;const z=w.x*this.xzScale+this.shiftX.compute(w),ee=w.y*this.yScale+this.shiftY.compute(w),ae=w.z*this.xzScale+this.shiftZ.compute(w);return(U=(I=this.noise)==null?void 0:I.sample(z,ee,ae))!=null?U:0}mapAll(w){return w.map(new v(this.shiftX.mapAll(w),this.shiftY.mapAll(w),this.shiftZ.mapAll(w),this.xzScale,this.yScale,this.noiseData,this.noise))}}e.ShiftedNoise=v;class E extends e{constructor(w,I,U,z,ee){super(),this.input=w,this.minInclusive=I,this.maxExclusive=U,this.whenInRange=z,this.whenOutOfRange=ee}compute(w){const I=this.input.compute(w);return this.minInclusive<=I&&I<this.maxExclusive?this.whenInRange.compute(w):this.whenOutOfRange.compute(w)}mapAll(w){return w.map(new E(this.input.mapAll(w),this.minInclusive,this.maxExclusive,this.whenInRange.mapAll(w),this.whenOutOfRange.mapAll(w)))}minValue(){return Math.min(this.whenInRange.minValue(),this.whenOutOfRange.minValue())}maxValue(){return Math.max(this.whenInRange.maxValue(),this.whenOutOfRange.maxValue())}}e.RangeChoice=E;class S extends e{constructor(w,I){super(),this.noiseData=w,this.offsetNoise=I}compute(w){var I,U;return(U=(I=this.offsetNoise)==null?void 0:I.sample(.25*w.x,.25*w.y,.25*w.z))!=null?U:0}maxValue(){var w,I;return 4*((I=(w=this.offsetNoise)==null?void 0:w.maxValue)!=null?I:2)}}e.ShiftNoise=S;class N extends S{constructor(w,I){super(w,I)}compute(w){return super.compute(e.context(w.x,0,w.z))}withNewNoise(w){return new N(this.noiseData,w)}}e.ShiftA=N;class C extends S{constructor(w,I){super(w,I)}compute(w){return super.compute(e.context(w.z,w.x,0))}withNewNoise(w){return new C(this.noiseData,w)}}e.ShiftB=C;class y extends S{constructor(w,I){super(w,I)}withNewNoise(w){return new y(this.noiseData,w)}}e.Shift=y;class A extends t{constructor(w){super(w)}transform(w,I){return I}mapAll(w){return w.map(new A(this.input.mapAll(w)))}minValue(){return-1/0}maxValue(){return 1/0}}e.BlendDensity=A;class R extends t{constructor(w,I,U){super(w),this.min=I,this.max=U}transform(w,I){return Js(I,this.min,this.max)}mapAll(w){return w.map(new R(this.input.mapAll(w),this.min,this.max))}minValue(){return this.min}maxValue(){return this.max}}e.Clamp=R;const D=class extends t{constructor(B,w,I,U){super(w),this.type=B,this.min=I,this.max=U,this.transformer=D.MappedTypes[this.type]}transform(B,w){return this.transformer(w)}mapAll(B){return B.map(new D(this.type,this.input.mapAll(B)))}minValue(){var B;return(B=this.min)!=null?B:-1/0}maxValue(){var B;return(B=this.max)!=null?B:1/0}withMinMax(){const B=this.input.minValue();let w=this.transformer(B),I=this.transformer(this.input.maxValue());return this.type!=="abs"&&this.type!=="square"||(I=Math.max(w,I),w=Math.max(0,B)),new D(this.type,this.input,w,I)}};let M=D;M.MappedTypes={abs:B=>Math.abs(B),square:B=>B*B,cube:B=>B*B*B,half_negative:B=>B>0?B:.5*B,quarter_negative:B=>B>0?B:.25*B,squeeze:B=>{const w=Js(B,-1,1);return w/2-w*w*w/24}},e.Mapped=M;class L extends t{constructor(w,I){super(w),this.settings=I}transform(w,I){return this.settings?Hn.applySlides(this.settings,I,w.y):I}mapAll(w){return w.map(new L(this.input.mapAll(w),this.settings))}minValue(){return this.settings?Math.min(this.input.minValue(),this.settings.bottomSlide.target,this.settings.topSlide.target):this.input.minValue()}maxValue(){return this.settings?Math.max(this.input.maxValue(),this.settings.bottomSlide.target,this.settings.topSlide.target):this.input.maxValue()}}e.Slide=L;const F=["add","mul","min","max"];class q extends e{constructor(w,I,U,z,ee){super(),this.type=w,this.argument1=I,this.argument2=U,this.min=z,this.max=ee}compute(w){const I=this.argument1.compute(w);switch(this.type){case"add":return I+this.argument2.compute(w);case"mul":return I===0?0:I*this.argument2.compute(w);case"min":return I<this.argument2.minValue()?I:Math.min(I,this.argument2.compute(w));case"max":return I>this.argument2.maxValue()?I:Math.max(I,this.argument2.compute(w))}}mapAll(w){return w.map(new q(this.type,this.argument1.mapAll(w),this.argument2.mapAll(w)))}minValue(){var w;return(w=this.min)!=null?w:-1/0}maxValue(){var w;return(w=this.max)!=null?w:1/0}withMinMax(){const w=this.argument1.minValue(),I=this.argument2.minValue(),U=this.argument1.maxValue(),z=this.argument2.maxValue();let ee,ae;switch(this.type!=="min"&&this.type!=="max"||!(w>=z||I>=U)||console.warn(`Creating a ${this.type} function between two non-overlapping inputs`),this.type){case"add":ee=w+I,ae=U+z;break;case"mul":ee=w>0&&I>0?w*I||0:U<0&&z<0?U*z||0:Math.min(w*z||0,I*U||0),ae=w>0&&I>0?U*z||0:U<0&&z<0?w*I||0:Math.max(w*I||0,U*z||0);break;case"min":ee=Math.min(w,I),ae=Math.min(U,z);break;case"max":ee=Math.max(w,I),ae=Math.max(U,z)}return new q(this.type,this.argument1,this.argument2,ee,ae)}}e.Ap2=q;class $ extends e{constructor(w,I,U){super(),this.spline=w,this.min=I,this.max=U}compute(w){return Js(this.spline.compute(w),this.min,this.max)}mapAll(w){return w.map(new $(this.spline.mapAll(I=>I instanceof e?I.mapAll(w):I),this.min,this.max))}minValue(){return this.min}maxValue(){return this.max}}e.Spline=$;const Y=["offset","factor","jaggedness"];class X extends e{constructor(w,I,U,z,ee,ae,te){super(),this.continentalness=w,this.erosion=I,this.weirdness=U,this.spline=z,this.min=ee,this.max=ae,this.shaper=te}compute(w){if(!this.shaper)return 0;const I=Po.point(this.continentalness.compute(w),this.erosion.compute(w),this.weirdness.compute(w));return Js(this.shaper[this.spline](I),this.min,this.max)}mapAll(w){return w.map(new X(this.continentalness.mapAll(w),this.erosion.mapAll(w),this.weirdness.mapAll(w),this.spline,this.min,this.max,this.shaper))}minValue(){return this.min}maxValue(){return this.max}}e.TerrainShaperSpline=X;class J extends e{constructor(w,I,U,z){super(),this.fromY=w,this.toY=I,this.fromValue=U,this.toValue=z}compute(w){return vS(w.y,this.fromY,this.toY,this.fromValue,this.toValue)}minValue(){return Math.min(this.fromValue,this.toValue)}maxValue(){return Math.max(this.fromValue,this.toValue)}}e.YClampedGradient=J})(Tt||(Tt={}));class h0{constructor(t,n){this.level=t,this.type=n}at(t){return t<this.level?this.type:Si.AIR}}(xp||(xp={})).createDisabled=function(e){return{compute({x:t,y:n,z:i},o){if(!(o>0))return e(t,n,i).at(n)}}};var g0,kr;(function(e){function t(_,d){return typeof _=="number"?new n(_,d!=null?d:_):_}e.target=function(_,d,u,m,f,p){return new o(_,d,u,m,f,p)},e.parameters=function(_,d,u,m,f,p,h){return new i(t(_),t(d),t(u),t(m),t(f),t(p),h)},e.param=t;class n{constructor(d,u){this.min=d,this.max=u}distance(d){const u=(typeof d=="number"?d:d.min)-this.max,m=this.min-(typeof d=="number"?d:d.max);return u>0?u:Math.max(m,0)}union(d){return new n(Math.min(this.min,d.min),Math.max(this.max,d.max))}static fromJson(d){var u;if(typeof d=="number")return new n(d,d);const[m,f]=(u=Ne.readArray(d,p=>Ne.readNumber(p)))!=null?u:[];return new n(m!=null?m:0,f!=null?f:0)}}e.Param=n;class i{constructor(d,u,m,f,p,h,b){this.temperature=d,this.humidity=u,this.continentalness=m,this.erosion=f,this.depth=p,this.weirdness=h,this.offset=b}fittness(d){return Lo(this.temperature.distance(d.temperature))+Lo(this.humidity.distance(d.humidity))+Lo(this.continentalness.distance(d.continentalness))+Lo(this.erosion.distance(d.erosion))+Lo(this.depth.distance(d.depth))+Lo(this.weirdness.distance(d.weirdness))+Lo(this.offset-d.offset)}space(){return[this.temperature,this.humidity,this.continentalness,this.erosion,this.depth,this.weirdness,new n(this.offset,this.offset)]}static fromJson(d){var u,m;const f=(u=Ne.readObject(d))!=null?u:{};return new i(n.fromJson(f.temperature),n.fromJson(f.humidity),n.fromJson(f.continentalness),n.fromJson(f.erosion),n.fromJson(f.depth),n.fromJson(f.weirdness),(m=Ne.readInt(f.offset))!=null?m:0)}}e.ParamPoint=i;class o{constructor(d,u,m,f,p,h){this.temperature=d,this.humidity=u,this.continentalness=m,this.erosion=f,this.depth=p,this.weirdness=h}get offset(){return 0}toArray(){return[this.temperature,this.humidity,this.continentalness,this.erosion,this.depth,this.weirdness,this.offset]}}e.TargetPoint=o,e.Parameters=class{constructor(_){this.things=_,this.index=new a(_)}find(_){return this.index.search(_,(d,u)=>d.distance(u))}},e.Sampler=class{constructor(_,d,u,m,f,p){this.temperature=_,this.humidity=d,this.continentalness=u,this.erosion=m,this.depth=f,this.weirdness=p}static fromRouter(_){return new e.Sampler(_.temperature,_.vegetation,_.continents,_.erosion,_.depth,_.ridges)}sample(_,d,u){const m=Tt.context(_<<2,d<<2,u<<2);return e.target(this.temperature.compute(m),this.humidity.compute(m),this.continentalness.compute(m),this.erosion.compute(m),this.depth.compute(m),this.weirdness.compute(m))}};const r=class{constructor(_){this.root=r.build(_.map(([d,u])=>new l(d,u)))}static build(_){if(_.length===1)return _[0];if(_.length<=r.CHILDREN_PER_NODE){const f=_.map(p=>{let h=0;for(let b=0;b<7;b+=1){const g=p.space[b];h+=Math.abs((g.min+g.max)/2)}return{key:h,node:p}}).sort((p,h)=>p.key-h.key).map(({node:p})=>p);return new c(f)}let d=1/0,u=-1,m=[];for(let f=0;f<7;++f){_=r.sort(_,f,!1),m=r.bucketize(_);let p=0;for(const h of m)p+=r.area(h.space);d>p&&(d=p,u=f)}return _=r.sort(_,u,!1),m=r.bucketize(_),m=r.sort(m,u,!0),new c(m.map(f=>r.build(f.children)))}static sort(_,d,u){return _.map(m=>{const f=m.space[d],p=(f.min+f.max)/2;return{key:u?Math.abs(p):p,node:m}}).sort((m,f)=>m.key-f.key).map(({node:m})=>m)}static bucketize(_){const d=[];let u=[];const m=Math.pow(10,Math.floor(Math.log(_.length-.01)/Math.log(10)));for(const f of _)u.push(f),u.length<m||(d.push(new c(u)),u=[]);return u.length!==0&&d.push(new c(u)),d}static area(_){let d=0;for(const u of _)d+=Math.abs(u.max-u.min);return d}search(_,d){return this.root.search(_.toArray(),d).thing()}};let a=r;a.CHILDREN_PER_NODE=10,e.RTree=a;class s{constructor(d){this.space=d}distance(d){let u=0;for(let m=0;m<7;m+=1)u+=Lo(this.space[m].distance(d[m]));return u}}e.RNode=s;class c extends s{constructor(d){super(c.buildSpace(d)),this.children=d}static buildSpace(d){let u=[...Array(7)].map(()=>new n(1/0,-1/0));for(const m of d)u=[...Array(7)].map((f,p)=>u[p].union(m.space[p]));return u}search(d,u){let m=1/0,f=null;for(const p of this.children){const h=u(p,d);if(m<=h)continue;const b=p.search(d,u),g=p==b?h:u(b,d);m<=g||(m=g,f=b)}return f}}e.RSubTree=c;class l extends s{constructor(d,u){super(d.space()),this.thing=u}search(){return this}}e.RLeaf=l})(g0||(g0={}));class Tl{constructor(t){this.biome=t}getBiome(){return this.biome}static fromJson(t){var n,i;const o=(n=Ne.readObject(t))!=null?n:{},r=Qt.parse((i=Ne.readString(o.biome))!=null?i:"minecraft:the_void");return new Tl(r)}}(function(e){function t(i,o,r){return ia.NOISE.register(Qt.create(i),Es.create(o,r))}e.TEMPERATURE=t("temperature",-10,[1.5,0,1,0,0,0]),e.VEGETATION=t("vegetation",-8,[1,1,0,0,0,0]),e.CONTINENTALNESS=t("continentalness",-9,[1,1,2,2,2,1,1,1,1]),e.EROSION=t("erosion",-9,[1,1,0,1,1]),e.TEMPERATURE_LARGE=t("temperature_large",-12,[1.5,0,1,0,0,0]),e.VEGETATION_LARGE=t("vegetation_large",-10,[1,1,0,0,0,0]),e.CONTINENTALNESS_LARGE=t("continentalness_large",-11,[1,1,2,2,2,1,1,1,1]),e.EROSION_LARGE=t("erosion_large",-11,[1,1,0,1,1]),e.RIDGE=t("ridge",-7,[1,2,1,0,0,0]),e.SHIFT=t("offset",-3,[1,1,1,0]),e.AQUIFER_BARRIER=t("aquifer_barrier",-3,[1]),e.AQUIFER_FLUID_LEVEL_FLOODEDNESS=t("aquifer_fluid_level_floodedness",-7,[1]),e.AQUIFER_FLUID_LEVEL_SPREAD=t("aquifer_fluid_level_spread",-5,[1]),e.AQUIFER_LAVA=t("aquifer_lava",-1,[1]),e.PILLAR=t("pillar",-7,[1,1]),e.PILLAR_RARENESS=t("pillar_rareness",-8,[1]),e.PILLAR_THICKNESS=t("pillar_thickness",-8,[1]),e.SPAGHETTI_2D=t("spaghetti_2d",-8,[1]),e.SPAGHETTI_2D_ELEVATION=t("spaghetti_2d_elevation",-8,[1]),e.SPAGHETTI_2D_MODULATOR=t("spaghetti_2d_modulator",-8,[1]),e.SPAGHETTI_2D_THICKNESS=t("spaghetti_2d_thickness",-8,[1]),e.SPAGHETTI_3D_1=t("spaghetti_3d_1",-8,[1]),e.SPAGHETTI_3D_2=t("spaghetti_3d_2",-8,[1]),e.SPAGHETTI_3D_RARITY=t("spaghetti_3d_rarity",-8,[1]),e.SPAGHETTI_3D_THICKNESS=t("spaghetti_3d_thickness",-8,[1]),e.SPAGHETTI_ROUGHNESS=t("spaghetti_roughness",-8,[1]),e.SPAGHETTI_ROUGHNESS_MODULATOR=t("spaghetti_roughness_modulator",-8,[1]),e.CAVE_ENTRANCE=t("cave_entrance",-7,[.4,.5,1]),e.CAVE_LAYER=t("cave_layer",-8,[1]),e.CAVE_CHEESE=t("cave_cheese",-8,[.5,1,2,1,2,1,0,2,0]),e.NOODLE=t("noodle",-8,[1]),e.NOODLE_THICKNESS=t("noodle_thickness",-8,[1]),e.NOODLE_RIDGE_A=t("noodle_ridge_a",-7,[1]),e.NOODLE_RIDGE_B=t("noodle_ridge_b",-7,[1]),e.JAGGED=t("jagged",-16,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),e.SURFACE=t("surface",-6,[1,1,1]),e.SURFACE_SECONDARY=t("surface_secondary",-6,[1,1,0,1]);const n=new Map;e.instantiate=function(i,o){var r;const a=(r=o.key())==null?void 0:r.toString();if(!a)throw new Error("Cannot instantiate noise from direct holder");const s=i.seedKey(),c=n.get(a);if(c&&c[0]===s[0]&&c[1]===s[1])return c[2];const l=new am(i.fromHashOf(a),o.value());return n.set(a,[s[0],s[1],l]),l}})(kr||(kr={}));var vs,Dp,dl,Ip,kp,Gm,Mp,f2=Object.defineProperty,h2=Object.defineProperties,g2=Object.getOwnPropertyDescriptors,b0=Object.getOwnPropertySymbols,b2=Object.prototype.hasOwnProperty,E2=Object.prototype.propertyIsEnumerable,E0=(e,t,n)=>t in e?f2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v0=(e,t)=>{for(var n in t||(t={}))b2.call(t,n)&&E0(e,n,t[n]);if(b0)for(var n of b0(t))E2.call(t,n)&&E0(e,n,t[n]);return e};(function(e){const t=i=>bs.parser(ia.DENSITY_FUNCTION,Tt.fromJson)(i).value();e.fromJson=function(i){var o;const r=(o=Ne.readObject(i))!=null?o:{};return{barrier:t(r.barrier),fluidLevelFloodedness:t(r.fluid_level_floodedness),fluidLevelSpread:t(r.fluid_level_spread),lava:t(r.lava),temperature:t(r.temperature),vegetation:t(r.vegetation),continents:t(r.continents),erosion:t(r.erosion),depth:t(r.depth),ridges:t(r.ridges),initialDensityWithoutJaggedness:t(r.initial_density_without_jaggedness),finalDensity:t(r.final_density),veinToggle:t(r.vein_toggle),veinRidged:t(r.vein_ridged),veinGap:t(r.vein_gap)}},e.create=function(i){return v0({barrier:Tt.Constant.ZERO,fluidLevelFloodedness:Tt.Constant.ZERO,fluidLevelSpread:Tt.Constant.ZERO,lava:Tt.Constant.ZERO,temperature:Tt.Constant.ZERO,vegetation:Tt.Constant.ZERO,continents:Tt.Constant.ZERO,erosion:Tt.Constant.ZERO,depth:Tt.Constant.ZERO,ridges:Tt.Constant.ZERO,initialDensityWithoutJaggedness:Tt.Constant.ZERO,finalDensity:Tt.Constant.ZERO,veinToggle:Tt.Constant.ZERO,veinRidged:Tt.Constant.ZERO,veinGap:Tt.Constant.ZERO},i)},e.withSettings=function(i,o,r,a=!1){const s=(a?new Gi(r):ln.create(r)).forkPositional(),c=new n(s,o);return l=v0({},c.mapAll(i)),_={aquiferPositionalRandomFactory:s.fromHashOf(Qt.create("aquifer").toString()).forkPositional(),oreVeinsPositionalRandomFactory:s.fromHashOf(Qt.create("ore").toString()).forkPositional()},h2(l,g2(_));var l,_};class n{constructor(o,r){this.random=o,this.settings=r,this.mapped=new Map}map(o){if(o instanceof Tt.HolderHolder){const r=o.holder.key();if(r!==void 0&&this.mapped.has(r.toString()))return this.mapped.get(r.toString());{const a=o.holder.value().mapAll(this);return r!==void 0&&this.mapped.set(r.toString(),a),a}}if(o instanceof Tt.Interpolated)return o.withCellSize(Hn.cellWidth(this.settings),Hn.cellHeight(this.settings));if(o instanceof Tt.Noise)return new Tt.Noise(o.xzScale,o.yScale,o.noiseData,kr.instantiate(this.random,o.noiseData));if(o instanceof Tt.ShiftNoise)return o.withNewNoise(kr.instantiate(this.random,o.noiseData));if(o instanceof Tt.ShiftedNoise){const r=kr.instantiate(this.random,o.noiseData);return new Tt.ShiftedNoise(o.shiftX,o.shiftY,o.shiftZ,o.xzScale,o.yScale,o.noiseData,r)}return o instanceof Tt.WeirdScaledSampler?new Tt.WeirdScaledSampler(o.input,o.rarityValueMapper,o.noiseData,kr.instantiate(this.random,o.noiseData)):o instanceof Tt.OldBlendedNoise?new Tt.OldBlendedNoise(new yS(this.random.fromHashOf(Qt.create("terrain").toString()),this.settings.sampling,Hn.cellWidth(this.settings),Hn.cellHeight(this.settings))):o instanceof Tt.Mapped||o instanceof Tt.Ap2?o.withMinMax():o instanceof Tt.TerrainShaperSpline?new Tt.TerrainShaperSpline(o.continentalness,o.erosion,o.weirdness,o.spline,o.min,o.max,this.settings.terrainShaper):o instanceof Tt.Slide?new Tt.Slide(o.input,this.settings):o}mapAll(o){return{barrier:o.barrier.mapAll(this),fluidLevelFloodedness:o.fluidLevelFloodedness.mapAll(this),fluidLevelSpread:o.fluidLevelSpread.mapAll(this),lava:o.lava.mapAll(this),temperature:o.temperature.mapAll(this),vegetation:o.vegetation.mapAll(this),continents:o.continents.mapAll(this),erosion:o.erosion.mapAll(this),depth:o.depth.mapAll(this),ridges:o.ridges.mapAll(this),initialDensityWithoutJaggedness:o.initialDensityWithoutJaggedness.mapAll(this),finalDensity:o.finalDensity.mapAll(this),veinToggle:o.veinToggle.mapAll(this),veinRidged:o.veinRidged.mapAll(this),veinGap:o.veinGap.mapAll(this)}}}e.Visitor=n,e.computePreliminarySurfaceLevelScanning=function(i,o,r,a){const s=Hn.minCellY(i)+Hn.cellCountY(i),c=Hn.minCellY(i),l=Hn.cellHeight(i);for(let _=s;_>=c;_-=1){const d=_*l,u=Js(o.compute(Tt.context(r,d,a)),-64,64);if(Hn.applySlides(i,u,d)>=.390625)return d}return Number.MAX_SAFE_INTEGER}})(vs||(vs={}));class v2{constructor(t,n,i,o,r,a,s,c,l){this.cellCountXZ=t,this.cellCountY=n,this.cellNoiseMinY=i,this.router=o,this.minX=r,this.minZ=a,this.settings=s,this.preliminarySurfaceLevel=new Map,this.cellWidth=Hn.cellWidth(s),this.cellHeight=Hn.cellHeight(s),this.firstCellX=Math.floor(r/this.cellWidth),this.firstCellZ=Math.floor(a/this.cellWidth),this.firstNoiseX=r>>2,this.firstNoiseZ=a>>2,this.noiseSizeXZ=t*this.cellWidth>>2,this.aquifer=xp.createDisabled(l);const _=this.router.finalDensity;this.materialRule=Dp.fromList([d=>this.aquifer.compute(d,_.compute(d))]),this.initialDensityWithoutJaggedness=this.router.initialDensityWithoutJaggedness}getFinalState(t,n,i){return this.materialRule({x:t,y:n,z:i})}getPreliminarySurfaceLevel(t,n){return om(this.preliminarySurfaceLevel,Ki.asLong(t,n),()=>vs.computePreliminarySurfaceLevelScanning(this.settings,this.initialDensityWithoutJaggedness,t<<2,n<<2))}getAquifer(){return this.aquifer}}(Dp||(Dp={})).fromList=function(e){return t=>{for(const n of e){const i=n(t);if(i)return i}}},(dl||(dl={})).fromJson=function(e){var t,n,i,o;const r=(t=Ne.readObject(e))!=null?t:{};return r.absolute!==void 0?(a=(n=Ne.readNumber(r.absolute))!=null?n:0,()=>a):r.above_bottom!==void 0?function(s){return c=>c.minY+s}((i=Ne.readNumber(r.above_bottom))!=null?i:0):r.below_top!==void 0?function(s){return c=>c.maxY-s}((o=Ne.readNumber(r.below_top))!=null?o:0):()=>0;var a},(Ip||(Ip={})).create=function(e,t){return{minY:e,height:t,maxY:e+t-1}};class S2{constructor(t,n,i){this.rule=t,this.defaultBlock=n,this.random=ln.create(i).forkPositional(),this.surfaceNoise=kr.instantiate(this.random,kr.SURFACE),this.surfaceSecondaryNoise=kr.instantiate(this.random,kr.SURFACE_SECONDARY),this.positionalRandoms=new Map}buildSurface(t,n,i,o){const r=Ki.minBlockX(t.pos),a=Ki.minBlockZ(t.pos),s=new y2(this,t,n,i,o),c=this.rule(s);for(let l=0;l<16;l+=1){const _=r+l;for(let d=0;d<1;d+=1){const u=a+d;s.updateXZ(_,u);let m=0,f=Number.MIN_SAFE_INTEGER,p=Number.MAX_SAFE_INTEGER;for(let h=t.maxY;h>=t.minY;h-=1){const b=gs.create(_,h,u),g=t.getBlockState(b);if(g.equals(Si.AIR)){m=0,f=Number.MIN_SAFE_INTEGER;continue}if(g.isFluid()){f===Number.MIN_SAFE_INTEGER&&(f=h+1);continue}if(p>=h){p=Number.MIN_SAFE_INTEGER;for(let S=h-1;S>=t.minY;S-=1){const N=t.getBlockState(gs.create(_,S,u));if(N.equals(Si.AIR)||N.isFluid()){p=S+1;break}}}m+=1;const v=h-p+1;if(!g.equals(this.defaultBlock))continue;s.updateY(m,v,f,h);const E=c(_,h,u);E&&t.setBlockState(b,E)}}}}getSurfaceDepth(t,n){return 2.75*this.surfaceNoise.sample(t,0,n)+3+.25*this.random.at(t,0,n).nextDouble()}getSurfaceSecondary(t,n){return this.surfaceSecondaryNoise.sample(t,0,n)}getRandom(t){return om(this.positionalRandoms,t,()=>this.random.fromHashOf(t))}}class y2{constructor(t,n,i,o,r){this.system=t,this.chunk=n,this.noiseChunk=i,this.context=o,this.getBiome=r,this.blockX=0,this.blockY=0,this.blockZ=0,this.stoneDepthAbove=0,this.stoneDepthBelow=0,this.surfaceDepth=0,this.waterHeight=0,this.biome=()=>"",this.surfaceSecondary=()=>0,this.minSurfaceLevel=()=>0}updateXZ(t,n){this.blockX=t,this.blockZ=n,this.surfaceDepth=this.system.getSurfaceDepth(t,n),this.surfaceSecondary=$m(()=>this.system.getSurfaceSecondary(t,n)),this.minSurfaceLevel=$m(()=>this.calculateMinSurfaceLevel(t,n))}updateY(t,n,i,o){this.blockY=o,this.stoneDepthAbove=t,this.stoneDepthBelow=n,this.waterHeight=i,this.biome=$m(()=>this.getBiome(gs.create(this.blockX,this.blockY,this.blockZ)))}calculateMinSurfaceLevel(t,n){const i=t>>4,o=n>>4,r=this.noiseChunk.getPreliminarySurfaceLevel(i<<4,o<<4),a=this.noiseChunk.getPreliminarySurfaceLevel(i+1<<4,o<<4),s=this.noiseChunk.getPreliminarySurfaceLevel(i<<4,o+1<<4),c=this.noiseChunk.getPreliminarySurfaceLevel(i+1<<4,o+1<<4);return Math.floor(Tp((15&t)/16,(15&n)/16,r,a,s,c))+this.surfaceDepth-8}}(function(e){function t(o){return()=>()=>o}function n(o){return r=>{const a=o.map(s=>s(r));return(s,c,l)=>{for(const _ of a){const d=_(s,c,l);if(d)return d}}}}function i(o,r){return a=>(s,c,l)=>{if(o(a))return r(a)(s,c,l)}}e.NOOP=()=>()=>{},e.fromJson=function(o){var r,a,s;const c=(r=Ne.readObject(o))!=null?r:{};switch((a=Ne.readString(c.type))==null?void 0:a.replace(/^minecraft:/,"")){case"block":return t(Si.fromJson(c.result_state));case"sequence":return n((s=Ne.readArray(c.sequence,e.fromJson))!=null?s:[]);case"condition":return i(Gm.fromJson(c.if_true),e.fromJson(c.then_run))}return e.NOOP},e.block=t,e.sequence=n,e.condition=i})(kp||(kp={})),function(e){function t(){return c=>c.blockY>=c.minSurfaceLevel()}function n(c){const l=new Set(c);return _=>l.has(_.biome())}function i(c){return l=>!c(l)}function o(c,l,_,d){return u=>{const m=d?u.stoneDepthBelow:u.stoneDepthAbove,f=l?u.surfaceDepth:0,p=_===0?0:u0(u.surfaceSecondary(),-1,1,0,_);return m<=1+c+f+p}}function r(c,l,_){return d=>{const u=l(d.context),m=_(d.context);if(d.blockY<=u)return!0;if(d.blockY>=m)return!1;const f=d.system.getRandom(c),p=u0(d.blockY,u,m,1,0);return f.nextFloat()<p}}function a(c,l,_){return d=>{if(d.waterHeight===Number.MIN_SAFE_INTEGER)return!0;const u=_?d.stoneDepthAbove:0;return d.blockY+u>=d.waterHeight+c+d.surfaceDepth*l}}function s(c,l,_){return d=>{const u=_?d.stoneDepthAbove:0;return d.blockY+u>=c(d.context)+d.surfaceDepth*l}}e.FALSE=()=>!1,e.TRUE=()=>!0,e.fromJson=function(c){var l,_,d,u,m,f,p,h,b,g,v,E;const S=(l=Ne.readObject(c))!=null?l:{};switch((_=Ne.readString(S.type))==null?void 0:_.replace(/^minecraft:/,"")){case"above_preliminary_surface":return N=>N.blockY>=N.minSurfaceLevel();case"biome":return n((d=Ne.readArray(S.biome_is,N=>{var C;return(C=Ne.readString(N))!=null?C:""}))!=null?d:[]);case"not":return i(e.fromJson(S.invert));case"stone_depth":return o((u=Ne.readInt(S.offset))!=null?u:0,(m=Ne.readBoolean(S.add_surface_depth))!=null&&m,(f=Ne.readInt(S.secondary_depth_range))!=null?f:0,Ne.readString(S.surface_type)==="ceiling");case"vertical_gradient":return r((p=Ne.readString(S.random_name))!=null?p:"",dl.fromJson(S.true_at_and_below),dl.fromJson(S.false_at_and_above));case"water":return a((h=Ne.readInt(S.offset))!=null?h:0,(b=Ne.readInt(S.surface_depth_multiplier))!=null?b:0,(g=Ne.readBoolean(S.add_surface_depth))!=null&&g);case"y_above":return s(dl.fromJson(S.anchor),(v=Ne.readInt(S.surface_depth_multiplier))!=null?v:0,(E=Ne.readBoolean(S.add_surface_depth))!=null&&E)}return e.FALSE},e.abovePreliminarySurface=t,e.biome=n,e.not=i,e.stoneDepth=o,e.verticalGradient=r,e.water=a,e.yAbove=s}(Gm||(Gm={}));class N2{constructor(t,n,i){this.biomeSource=n,this.settings=i,this.router=vs.withSettings(i.noiseRouter,i.noise,t,i.legacyRandomSource),this.noiseChunkCache=new Map,this.surfaceSystem=new S2(i.surfaceRule,i.defaultBlock,t);const o=new h0(-54,Si.LAVA),r=new h0(i.seaLevel,i.defaultFluid);this.globalFluidPicker=(a,s,c)=>s<Math.min(-54,i.seaLevel)?o:r}fill(t,n=!1){var i;const o=Math.max(t.minY,this.settings.noise.minY),r=Math.min(t.maxY,this.settings.noise.minY+this.settings.noise.height),a=Hn.cellWidth(this.settings.noise),s=Hn.cellHeight(this.settings.noise),c=Math.floor(16/a),l=Math.floor(o/s),_=Math.floor((r-o)/s),d=Ki.minBlockX(t.pos),u=Ki.minBlockZ(t.pos),m=this.getNoiseChunk(t);for(let f=0;f<c;f+=1)for(let p=0;p<(n?1:c);p+=1){let h=t.getOrCreateSection(t.sectionsCount-1);for(let b=_-1;b>=0;b-=1)for(let g=s-1;g>=0;g-=1){const v=(l+b)*s+g,E=15&v,S=t.getSectionIndex(v);t.getSectionIndex(h.minBlockY)!==S&&(h=t.getOrCreateSection(S));for(let N=0;N<a;N+=1){const C=d+f*a+N,y=15&C;for(let A=0;A<(n?1:a);A+=1){const R=u+p*a+A,D=15&R,M=(i=m.getFinalState(C,v,R))!=null?i:this.settings.defaultBlock;h.setBlockState(y,E,D,M)}}}}}buildSurface(t,n="minecraft:plains"){const i=this.getNoiseChunk(t),o=Ip.create(this.settings.noise.minY,this.settings.noise.height);this.surfaceSystem.buildSurface(t,i,o,()=>n)}getNoiseChunk(t){return om(this.noiseChunkCache,Ki.toLong(t.pos),()=>{const n=Math.max(t.minY,this.settings.noise.minY),i=Math.min(t.maxY,this.settings.noise.minY+this.settings.noise.height),o=Hn.cellWidth(this.settings.noise),r=Hn.cellHeight(this.settings.noise),a=Math.floor(16/o),s=Math.floor(n/r),c=Math.floor((i-n)/r),l=Ki.minBlockX(t.pos),_=Ki.minBlockZ(t.pos);return new v2(a,c,s,this.router,l,_,this.settings.noise,this.settings.aquifersEnabled,this.globalFluidPicker)})}}(Mp||(Mp={})).fromJson=function(e){var t,n,i,o,r,a;const s=(t=Ne.readObject(e))!=null?t:{};return{surfaceRule:kp.fromJson(s.surface_rule),noise:Hn.fromJson(s.noise),defaultBlock:Si.fromJson(s.default_block),defaultFluid:Si.fromJson(s.default_fluid),noiseRouter:vs.fromJson(s.noise_router),seaLevel:(n=Ne.readInt(s.sea_level))!=null?n:0,disableMobGeneration:(i=Ne.readBoolean(s.disable_mob_generation))!=null&&i,aquifersEnabled:(o=Ne.readBoolean(s.aquifers_enabled))!=null&&o,oreVeinsEnabled:(r=Ne.readBoolean(s.ore_veins_enabled))!=null&&r,legacyRandomSource:(a=Ne.readBoolean(s.legacy_random_source))!=null&&a}};let Ct,NS=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});NS.decode();let dc=null;function C2(){return(dc===null||dc.buffer!==Ct.memory.buffer)&&(dc=new Uint8Array(Ct.memory.buffer)),dc}function A2(e,t){return NS.decode(C2().subarray(e,e+t))}const Lp=new Uint32Array(2),O2=new BigInt64Array(Lp.buffer);let uc=null;function wl(){return(uc===null||uc.buffer!==Ct.memory.buffer)&&(uc=new Int32Array(Ct.memory.buffer)),uc}let _c=null;function CS(){return(_c===null||_c.buffer!==Ct.memory.buffer)&&(_c=new Float64Array(Ct.memory.buffer)),_c}function T2(e,t){return CS().subarray(e/8,e/8+t)}let Rn=0;function Zn(e,t){const n=t(e.length*8);return CS().set(e,n/8),Rn=e.length,n}let mc=null;function w2(){return(mc===null||mc.buffer!==Ct.memory.buffer)&&(mc=new Uint32Array(Ct.memory.buffer)),mc}function R2(e,t){const n=t(e.length*4);return w2().set(e,n/4),Rn=e.length,n}function x2(e,t,n,i,o,r,a,s,c,l,_,d,u,m){var f=Zn(e,Ct.__wbindgen_malloc),p=Rn,h=Zn(t,Ct.__wbindgen_malloc),b=Rn,g=Zn(n,Ct.__wbindgen_malloc),v=Rn,E=Zn(i,Ct.__wbindgen_malloc),S=Rn,N=Zn(o,Ct.__wbindgen_malloc),C=Rn,y=Zn(r,Ct.__wbindgen_malloc),A=Rn,R=Zn(a,Ct.__wbindgen_malloc),D=Rn,M=Zn(s,Ct.__wbindgen_malloc),L=Rn,F=Zn(c,Ct.__wbindgen_malloc),q=Rn,$=Zn(l,Ct.__wbindgen_malloc),Y=Rn,X=Zn(_,Ct.__wbindgen_malloc),J=Rn,B=Zn(d,Ct.__wbindgen_malloc),w=Rn,I=Zn(u,Ct.__wbindgen_malloc),U=Rn,z=R2(m,Ct.__wbindgen_malloc),ee=Rn,ae=Ct.biome_parameters(f,p,h,b,g,v,E,S,N,C,y,A,R,D,M,L,F,q,$,Y,X,J,B,w,I,U,z,ee);return sm.__wrap(ae)}function D2(e,t,n,i,o,r,a,s,c,l,_,d,u){O2[0]=e;const m=Lp[0],f=Lp[1];var p=Zn(n,Ct.__wbindgen_malloc),h=Rn,b=Zn(o,Ct.__wbindgen_malloc),g=Rn,v=Zn(a,Ct.__wbindgen_malloc),E=Rn,S=Zn(c,Ct.__wbindgen_malloc),N=Rn,C=Zn(_,Ct.__wbindgen_malloc),y=Rn,A=Zn(u,Ct.__wbindgen_malloc),R=Rn,D=Ct.climate_sampler(m,f,t,p,h,i,b,g,r,v,E,s,S,N,l,C,y,d,A,R);return Kl.__wrap(D)}function Fp(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`);return e.ptr}function I2(e,t){return wl().subarray(e/4,e/4+t)}function S0(e,t,n,i,o,r,a,s,c,l,_){try{const f=Ct.__wbindgen_add_to_stack_pointer(-16);Fp(e,sm),Fp(t,Kl),Ct.multi_noise(f,e.ptr,t.ptr,n,i,o,r,a,s,c,l,_);var d=wl()[f/4+0],u=wl()[f/4+1],m=I2(d,u).slice();return Ct.__wbindgen_free(d,u*4),m}finally{Ct.__wbindgen_add_to_stack_pointer(16)}}function y0(e,t,n,i,o,r,a,s,c,l){try{const m=Ct.__wbindgen_add_to_stack_pointer(-16);Fp(e,Kl),Ct.climate_noise(m,e.ptr,t,n,i,o,r,a,s,c,l);var _=wl()[m/4+0],d=wl()[m/4+1],u=T2(_,d).slice();return Ct.__wbindgen_free(_,d*8),u}finally{Ct.__wbindgen_add_to_stack_pointer(16)}}class sm{static __wrap(t){const n=Object.create(sm.prototype);return n.ptr=t,n}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();Ct.__wbg_parameterlist_free(t)}}class Kl{static __wrap(t){const n=Object.create(Kl.prototype);return n.ptr=t,n}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();Ct.__wbg_sampler_free(t)}}async function k2(e,t){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,t)}catch(i){if(e.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",i);else throw i}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}else{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function AS(e){typeof e=="undefined"&&(e=new URL("/assets/deepslate_rs_bg.4990c219.wasm",self.location));const t={};t.wbg={},t.wbg.__wbindgen_throw=function(o,r){throw new Error(A2(o,r))},(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:i}=await k2(await e,t);return Ct=n.exports,AS.__wbindgen_wasm_module=i,Ct}var N0="/assets/deepslate_rs_bg.4990c219.wasm";let C0=!1;async function M2(){C0||(await AS(N0),C0=!0,console.debug(`Loaded deepslate-rs from "${N0}"`))}const L2={temperature:[-1,1],humidity:[-1,1],continentalness:[-1.1,1],erosion:[-1,1],weirdness:[-1,1],offset:[-1,1],factor:[0,12],jaggedness:[0,1]};let A0,O0;async function F2(e,t,n){var f,p,h;const{biomeSource:i}=await OS(e,n),o=t.data,r=-Math.round(n.offset[0])-100+n.res/2,a=-Math.round(n.offset[1])-100+n.res/2,s=t.width*4/n.res,c=4/n.res,l=[r*n.scale,(200+r)*n.scale,n.res*n.scale],_=[a*n.scale,(200+a)*n.scale,n.res*n.scale],d=n.layers.has("biomes")?(f=i.getBiomes)==null?void 0:f.call(i,...l,64,65,1,..._):void 0,u=[...n.layers].filter(b=>b!=="biomes"),m=u.length===0||(p=i.getClimates)==null?void 0:p.call(i,...l,64,65,1,..._);for(let b=0;b<200;b+=n.res)for(let g=0;g<200;g+=n.res){const v=g*s+b*c,E=b/n.res*200/n.res+g/n.res,S=(b+r)*n.scale,N=(g+a)*n.scale;let C=[50,50,50];if(n.layers.has("biomes")){const y=(h=d==null?void 0:d[E])!=null?h:i.getBiome(S,64,N);C=$2(y.toString(),n.biomeColors)}else if(m&&u[0]){const y=m[E][u[0]],[A,R]=L2[u[0]],D=(y-A)/(R-A)*256;C=[D,D,D]}o[v]=C[0],o[v+1]=C[1],o[v+2]=C[2],o[v+3]=255}}async function P2(e,t,n,i){var s;const{biomeSource:o}=await OS(e,i),[r,a]=U2([t,n],i);return H({biome:o.getBiome(r,64,a).toString()},(s=o.getClimate)==null?void 0:s.call(o,r,64,a))}async function OS(e,t){const n=[e,t.octaves,`${t.seed}`,t.version];return xa(n,A0)||(A0=fd(n),O0=await B2(e,t)),{biomeSource:O0}}async function B2(e,t){var n,i,o,r,a;switch((n=e==null?void 0:e.type)==null?void 0:n.replace(/^minecraft:/,"")){case"fixed":return new Tl(Qt.parse(e.biome));case"checkerboard":const s=((i=e.scale)!=null?i:2)+2,c=(r=(o=e.biomes)==null?void 0:o.length)!=null?r:0;return{getBiome(l,_,d){var m;const u=(((l>>s)+(d>>s))%c+c)%c;return Qt.parse((m=e.biomes)==null?void 0:m[u].node)}};case"multi_noise":switch((a=e.preset)==null?void 0:a.replace(/^minecraft:/,"")){case"nether":e=xi(t.version,"1.18")?Y2:z2;break;case"overworld":e=xi(t.version,"1.18")?await H2():e;break}if(e=j.DataModel.unwrapLists(e),xi(t.version,"1.18")){await M2();const l=new r1,_=D=>typeof D=="number"?[D,D]:D,[d,u,m,f,p,h,b,g,v,E,S,N,C,y]=[[],[],[],[],[],[],[],[],[],[],[],[],[],[]];for(const D of e.biomes){const{temperature:M,humidity:L,continentalness:F,erosion:q,weirdness:$,depth:Y,offset:X}=D.parameters;d.push(_(M)[0]),u.push(_(M)[1]),m.push(_(L)[0]),f.push(_(L)[1]),p.push(_(F)[0]),h.push(_(F)[1]),b.push(_(q)[0]),g.push(_(q)[1]),v.push(_($)[0]),E.push(_($)[1]),S.push(_(Y)[0]),N.push(_(Y)[1]),C.push(X),y.push(l.getOrPut(D.biome,Math.floor(Math.random()*2147483647)))}const A=x2(new Float64Array(d),new Float64Array(u),new Float64Array(m),new Float64Array(f),new Float64Array(p),new Float64Array(h),new Float64Array(b),new Float64Array(g),new Float64Array(v),new Float64Array(E),new Float64Array(S),new Float64Array(N),new Float64Array(C),new Int32Array(y)),R=D2(t.seed,t.octaves.temperature.firstOctave,new Float64Array(t.octaves.temperature.amplitudes),t.octaves.humidity.firstOctave,new Float64Array(t.octaves.humidity.amplitudes),t.octaves.continentalness.firstOctave,new Float64Array(t.octaves.continentalness.amplitudes),t.octaves.erosion.firstOctave,new Float64Array(t.octaves.erosion.amplitudes),t.octaves.weirdness.firstOctave,new Float64Array(t.octaves.weirdness.amplitudes),t.octaves.shift.firstOctave,new Float64Array(t.octaves.shift.amplitudes));return{getBiome(D,M,L){var q;const F=S0(A,R,D,D+1,1,M,M+1,1,L,L+1,1);return Qt.parse((q=l.getA(F[0]))!=null?q:"unknown")},getBiomes(D,M,L,F,q,$,Y,X,J){return[...S0(A,R,D,M,L,F,q,$,Y,X,J)].map(w=>{var I;return Qt.parse((I=l.getA(w))!=null?I:"unknown")})},getClimate(D,M,L){const F=y0(R,D,D+1,1,M,M+1,1,L,L+1,1),[q,$,Y,X,J]=F.slice(0,5);return{temperature:q,humidity:$,continentalness:Y,erosion:X,weirdness:J}},getClimates(D,M,L,F,q,$,Y,X,J){const B=y0(R,D,M,L,F,q,$,Y,X,J),w=[];for(let I=0;I<B.length;I+=7){const[U,z,ee,ae,te]=B.slice(I,I+5);w.push({temperature:U,humidity:z,continentalness:ee,erosion:ae,weirdness:te})}return w}}}else{const l=["altitude","temperature","humidity","weirdness"].map((_,d)=>{var m;const u=e[`${_}_noise`];return u.firstOctave=Ui((m=u.firstOctave)!=null?m:-7,-100,-1),new am(new Gi(t.seed+BigInt(d)),u)});return!Array.isArray(e.biomes)||e.biomes.length===0?new Tl(Qt.create("unknown")):{getBiome(_,d,u){const m=l.map(h=>h.sample(_,u,0));let f=1/0,p="";for(const{biome:h,parameters:b}of e.biomes){const g=Ls(b.altitude-m[0])+Ls(b.temperature-m[1])+Ls(b.humidity-m[2])+Ls(b.weirdness-m[3])+Ls(b.offset);g<f&&(f=g,p=h)}return Qt.parse(p)}}}}throw new Error("Unknown biome source")}function $2(e,t){var i;if(!e)return[128,128,128];const n=(i=t[e])!=null?i:G2[e];return n===void 0?jE(e):n}function U2([e,t],n){const i=(e-n.offset[0]-100+n.res/2)*n.scale,o=(t-n.offset[1]-100+n.res/2)*n.scale;return[i,o]}const G2={"minecraft:badlands":[217,69,21],"minecraft:badlands_plateau":[202,140,101],"minecraft:bamboo_jungle":[118,142,20],"minecraft:bamboo_jungle_hills":[59,71,10],"minecraft:basalt_deltas":[64,54,54],"minecraft:beach":[250,222,85],"minecraft:birch_forest":[48,116,68],"minecraft:birch_forest_hills":[31,95,50],"minecraft:cold_ocean":[32,32,112],"minecraft:crimson_forest":[221,8,8],"minecraft:dark_forest":[64,81,26],"minecraft:dark_forest_hills":[104,121,66],"minecraft:deep_cold_ocean":[32,32,56],"minecraft:deep_frozen_ocean":[64,64,144],"minecraft:deep_lukewarm_ocean":[0,0,64],"minecraft:deep_ocean":[0,0,48],"minecraft:deep_warm_ocean":[0,0,80],"minecraft:desert":[250,148,24],"minecraft:desert_hills":[210,95,18],"minecraft:desert_lakes":[255,188,64],"minecraft:end_barrens":[128,128,255],"minecraft:end_highlands":[128,128,255],"minecraft:end_midlands":[128,128,255],"minecraft:eroded_badlands":[255,109,61],"minecraft:flower_forest":[45,142,73],"minecraft:forest":[5,102,33],"minecraft:frozen_ocean":[112,112,214],"minecraft:frozen_river":[160,160,255],"minecraft:giant_spruce_taiga":[129,142,121],"minecraft:old_growth_spruce_taiga":[129,142,121],"minecraft:giant_spruce_taiga_hills":[109,119,102],"minecraft:giant_tree_taiga":[89,102,81],"minecraft:old_growth_pine_taiga":[89,102,81],"minecraft:giant_tree_taiga_hills":[69,79,62],"minecraft:gravelly_hills":[136,136,136],"minecraft:gravelly_mountains":[136,136,136],"minecraft:windswept_gravelly_hills":[136,136,136],"minecraft:ice_spikes":[180,220,220],"minecraft:jungle":[83,123,9],"minecraft:jungle_edge":[98,139,23],"minecraft:sparse_jungle":[98,139,23],"minecraft:jungle_hills":[44,66,5],"minecraft:lukewarm_ocean":[0,0,144],"minecraft:modified_badlands_plateau":[242,180,141],"minecraft:modified_gravelly_mountains":[120,152,120],"minecraft:modified_jungle":[123,163,49],"minecraft:modified_jungle_edge":[138,179,63],"minecraft:modified_wooded_badlands_plateau":[216,191,141],"minecraft:mountain_edge":[114,120,154],"minecraft:extreme_hills":[96,96,96],"minecraft:mountains":[96,96,96],"minecraft:windswept_hills":[96,96,96],"minecraft:mushroom_field_shore":[160,0,255],"minecraft:mushroom_fields":[255,0,255],"minecraft:nether_wastes":[191,59,59],"minecraft:ocean":[0,0,112],"minecraft:plains":[141,179,96],"minecraft:river":[0,0,255],"minecraft:savanna":[189,178,95],"minecraft:savanna_plateau":[167,157,100],"minecraft:shattered_savanna":[229,218,135],"minecraft:windswept_savanna":[229,218,135],"minecraft:shattered_savanna_plateau":[207,197,140],"minecraft:small_end_islands":[128,128,255],"minecraft:snowy_beach":[250,240,192],"minecraft:snowy_mountains":[160,160,160],"minecraft:snowy_taiga":[49,85,74],"minecraft:snowy_taiga_hills":[36,63,54],"minecraft:snowy_taiga_mountains":[89,125,114],"minecraft:snowy_tundra":[255,255,255],"minecraft:snowy_plains":[255,255,255],"minecraft:soul_sand_valley":[94,56,48],"minecraft:stone_shore":[162,162,132],"minecraft:stony_shore":[162,162,132],"minecraft:sunflower_plains":[181,219,136],"minecraft:swamp":[7,249,178],"minecraft:swamp_hills":[47,255,218],"minecraft:taiga":[11,102,89],"minecraft:taiga_hills":[22,57,51],"minecraft:taiga_mountains":[51,142,129],"minecraft:tall_birch_forest":[88,156,108],"minecraft:old_growth_birch_forest":[88,156,108],"minecraft:tall_birch_hills":[71,135,90],"minecraft:the_end":[128,128,255],"minecraft:the_void":[0,0,0],"minecraft:warm_ocean":[0,0,172],"minecraft:warped_forest":[73,144,123],"minecraft:wooded_badlands_plateau":[176,151,101],"minecraft:wooded_badlands":[176,151,101],"minecraft:wooded_hills":[34,85,28],"minecraft:wooded_mountains":[80,112,80],"minecraft:windswept_forest":[80,112,80],"minecraft:snowy_slopes":[140,195,222],"minecraft:lofty_peaks":[196,168,193],"minecraft:jagged_peaks":[196,168,193],"minecraft:snowcapped_peaks":[200,198,200],"minecraft:frozen_peaks":[200,198,200],"minecraft:stony_peaks":[82,92,103],"minecraft:grove":[150,150,189],"minecraft:meadow":[169,197,80],"minecraft:lush_caves":[112,255,79],"minecraft:dripstone_caves":[140,124,0]},z2={type:"minecraft:multi_noise",seed:0,altitude_noise:{firstOctave:-7,amplitudes:[1,1]},temperature_noise:{firstOctave:-7,amplitudes:[1,1]},humidity_noise:{firstOctave:-7,amplitudes:[1,1]},weirdness_noise:{firstOctave:-7,amplitudes:[1,1]},biomes:[{biome:"minecraft:nether_wastes",parameters:{altitude:0,temperature:0,humidity:0,weirdness:0,offset:0}},{biome:"minecraft:soul_sand_valley",parameters:{altitude:0,temperature:0,humidity:-.5,weirdness:0,offset:0}},{biome:"minecraft:crimson_forest",parameters:{altitude:0,temperature:.4,humidity:0,weirdness:0,offset:0}},{biome:"minecraft:warped_forest",parameters:{altitude:0,temperature:0,humidity:.5,weirdness:0,offset:.375}},{biome:"minecraft:basalt_deltas",parameters:{altitude:0,temperature:-.5,humidity:0,weirdness:0,offset:.175}}]},Y2={type:"minecraft:multi_noise",biomes:[{biome:"minecraft:nether_wastes",parameters:{temperature:0,humidity:0,continentalness:0,erosion:0,depth:0,weirdness:0,offset:0}},{biome:"minecraft:soul_sand_valley",parameters:{temperature:0,humidity:-.5,continentalness:0,erosion:0,depth:0,weirdness:0,offset:0}},{biome:"minecraft:crimson_forest",parameters:{temperature:.4,humidity:0,continentalness:0,erosion:0,depth:0,weirdness:0,offset:0}},{biome:"minecraft:warped_forest",parameters:{temperature:0,humidity:.5,continentalness:0,erosion:0,depth:0,weirdness:0,offset:.375}},{biome:"minecraft:basalt_deltas",parameters:{temperature:-.5,humidity:0,continentalness:0,erosion:0,depth:0,weirdness:0,offset:.175}}]};async function H2(){return(await XE("1.18","dimension","overworld")).generator.biome_source}const va=[50,50,51,51,52,52,53,54,56,57,57,58,58,59,60,60,60,59,59,59,60,61,61,62,63,63,64,64,64,65,65,66,66,65,65,66,66,67,67,67,68,69,71,73,74,76,79,80,81,81,82,83,83,82,82,81,81,80,80,80,81,81,82,82],T0=[[255,77,54],[59,118,255],[91,207,25],[217,32,245],[255,209,41],[52,204,209]];function V2(e,t,n){const i=new Gi(n.seed),o={placements:[],features:[],random:i,biomeInfoNoise:new gn(i.fork(),0,[1]),seaLevel:63,version:n.version,nextFloat:()=>i.nextFloat(),nextInt:a=>i.nextInt(a),nextGaussian:()=>Math.sqrt(-2*Math.log(1-i.nextFloat()))*Math.cos(2*Math.PI*i.nextFloat()),sampleInt(a){return W2(a,this)}};for(let a=0;a<n.size[0]/16;a+=1)for(let s=0;s<n.size[2]/16;s+=1)xi(n.version,void 0,"1.17")?Xa([a*16,0,s*16],j.DataModel.unwrapLists(e),o):Q2([a*16,0,s*16],j.DataModel.unwrapLists(e.placement),o);const r=t.data;t.data.fill(255);for(const[a,s]of o.placements){if(a[0]<0||a[1]<0||a[2]<0||a[0]>=n.size[0]||a[1]>=n.size[1]||a[2]>=n.size[2])continue;const c=a[2]*(t.width*4)+a[0]*4,l=s<T0.length?T0[s]:jE(o.features[s]);r[c]=Ui(50,205,l[0]),r[c+1]=Ui(50,205,l[1]),r[c+2]=Ui(50,205,l[2]),r[c+3]=255}for(let a=0;a<n.size[0];a+=1)for(let s=0;s<n.size[2];s+=1){if((Math.floor(a/16)+Math.floor(s/16))%2===0)continue;const c=s*(t.width*4)+a*4;for(let l=0;l<3;l+=1)r[c+l]=.85*r[c+l]}}function Ss(e){return e.startsWith("minecraft:")?e.slice(10):e}function tr(e,t){return[[e[0],t,e[2]]]}function W2(e,t){var n,i;if(typeof e=="number")return e;if(e.base)return(i=e.base)!=null?i:1+t.nextInt(1+((n=e.spread)!=null?n:0));switch(Ss(e.type)){case"constant":return e.value;case"uniform":return e.value.min_inclusive+t.nextInt(e.value.max_inclusive-e.value.min_inclusive+1);case"biased_to_bottom":return e.value.min_inclusive+t.nextInt(t.nextInt(e.value.max_inclusive-e.value.min_inclusive+1)+1);case"clamped":return Ui(t.sampleInt(e.value.source),e.value.min_inclusive,e.value.max_inclusive);case"clamped_normal":const o=e.value.mean+t.nextGaussian()*e.value.deviation;return Math.floor(Ui(e.value.min_inclusive,e.value.max_inclusive,o));case"weighted_list":const r=e.distribution.reduce((s,c)=>s+c.weight,0);let a=t.nextInt(r);for(const s of e.distribution)if(a-=s.weight,a<0)return t.sampleInt(s.data);return 0}return 1}function Cr(e,t){if(!Pa(e))throw new Error("Invalid vertical anchor");if(e.absolute)return e.absolute;if(e.above_bottom)return e.above_bottom;if(e.below_top)return 256-e.below_top;throw new Error("Invalid vertical anchor")}function j2(e,t){var n,i,o,r;if(!Pa(e))throw new Error("Invalid height provider");if(typeof e.type!="string")return Cr(e);switch(Ss(e.type)){case"constant":return Cr(e.value);case"uniform":{const a=Cr(e.min_inclusive),s=Cr(e.max_inclusive);return a+t.nextInt(s-a+1)}case"biased_to_bottom":{const a=Cr(e.min_inclusive),s=Cr(e.max_inclusive),c=t.nextInt(s-a-((n=e.inner)!=null?n:1)+1);return a+t.nextInt(c+((i=e.inner)!=null?i:1))}case"very_biased_to_bottom":{const a=Cr(e.min_inclusive),s=Cr(e.max_inclusive),c=(o=e.inner)!=null?o:1,l=a+c+t.nextInt(s-a-c+1),_=a+t.nextInt(l-a);return a+t.nextInt(_-a+c)}case"trapezoid":{const a=Cr(e.min_inclusive),s=Cr(e.max_inclusive),c=(r=e.plateau)!=null?r:0;if(c>=s-a)return a+t.nextInt(s-a+1);const l=(s-a-c)/2,_=s-a-l;return a+t.nextInt(_+1)+t.nextInt(l+1)}default:throw new Error(`Invalid height provider ${e.type}`)}}function w0(e,t){const n=t.features.indexOf(e);return n!=-1?n:(t.features.push(e),t.features.length-1)}function Xa(e,t,n){var r;if(typeof t=="string"){n.placements.push([e,w0(t,n)]);return}const i=Ss((r=t==null?void 0:t.type)!=null?r:"no_op"),o=q2[i];o?o(t.config,e,n):n.placements.push([e,w0(JSON.stringify(t),n)])}function Pp(e,t,n){var r;const i=Ss((r=t==null?void 0:t.type)!=null?r:"nope"),o=K2[i];return o?o(t==null?void 0:t.config,e,n):[e]}const q2={decorated:(e,t,n)=>{Pp(t,e==null?void 0:e.decorator,n).forEach(o=>Xa(o,e==null?void 0:e.feature,n))},random_boolean_selector:(e,t,n)=>{const i=n.nextFloat()<.5?e==null?void 0:e.feature_true:e==null?void 0:e.feature_false;Xa(t,i,n)},random_selector:(e,t,n)=>{var i,o;for(const r of(i=e==null?void 0:e.features)!=null?i:[])if(n.nextFloat()<((o=r==null?void 0:r.chance)!=null?o:0)){Xa(t,r.feature,n);return}Xa(t,e==null?void 0:e.default,n)},simple_random_selector:(e,t,n)=>{var o,r,a;const i=(a=e==null?void 0:e.features)==null?void 0:a[n.nextInt((r=(o=e==null?void 0:e.features)==null?void 0:o.length)!=null?r:0)];Xa(t,i,n)}},K2={chance:(e,t,n)=>{var i;return n.nextFloat()<1/((i=e==null?void 0:e.chance)!=null?i:1)?[t]:[]},count:(e,t,n)=>{var i;return new Array(n.sampleInt((i=e==null?void 0:e.count)!=null?i:1)).fill(t)},count_extra:(e,t,n)=>{var o,r;let i=(o=e==null?void 0:e.count)!=null?o:1;return n.nextFloat()<e.extra_chance&&(i+=(r=e.extra_count)!=null?r:0),new Array(i).fill(t)},count_multilayer:(e,t,n)=>{var i;return new Array(n.sampleInt((i=e==null?void 0:e.count)!=null?i:1)).fill(t).map(o=>[o[0]+n.nextInt(16),o[1],o[2]+n.nextInt(16)])},count_noise:(e,t,n)=>{const o=n.biomeInfoNoise.sample(t[0]/200,0,t[2]/200)<e.noise_level?e.below_noise:e.above_noise;return new Array(o).fill(t)},count_noise_biased:(e,t,n)=>{var a;const i=Math.max(1,e.noise_factor),o=n.biomeInfoNoise.sample(t[0]/i,0,t[2]/i),r=Math.max(0,Math.ceil((o+((a=e.noise_offset)!=null?a:0))*e.noise_to_count_ratio));return new Array(r).fill(t)},dark_oak_tree:(e,t,n)=>[...new Array(16)].map((i,o)=>{const r=Math.floor(o/4)*4+1+n.nextInt(3)+t[0],a=Math.max(n.seaLevel,va[Ui(0,63,r)]),s=Math.floor(o%4)*4+1+n.nextInt(3)+t[2];return[r,a,s]}),decorated:(e,t,n)=>Pp(t,e==null?void 0:e.outer,n).flatMap(i=>Pp(i,e==null?void 0:e.inner,n)),depth_average:(e,t,n)=>{var o,r,a,s;const i=n.nextInt((o=e==null?void 0:e.spread)!=null?o:0)+n.nextInt((r=e==null?void 0:e.spread)!=null?r:0)-((a=e.spread)!=null?a:0)+((s=e==null?void 0:e.baseline)!=null?s:0);return tr(t,i)},emerald_ore:(e,t,n)=>{const i=3+n.nextInt(6);return[...new Array(i)].map(()=>[t[0]+n.nextInt(16),4+n.nextInt(28),t[2]+n.nextInt(16)])},fire:(e,t,n)=>{const i=1+n.nextInt(n.nextInt(n.sampleInt(e==null?void 0:e.count)));return[...new Array(i)].map(()=>[t[0]+n.nextInt(16),n.nextInt(128),t[2]+n.nextInt(16)])},glowstone:(e,t,n)=>{const i=n.nextInt(1+n.nextInt(n.sampleInt(e==null?void 0:e.count)));return[...new Array(i)].map(()=>[t[0]+n.nextInt(16),n.nextInt(128),t[2]+n.nextInt(16)])},heightmap:(e,t,n)=>{const i=Math.max(n.seaLevel,va[Ui(0,63,t[0])]);return tr(t,i)},heightmap_spread_double:(e,t,n)=>{const i=Math.max(n.seaLevel,va[Ui(0,63,t[0])]);return tr(t,n.nextInt(i*2))},heightmap_world_surface:(e,t,n)=>{const i=Math.max(n.seaLevel,va[Ui(0,63,t[0])]);return tr(t,i)},iceberg:(e,t,n)=>[[t[0]+4+n.nextInt(8),t[1],t[2]+4+n.nextInt(8)]],lava_lake:(e,t,n)=>{var i,o;if(n.nextInt(((i=e.chance)!=null?i:1)/10)===0){const r=n.nextInt(n.nextInt(248)+8);if(r<n.seaLevel||n.nextInt(((o=e==null?void 0:e.chance)!=null?o:1)/8)==0){const a=n.nextInt(16)+t[0],s=n.nextInt(16)+t[2];return[[a,r,s]]}}return[]},nope:(e,t)=>[t],range:(e,t,n)=>{var o,r,a;const i=n.nextInt(((o=e==null?void 0:e.maximum)!=null?o:1)-((r=e==null?void 0:e.top_offset)!=null?r:0))+((a=e==null?void 0:e.bottom_offset)!=null?a:0);return tr(t,i)},range_biased:(e,t,n)=>{var o,r,a;const i=n.nextInt(n.nextInt(((o=e==null?void 0:e.maximum)!=null?o:1)-((r=e==null?void 0:e.top_offset)!=null?r:0))+((a=e==null?void 0:e.bottom_offset)!=null?a:0));return tr(t,i)},range_very_biased:(e,t,n)=>{var o,r,a,s;const i=n.nextInt(n.nextInt(n.nextInt(((o=e==null?void 0:e.maximum)!=null?o:1)-((r=e==null?void 0:e.top_offset)!=null?r:0))+((a=e==null?void 0:e.bottom_offset)!=null?a:0))+((s=e==null?void 0:e.bottom_offset)!=null?s:0));return tr(t,i)},spread_32_above:(e,t,n)=>{const i=n.nextInt(t[1]+32);return tr(t,i)},top_solid_heightmap:(e,t)=>{const n=va[Ui(0,63,t[0])];return tr(t,n)},magma:(e,t,n)=>{const i=n.nextInt(t[1]+32);return tr(t,i)},square:(e,t,n)=>[[t[0]+n.nextInt(16),t[1],t[2]+n.nextInt(16)]],surface_relative_threshold:(e,t)=>{var r,a;const n=va[Ui(0,63,t[0])],i=n+((r=e==null?void 0:e.min_inclusive)!=null?r:-1/0),o=n+((a=e==null?void 0:e.max_inclusive)!=null?a:1/0);return t[1]<i||t[1]>o?[t]:[]},water_lake:(e,t,n)=>{var i;return n.nextInt((i=e.chance)!=null?i:1)===0?[[t[0]+n.nextInt(16),n.nextInt(256),t[2]+n.nextInt(16)]]:[]}};function Q2(e,t,n){var o;let i=[e];for(const r of t)!R0[Ss((o=r==null?void 0:r.type)!=null?o:"nope")]||(i=i.flatMap(s=>R0[Ss(r.type)](r,s,n)));for(const r of i)n.placements.push([r,0])}const R0={count:({count:e},t,n)=>new Array(n.sampleInt(e!=null?e:1)).fill(t),count_on_every_layer:({count:e},t,n)=>new Array(n.sampleInt(e!=null?e:1)).fill(t).map(i=>[i[0]+n.nextInt(16),i[1],i[2]+n.nextInt(16)]),environment_scan:({},e)=>[e],height_range:({height:e},t,n)=>tr(t,j2(e,n)),heightmap:({},e,t)=>{const n=Math.max(t.seaLevel,va[Ui(0,63,e[0])]);return tr(e,n)},in_square:({},e,t)=>[[e[0]+t.nextInt(16),e[1],e[2]+t.nextInt(16)]],noise_based_count:({noise_to_count_ratio:e,noise_factor:t,noise_offset:n},i,o)=>{const r=Math.max(1,t),a=o.biomeInfoNoise.sample(i[0]/r,0,i[2]/r),s=Math.max(0,Math.ceil((a+(n!=null?n:0))*e));return new Array(s).fill(i)},noise_threshold_count:({noise_level:e,below_noise:t,above_noise:n},i,o)=>{const a=o.biomeInfoNoise.sample(i[0]/200,0,i[2]/200)<e?t:n;return new Array(a).fill(i)},random_offset:({xz_spread:e,y_spread:t},n,i)=>[[n[0]+i.sampleInt(e),n[1]+i.sampleInt(t),n[2]+i.sampleInt(e)]],rarity_filter:({chance:e},t,n)=>n.nextFloat()<1/(e!=null?e:1)?[t]:[]};var pr;(function(e){e.UP="up",e.DOWN="down",e.NORTH="north",e.EAST="east",e.SOUTH="south",e.WEST="west"})(pr||(pr={}));const X2={[pr.UP]:[0,1,0],[pr.DOWN]:[0,-1,0],[pr.NORTH]:[0,0,-1],[pr.EAST]:[1,0,0],[pr.SOUTH]:[0,0,1],[pr.WEST]:[-1,0,0]};var Rl;(function(e){e.ALL=[e.UP,e.DOWN,e.NORTH,e.EAST,e.SOUTH,e.WEST],e.normal=function(t){return X2[t]}})(pr||(pr={})),function(e){e.create=function(t,n,i){return[t,n,i]},e.offset=function(t,n,i,o){return[t[0]+n,t[1]+i,t[2]+o]},e.towards=function(t,n){return e.offset(t,...pr.normal(n))}}(Rl||(Rl={}));function zm(e,t,n){if(!e[t])throw new Error(`Missing ${t} tag`);if(e[t].type!==n)throw new Error(`Expected ${t} to be of type ${n}, but found ${e[t].type}`);return e[t].value}function Z2(e,t){try{return e()}catch{return t}}var Te,Rr,Bp,cs,ul;(function(e){function t(n){return typeof n=="object"&&n!==null?n:void 0}e.readNumber=function(n){return typeof n=="number"?n:void 0},e.readInt=function(n){return typeof n=="number"?Math.floor(n):void 0},e.readString=function(n){return typeof n=="string"?n:void 0},e.readBoolean=function(n){return typeof n=="boolean"?n:void 0},e.readObject=t,e.readArray=function(n,i){if(Array.isArray(n))return n.map(o=>i(o))},e.readMap=function(n,i){var o;const r=(o=t(n))!==null&&o!==void 0?o:{};return Object.fromEntries(Object.entries(r).map(([a,s])=>[a,i(s)]))},e.compose=function(n,i,o){const r=i(n);return r?o(r):void 0}})(Te||(Te={}));class sr{constructor(t,n={}){this.name=t,this.properties=n}getName(){return this.name}getProperties(){return this.properties}getProperty(t){return this.properties[t]}isFluid(){return this.name==="minecraft:water"||this.name==="minecraft:lava"}equals(t){return this.name===t.name&&Object.keys(this.properties).every(n=>t.properties[n]===this.properties[n])}toString(){return Object.keys(this.properties).length===0?this.name:`${this.name}[${Object.entries(this.properties).map(([t,n])=>t+"="+n).join(",")}]`}static fromNbt(t){const n=zm(t.value,"Name","string"),i=Z2(()=>zm(t.value,"Properties","compound"),{}),o=Object.keys(i).reduce((r,a)=>Object.assign(Object.assign({},r),{[a]:zm(i,a,"string")}),{});return new sr(n,o)}static fromJson(t){var n,i;const o=(n=Te.readObject(t))!==null&&n!==void 0?n:{},r=(i=Te.readString(o.Name))!==null&&i!==void 0?i:"minecraft:stone",a=Te.readMap(o.Properties,s=>{var c;return(c=Te.readString(s))!==null&&c!==void 0?c:""});return new sr(r,a)}}sr.AIR=new sr("minecraft:air");(function(e){function t(n,i){return BigInt(4294967295&n)|BigInt(4294967295&i)<<BigInt(32)}e.create=function(n,i){return[n,i]},e.fromBlockPos=function(n){return[n[0]>>4,n[2]>>4]},e.fromLong=function(n){return[4294967295&Number(n),Number(n>>BigInt(32))]},e.toLong=function(n){return t(n[0],n[1])},e.asLong=t,e.minBlockX=function(n){return n[0]<<4},e.minBlockZ=function(n){return n[1]<<4},e.maxBlockX=function(n){return 15+(n[0]<<4)},e.maxBlockZ=function(n){return 15+(n[1]<<4)}})(Rr||(Rr={}));function Ym(e){let t=null;return()=>(t==null&&(t=e()),t)}function xf(e,t,n){const i=e.get(t);if(i)return i;const o=n(t);return e.set(t,o),o}function Jr(e){return e*e}function ja(e,t,n){return Math.max(t,Math.min(n,e))}function Jn(e,t,n){return t+e*(n-t)}function $p(e,t,n,i,o,r){return Jn(t,Jn(e,n,i),Jn(e,o,r))}function J2(e,t,n,i,o,r,a,s,c,l,_){return Jn(n,$p(e,t,i,o,r,a),$p(e,t,s,c,l,_))}function xl(e,t,n){return n<0?e:n>1?t:Jn(n,e,t)}function TS(e,t,n){return(e-t)/(n-t)}function Hm(e){return e*e*e*(e*(6*e-15)+10)}function Bo(e,t,n,i,o){return Jn(TS(e,t,n),i,o)}function eP(e,t,n,i,o){return xl(i,o,TS(e,t,n))}function tP(e,t,n){let i=t-e;for(;i>0;){const o=Math.floor(i/2),r=e+o;n(r)?i=o:(e=r+1,i-=o+1)}return e}function wS(e,t,n){let i=BigInt(3129871*e)^BigInt(n)*BigInt(116129781)^BigInt(t);return i=i*i*BigInt(42317861)+i*BigInt(11),i>>BigInt(16)}function Up(e,t,n,i,o,r,a,s){return BigInt(e)<<BigInt(56)|BigInt(t)<<BigInt(48)|BigInt(n)<<BigInt(40)|BigInt(i)<<BigInt(32)|BigInt(o)<<BigInt(24)|BigInt(r)<<BigInt(16)|BigInt(a)<<BigInt(8)|BigInt(s)}class Cn{constructor(t){this.seed=BigInt(0),this.setSeed(t)}fork(){return new Cn(this.nextLong())}forkPositional(){return new nP(this.seed)}setSeed(t){this.seed=t^Cn.MULTIPLIER&Cn.MODULUS_MASK}advance(){this.seed=this.seed*Cn.MULTIPLIER+Cn.INCREMENT&Cn.MODULUS_MASK}consume(t){for(let n=0;n<t;n+=1)this.advance()}next(t){this.advance();const n=Number(this.seed>>BigInt(Cn.MODULUS_BITS-t));return n>2147483647?n-4294967296:n}nextInt(t){if(t===void 0)return this.next(32);if((t&t-1)==0)return Number(BigInt(t)*BigInt(this.next(31))>>BigInt(31));let n,i;for(;(n=this.next(31))-(i=n%t)+(t-1)<0;);return i}nextLong(){return(BigInt(this.next(32))<<BigInt(32))+BigInt(this.next(32))}nextFloat(){return this.next(24)*Cn.FLOAT_MULTIPLIER}nextDouble(){const t=this.next(30);return this.advance(),t*Cn.DOUBLE_MULTIPLIER}}Cn.MODULUS_BITS=48,Cn.MODULUS_MASK=BigInt("281474976710655"),Cn.MULTIPLIER=BigInt("25214903917"),Cn.INCREMENT=BigInt("11"),Cn.FLOAT_MULTIPLIER=1/Math.pow(2,24),Cn.DOUBLE_MULTIPLIER=1/Math.pow(2,30);class nP{constructor(t){this.seed=t}at(t,n,i){const o=wS(t,n,i);return new Cn(o^this.seed)}fromHashOf(t){const n=rm(t,{asBytes:!0}),i=Up(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]);return new Cn(i^this.seed)}}class En{constructor(t){this.seed=[BigInt(0),BigInt(0)],this.seed=t}static create(t){return new En(En.upgradeSeedTo128bit(t))}static mixStafford13(t){return((t=((t=(t^t>>BigInt(30))*BigInt("-4658895280553007687")&BigInt("0xFFFFFFFFFFFFFFFF"))^t>>BigInt(27))*BigInt("-7723592293110705685")&BigInt("0xFFFFFFFFFFFFFFFF"))^t>>BigInt(31))&BigInt("0xFFFFFFFFFFFFFFFF")}static upgradeSeedTo128bit(t){t<0&&(t+=BigInt("0x10000000000000000"));const n=t^En.SILVER_RATIO_64,i=n+En.GOLDEN_RATIO_64&BigInt("0xFFFFFFFFFFFFFFFF");return[En.mixStafford13(n),En.mixStafford13(i)]}static rotateLeft(t,n){return t<<n&BigInt("0xFFFFFFFFFFFFFFFF")|t>>BigInt(64)-n}setSeed(t){this.seed=En.upgradeSeedTo128bit(t)}fork(){return new En([this.next(),this.next()])}forkPositional(){return new iP(this.next(),this.next())}next(){const t=this.seed[0];let n=this.seed[1];const i=En.rotateLeft(t+n&BigInt("0xFFFFFFFFFFFFFFFF"),BigInt(17))+t&BigInt("0xFFFFFFFFFFFFFFFF");return n^=t,this.seed=[En.rotateLeft(t,BigInt(49))^n^n<<BigInt(21)&BigInt("0xFFFFFFFFFFFFFFFF"),En.rotateLeft(n,BigInt(28))],i}nextLong(){let t=this.next();return t>BigInt("0x8000000000000000")&&(t-=BigInt("0x10000000000000000")),t}consume(t){let n=this.seed[0],i=this.seed[1];for(let o=0;o<t;o+=1)i^=n,n=En.rotateLeft(n,BigInt(49))^i^i<<BigInt(21),i=En.rotateLeft(i,BigInt(28));this.seed=[n,i]}nextBits(t){return this.next()>>BigInt(64-t)}nextInt(t){let n=this.next()&BigInt(4294967295);if(t){const i=BigInt(t);let o=n*i,r=o&BigInt(4294967295);if(r<i){const s=((~i&BigInt(4294967295))+BigInt(1))%i;for(;r<s;)n=this.next()&BigInt(4294967295),o=n*i,r=o&BigInt(4294967295)}const a=o>>BigInt(32);return Number(a)}{let i=Number(n);return i>=2147483648&&(i-=4294967296),i}}nextFloat(){return Number(this.nextBits(24))*En.FLOAT_MULTIPLIER}nextDouble(){return Number(this.nextBits(53))*En.DOUBLE_MULTIPLIER}parityConfigString(){return"seedLo: "+this.seed[0]+", seedHi: "+this.seed[1]}}En.SILVER_RATIO_64=BigInt("7640891576956012809"),En.GOLDEN_RATIO_64=BigInt("-7046029254386353131"),En.FLOAT_MULTIPLIER=1/Math.pow(2,24),En.DOUBLE_MULTIPLIER=11102230246251565e-32;class iP{constructor(t,n){this.seedLo=t,this.seedHi=n}at(t,n,i){const o=wS(t,n,i)^this.seedLo;return new En([o,this.seedHi])}fromHashOf(t){const n=rm(t,{asBytes:!0}),i=Up(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]),o=Up(n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);return new En([i^this.seedLo,o^this.seedHi])}}class Vn{constructor(t){this.xo=256*t.nextDouble(),this.yo=256*t.nextDouble(),this.zo=256*t.nextDouble(),this.p=Array(256);for(let n=0;n<256;n+=1)this.p[n]=n;for(let n=0;n<256;n+=1){const i=t.nextInt(256-n),o=this.p[n];this.p[n]=this.p[n+i],this.p[n+i]=o}}sample2D(t,n){let i,o,r;const a=(t+n)*Vn.F2,s=Math.floor(t+a),c=t-(s-(i=(s+(o=Math.floor(n+a)))*Vn.G2));let l,_;c>(r=n-(o-i))?(l=1,_=0):(l=0,_=1);const d=c-l+Vn.G2,u=r-_+Vn.G2,m=c-1+2*Vn.G2,f=r-1+2*Vn.G2,p=255&s,h=255&o,b=this.P(p+this.P(h))%12,g=this.P(p+l+this.P(h+_))%12,v=this.P(p+1+this.P(h+1))%12;return 70*(this.getCornerNoise3D(b,c,r,0,.5)+this.getCornerNoise3D(g,d,u,0,.5)+this.getCornerNoise3D(v,m,f,0,.5))}sample(t,n,i){const o=.3333333333333333*(t+n+i),r=Math.floor(t+o),a=Math.floor(n+o),s=Math.floor(i+o),c=.16666666666666666*(r+a+s),l=t-(r-c),_=n-(a-c),d=i-(s-c);let u,m,f,p,h,b;l>=_?_>=d?(u=1,m=0,f=0,p=1,h=1,b=0):l>=d?(u=1,m=0,f=0,p=1,h=0,b=1):(u=0,m=0,f=1,p=1,h=0,b=1):_<d?(u=0,m=0,f=1,p=0,h=1,b=1):l<d?(u=0,m=1,f=0,p=0,h=1,b=1):(u=0,m=1,f=0,p=1,h=1,b=0);const g=l-u+.16666666666666666,v=_-m+.16666666666666666,E=d-f+.16666666666666666,S=l-p+.3333333333333333,N=_-h+.3333333333333333,C=d-b+.3333333333333333,y=l-.5,A=_-.5,R=d-.5,D=255&r,M=255&a,L=255&s,F=this.P(D+this.P(M+this.P(L)))%12,q=this.P(D+u+this.P(M+m+this.P(L+f)))%12,$=this.P(D+p+this.P(M+h+this.P(L+b)))%12,Y=this.P(D+1+this.P(M+1+this.P(L+1)))%12;return 32*(this.getCornerNoise3D(F,l,_,d,.6)+this.getCornerNoise3D(q,g,v,E,.6)+this.getCornerNoise3D($,S,N,C,.6)+this.getCornerNoise3D(Y,y,A,R,.6))}P(t){return this.p[255&t]}getCornerNoise3D(t,n,i,o,r){let a,s=r-n*n-i*i-o*o;return s<0?a=0:(s*=s,a=s*s*Vn.gradDot(t,n,i,o)),a}static gradDot(t,n,i,o){const r=Vn.GRADIENT[15&t];return r[0]*n+r[1]*i+r[2]*o}}Vn.GRADIENT=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,1],[0,1,-1],[0,-1,-1],[1,1,0],[0,-1,1],[-1,1,0],[0,-1,-1]],Vn.F2=.5*(Math.sqrt(3)-1),Vn.G2=(3-Math.sqrt(3))/6;class x0{constructor(t){this.xo=256*t.nextDouble(),this.yo=256*t.nextDouble(),this.zo=256*t.nextDouble(),this.p=Array(256);for(let n=0;n<256;n+=1)this.p[n]=n>127?n-256:n;for(let n=0;n<256;n+=1){const i=t.nextInt(256-n),o=this.p[n];this.p[n]=this.p[n+i],this.p[n+i]=o}}sample(t,n,i,o=0,r=0){const a=t+this.xo,s=n+this.yo,c=i+this.zo,l=Math.floor(a),_=Math.floor(s),d=Math.floor(c),u=a-l,m=s-_,f=c-d;let p=0;if(o!==0){const h=r>=0&&r<m?r:m;p=Math.floor(h/o+1e-7)*o}return this.sampleAndLerp(l,_,d,u,m-p,f,m)}sampleAndLerp(t,n,i,o,r,a,s){const c=this.P(t),l=this.P(t+1),_=this.P(c+n),d=this.P(c+n+1),u=this.P(l+n),m=this.P(l+n+1),f=Vn.gradDot(this.P(_+i),o,r,a),p=Vn.gradDot(this.P(u+i),o-1,r,a),h=Vn.gradDot(this.P(d+i),o,r-1,a),b=Vn.gradDot(this.P(m+i),o-1,r-1,a),g=Vn.gradDot(this.P(_+i+1),o,r,a-1),v=Vn.gradDot(this.P(u+i+1),o-1,r,a-1),E=Vn.gradDot(this.P(d+i+1),o,r-1,a-1),S=Vn.gradDot(this.P(m+i+1),o-1,r-1,a-1);return J2(Hm(o),Hm(s),Hm(a),f,p,h,b,g,v,E,S)}P(t){return 255&this.p[255&t]}}class vi{constructor(t,n,i){if(t instanceof En){const o=t.forkPositional();this.noiseLevels=Array(i.length);for(let r=0;r<i.length;r++)if(i[r]!==0){const a=n+r;this.noiseLevels[r]=new x0(o.fromHashOf("octave_"+a))}}else{if(1-n<i.length)throw new Error("Positive octaves are not allowed when using LegacyRandom");this.noiseLevels=Array(i.length);for(let o=-n;o>=0;o-=1)o<i.length&&i[o]!==0?this.noiseLevels[o]=new x0(t):t.consume(262)}this.amplitudes=i,this.lowestFreqInputFactor=Math.pow(2,n),this.lowestFreqValueFactor=Math.pow(2,i.length-1)/(Math.pow(2,i.length)-1)}sample(t,n,i,o=0,r=0,a=!1){let s=0,c=this.lowestFreqInputFactor,l=this.lowestFreqValueFactor;for(let _=0;_<this.noiseLevels.length;_+=1){const d=this.noiseLevels[_];d&&(s+=this.amplitudes[_]*l*d.sample(vi.wrap(t*c),a?-d.yo:vi.wrap(n*c),vi.wrap(i*c),o*c,r*c)),c*=2,l/=2}return s}getOctaveNoise(t){return this.noiseLevels[this.noiseLevels.length-1-t]}static wrap(t){return t-33554432*Math.floor(t/33554432+.5)}}class D0{constructor(t,n,i,o){this.cellWidth=i,this.cellHeight=o,this.minLimitNoise=new vi(t,-15,[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0]),this.maxLimitNoise=new vi(t,-15,[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0]),this.mainNoise=new vi(t,-7,[1,1,1,1,1,0,0,0]),this.xzScale=684.412*n.xzScale,this.yScale=684.412*n.yScale,this.xzMainScale=this.xzScale/n.xzFactor,this.yMainScale=this.yScale/n.yFactor}sample(t,n,i){let o;t=Math.floor(t/this.cellWidth),n=Math.floor(n/this.cellHeight),i=Math.floor(i/this.cellWidth);let r=0,a=1;for(let l=0;l<8;l+=1){if(o=this.mainNoise.getOctaveNoise(l),o){const _=this.xzMainScale*a,d=this.yMainScale*a,u=vi.wrap(t*_),m=vi.wrap(n*d),f=vi.wrap(i*_);r+=o.sample(u,m,f,d,n*d)/a}a/=2}r=(r/10+1)/2,a=1;let s=0,c=0;for(let l=0;l<16;l+=1){const _=this.xzScale*a,d=this.yScale*a,u=vi.wrap(t*_),m=vi.wrap(n*d),f=vi.wrap(i*_);r<1&&(o=this.minLimitNoise.getOctaveNoise(l))&&(s+=o.sample(u,m,f,d,n*d)/a),r>0&&(o=this.maxLimitNoise.getOctaveNoise(l))&&(c+=o.sample(u,m,f,d,n*d)/a),a/=2}return xl(s/512,c/512,r)/128}}(function(e){e.fromJson=function(t){var n,i,o,r,a;const s=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return{xzScale:(i=Te.readNumber(s.xz_scale))!==null&&i!==void 0?i:1,yScale:(o=Te.readNumber(s.y_scale))!==null&&o!==void 0?o:1,xzFactor:(r=Te.readNumber(s.xz_factor))!==null&&r!==void 0?r:80,yFactor:(a=Te.readNumber(s.y_factor))!==null&&a!==void 0?a:80}}})(Bp||(Bp={}));class fo{constructor(t,{firstOctave:n,amplitudes:i}){this.first=new vi(t,n,i),this.second=new vi(t,n,i);let o=1/0,r=-1/0;for(let s=0;s<i.length;s+=1)i[s]!==0&&(o=Math.min(o,s),r=Math.max(r,s));const a=.1*(1+1/(r-o+1));this.valueFactor=1/6/a}sample(t,n,i){const o=t*fo.INPUT_FACTOR,r=n*fo.INPUT_FACTOR,a=i*fo.INPUT_FACTOR;return(this.first.sample(t,n,i)+this.second.sample(o,r,a))*this.valueFactor}}fo.INPUT_FACTOR=1.0181268882175227,function(e){e.create=function(t,n){return{firstOctave:t,amplitudes:n}},e.fromJson=function(t){var n,i,o;const r=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return{firstOctave:(i=Te.readInt(r.firstOctave))!==null&&i!==void 0?i:0,amplitudes:(o=Te.readArray(r.amplitudes,a=>{var s;return(s=Te.readNumber(a))!==null&&s!==void 0?s:0}))!==null&&o!==void 0?o:[]}}}(cs||(cs={}));(function(e){e.fromJson=function(t,n){var i,o,r,a;if(typeof t=="number")return new Gp(t);const s=(i=Te.readObject(t))!==null&&i!==void 0?i:{},c=new Xn(n(s.coordinate)),l=(o=Te.readArray(s.points,_=>{var d;return(d=Te.readObject(_))!==null&&d!==void 0?d:{}}))!==null&&o!==void 0?o:[];if(l.length===0)return new Gp(0);for(const _ of l){const d=(r=Te.readNumber(_.location))!==null&&r!==void 0?r:0,u=e.fromJson(_.value,n),m=(a=Te.readNumber(_.derivative))!==null&&a!==void 0?a:0;c.addPoint(d,u,m)}return c}})(ul||(ul={}));class Gp{constructor(t){this.value=t}apply(){return this.value}toJson(){return this.value}}class Xn{constructor(t,n=[],i=[],o=[]){this.coordinate=t,this.locations=n,this.values=i,this.derivatives=o}apply(t){const n=this.coordinate.apply(t),i=tP(0,this.locations.length,f=>n<this.locations[f])-1,o=this.locations.length-1;if(i<0)return this.values[0].apply(t)+this.derivatives[0]*(n-this.locations[0]);if(i===o)return this.values[o].apply(t)+this.derivatives[o]*(n-this.locations[o]);const r=this.locations[i],a=this.locations[i+1],s=this.derivatives[i],c=this.derivatives[i+1],l=(n-r)/(a-r),_=this.values[i].apply(t),d=this.values[i+1].apply(t),u=s*(a-r)-(d-_),m=-c*(a-r)+(d-_);return Jn(l,_,d)+l*(1-l)*Jn(l,u,m)}addPoint(t,n,i=0){return this.locations.push(t),this.values.push(typeof n=="number"?new Gp(n):n),this.derivatives.push(i),this}toJson(){return{coordinate:this.coordinate.toJson(),points:this.locations.map((t,n)=>({location:t,value:this.values[n].toJson(),derivative:this.derivatives[n]}))}}}var I0;(function(e){e.rotate=function(t,n,i){let{up:o,down:r,north:a,east:s,south:c,west:l}=t;switch(i){case 90:[a,s,c,l]=[s,c,l,a];break;case 180:[a,s,c,l]=[c,l,a,s];break;case 270:[a,s,c,l]=[l,a,s,c]}switch(n){case 90:[o,a,r,c]=[a,r,c,o];break;case 180:[o,a,r,c]=[r,c,o,a];break;case 270:[o,a,r,c]=[c,o,a,r]}return{up:o,down:r,north:a,east:s,south:c,west:l}}})(I0||(I0={}));var zp,Yp,xn,is,Hp,Ue,Vp,_l,Wp,jp,Vm,k0,Wm;(function(e){function t(l,_){return typeof l=="number"?new n(l,_!=null?_:l):l}e.target=function(l,_,d,u,m,f){return new o(l,_,d,u,m,f)},e.parameters=function(l,_,d,u,m,f,p){return new i(t(l),t(_),t(d),t(u),t(m),t(f),p)},e.param=t;class n{constructor(_,d){this.min=_,this.max=d}distance(_){const d=(typeof _=="number"?_:_.min)-this.max,u=this.min-(typeof _=="number"?_:_.max);return d>0?d:Math.max(u,0)}union(_){return new n(Math.min(this.min,_.min),Math.max(this.max,_.max))}static fromJson(_){var d;if(typeof _=="number")return new n(_,_);const[u,m]=(d=Te.readArray(_,f=>Te.readNumber(f)))!==null&&d!==void 0?d:[];return new n(u!=null?u:0,m!=null?m:0)}}e.Param=n;class i{constructor(_,d,u,m,f,p,h){this.temperature=_,this.humidity=d,this.continentalness=u,this.erosion=m,this.depth=f,this.weirdness=p,this.offset=h}fittness(_){return Jr(this.temperature.distance(_.temperature))+Jr(this.humidity.distance(_.humidity))+Jr(this.continentalness.distance(_.continentalness))+Jr(this.erosion.distance(_.erosion))+Jr(this.depth.distance(_.depth))+Jr(this.weirdness.distance(_.weirdness))+Jr(this.offset-_.offset)}space(){return[this.temperature,this.humidity,this.continentalness,this.erosion,this.depth,this.weirdness,new n(this.offset,this.offset)]}static fromJson(_){var d,u;const m=(d=Te.readObject(_))!==null&&d!==void 0?d:{};return new i(n.fromJson(m.temperature),n.fromJson(m.humidity),n.fromJson(m.continentalness),n.fromJson(m.erosion),n.fromJson(m.depth),n.fromJson(m.weirdness),(u=Te.readInt(m.offset))!==null&&u!==void 0?u:0)}}e.ParamPoint=i;class o{constructor(_,d,u,m,f,p){this.temperature=_,this.humidity=d,this.continentalness=u,this.erosion=m,this.depth=f,this.weirdness=p}get offset(){return 0}toArray(){return[this.temperature,this.humidity,this.continentalness,this.erosion,this.depth,this.weirdness,this.offset]}}e.TargetPoint=o,e.Parameters=class{constructor(l){this.things=l,this.index=new r(l)}find(l){return this.index.search(l,(_,d)=>_.distance(d))}};class r{constructor(_){this.root=r.build(_.map(([d,u])=>new c(d,u)))}static build(_){if(_.length===1)return _[0];if(_.length<=r.CHILDREN_PER_NODE){const f=_.map(p=>{let h=0;for(let b=0;b<7;b+=1){const g=p.space[b];h+=Math.abs((g.min+g.max)/2)}return{key:h,node:p}}).sort((p,h)=>p.key-h.key).map(({node:p})=>p);return new s(f)}let d=1/0,u=-1,m=[];for(let f=0;f<7;++f){_=r.sort(_,f,!1),m=r.bucketize(_);let p=0;for(const h of m)p+=r.area(h.space);d>p&&(d=p,u=f)}return _=r.sort(_,u,!1),m=r.bucketize(_),m=r.sort(m,u,!0),new s(m.map(f=>r.build(f.children)))}static sort(_,d,u){return _.map(m=>{const f=m.space[d],p=(f.min+f.max)/2;return{key:u?Math.abs(p):p,node:m}}).sort((m,f)=>m.key-f.key).map(({node:m})=>m)}static bucketize(_){const d=[];let u=[];const m=Math.pow(10,Math.floor(Math.log(_.length-.01)/Math.log(10)));for(const f of _)u.push(f),u.length<m||(d.push(new s(u)),u=[]);return u.length!==0&&d.push(new s(u)),d}static area(_){let d=0;for(const u of _)d+=Math.abs(u.max-u.min);return d}search(_,d){return this.root.search(_.toArray(),d).thing()}}r.CHILDREN_PER_NODE=10,e.RTree=r;class a{constructor(_){this.space=_}distance(_){let d=0;for(let u=0;u<7;u+=1)d+=Jr(this.space[u].distance(_[u]));return d}}e.RNode=a;class s extends a{constructor(_){super(s.buildSpace(_)),this.children=_}static buildSpace(_){let d=[...Array(7)].map(()=>new n(1/0,-1/0));for(const u of _)d=[...Array(7)].map((m,f)=>d[f].union(u.space[f]));return d}search(_,d){let u=1/0,m=null;for(const f of this.children){const p=d(f,_);if(u<=p)continue;const h=f.search(_,d),b=f==h?p:d(h,_);u<=b||(u=b,m=h)}return m}}e.RSubTree=s;class c extends a{constructor(_,d){super(_.space()),this.thing=d}search(){return this}}e.RLeaf=c})(zp||(zp={}));class Df{constructor(t){this.biome=t}getBiome(){return this.biome}static fromJson(t){var n,i;const o=(n=Te.readObject(t))!==null&&n!==void 0?n:{},r=(i=Te.readString(o.biome))!==null&&i!==void 0?i:"minecraft:the_void";return new Df(r)}}class Yn{constructor(t,n,i){this.offsetSampler=t,this.factorSampler=n,this.jaggednessSampler=i}static extractor(t){return{apply:n=>n[t],toJson:()=>t}}static fromJson(t){var n;const i=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return new Yn(ul.fromJson(i.offset,this.EXTRACTOR),ul.fromJson(i.factor,this.EXTRACTOR),ul.fromJson(i.jaggedness,this.EXTRACTOR))}toJson(){return{offset:this.offsetSampler.toJson(),factor:this.factorSampler.toJson(),jaggedness:this.jaggednessSampler.toJson()}}offset(t){return this.offsetSampler.apply(t)+Yn.GLOBAL_OFFSET}factor(t){return this.factorSampler.apply(t)}jaggedness(t){return this.jaggednessSampler.apply(t)}static point(t,n,i){return{continents:t,erosion:n,weirdness:i,ridges:this.peaksAndValleys(i)}}static peaksAndValleys(t){return 3*-(Math.abs(Math.abs(t)-.6666667)-.33333334)}static overworld(){const t=this.buildErosionOffsetSpline(-.05,0,0,.1,0,-.03,!1,!1),n=this.buildErosionOffsetSpline(-.1,.03,.1,.1,.01,-.03,!1,!1),i=this.buildErosionOffsetSpline(-.1,.03,.1,.7,.01,-.03,!0,!0),o=this.buildErosionOffsetSpline(.3,.03,.1,1,.01,.01,!0,!0),r=new Xn(this.CONTINENTS).addPoint(-1.1,.044).addPoint(-1.02,-.2222).addPoint(-.51,-.2222).addPoint(-.44,-.12).addPoint(-.18,-.12).addPoint(-.16,t).addPoint(-.15,t).addPoint(-.1,n).addPoint(.25,i).addPoint(1,o),a=new Xn(this.CONTINENTS).addPoint(-.19,3.95).addPoint(-.15,this.getErosionFactor(6.25,!0)).addPoint(-.1,this.getErosionFactor(5.47,!0)).addPoint(.03,this.getErosionFactor(5.08,!0)).addPoint(.06,this.getErosionFactor(4.69,!1)),s=new Xn(this.CONTINENTS).addPoint(.11,0).addPoint(.03,this.buildErosionJaggednessSpline(1,.5,0,0)).addPoint(.65,this.buildErosionJaggednessSpline(1,1,1,0));return new Yn(r,a,s)}static getErosionFactor(t,n){const i=new Xn(this.WEIRDNESS).addPoint(-.2,6.3).addPoint(.2,t),o=new Xn(this.EROSION).addPoint(-.6,i).addPoint(-.5,new Xn(this.WEIRDNESS).addPoint(-.05,6.3).addPoint(.05,2.67)).addPoint(-.35,i).addPoint(-.25,i).addPoint(-.1,new Xn(this.WEIRDNESS).addPoint(-.05,2.67).addPoint(.05,6.3)).addPoint(.03,i);if(n){const r=new Xn(this.WEIRDNESS).addPoint(0,t).addPoint(.1,.625),a=new Xn(this.RIDGES).addPoint(-.9,t).addPoint(-.69,r);o.addPoint(.35,t).addPoint(.45,a).addPoint(.55,a).addPoint(.62,t)}else{const r=new Xn(this.RIDGES).addPoint(-.7,i).addPoint(-.15,1.37),a=new Xn(this.RIDGES).addPoint(.45,i).addPoint(.7,1.56);o.addPoint(.05,a).addPoint(.4,a).addPoint(.45,r).addPoint(.55,r).addPoint(.58,t)}return o}static buildErosionOffsetSpline(t,n,i,o,r,a,s,c){const l=this.buildMountainRidgeSplineWithPoints(Jn(o,.6,1.5),c),_=this.buildMountainRidgeSplineWithPoints(Jn(o,.6,1),c),d=this.buildMountainRidgeSplineWithPoints(o,c),u=this.ridgeSpline(t-.15,.5*o,Jn(.5,.5,.5)*o,.5*o,.6*o,.5),m=this.ridgeSpline(t,r*o,n*o,.5*o,.6*o,.5),f=this.ridgeSpline(t,r,r,n,i,.5),p=this.ridgeSpline(t,r,r,n,i,.5),h=new Xn(this.RIDGES).addPoint(-1,t).addPoint(-.4,f).addPoint(0,i+.07),b=this.ridgeSpline(-.02,a,a,n,i,0),g=new Xn(this.EROSION).addPoint(-.85,l).addPoint(-.7,_).addPoint(-.4,d).addPoint(-.35,u).addPoint(-.1,m).addPoint(.2,f);return s&&g.addPoint(.4,p).addPoint(.45,h).addPoint(.55,h).addPoint(.58,p),g.addPoint(.7,b),g}static buildMountainRidgeSplineWithPoints(t,n){const i=new Xn(this.RIDGES),o=this.mountainContinentalness(-1,t,-.7),r=this.mountainContinentalness(1,t,-.7),a=this.calculateMountainRidgeZeroContinentalnessPoint(t);if(-.65<a&&a<1){const s=this.mountainContinentalness(-.65,t,-.7),c=this.mountainContinentalness(-.75,t,-.7),l=this.calculateSlope(o,c,-1,-.75);i.addPoint(-1,o,l),i.addPoint(-.75,c),i.addPoint(-.65,s);const _=this.mountainContinentalness(a,t,-.7),d=this.calculateSlope(_,r,a,1);i.addPoint(a-.01,_),i.addPoint(a,_,d),i.addPoint(1,r,d)}else{const s=this.calculateSlope(o,r,-1,1);n?(i.addPoint(-1,Math.max(.2,o)),i.addPoint(0,Jn(.5,o,r),s)):i.addPoint(-1,o,s),i.addPoint(1,r,s)}return i}static mountainContinentalness(t,n,i){const o=.46082947*(t+1.17)*(1-.5*(1-n))-.5*(1-n);return t<i?Math.max(o,-.2222):Math.max(o,0)}static calculateMountainRidgeZeroContinentalnessPoint(t){return .5*(1-t)/(.46082947*(1-.5*(1-t)))-1.17}static calculateSlope(t,n,i,o){return(n-t)/(o-i)}static ridgeSpline(t,n,i,o,r,a){const s=Math.max(.5*(n-t),a),c=5*(i-n);return new Xn(this.RIDGES).addPoint(-1,t,s).addPoint(-.4,n,Math.min(s,c)).addPoint(0,i,c).addPoint(.4,o,2*(o-i)).addPoint(1,r,.7*(r-o))}static buildErosionJaggednessSpline(t,n,i,o){const r=this.buildRidgeJaggednessSpline(t,i),a=this.buildRidgeJaggednessSpline(n,o);return new Xn(this.EROSION).addPoint(-1,r).addPoint(-.78,a).addPoint(-.5775,a).addPoint(-.375,0)}static buildRidgeJaggednessSpline(t,n){const i=Yn.peaksAndValleys(.4),o=(i+Yn.peaksAndValleys(.56666666))/2;return new Xn(this.RIDGES).addPoint(i,0).addPoint(o,n>0?this.buildWeirdnessJaggednessSpline(n):0).addPoint(1,t>0?this.buildWeirdnessJaggednessSpline(t):0)}static buildWeirdnessJaggednessSpline(t){return new Xn(Yn.WEIRDNESS).addPoint(-.01,.63*t).addPoint(.01,.3*t)}}Yn.GLOBAL_OFFSET=-.50375,Yn.EXTRACTOR=e=>{var t;const n=(t=Te.readString(e))!==null&&t!==void 0?t:"continents";return Yn.extractor(n)},Yn.CONTINENTS=Yn.extractor("continents"),Yn.EROSION=Yn.extractor("erosion"),Yn.WEIRDNESS=Yn.extractor("weirdness"),Yn.RIDGES=Yn.extractor("ridges"),function(e){e.fromList=function(t){return(n,i,o,r)=>{for(const a of t){const s=a(n,i,o,r);if(s)return s}return null}}}(Yp||(Yp={})),function(e){function t(n){return n.ySize<<2}e.fromJson=function(n){var i,o,r,a,s,c,l,_;const d=(i=Te.readObject(n))!==null&&i!==void 0?i:{};return{minY:(o=Te.readInt(d.min_y))!==null&&o!==void 0?o:0,height:(r=Te.readInt(d.height))!==null&&r!==void 0?r:256,xzSize:(a=Te.readInt(d.size_horizontal))!==null&&a!==void 0?a:1,ySize:(s=Te.readInt(d.size_vertical))!==null&&s!==void 0?s:1,sampling:Bp.fromJson(d.sampling),topSlide:is.fromJson(d.top_slide),bottomSlide:is.fromJson(d.bottom_slide),terrainShaper:Yn.fromJson(d.terrain_shaper),islandNoiseOverride:(c=Te.readBoolean(d.island_noise_override))!==null&&c!==void 0&&c,isAmplified:(l=Te.readBoolean(d.amplified))!==null&&l!==void 0&&l,hasLargeBiomes:(_=Te.readBoolean(d.large_biomes))!==null&&_!==void 0&&_}},e.cellHeight=t,e.cellWidth=function(n){return n.xzSize<<2},e.cellCountY=function(n){return n.height/t(n)},e.minCellY=function(n){return Math.floor(n.minY/t(n))}}(xn||(xn={})),function(e){e.fromJson=function(t){var n,i,o,r;const a=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return{target:(i=Te.readNumber(a.target))!==null&&i!==void 0?i:0,size:(o=Te.readInt(a.size))!==null&&o!==void 0?o:0,offset:(r=Te.readInt(a.offset))!==null&&r!==void 0?r:0}},e.apply=function(t,n,i){if(t.size<=0)return n;const o=(i-t.offset)/t.size;return xl(t.target,n,o)}}(is||(is={}));class Qc{constructor(t,n){this.chunk=t,this.filler=n,this.noise000=0,this.noise001=0,this.noise100=0,this.noise101=0,this.noise010=0,this.noise011=0,this.noise110=0,this.noise111=0,this.valueXZ00=0,this.valueXZ10=0,this.valueXZ01=0,this.valueXZ11=0,this.valueZ0=0,this.valueZ1=0,this.value=0,this.slice0=Qc.allocateSlice(t.cellCountY,t.cellCountXZ),this.slice1=Qc.allocateSlice(t.cellCountY,t.cellCountXZ)}static allocateSlice(t,n){const i=Array(n+1);for(let o=0;o<n+1;o+=1)i[o]=Array(t+1);return i}initializeForFirstCellX(){this.fillSlice(this.slice0,this.chunk.firstCellX)}advanceCellX(t){this.fillSlice(this.slice1,this.chunk.firstCellX+t+1)}fillSlice(t,n){const i=xn.cellWidth(this.chunk.settings.noise),o=xn.cellHeight(this.chunk.settings.noise),r=n*i;for(let a=0;a<this.chunk.cellCountXZ+1;a+=1){const s=(this.chunk.firstCellZ+a)*i;for(let c=0;c<this.chunk.cellCountY+1;c+=1){const l=(this.chunk.cellCountNoiseMinY+c)*o;t[a][c]=this.filler(r,l,s)}}}selectCellYZ(t,n){this.noise000=this.slice0[n][t],this.noise001=this.slice0[n+1][t],this.noise100=this.slice1[n][t],this.noise101=this.slice1[n+1][t],this.noise010=this.slice0[n][t+1],this.noise011=this.slice0[n+1][t+1],this.noise110=this.slice1[n][t+1],this.noise111=this.slice1[n+1][t+1]}updateForY(t){this.valueXZ00=Jn(t,this.noise000,this.noise010),this.valueXZ10=Jn(t,this.noise100,this.noise110),this.valueXZ01=Jn(t,this.noise001,this.noise011),this.valueXZ11=Jn(t,this.noise101,this.noise111)}updateForX(t){this.valueZ0=Jn(t,this.valueXZ00,this.valueXZ10),this.valueZ1=Jn(t,this.valueXZ01,this.valueXZ11)}updateForZ(t){this.value=Jn(t,this.valueZ0,this.valueZ1)}sample(){return this.value}swapSlices(){[this.slice0,this.slice1]=[this.slice1,this.slice0]}}class rP{constructor(t,n,i,o,r,a,s,c){this.cellCountXZ=t,this.cellCountY=n,this.cellCountNoiseMinY=i,this.sampler=o,this.settings=c;const l=xn.cellWidth(c.noise);this.firstCellX=Math.floor(r/l),this.firstCellZ=Math.floor(a/l),this.firstNoiseX=r>>2,this.firstNoiseZ=a>>2,this.interpolators=[];const _=t*l>>2;this.noiseData=Array(_+1);for(let d=0;d<=_;d+=1){const u=this.firstNoiseX+d;this.noiseData[d]=Array(_+1);for(let m=0;m<=_;m+=1){const f=this.firstNoiseZ+m;this.noiseData[d][m]=o.noiseData(u,f)}}this.preliminarySurfaceLevel=new Map,this.baseNoise=o.makeBaseNoiseFiller(this,s,c.noodleCavesEnabled)}getNoiseData(t,n){return this.noiseData[t-this.firstNoiseX][n-this.firstNoiseZ]}getPreliminarySurfaceLevel(t,n){return xf(this.preliminarySurfaceLevel,Rr.asLong(t,n),()=>{const i=t-this.firstNoiseX,o=n-this.firstNoiseZ,r=this.noiseData.length,a=i>=0&&o>=0&&i<r&&o<r?this.noiseData[i][o].terrainInfo:this.sampler.noiseData(t,n).terrainInfo;return this.sampler.getPreliminarySurfaceLevel(t<<2,n<<2,a)})}createNoiseInterpolator(t){const n=new Qc(this,t);return this.interpolators.push(n),n.sample.bind(n)}initializeForFirstCellX(){this.interpolators.forEach(t=>t.initializeForFirstCellX())}advanceCellX(t){this.interpolators.forEach(n=>n.advanceCellX(t))}selectCellYZ(t,n){this.interpolators.forEach(i=>i.selectCellYZ(t,n))}updateForY(t){this.interpolators.forEach(n=>n.updateForY(t))}updateForX(t){this.interpolators.forEach(n=>n.updateForX(t))}updateForZ(t){this.interpolators.forEach(n=>n.updateForZ(t))}swapSlices(){this.interpolators.forEach(t=>t.swapSlices())}updateNoiseAndGenerateBaseState(t,n,i){return this.baseNoise(t,n,i)}}(function(e){e.create=function(t,n,i){return{offset:t,factor:n,jaggedness:i}}})(Hp||(Hp={})),function(e){const t=new Map;function n(i,o,r){const a=Object.assign({name:`minecraft:${i}`},cs.create(o,r));return t.set(i,a),a}e.TEMPERATURE=n("temperature",-10,[1.5,0,1,0,0,0]),e.VEGETATION=n("vegetation",-8,[1,1,0,0,0,0]),e.CONTINENTALNESS=n("continentalness",-9,[1,1,2,2,2,1,1,1,1]),e.EROSION=n("erosion",-9,[1,1,0,1,1]),e.TEMPERATURE_LARGE=n("temperature_large",-12,[1.5,0,1,0,0,0]),e.VEGETATION_LARGE=n("vegetation_large",-10,[1,1,0,0,0,0]),e.CONTINENTALNESS_LARGE=n("continentalness_large",-11,[1,1,2,2,2,1,1,1,1]),e.EROSION_LARGE=n("erosion_large",-11,[1,1,0,1,1]),e.RIDGE=n("ridge",-7,[1,2,1,0,0,0]),e.SHIFT=n("offset",-3,[1,1,1,0]),e.PILLAR=n("pillar",-7,[1,1]),e.PILLAR_RARENESS=n("pillar_rareness",-8,[1]),e.PILLAR_THICKNESS=n("pillar_thickness",-8,[1]),e.SPAGHETTI_2D=n("spaghetti_2d",-8,[1]),e.SPAGHETTI_2D_ELEVATION=n("spaghetti_2d_elevation",-8,[1]),e.SPAGHETTI_2D_MODULATOR=n("spaghetti_2d_modulator",-8,[1]),e.SPAGHETTI_2D_THICKNESS=n("spaghetti_2d_thickness",-8,[1]),e.SPAGHETTI_3D_1=n("spaghetti_3d_1",-8,[1]),e.SPAGHETTI_3D_2=n("spaghetti_3d_2",-8,[1]),e.SPAGHETTI_3D_RARITY=n("spaghetti_3d_rarity",-8,[1]),e.SPAGHETTI_3D_THICKNESS=n("spaghetti_3d_thickness",-8,[1]),e.SPAGHETTI_ROUGHNESS=n("spaghetti_roughness",-8,[1]),e.SPAGHETTI_ROUGHNESS_MODULATOR=n("spaghetti_roughness_modulator",-8,[1]),e.CAVE_ENTRANCE=n("cave_entrance",-7,[.4,.5,1]),e.CAVE_LAYER=n("cave_layer",-8,[1]),e.CAVE_CHEESE=n("cave_cheese",-8,[.5,1,2,1,2,1,0,2,0]),e.NOODLE=n("noodle",-8,[1]),e.NOODLE_THICKNESS=n("noodle_thickness",-8,[1]),e.NOODLE_RIDGE_A=n("noodle_ridge_a",-7,[1]),e.NOODLE_RIDGE_B=n("noodle_ridge_b",-7,[1]),e.JAGGED=n("jagged",-16,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),e.SURFACE=n("surface",-6,[1,1,1]),e.SURFACE_SECONDARY=n("surface_secondary",-6,[1,1,0,1]),e.instantiate=function(i,o){return new fo(i.fromHashOf(o.name),o)}}(Ue||(Ue={}));class oP{constructor(t,n,i,o=!1){this.settings=t,this.isNoiseCavesEnabled=n;const r=t.hasLargeBiomes,a=(o?new Cn(i):En.create(i)).forkPositional();o?(this.blendedNoise=new D0(new Cn(i),t.sampling,xn.cellWidth(t),xn.cellHeight(t)),this.temperatureNoise=new fo(new Cn(i),cs.create(-7,[1,1])),this.humidityNoise=new fo(new Cn(i+BigInt(1)),cs.create(-7,[1,1])),this.offsetNoise=new fo(new Cn(i+BigInt(5)),cs.create(0,[0]))):(this.blendedNoise=new D0(a.fromHashOf("minecraft:terrain"),t.sampling,xn.cellWidth(t),xn.cellHeight(t)),this.temperatureNoise=Ue.instantiate(a,r?Ue.TEMPERATURE_LARGE:Ue.TEMPERATURE),this.humidityNoise=Ue.instantiate(a,r?Ue.VEGETATION_LARGE:Ue.VEGETATION),this.offsetNoise=Ue.instantiate(a,Ue.SHIFT)),this.continentalnessNoise=Ue.instantiate(a,r?Ue.CONTINENTALNESS_LARGE:Ue.CONTINENTALNESS),this.erosionNoise=Ue.instantiate(a,r?Ue.EROSION_LARGE:Ue.EROSION),this.weirdnessNoise=Ue.instantiate(a,Ue.RIDGE),this.pillarNoise=Ue.instantiate(a,Ue.PILLAR),this.pillarRarenessModulator=Ue.instantiate(a,Ue.PILLAR_RARENESS),this.pillarThicknessModulator=Ue.instantiate(a,Ue.PILLAR_THICKNESS),this.spaghetti2DNoise=Ue.instantiate(a,Ue.SPAGHETTI_2D),this.spaghetti2DElevationModulator=Ue.instantiate(a,Ue.SPAGHETTI_2D_ELEVATION),this.spaghetti2DRarityModulator=Ue.instantiate(a,Ue.SPAGHETTI_2D_MODULATOR),this.spaghetti2DThicknessModulator=Ue.instantiate(a,Ue.SPAGHETTI_2D_THICKNESS),this.spaghetti3DNoise1=Ue.instantiate(a,Ue.SPAGHETTI_3D_1),this.spaghetti3DNoise2=Ue.instantiate(a,Ue.SPAGHETTI_3D_2),this.spaghetti3DRarityModulator=Ue.instantiate(a,Ue.SPAGHETTI_3D_RARITY),this.spaghetti3DThicknessModulator=Ue.instantiate(a,Ue.SPAGHETTI_3D_THICKNESS),this.spaghettiRoughnessNoise=Ue.instantiate(a,Ue.SPAGHETTI_ROUGHNESS),this.spaghettiRoughnessModulator=Ue.instantiate(a,Ue.SPAGHETTI_ROUGHNESS_MODULATOR),this.bigEntranceNoise=Ue.instantiate(a,Ue.CAVE_ENTRANCE),this.layerNoise=Ue.instantiate(a,Ue.CAVE_LAYER),this.cheeseNoise=Ue.instantiate(a,Ue.CAVE_CHEESE);const s=t.minY+4,c=s+t.height;this.noodleToggleNoise=this.yLimitedInterpolatable(Ue.instantiate(a,Ue.NOODLE),s,c,-1,1),this.noodleThicknessNoise=this.yLimitedInterpolatable(Ue.instantiate(a,Ue.NOODLE_THICKNESS),s,c,0,1),this.noodleRidgeANoise=this.yLimitedInterpolatable(Ue.instantiate(a,Ue.NOODLE_RIDGE_A),s,c,0,8/3),this.noodleRidgeBNoise=this.yLimitedInterpolatable(Ue.instantiate(a,Ue.NOODLE_RIDGE_B),s,c,0,8/3),this.jaggedNoise=Ue.instantiate(a,Ue.JAGGED),this.shaper=t.terrainShaper,this.baseNoise=l=>l.createNoiseInterpolator((_,d,u)=>this.calculateBlendedBaseNoise(_,d,u,l.getNoiseData(_>>2,u>>2).terrainInfo))}yLimitedInterpolatable(t,n,i,o,r){const a=(s,c,l)=>c>i||c<n?o:t.sample(s*r,c*r,l*r);return s=>s.createNoiseInterpolator(a)}noiseData(t,n){const i=t+this.getOffset(t,0,n),o=n+this.getOffset(n,t,0),r=this.getContinentalness(i,o),a=this.getErosion(i,o),s=this.getWeirdness(i,o),c=this.terrainInfo(r,a,s);return Vp.create(i,o,r,a,s,c)}sample(t,n,i){return this.target(t,n,i,this.noiseData(t,i))}target(t,n,i,o){const r=o.shiftedX,a=n+this.getOffset(n,i,t),s=o.shiftedZ,c=this.getTemperature(r,a,s),l=this.getHumidity(r,a,s),_=this.computeDimensionDensity(n<<2,o.terrainInfo);return zp.target(c,l,o.continentalness,o.erosion,_,o.weirdness)}terrainInfo(t,n,i){const o=Yn.point(t,n,i),r=this.shaper.offset(o),a=this.shaper.factor(o),s=this.shaper.jaggedness(o);return Hp.create(r,a,s)}getOffset(t,n,i){return 4*this.offsetNoise.sample(t,n,i)}getTemperature(t,n,i){return this.temperatureNoise.sample(t,n,i)}getHumidity(t,n,i){return this.humidityNoise.sample(t,n,i)}getContinentalness(t,n){return this.continentalnessNoise.sample(t,0,n)}getErosion(t,n){return this.erosionNoise.sample(t,0,n)}getWeirdness(t,n){return this.weirdnessNoise.sample(t,0,n)}makeBaseNoiseFiller(t,n,i){const o=this.baseNoise(t),r=i?this.noodleToggleNoise(t):()=>-1,a=i?this.noodleThicknessNoise(t):()=>0,s=i?this.noodleRidgeANoise(t):()=>0,c=i?this.noodleRidgeBNoise(t):()=>0;return(l,_,d)=>{let u=o();if(u=ja(.64*u,-1,1),u=u/2-u*u*u/24,r()>=0){const m=eP(a(),-1,1,.05,.1),f=Math.abs(1.5*s())-m,p=Math.abs(1.5*c())-m;u=Math.min(u,Math.max(f,p))}return u+=n(l,_,d),u>0?null:sr.AIR}}calculateBlendedBaseNoise(t,n,i,o){const r=this.blendedNoise.sample(t,n,i);return this.calculateBaseNoise(t,n,i,o,r,!this.isNoiseCavesEnabled,!0)}calculateBaseNoise(t,n,i,o,r,a,s){if(!this.settings.islandNoiseOverride){const _=s?this.sampleJaggedNoise(o.jaggedness,t,i):0,d=this.computeDimensionDensity(n,o),u=o.factor*(_+d);r+=u>0?4*u:u}let c=-64,l=64;if(!a&&r>=-64){const _=r-1.5625,d=this.getBigEntrances(t,n,i),u=this.getSpaghettiRoughness(t,n,i),m=this.getSpaghetti3D(t,n,i),f=Math.min(d,m+u);if(_<0)l=f;else{const p=this.getLayerizedCaverns(t,n,i);p>64?r=64:r=this.getCheese(t,n,i)+p+xl(.5,0,1.28*_);const h=this.getSpaghetti2D(t,n,i);c=this.getPillars(t,n,i),l=Math.min(f,h+u)}}return r=ja(r,c,l),r=ja(r=this.applySlide(r,n/xn.cellHeight(this.settings)),-64,64)}sampleJaggedNoise(t,n,i){if(t===0)return 0;const o=this.jaggedNoise.sample(1500*n,0,1500*i);return o>0?t*o:t/2*o}computeDimensionDensity(t,n){return 1-t/128+n.offset}getBigEntrances(t,n,i){return this.bigEntranceNoise.sample(.75*t,.5*n,.75*i)+.37+xl(.3,0,(n+10)/40)}getSpaghettiRoughness(t,n,i){const o=this.spaghettiRoughnessNoise.sample(t,n,i),r=Bo(this.spaghettiRoughnessModulator.sample(t,n,i),-1,1,0,1);return(.4-Math.abs(o))*r}getSpaghetti2D(t,n,i){const o=this.quantizeSpaghettiRarity2D(this.spaghetti2DRarityModulator.sample(2*t,n,2*i)),r=Bo(this.spaghetti2DThicknessModulator.sample(2*t,n,2*i),-1,1,.6,1.3),a=this.sampleWithRarity(this.spaghetti2DNoise,t,n,i,o),s=Math.abs(o*a)-.083*r,c=xn.minCellY(this.settings),l=Bo(this.spaghetti2DElevationModulator.sample(t,0,i),-1,1,c,8),_=Math.abs(l-n/8)-1*r;return ja(Math.max(_,s),-1,1)}getSpaghetti3D(t,n,i){const o=this.quantizeSpaghettiRarity3D(this.spaghetti3DRarityModulator.sample(2*t,n,2*i)),r=Bo(this.spaghetti3DThicknessModulator.sample(t,n,i),-1,1,.065,.088),a=this.sampleWithRarity(this.spaghetti3DNoise1,t,n,i,o),s=Math.abs(o*a)-r,c=this.sampleWithRarity(this.spaghetti3DNoise2,t,n,i,o),l=Math.abs(o*c)-r;return ja(Math.max(s,l),-1,1)}quantizeSpaghettiRarity2D(t){return t<-.75?.5:t<-.5?.75:t<.5?1:t<.75?2:3}quantizeSpaghettiRarity3D(t){return t<-.5?.75:t<0?1:t<.5?1.5:2}sampleWithRarity(t,n,i,o,r){return t.sample(n/r,i/r,o/r)}getLayerizedCaverns(t,n,i){return 4*Jr(this.layerNoise.sample(t,8*n,i))}getCheese(t,n,i){return ja(this.cheeseNoise.sample(t,n/1.5,i)+.27,-1,1)}getPillars(t,n,i){const o=Bo(this.pillarRarenessModulator.sample(t,n,i),-1,1,0,2),r=Bo(this.pillarThicknessModulator.sample(t,n,i),-1,1,0,1.1),a=this.pillarNoise.sample(25*t,.3*n,25*i),s=Math.pow(r,3)*(2*a-o);return s<=.03?Number.MIN_SAFE_INTEGER:s}applySlide(t,n){const i=n-xn.minCellY(this.settings);return t=is.apply(this.settings.topSlide,t,xn.cellCountY(this.settings)-i),t=is.apply(this.settings.bottomSlide,t,i)}getPreliminarySurfaceLevel(t,n,i){const o=xn.minCellY(this.settings)+xn.cellCountY(this.settings),r=xn.minCellY(this.settings),a=xn.cellHeight(this.settings);for(let s=o;s>=r;s-=1){const c=s*a;if(this.calculateBaseNoise(t,c,n,i,-.703125,!0,!1)>=.390625)return c}return Number.MAX_SAFE_INTEGER}}(function(e){e.create=function(t,n,i,o,r,a){return{shiftedX:t,shiftedZ:n,continentalness:i,weirdness:o,erosion:r,terrainInfo:a}}})(Vp||(Vp={})),function(e){e.fromJson=function(t){var n,i,o,r;const a=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return a.absolute!==void 0?(s=(i=Te.readNumber(a.absolute))!==null&&i!==void 0?i:0,()=>s):a.above_bottom!==void 0?function(c){return l=>l.minY+c}((o=Te.readNumber(a.above_bottom))!==null&&o!==void 0?o:0):a.below_top!==void 0?function(c){return l=>l.maxY-c}((r=Te.readNumber(a.below_top))!==null&&r!==void 0?r:0):()=>0;var s}}(_l||(_l={})),function(e){e.create=function(t,n){return{minY:t,height:n,maxY:t+n-1}}}(Wp||(Wp={}));class aP{constructor(t,n,i){this.rule=t,this.defaultBlock=n,this.random=En.create(i).forkPositional(),this.surfaceNoise=Ue.instantiate(this.random,Ue.SURFACE),this.surfaceSecondaryNoise=Ue.instantiate(this.random,Ue.SURFACE_SECONDARY),this.positionalRandoms=new Map}buildSurface(t,n,i,o){const r=Rr.minBlockX(t.pos),a=Rr.minBlockZ(t.pos),s=new sP(this,t,n,i,o),c=this.rule(s);for(let l=0;l<16;l+=1){const _=r+l;for(let d=0;d<1;d+=1){const u=a+d;s.updateXZ(_,u);let m=0,f=Number.MIN_SAFE_INTEGER,p=Number.MAX_SAFE_INTEGER;for(let h=t.maxY;h>=t.minY;h-=1){const b=Rl.create(_,h,u),g=t.getBlockState(b);if(g.equals(sr.AIR)){m=0,f=Number.MIN_SAFE_INTEGER;continue}if(g.isFluid()){f===Number.MIN_SAFE_INTEGER&&(f=h+1);continue}if(p>=h){p=Number.MIN_SAFE_INTEGER;for(let S=h-1;S>=t.minY;S-=1){const N=t.getBlockState(Rl.create(_,S,u));if(N.equals(sr.AIR)||N.isFluid()){p=S+1;break}}}m+=1;const v=h-p+1;if(!g.equals(this.defaultBlock))continue;s.updateY(m,v,f,h);const E=c(_,h,u);E&&t.setBlockState(b,E)}}}}getSurfaceDepth(t,n){return 2.75*this.surfaceNoise.sample(t,0,n)+3+.25*this.random.at(t,0,n).nextDouble()}getSurfaceSecondary(t,n){return this.surfaceSecondaryNoise.sample(t,0,n)}getRandom(t){return xf(this.positionalRandoms,t,()=>this.random.fromHashOf(t))}}class sP{constructor(t,n,i,o,r){this.system=t,this.chunk=n,this.noiseChunk=i,this.context=o,this.getBiome=r,this.blockX=0,this.blockY=0,this.blockZ=0,this.stoneDepthAbove=0,this.stoneDepthBelow=0,this.surfaceDepth=0,this.waterHeight=0,this.biome=()=>"",this.surfaceSecondary=()=>0,this.minSurfaceLevel=()=>0}updateXZ(t,n){this.blockX=t,this.blockZ=n,this.surfaceDepth=this.system.getSurfaceDepth(t,n),this.surfaceSecondary=Ym(()=>this.system.getSurfaceSecondary(t,n)),this.minSurfaceLevel=Ym(()=>this.calculateMinSurfaceLevel(t,n))}updateY(t,n,i,o){this.blockY=o,this.stoneDepthAbove=t,this.stoneDepthBelow=n,this.waterHeight=i,this.biome=Ym(()=>this.getBiome(Rl.create(this.blockX,this.blockY,this.blockZ)))}calculateMinSurfaceLevel(t,n){const i=t>>4,o=n>>4,r=this.noiseChunk.getPreliminarySurfaceLevel(i<<4,o<<4),a=this.noiseChunk.getPreliminarySurfaceLevel(i+1<<4,o<<4),s=this.noiseChunk.getPreliminarySurfaceLevel(i<<4,o+1<<4),c=this.noiseChunk.getPreliminarySurfaceLevel(i+1<<4,o+1<<4);return Math.floor($p((15&t)/16,(15&n)/16,r,a,s,c))+this.surfaceDepth-8}}(function(e){function t(o){return()=>()=>o}function n(o){return r=>{const a=o.map(s=>s(r));return(s,c,l)=>{for(const _ of a){const d=_(s,c,l);if(d)return d}}}}function i(o,r){return a=>(s,c,l)=>{if(o(a))return r(a)(s,c,l)}}e.NOOP=()=>()=>{},e.fromJson=function(o){var r,a,s;const c=(r=Te.readObject(o))!==null&&r!==void 0?r:{};switch((a=Te.readString(c.type))===null||a===void 0?void 0:a.replace(/^minecraft:/,"")){case"block":return t(sr.fromJson(c.result_state));case"sequence":return n((s=Te.readArray(c.sequence,e.fromJson))!==null&&s!==void 0?s:[]);case"condition":return i(Vm.fromJson(c.if_true),e.fromJson(c.then_run))}return e.NOOP},e.block=t,e.sequence=n,e.condition=i})(jp||(jp={})),function(e){function t(){return c=>c.blockY>=c.minSurfaceLevel()}function n(c){const l=new Set(c);return _=>l.has(_.biome())}function i(c){return l=>!c(l)}function o(c,l,_,d){return u=>{const m=d?u.stoneDepthBelow:u.stoneDepthAbove,f=l?u.surfaceDepth:0,p=_===0?0:Bo(u.surfaceSecondary(),-1,1,0,_);return m<=1+c+f+p}}function r(c,l,_){return d=>{const u=l(d.context),m=_(d.context);if(d.blockY<=u)return!0;if(d.blockY>=m)return!1;const f=d.system.getRandom(c),p=Bo(d.blockY,u,m,1,0);return f.nextFloat()<p}}function a(c,l,_){return d=>{if(d.waterHeight===Number.MIN_SAFE_INTEGER)return!0;const u=_?d.stoneDepthAbove:0;return d.blockY+u>=d.waterHeight+c+d.surfaceDepth*l}}function s(c,l,_){return d=>{const u=_?d.stoneDepthAbove:0;return d.blockY+u>=c(d.context)+d.surfaceDepth*l}}e.FALSE=()=>!1,e.TRUE=()=>!0,e.fromJson=function(c){var l,_,d,u,m,f,p,h,b,g,v,E;const S=(l=Te.readObject(c))!==null&&l!==void 0?l:{};switch((_=Te.readString(S.type))===null||_===void 0?void 0:_.replace(/^minecraft:/,"")){case"above_preliminary_surface":return N=>N.blockY>=N.minSurfaceLevel();case"biome":return n((d=Te.readArray(S.biome_is,N=>{var C;return(C=Te.readString(N))!==null&&C!==void 0?C:""}))!==null&&d!==void 0?d:[]);case"not":return i(e.fromJson(S.invert));case"stone_depth":return o((u=Te.readInt(S.offset))!==null&&u!==void 0?u:0,(m=Te.readBoolean(S.add_surface_depth))!==null&&m!==void 0&&m,(f=Te.readInt(S.secondary_depth_range))!==null&&f!==void 0?f:0,Te.readString(S.surface_type)==="ceiling");case"vertical_gradient":return r((p=Te.readString(S.random_name))!==null&&p!==void 0?p:"",_l.fromJson(S.true_at_and_below),_l.fromJson(S.false_at_and_above));case"water":return a((h=Te.readInt(S.offset))!==null&&h!==void 0?h:0,(b=Te.readInt(S.surface_depth_multiplier))!==null&&b!==void 0?b:0,(g=Te.readBoolean(S.add_surface_depth))!==null&&g!==void 0&&g);case"y_above":return s(_l.fromJson(S.anchor),(v=Te.readInt(S.surface_depth_multiplier))!==null&&v!==void 0?v:0,(E=Te.readBoolean(S.add_surface_depth))!==null&&E!==void 0&&E)}return e.FALSE},e.abovePreliminarySurface=t,e.biome=n,e.not=i,e.stoneDepth=o,e.verticalGradient=r,e.water=a,e.yAbove=s}(Vm||(Vm={}));class lP{constructor(t,n,i){this.biomeSource=n,this.settings=i,this.sampler=new oP(i.noise,i.noiseCavesEnabled,t,i.legacyRandomSource),this.noiseChunkCache=new Map,this.materialRule=Yp.fromList([(o,r,a,s)=>o.updateNoiseAndGenerateBaseState(r,a,s)]),this.surfaceSystem=new aP(i.surfaceRule,i.defaultBlock,t)}fill(t){var n;const i=Math.max(t.minY,this.settings.noise.minY),o=Math.min(t.maxY,this.settings.noise.minY+this.settings.noise.height),r=xn.cellWidth(this.settings.noise),a=xn.cellHeight(this.settings.noise),s=Math.floor(16/r),c=Math.floor(i/a),l=Math.floor((o-i)/a),_=Rr.minBlockX(t.pos),d=Rr.minBlockZ(t.pos),u=this.getNoiseChunk(t);u.initializeForFirstCellX();for(let m=0;m<s;m+=1){u.advanceCellX(m);for(let f=0;f<s;f+=1){let p=t.getOrCreateSection(t.sectionsCount-1);for(let h=l-1;h>=0;h-=1){u.selectCellYZ(h,f);for(let b=a-1;b>=0;b-=1){const g=(c+h)*a+b,v=15&g,E=t.getSectionIndex(g);t.getSectionIndex(p.minBlockY)!==E&&(p=t.getOrCreateSection(E));const S=b/a;u.updateForY(S);for(let N=0;N<r;N+=1){const C=_+m*r+N,y=15&C,A=N/r;u.updateForX(A);for(let R=0;R<r;R+=1){const D=d+f*r+R,M=15&D,L=R/r;u.updateForZ(L);let F=(n=this.materialRule(u,C,g,D))!==null&&n!==void 0?n:this.settings.defaultBlock;if(F.equals(sr.AIR)){if(!(g<this.settings.seaLevel))continue;F=this.settings.defaultFluid}p.setBlockState(y,v,M,F)}}}}}u.swapSlices()}}buildSurface(t,n="minecraft:plains"){const i=this.getNoiseChunk(t),o=Wp.create(this.settings.noise.minY,this.settings.noise.height);this.surfaceSystem.buildSurface(t,i,o,()=>n)}getNoiseChunk(t){return xf(this.noiseChunkCache,Rr.toLong(t.pos),()=>{const n=Math.max(t.minY,this.settings.noise.minY),i=Math.min(t.maxY,this.settings.noise.minY+this.settings.noise.height),o=xn.cellWidth(this.settings.noise),r=xn.cellHeight(this.settings.noise),a=Math.floor(16/o),s=Math.floor(n/r),c=Math.floor((i-n)/r),l=Rr.minBlockX(t.pos),_=Rr.minBlockZ(t.pos);return new rP(a,c,s,this.sampler,l,_,()=>0,this.settings)})}}(function(e){e.fromJson=function(t){var n,i,o,r,a,s,c,l,_,d,u;const m=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return{structures:Wm.fromJson(m.structures),surfaceRule:jp.fromJson(m.surface_rule),noise:xn.fromJson(m.noise),defaultBlock:sr.fromJson(m.default_block),defaultFluid:sr.fromJson(m.default_fluid),bedrockRoofPosition:(i=Te.readInt(m.bedrock_roof_position))!==null&&i!==void 0?i:0,bedrockFloorPosition:(o=Te.readInt(m.bedrock_floor_position))!==null&&o!==void 0?o:0,seaLevel:(r=Te.readInt(m.sea_level))!==null&&r!==void 0?r:0,disableMobGeneration:(a=Te.readBoolean(m.disable_mob_generation))!==null&&a!==void 0&&a,aquifersEnabled:(s=Te.readBoolean(m.aquifers_enabled))!==null&&s!==void 0&&s,noiseCavesEnabled:(c=Te.readBoolean(m.noise_caves_enabled))!==null&&c!==void 0&&c,deepslateEnabled:(l=Te.readBoolean(m.deepslate_enabled))!==null&&l!==void 0&&l,oreVeinsEnabled:(_=Te.readBoolean(m.ore_veins_enabled))!==null&&_!==void 0&&_,noodleCavesEnabled:(d=Te.readBoolean(m.noodle_caves_enabled))!==null&&d!==void 0&&d,legacyRandomSource:(u=Te.readBoolean(m.legacy_random_source))!==null&&u!==void 0&&u}}})(k0||(k0={})),function(e){e.fromJson=function(t){var n;const i=(n=Te.readObject(t))!==null&&n!==void 0?n:{};return{stronghold:Te.compose(i.stronghold,Te.readObject,o=>{var r,a,s;return{distance:(r=Te.readInt(o.distance))!==null&&r!==void 0?r:0,spread:(a=Te.readInt(o.spread))!==null&&a!==void 0?a:0,count:(s=Te.readInt(o.count))!==null&&s!==void 0?s:0}}),structures:Te.readMap(i.structures,o=>{var r;return(a=>{var s,c,l;return{spacing:(s=Te.readInt(a.spacing))!==null&&s!==void 0?s:0,separation:(c=Te.readInt(a.separation))!==null&&c!==void 0?c:0,salt:(l=Te.readInt(a.salt))!==null&&l!==void 0?l:0}})((r=Te.readObject(o))!==null&&r!==void 0?r:{})})}}}(Wm||(Wm={}));class cP{constructor(t){this.settings={},this.chunkWidth=4,this.chunkHeight=4,this.chunkCountY=32,this.biomeDepth=.1,this.biomeScale=.2,this.noiseColumnCache=[],this.xOffset=0;const n=new Gi(t);this.minLimitPerlinNoise=new gn(n,-15,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),this.maxLimitPerlinNoise=new gn(n,-15,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),this.mainPerlinNoise=new gn(n,-7,[1,1,1,1,1,1,1,1]),this.depthNoise=new gn(n,-15,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1])}reset(t,n,i,o,r){this.settings=t,this.chunkWidth=t.size_horizontal*4,this.chunkHeight=t.size_vertical*4,this.chunkCountY=Math.floor(t.height/this.chunkHeight),t.amplified&&n>0&&(n=1+n*2,i=1+i*4),this.biomeDepth=.265625*(n*.5-.125),this.biomeScale=96/(i*.9+.1),this.noiseColumnCache=Array(r).fill(null),this.xOffset=o}iterateNoiseColumn(t){const n=Array(this.chunkCountY*this.chunkHeight),i=Math.floor(t/this.chunkWidth),o=Math.floor(t%this.chunkWidth)/this.chunkWidth,r=this.fillNoiseColumn(i),a=this.fillNoiseColumn(i+1);for(let s=this.chunkCountY-1;s>=0;s-=1)for(let c=this.chunkHeight;c>=0;c-=1){const l=c/this.chunkHeight,_=s*this.chunkHeight+c;n[_]=i1(l,o,r[s],r[s+1],a[s],a[s+1])}return n}fillNoiseColumn(t){const n=this.noiseColumnCache[t-this.xOffset];if(n)return n;const i=Array(this.chunkCountY+1),o=684.412*this.settings.sampling.xz_scale,r=684.412*this.settings.sampling.y_scale,a=o/this.settings.sampling.xz_factor,s=r/this.settings.sampling.y_factor,c=this.settings.random_density_offset?this.getRandomDensity(t):0;for(let l=0;l<=this.chunkCountY;l+=1){let _=this.sampleAndClampNoise(t,l,this.mainPerlinNoise.getOctaveNoise(0).zo,o,r,a,s);const m=((1-l*2/this.chunkCountY+c)*this.settings.density_factor+this.settings.density_offset+this.biomeDepth)*this.biomeScale;_+=m*(m>0?4:1),this.settings.top_slide.size>0&&(_=Em(this.settings.top_slide.target,_,(this.chunkCountY-l-this.settings.top_slide.offset)/this.settings.top_slide.size)),this.settings.bottom_slide.size>0&&(_=Em(this.settings.bottom_slide.target,_,(l-this.settings.bottom_slide.offset)/this.settings.bottom_slide.size)),i[l]=_}return this.noiseColumnCache[t-this.xOffset]=i,i}getRandomDensity(t){const n=this.depthNoise.sample(t*200,10,this.depthNoise.getOctaveNoise(0).zo,1,0,!0),o=(n<0?-n*.3:n)*24.575625-2;return o<0?o*.009486607142857142:Math.min(o,1)*.006640625}sampleAndClampNoise(t,n,i,o,r,a,s){let c=0,l=0,_=0,d=1;for(let u=0;u<16;u+=1){const m=gn.wrap(t*o*d),f=gn.wrap(n*r*d),p=gn.wrap(i*o*d),h=r*d,b=this.minLimitPerlinNoise.getOctaveNoise(u);b&&(c+=b.sample(m,f,p,h,n*h)/d);const g=this.maxLimitPerlinNoise.getOctaveNoise(u);if(g&&(l+=g.sample(m,f,p,h,n*h)/d),u<8){const v=this.mainPerlinNoise.getOctaveNoise(u);v&&(_+=v.sample(gn.wrap(t*a*d),gn.wrap(n*s*d),gn.wrap(i*a*d),s*d,n*s*d)/d)}d/=2}return Em(c/512,l/512,(_/10+1)/2)}}const If=0,dP={"minecraft:air":[150,160,170],"minecraft:water":[20,80,170],"minecraft:lava":[200,100,0],"minecraft:stone":[55,55,55],"minecraft:deepslate":[34,34,36],"minecraft:bedrock":[10,10,10],"minecraft:grass_block":[47,120,23],"minecraft:dirt":[64,40,8],"minecraft:gravel":[70,70,70],"minecraft:sand":[196,180,77],"minecraft:sandstone":[148,135,52],"minecraft:netherrack":[100,40,40],"minecraft:crimson_nylium":[144,22,22],"minecraft:warped_nylium":[28,115,113],"minecraft:basalt":[73,74,85],"minecraft:end_stone":[200,200,140]};let M0,jm,Xc=[];const qm=new Map;async function uP(e,t,n){var a,s,c;if(xi(n.version,"1.18")){xi(n.version,"1.18.2")&&await RS(n.version);const{settings:l,generator:_}=gP(e,n),d=new EP(-n.offset,n.width,l.noise.minY,l.noise.height);d.generate(_,n.biome);const u=t.data;for(let m=0;m<n.width;m+=1)for(let f=0;f<l.noise.height;f+=1){const p=m*4+(l.noise.height-f-1)*4*t.width,h=d.getBlockState([m-n.offset,f+l.noise.minY,If]),b=(a=dP[h.getName().toString()])!=null?a:[0,0,0];u[p]=b[0],u[p+1]=b[1],u[p+2]=b[2],u[p+3]=255}return}const i=new cP(n.seed);i.reset(e.noise,(s=n.biomeDepth)!=null?s:0,(c=n.biomeScale)!=null?c:0,n.offset,n.width);const o=t.data,r=t.width*4;for(let l=0;l<n.width;l+=1){const _=i.iterateNoiseColumn(l-n.offset).reverse();for(let d=0;d<e.noise.height;d+=1){const u=d*r+l*4,m=bP(_,d);o[u]=m,o[u+1]=m,o[u+2]=m,o[u+3]=255}}}function _P(e,t){const n=Xc.find(i=>Ki.minBlockX(i.pos)<=e&&Ki.maxBlockX(i.pos)>=e);if(!!n)return n.getBlockState(gs.create(e,t,If))}async function mP(e,t,n){const{fn:i,settings:o}=await pP(e,n),r=Array(n.width*o.height);let a=1/0,s=-1/0;for(let l=0;l<n.width;l+=1)for(let _=0;_<o.height;_+=1){const d=l+(o.height-_-1)*n.width,u=i.compute(Tt.context(l-n.offset,_,0));a=Math.min(a,u),s=Math.max(s,u),r[d]=u}const c=t.data;for(let l=0;l<n.width*o.height;l+=1){const _=Math.floor(vS(r[l],a,s,0,256));c[4*l]=_,c[4*l+1]=_,c[4*l+2]=_,c[4*l+3]=255}}async function pP(e,t){await RS(t.version);const n=ln.create(t.seed).forkPositional(),i=Hn.fromJson({min_y:-64,height:384,size_horizontal:1,size_vertical:2,sampling:{xz_scale:1,y_scale:1,xz_factor:80,y_factor:160},bottom_slide:{target:.1171875,size:3,offset:0},top_slide:{target:-.078125,size:2,offset:8},terrain_shaper:{offset:.044,factor:4,jaggedness:0}});return{fn:Tt.fromJson(e).mapAll(new vs.Visitor(n,i)),settings:i}}const fP=[["worldgen/noise",Es],["worldgen/density_function",Tt]];async function RS(e){var n;const t=(n=qm.get(e))!=null?n:new Ol(new Qt("misode","temp"));qm.has(e)||(await Promise.all(fP.map(([i,o])=>hP(e,t,i,o))),qm.set(e,t)),ia.DENSITY_FUNCTION.clear().assign(t.getOrThrow(Qt.create("worldgen/density_function"))),ia.NOISE.clear().assign(t.getOrThrow(Qt.create("worldgen/noise")))}async function hP(e,t,n,i){const o=await p1(e,n),r=new Ol(Qt.create(n));for(const[a,s]of o.entries())r.register(Qt.parse(a),i.fromJson(s));t.register(r.key,r)}function gP(e,t){const n=Mp.fromJson(j.DataModel.unwrapLists(e)),i=[e,`${t.seed}`,t.biome];if(!xa(i,M0))if(M0=fd(i),Xc=[],xi(t.version,"1.18.2")){const o=new Tl(Qt.create("unknown"));jm=new N2(t.seed,o,n)}else{const o=new Df("unknown");jm=new lP(t.seed,o,n)}return{settings:n,generator:jm}}function bP(e,t){return e[t]>0?0:e[t+1]>0?150:255}class EP{constructor(t,n,i,o){this.minX=t,this.done=[],this.chunks=[...Array(Math.ceil(n/16)+1)].map((r,a)=>{const s=(t>>4)+a,c=Xc.find(l=>l.pos[0]===s);return c?(this.done[a]=!0,c):new c2(i,o,Ki.create(s,If>>4))})}generate(t,n){this.chunks.forEach((i,o)=>{this.done[o]||(t.fill(i,!0),t.buildSurface(i,n),this.done[o]=!0,Xc.push(i))})}getBlockState(t){const n=(t[0]>>4)-(this.minX>>4);return this.chunks[n].getBlockState(t)}}function vP(e,t,n){const i=new Gi(n.seed),o=Es.fromJson(j.DataModel.unwrapLists(e)),r=new am(i,o),a=-n.offset[0]-100,s=-n.offset[1]-100,c=t.data;for(let l=0;l<256;l+=1)for(let _=0;_<256;_+=1){const d=l*4+_*4*256,u=(l+a)*n.scale,m=(_+s)*n.scale,f=(r.sample(u,m,0)+1)*128;c[d]=f,c[d+1]=f,c[d+2]=f,c[d+3]=255}}const SP=["biomes","temperature","humidity","continentalness","erosion","weirdness"],yP=({model:e,data:t,shown:n,version:i})=>{var N,C;const{locale:o}=An(),[r]=we(go()),[a,s]=we(2),[c,l]=we(void 0),[_,d]=we(new Set(["biomes"])),u=an([0,0]),m=an(1),f=an(void 0),p=BigInt((N=e.get(new j.Path(["generator","seed"])))!=null?N:r),h=bn(()=>{if(!!n)return CP(e.get(new j.Path(["generator","settings"])))},[n]),b=n?NP(t,h):"",g=(C=t.type)==null?void 0:C.replace(/^minecraft:/,""),{canvas:v,redraw:E}=Wl({size(){return[200/m.current,200/m.current]},async draw(y){const A={octaves:h,biomeColors:{},layers:_,offset:u.current,scale:a,seed:p,res:m.current,version:i};await F2(t,y,A),m.current===4&&(clearTimeout(f.current),f.current=setTimeout(()=>{m.current=1,E()},150))},async onDrag(y,A){u.current[0]=u.current[0]+y*200,u.current[1]=u.current[1]+A*200,clearTimeout(f.current),m.current=g==="multi_noise"?4:1,E()},async onHover(y,A){const R={octaves:h,biomeColors:{},layers:_,offset:u.current,scale:a,seed:r,res:1,version:i},D=await P2(t,Math.floor(y*200),Math.floor(A*200),R);l(D)},onLeave(){l(void 0)}},[b,a,r,_]);ct(()=>{n&&(m.current=g==="multi_noise"?4:1,E())},[b,a,r,_,n]);const S=y=>{u.current[0]=u.current[0]*a/y,u.current[1]=u.current[1]*a/y,s(y)};return T(vt,null,T("div",{class:"controls preview-controls"},c&&T(tt,{label:c.biome,class:"no-pointer"}),g==="multi_noise"&&T(Ri,{icon:"stack",tooltip:o("configure_layers")},SP.map(y=>{const A=_.has(y);return T(tt,{label:o(`layer.${y}`),active:A,tooltip:o(A?"enabled":"disabled"),onClick:R=>{d(new Set([y])),R.stopPropagation()}})})),(g==="multi_noise"||g==="checkerboard")&&T(vt,null,T(tt,{icon:"dash",tooltip:o("zoom_out"),onClick:()=>S(a*1.5)}),T(tt,{icon:"plus",tooltip:o("zoom_in"),onClick:()=>S(a/1.5)})),g==="multi_noise"&&T(tt,{icon:"sync",tooltip:o("generate_new_seed"),onClick:()=>YE(e)})),(c==null?void 0:c.temperature)!==void 0&&T("div",{class:"controls secondary-controls"},T(tt,{class:"no-pointer",label:Object.entries(c).filter(([y])=>y!=="biome").map(([y,A])=>`${y[0].toUpperCase()}: ${A.toFixed(2)}`).join(" ")})),T("canvas",{ref:v,width:"200",height:"200"}))};function NP(e,t){return JSON.stringify([e,t])}function CP(e){switch(typeof e!="string"&&(e=e.legacy_random_source?"minecraft:nether":"minecraft:overworld"),e.replace(/^minecraft:/,"")){case"overworld":case"amplified":return{temperature:{firstOctave:-9,amplitudes:[1.5,0,1,0,0,0]},humidity:{firstOctave:-7,amplitudes:[1,1,0,0,0,0]},continentalness:{firstOctave:-9,amplitudes:[1,1,2,2,2,1,1,1,1]},erosion:{firstOctave:-9,amplitudes:[1,1,0,1,1]},weirdness:{firstOctave:-7,amplitudes:[1,2,1,0,0,0]},shift:{firstOctave:-3,amplitudes:[1,1,1,0]}};case"end":case"floating_islands":return{temperature:{firstOctave:0,amplitudes:[0]},humidity:{firstOctave:0,amplitudes:[0]},continentalness:{firstOctave:0,amplitudes:[0]},erosion:{firstOctave:0,amplitudes:[0]},weirdness:{firstOctave:0,amplitudes:[0]},shift:{firstOctave:0,amplitudes:[0]}};default:return{temperature:{firstOctave:-7,amplitudes:[1,1]},humidity:{firstOctave:-7,amplitudes:[1,1]},continentalness:{firstOctave:-7,amplitudes:[1,1]},erosion:{firstOctave:-7,amplitudes:[1,1]},weirdness:{firstOctave:-7,amplitudes:[1,1]},shift:{firstOctave:0,amplitudes:[0]}}}}const AP=({data:e,version:t,shown:n})=>{const{locale:i}=An(),[o,r]=we(4),[a,s]=we(go()),{canvas:c,redraw:l}=Wl({size(){return[o*16,o*16]},async draw(d){V2(e,d,{seed:a,version:t,size:[o*16,128,o*16]})}}),_=JSON.stringify(e);return ct(()=>{n&&l()},[_,o,a,n]),T(vt,null,T("div",{class:"controls preview-controls"},T(tt,{icon:"dash",tooltip:i("zoom_out"),onClick:()=>r(Math.min(16,o+1))}),T(tt,{icon:"plus",tooltip:i("zoom_in"),onClick:()=>r(Math.max(1,o-1))}),T(tt,{icon:"sync",tooltip:i("generate_new_seed"),onClick:()=>s(go())})),T("canvas",{ref:c,width:"64",height:"64"}))},OP=({data:e,shown:t,version:n})=>{var h,b;const{locale:i}=An(),[o,r]=we(go()),[a,s]=we(!1),[c,l]=we(void 0),_=an(0),d=an(void 0),u=JSON.stringify([e]),m=(b=(h=e==null?void 0:e.noise)==null?void 0:h.height)!=null?b:256,{canvas:f,redraw:p}=Wl({size(){return[m,m]},async draw(g){const v={offset:_.current,width:g.width,seed:o,version:n};await mP(e,g,v)},async onDrag(g){_.current+=g*m,p()},async onHover(g,v){var N,C;const E=Math.floor(g*m-_.current),S=m-Math.max(1,Math.ceil(v*m))+((C=(N=e==null?void 0:e.noise)==null?void 0:N.min_y)!=null?C:0);l(`X=${E} Y=${S}`)},onLeave(){l(void 0)}},[u,o]);return ct(()=>{d.current&&clearInterval(d.current),t&&(p(),a&&(d.current=setInterval(()=>{_.current-=8,p()},100)))},[u,o,t,a]),T(vt,null,T("div",{class:"controls preview-controls"},c&&T(tt,{label:c,class:"no-pointer"}),T(Ri,{icon:"gear",tooltip:i("terrain_settings")},T(tt,{icon:a?"square_fill":"square",label:i("preview.auto_scroll"),onClick:()=>s(!a)})),T(tt,{icon:"sync",tooltip:i("generate_new_seed"),onClick:()=>r(go())})),T("canvas",{ref:f,width:m,height:m}))},TP=({data:e,shown:t,version:n})=>{const{locale:i}=An(),[o,r]=we(go()),[a,s]=we(2),c=an([0,0]),l=JSON.stringify([e]),{canvas:_,redraw:d}=Wl({size(){return[256,256]},async draw(m){const f={offset:c.current,scale:a,seed:o,version:n};vP(e,m,f)},async onDrag(m,f){c.current[0]=c.current[0]+m*256,c.current[1]=c.current[1]+f*256,d()}},[l,a,o]);ct(()=>{t&&d()},[l,a,o,t]);const u=m=>{c.current[0]=c.current[0]*a/m,c.current[1]=c.current[1]*a/m,s(m)};return T(vt,null,T("div",{class:"controls preview-controls"},T(tt,{icon:"dash",tooltip:i("zoom_out"),onClick:()=>u(a*1.5)}),T(tt,{icon:"plus",tooltip:i("zoom_in"),onClick:()=>u(a/1.5)}),T(tt,{icon:"sync",tooltip:i("generate_new_seed"),onClick:()=>r(go())})),T("canvas",{ref:_,width:"256",height:"256"}))},wP=({data:e,shown:t,version:n})=>{var C,y;const{locale:i}=An(),[o,r]=we(go()),[a,s]=we("minecraft:plains"),[c,l]=we(.2),[_,d]=we(.1),[u,m]=we(!1),[f,p]=we(void 0),h=an(0),b=an(void 0),g=JSON.stringify([e,c,_]),v=(y=(C=e==null?void 0:e.noise)==null?void 0:C.height)!=null?y:256,{canvas:E,redraw:S}=Wl({size(){return[v,v]},async draw(A){const R={biome:a,biomeDepth:_,biomeScale:c,offset:h.current,width:A.width,seed:o,version:n};await uP(e,A,R)},async onDrag(A){h.current+=A*v,S()},async onHover(A,R){var F,q;const D=Math.floor(A*v-h.current),M=v-Math.max(1,Math.ceil(R*v))+((q=(F=e==null?void 0:e.noise)==null?void 0:F.min_y)!=null?q:0),L=_P(D,M);p(L?`Y=${M} (${L.getName().path})`:`Y=${M}`)},onLeave(){p(void 0)}},[g,o]);ct(()=>{b.current&&clearInterval(b.current),t&&(async()=>{try{await S(),u&&(b.current=setInterval(()=>{h.current-=8,S()},100))}catch(A){throw A}})()},[g,o,t,a,c,_,u]);const N=bn(()=>{var A;return(A=Tc==null?void 0:Tc.get("worldgen/biome"))!=null?A:[]},[n]);return T(vt,null,T("div",{class:"controls preview-controls"},f&&T(tt,{label:f,class:"no-pointer"}),T(Ri,{icon:"gear",tooltip:i("terrain_settings")},xi(n,void 0,"1.17")?T(vt,null,T(Oc,{label:i("preview.scale"),value:`${c}`,onChange:A=>l(Number(A))}),T(Oc,{label:i("preview.depth"),value:`${_}`,onChange:A=>d(Number(A))})):T(Oc,{label:i("preview.biome"),value:a,onChange:s,dataList:N,larger:!0}),T(tt,{icon:u?"square_fill":"square",label:i("preview.auto_scroll"),onClick:()=>m(!u)})),T(tt,{icon:"sync",tooltip:i("generate_new_seed"),onClick:()=>r(go())})),T("canvas",{ref:E,width:v,height:v}))},RP=["dimension","worldgen/density_function","worldgen/noise","worldgen/noise_settings","worldgen/configured_feature","worldgen/placed_feature"];function xP({model:e,version:t,id:n,shown:i}){var r;const[,o]=we(0);if(hd(e,()=>{o(a=>a+1)}),!e)return T(vt,null);if(n==="dimension"&&((r=e.get(new j.Path(["generator","type"])))==null?void 0:r.endsWith("noise"))){const a=e.get(new j.Path(["generator","biome_source"]));if(a)return T(yP,{model:e,version:t,shown:i,data:a})}if(n==="worldgen/density_function"){const a=e.get(new j.Path([]));if(a)return T(OP,{model:e,version:t,shown:i,data:a})}if(n==="worldgen/noise"){const a=e.get(new j.Path([]));if(a)return T(TP,{model:e,version:t,shown:i,data:a})}if(n==="worldgen/noise_settings"){const a=e.get(new j.Path([]));if(a)return T(wP,{model:e,version:t,shown:i,data:a})}if(n==="worldgen/placed_feature"||n==="worldgen/configured_feature"&&xi(t,"1.16","1.17")){const a=e.get(new j.Path([]));if(a)return T(AP,{model:e,version:t,shown:i,data:a})}return T(vt,null)}(function(){var e="ace",t=function(){return this}();!t&&typeof window!="undefined"&&(t=window);var n=function(c,l,_){if(typeof c!="string"){n.original?n.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(_=l),n.modules[c]||(n.payloads[c]=_,n.modules[c]=null)};n.modules={},n.payloads={};var i=function(c,l,_){if(typeof l=="string"){var d=a(c,l);if(d!=null)return _&&_(),d}else if(Object.prototype.toString.call(l)==="[object Array]"){for(var u=[],m=0,f=l.length;m<f;++m){var p=a(c,l[m]);if(p==null&&o.original)return;u.push(p)}return _&&_.apply(null,u)||!0}},o=function(c,l){var _=i("",c,l);return _==null&&o.original?o.original.apply(this,arguments):_},r=function(c,l){if(l.indexOf("!")!==-1){var _=l.split("!");return r(c,_[0])+"!"+r(c,_[1])}if(l.charAt(0)=="."){var d=c.split("/").slice(0,-1).join("/");for(l=d+"/"+l;l.indexOf(".")!==-1&&u!=l;){var u=l;l=l.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return l},a=function(c,l){l=r(c,l);var _=n.modules[l];if(!_){if(_=n.payloads[l],typeof _=="function"){var d={},u={id:l,uri:"",exports:d,packaged:!0},m=function(p,h){return i(l,p,h)},f=_(m,d,u);d=f||u.exports,n.modules[l]=d,delete n.payloads[l]}_=n.modules[l]=d||_}return _};function s(c){var l=t;c&&(t[c]||(t[c]={}),l=t[c]),(!l.define||!l.define.packaged)&&(n.original=l.define,l.define=n,l.define.packaged=!0),(!l.acequire||!l.acequire.packaged)&&(o.original=l.acequire,l.acequire=o,l.acequire.packaged=!0)}s(e)})();ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){var i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},o=i.exec.call(/()??/,"")[1]===void 0,r=function(){var c=/^/g;return i.test.call(c,""),!c.lastIndex}();if(r&&o)return;RegExp.prototype.exec=function(c){var l=i.exec.apply(this,arguments),_,d;if(typeof c=="string"&&l){if(!o&&l.length>1&&s(l,"")>-1&&(d=RegExp(this.source,i.replace.call(a(this),"g","")),i.replace.call(c.slice(l.index),d,function(){for(var m=1;m<arguments.length-2;m++)arguments[m]===void 0&&(l[m]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var u=1;u<l.length;u++)_=this._xregexp.captureNames[u-1],_&&(l[_]=l[u]);!r&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},r||(RegExp.prototype.test=function(c){var l=i.exec.call(this,c);return l&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--,!!l});function a(c){return(c.global?"g":"")+(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.extended?"x":"")+(c.sticky?"y":"")}function s(c,l,_){if(Array.prototype.indexOf)return c.indexOf(l,_);for(var d=_||0;d<c.length;d++)if(c[d]===l)return d;return-1}});ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function i(){}Function.prototype.bind||(Function.prototype.bind=function(w){var I=this;if(typeof I!="function")throw new TypeError("Function.prototype.bind called on incompatible "+I);var U=s.call(arguments,1),z=function(){if(this instanceof z){var ee=I.apply(this,U.concat(s.call(arguments)));return Object(ee)===ee?ee:this}else return I.apply(w,U.concat(s.call(arguments)))};return I.prototype&&(i.prototype=I.prototype,z.prototype=new i,i.prototype=null),z});var o=Function.prototype.call,r=Array.prototype,a=Object.prototype,s=r.slice,c=o.bind(a.toString),l=o.bind(a.hasOwnProperty),_,d,u,m,f;if((f=l(a,"__defineGetter__"))&&(_=o.bind(a.__defineGetter__),d=o.bind(a.__defineSetter__),u=o.bind(a.__lookupGetter__),m=o.bind(a.__lookupSetter__)),[1,2].splice(0).length!=2)if(function(){function B(U){var z=new Array(U+2);return z[0]=z[1]=0,z}var w=[],I;if(w.splice.apply(w,B(20)),w.splice.apply(w,B(26)),I=w.length,w.splice(5,0,"XXX"),I+1==w.length,I+1==w.length)return!0}()){var p=Array.prototype.splice;Array.prototype.splice=function(B,w){return arguments.length?p.apply(this,[B===void 0?0:B,w===void 0?this.length-B:w].concat(s.call(arguments,2))):[]}}else Array.prototype.splice=function(B,w){var I=this.length;B>0?B>I&&(B=I):B==null?B=0:B<0&&(B=Math.max(I+B,0)),B+w<I||(w=I-B);var U=this.slice(B,B+w),z=s.call(arguments,2),ee=z.length;if(B===I)ee&&this.push.apply(this,z);else{var ae=Math.min(w,I-B),te=B+ae,me=te+ee-ae,he=I-te,Ve=I-ae;if(me<te)for(var ze=0;ze<he;++ze)this[me+ze]=this[te+ze];else if(me>te)for(ze=he;ze--;)this[me+ze]=this[te+ze];if(ee&&B===Ve)this.length=Ve,this.push.apply(this,z);else for(this.length=Ve+ee,ze=0;ze<ee;++ze)this[B+ze]=z[ze]}return U};Array.isArray||(Array.isArray=function(w){return c(w)=="[object Array]"});var h=Object("a"),b=h[0]!="a"||!(0 in h);if(Array.prototype.forEach||(Array.prototype.forEach=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=arguments[1],ee=-1,ae=U.length>>>0;if(c(w)!="[object Function]")throw new TypeError;for(;++ee<ae;)ee in U&&w.call(z,U[ee],ee,I)}),Array.prototype.map||(Array.prototype.map=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0,ee=Array(z),ae=arguments[1];if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");for(var te=0;te<z;te++)te in U&&(ee[te]=w.call(ae,U[te],te,I));return ee}),Array.prototype.filter||(Array.prototype.filter=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0,ee=[],ae,te=arguments[1];if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");for(var me=0;me<z;me++)me in U&&(ae=U[me],w.call(te,ae,me,I)&&ee.push(ae));return ee}),Array.prototype.every||(Array.prototype.every=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0,ee=arguments[1];if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");for(var ae=0;ae<z;ae++)if(ae in U&&!w.call(ee,U[ae],ae,I))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0,ee=arguments[1];if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");for(var ae=0;ae<z;ae++)if(ae in U&&w.call(ee,U[ae],ae,I))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0;if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");if(!z&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");var ee=0,ae;if(arguments.length>=2)ae=arguments[1];else do{if(ee in U){ae=U[ee++];break}if(++ee>=z)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;ee<z;ee++)ee in U&&(ae=w.call(void 0,ae,U[ee],ee,I));return ae}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(w){var I=J(this),U=b&&c(this)=="[object String]"?this.split(""):I,z=U.length>>>0;if(c(w)!="[object Function]")throw new TypeError(w+" is not a function");if(!z&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");var ee,ae=z-1;if(arguments.length>=2)ee=arguments[1];else do{if(ae in U){ee=U[ae--];break}if(--ae<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);do ae in this&&(ee=w.call(void 0,ee,U[ae],ae,I));while(ae--);return ee}),(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)&&(Array.prototype.indexOf=function(w){var I=b&&c(this)=="[object String]"?this.split(""):J(this),U=I.length>>>0;if(!U)return-1;var z=0;for(arguments.length>1&&(z=X(arguments[1])),z=z>=0?z:Math.max(0,U+z);z<U;z++)if(z in I&&I[z]===w)return z;return-1}),(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)&&(Array.prototype.lastIndexOf=function(w){var I=b&&c(this)=="[object String]"?this.split(""):J(this),U=I.length>>>0;if(!U)return-1;var z=U-1;for(arguments.length>1&&(z=Math.min(z,X(arguments[1]))),z=z>=0?z:U-Math.abs(z);z>=0;z--)if(z in I&&w===I[z])return z;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(w){return w.__proto__||(w.constructor?w.constructor.prototype:a)}),!Object.getOwnPropertyDescriptor){var g="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(w,I){if(typeof w!="object"&&typeof w!="function"||w===null)throw new TypeError(g+w);if(!!l(w,I)){var U,z,ee;if(U={enumerable:!0,configurable:!0},f){var ae=w.__proto__;w.__proto__=a;var z=u(w,I),ee=m(w,I);if(w.__proto__=ae,z||ee)return z&&(U.get=z),ee&&(U.set=ee),U}return U.value=w[I],U}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(w){return Object.keys(w)}),!Object.create){var v;Object.prototype.__proto__===null?v=function(){return{__proto__:null}}:v=function(){var B={};for(var w in B)B[w]=null;return B.constructor=B.hasOwnProperty=B.propertyIsEnumerable=B.isPrototypeOf=B.toLocaleString=B.toString=B.valueOf=B.__proto__=null,B},Object.create=function(w,I){var U;if(w===null)U=v();else{if(typeof w!="object")throw new TypeError("typeof prototype["+typeof w+"] != 'object'");var z=function(){};z.prototype=w,U=new z,U.__proto__=w}return I!==void 0&&Object.defineProperties(U,I),U}}function E(B){try{return Object.defineProperty(B,"sentinel",{}),"sentinel"in B}catch{}}if(Object.defineProperty){var S=E({}),N=typeof document=="undefined"||E(document.createElement("div"));if(!S||!N)var C=Object.defineProperty}if(!Object.defineProperty||C){var y="Property description must be an object: ",A="Object.defineProperty called on non-object: ",R="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(w,I,U){if(typeof w!="object"&&typeof w!="function"||w===null)throw new TypeError(A+w);if(typeof U!="object"&&typeof U!="function"||U===null)throw new TypeError(y+U);if(C)try{return C.call(Object,w,I,U)}catch{}if(l(U,"value"))if(f&&(u(w,I)||m(w,I))){var z=w.__proto__;w.__proto__=a,delete w[I],w[I]=U.value,w.__proto__=z}else w[I]=U.value;else{if(!f)throw new TypeError(R);l(U,"get")&&_(w,I,U.get),l(U,"set")&&d(w,I,U.set)}return w}}Object.defineProperties||(Object.defineProperties=function(w,I){for(var U in I)l(I,U)&&Object.defineProperty(w,U,I[U]);return w}),Object.seal||(Object.seal=function(w){return w}),Object.freeze||(Object.freeze=function(w){return w});try{Object.freeze(function(){})}catch{Object.freeze=function(I){return function(z){return typeof z=="function"?z:I(z)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(w){return w}),Object.isSealed||(Object.isSealed=function(w){return!1}),Object.isFrozen||(Object.isFrozen=function(w){return!1}),Object.isExtensible||(Object.isExtensible=function(w){if(Object(w)===w)throw new TypeError;for(var I="";l(w,I);)I+="?";w[I]=!0;var U=l(w,I);return delete w[I],U}),!Object.keys){var D=!0,M=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],L=M.length;for(var F in{toString:null})D=!1;Object.keys=function(w){if(typeof w!="object"&&typeof w!="function"||w===null)throw new TypeError("Object.keys called on a non-object");var I=[];for(var U in w)l(w,U)&&I.push(U);if(D)for(var z=0,ee=L;z<ee;z++){var ae=M[z];l(w,ae)&&I.push(ae)}return I}}Date.now||(Date.now=function(){return new Date().getTime()});var q=`
|
|
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`;if(!String.prototype.trim||q.trim()){q="["+q+"]";var $=new RegExp("^"+q+q+"*"),Y=new RegExp(q+q+"*$");String.prototype.trim=function(){return String(this).replace($,"").replace(Y,"")}}function X(B){return B=+B,B!==B?B=0:B!==0&&B!==1/0&&B!==-(1/0)&&(B=(B>0||-1)*Math.floor(Math.abs(B))),B}var J=function(B){if(B==null)throw new TypeError("can't convert "+B+" to object");return Object(B)}});ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){e("./regexp"),e("./es5-shim")});ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){var i="http://www.w3.org/1999/xhtml";if(t.getDocumentHead=function(o){return o||(o=document),o.head||o.getElementsByTagName("head")[0]||o.documentElement},t.createElement=function(o,r){return document.createElementNS?document.createElementNS(r||i,o):document.createElement(o)},t.hasCssClass=function(o,r){var a=(o.className+"").split(/\s+/g);return a.indexOf(r)!==-1},t.addCssClass=function(o,r){t.hasCssClass(o,r)||(o.className+=" "+r)},t.removeCssClass=function(o,r){for(var a=o.className.split(/\s+/g);;){var s=a.indexOf(r);if(s==-1)break;a.splice(s,1)}o.className=a.join(" ")},t.toggleCssClass=function(o,r){for(var a=o.className.split(/\s+/g),s=!0;;){var c=a.indexOf(r);if(c==-1)break;s=!1,a.splice(c,1)}return s&&a.push(r),o.className=a.join(" "),s},t.setCssClass=function(o,r,a){a?t.addCssClass(o,r):t.removeCssClass(o,r)},t.hasCssString=function(o,r){var a=0,s;if(r=r||document,r.createStyleSheet&&(s=r.styleSheets)){for(;a<s.length;)if(s[a++].owningElement.id===o)return!0}else if(s=r.getElementsByTagName("style")){for(;a<s.length;)if(s[a++].id===o)return!0}return!1},t.importCssString=function(r,a,s){if(s=s||document,a&&t.hasCssString(a,s))return null;var c;a&&(r+=`
|
|
/*# sourceURL=ace/css/`+a+" */"),s.createStyleSheet?(c=s.createStyleSheet(),c.cssText=r,a&&(c.owningElement.id=a)):(c=t.createElement("style"),c.appendChild(s.createTextNode(r)),a&&(c.id=a),t.getDocumentHead(s).appendChild(c))},t.importCssStylsheet=function(o,r){if(r.createStyleSheet)r.createStyleSheet(o);else{var a=t.createElement("link");a.rel="stylesheet",a.href=o,t.getDocumentHead(r).appendChild(a)}},t.getInnerWidth=function(o){return parseInt(t.computedStyle(o,"paddingLeft"),10)+parseInt(t.computedStyle(o,"paddingRight"),10)+o.clientWidth},t.getInnerHeight=function(o){return parseInt(t.computedStyle(o,"paddingTop"),10)+parseInt(t.computedStyle(o,"paddingBottom"),10)+o.clientHeight},t.scrollbarWidth=function(o){var r=t.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var a=t.createElement("ace_outer"),s=a.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",a.appendChild(r);var c=o.documentElement;c.appendChild(a);var l=r.offsetWidth;s.overflow="scroll";var _=r.offsetWidth;return l==_&&(_=a.clientWidth),c.removeChild(a),l-_},typeof document=="undefined"){t.importCssString=function(){};return}window.pageYOffset!==void 0?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(o,r){return r?(window.getComputedStyle(o,"")||{})[r]||"":window.getComputedStyle(o,"")||{}}:t.computedStyle=function(o,r){return r?o.currentStyle[r]:o.currentStyle},t.setInnerHtml=function(o,r){var a=o.cloneNode(!1);return a.innerHTML=r,o.parentNode.replaceChild(a,o),a},"textContent"in document.documentElement?(t.setInnerText=function(o,r){o.textContent=r},t.getInnerText=function(o){return o.textContent}):(t.setInnerText=function(o,r){o.innerText=r},t.getInnerText=function(o){return o.innerText}),t.getParentWindow=function(o){return o.defaultView||o.parentWindow}});ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){t.inherits=function(i,o){i.super_=o,i.prototype=Object.create(o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(i,o){for(var r in o)i[r]=o[r];return i},t.implement=function(i,o){t.mixin(i,o)}});ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){e("./fixoldbrowsers");var i=e("./oop"),o=function(){var r={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},a,s;for(s in r.FUNCTION_KEYS)a=r.FUNCTION_KEYS[s].toLowerCase(),r[a]=parseInt(s,10);for(s in r.PRINTABLE_KEYS)a=r.PRINTABLE_KEYS[s].toLowerCase(),r[a]=parseInt(s,10);return i.mixin(r,r.MODIFIER_KEYS),i.mixin(r,r.PRINTABLE_KEYS),i.mixin(r,r.FUNCTION_KEYS),r.enter=r.return,r.escape=r.esc,r.del=r.delete,r[173]="-",function(){for(var c=["cmd","ctrl","alt","shift"],l=Math.pow(2,c.length);l--;)r.KEY_MODS[l]=c.filter(function(_){return l&r.KEY_MODS[_]}).join("-")+"-"}(),r.KEY_MODS[0]="",r.KEY_MODS[-1]="input-",r}();i.mixin(t,o),t.keyCodeToString=function(r){var a=o[r];return typeof a!="string"&&(a=String.fromCharCode(r)),a.toLowerCase()}});ace.define("ace/lib/useragent",["require","exports","module"],function(e,t,n){if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},typeof navigator=="object"){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),o=navigator.userAgent;t.isWin=i=="win",t.isMac=i=="mac",t.isLinux=i=="linux",t.isIE=navigator.appName=="Microsoft Internet Explorer"||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((o.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&window.navigator.product==="Gecko",t.isOldGecko=t.isGecko&&parseInt((o.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&Object.prototype.toString.call(window.opera)=="[object Opera]",t.isWebKit=parseFloat(o.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(o.split(" Chrome/")[1])||void 0,t.isAIR=o.indexOf("AdobeAIR")>=0,t.isIPad=o.indexOf("iPad")>=0,t.isChromeOS=o.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(o)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}});ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){var i=e("./keys"),o=e("./useragent"),r=null,a=0;t.addListener=function(d,u,m){if(d.addEventListener)return d.addEventListener(u,m,!1);if(d.attachEvent){var f=function(){m.call(d,window.event)};m._wrapper=f,d.attachEvent("on"+u,f)}},t.removeListener=function(d,u,m){if(d.removeEventListener)return d.removeEventListener(u,m,!1);d.detachEvent&&d.detachEvent("on"+u,m._wrapper||m)},t.stopEvent=function(d){return t.stopPropagation(d),t.preventDefault(d),!1},t.stopPropagation=function(d){d.stopPropagation?d.stopPropagation():d.cancelBubble=!0},t.preventDefault=function(d){d.preventDefault?d.preventDefault():d.returnValue=!1},t.getButton=function(d){return d.type=="dblclick"?0:d.type=="contextmenu"||o.isMac&&d.ctrlKey&&!d.altKey&&!d.shiftKey?2:d.preventDefault?d.button:{1:0,2:2,4:1}[d.button]},t.capture=function(d,u,m){function f(p){u&&u(p),m&&m(p),t.removeListener(document,"mousemove",u,!0),t.removeListener(document,"mouseup",f,!0),t.removeListener(document,"dragstart",f,!0)}return t.addListener(document,"mousemove",u,!0),t.addListener(document,"mouseup",f,!0),t.addListener(document,"dragstart",f,!0),f},t.addTouchMoveListener=function(d,u){var m,f;t.addListener(d,"touchstart",function(p){var h=p.touches,b=h[0];m=b.clientX,f=b.clientY}),t.addListener(d,"touchmove",function(p){var h=p.touches;if(!(h.length>1)){var b=h[0];p.wheelX=m-b.clientX,p.wheelY=f-b.clientY,m=b.clientX,f=b.clientY,u(p)}})},t.addMouseWheelListener=function(d,u){"onmousewheel"in d?t.addListener(d,"mousewheel",function(m){var f=8;m.wheelDeltaX!==void 0?(m.wheelX=-m.wheelDeltaX/f,m.wheelY=-m.wheelDeltaY/f):(m.wheelX=0,m.wheelY=-m.wheelDelta/f),u(m)}):"onwheel"in d?t.addListener(d,"wheel",function(m){var f=.35;switch(m.deltaMode){case m.DOM_DELTA_PIXEL:m.wheelX=m.deltaX*f||0,m.wheelY=m.deltaY*f||0;break;case m.DOM_DELTA_LINE:case m.DOM_DELTA_PAGE:m.wheelX=(m.deltaX||0)*5,m.wheelY=(m.deltaY||0)*5;break}u(m)}):t.addListener(d,"DOMMouseScroll",function(m){m.axis&&m.axis==m.HORIZONTAL_AXIS?(m.wheelX=(m.detail||0)*5,m.wheelY=0):(m.wheelX=0,m.wheelY=(m.detail||0)*5),u(m)})},t.addMultiMouseDownListener=function(d,u,m,f){var p=0,h,b,g,v={2:"dblclick",3:"tripleclick",4:"quadclick"};function E(N){if(t.getButton(N)!==0?p=0:N.detail>1?(p++,p>4&&(p=1)):p=1,o.isIE){var C=Math.abs(N.clientX-h)>5||Math.abs(N.clientY-b)>5;(!g||C)&&(p=1),g&&clearTimeout(g),g=setTimeout(function(){g=null},u[p-1]||600),p==1&&(h=N.clientX,b=N.clientY)}if(N._clicks=p,m[f]("mousedown",N),p>4)p=0;else if(p>1)return m[f](v[p],N)}function S(N){p=2,g&&clearTimeout(g),g=setTimeout(function(){g=null},u[p-1]||600),m[f]("mousedown",N),m[f](v[p],N)}Array.isArray(d)||(d=[d]),d.forEach(function(N){t.addListener(N,"mousedown",E),o.isOldIE&&t.addListener(N,"dblclick",S)})};var s=o.isMac&&o.isOpera&&!("KeyboardEvent"in window)?function(d){return 0|(d.metaKey?1:0)|(d.altKey?2:0)|(d.shiftKey?4:0)|(d.ctrlKey?8:0)}:function(d){return 0|(d.ctrlKey?1:0)|(d.altKey?2:0)|(d.shiftKey?4:0)|(d.metaKey?8:0)};t.getModifierString=function(d){return i.KEY_MODS[s(d)]};function c(d,u,m){var f=s(u);if(!o.isMac&&r){if(u.getModifierState&&(u.getModifierState("OS")||u.getModifierState("Win"))&&(f|=8),r.altGr)if((3&f)!=3)r.altGr=0;else return;if(m===18||m===17){var p="location"in u?u.location:u.keyLocation;if(m===17&&p===1)r[m]==1&&(a=u.timeStamp);else if(m===18&&f===3&&p===2){var h=u.timeStamp-a;h<50&&(r.altGr=!0)}}}if(m in i.MODIFIER_KEYS&&(m=-1),f&8&&m>=91&&m<=93&&(m=-1),!f&&m===13){var p="location"in u?u.location:u.keyLocation;if(p===3&&(d(u,f,-m),u.defaultPrevented))return}if(o.isChromeOS&&f&8){if(d(u,f,m),u.defaultPrevented)return;f&=-9}return!f&&!(m in i.FUNCTION_KEYS)&&!(m in i.PRINTABLE_KEYS)?!1:d(u,f,m)}t.addCommandKeyListener=function(d,u){var m=t.addListener;if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var f=null;m(d,"keydown",function(h){f=h.keyCode}),m(d,"keypress",function(h){return c(u,h,f)})}else{var p=null;m(d,"keydown",function(h){r[h.keyCode]=(r[h.keyCode]||0)+1;var b=c(u,h,h.keyCode);return p=h.defaultPrevented,b}),m(d,"keypress",function(h){p&&(h.ctrlKey||h.altKey||h.shiftKey||h.metaKey)&&(t.stopEvent(h),p=null)}),m(d,"keyup",function(h){r[h.keyCode]=null}),r||(l(),m(window,"focus",l))}};function l(){r=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!o.isOldIE){var _=1;t.nextTick=function(d,u){u=u||window;var m="zero-timeout-message-"+_;t.addListener(u,"message",function f(p){p.data==m&&(t.stopPropagation(p),t.removeListener(u,"message",f),d())}),u.postMessage(m,"*")}}t.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(d){setTimeout(d,17)}});ace.define("ace/lib/lang",["require","exports","module"],function(e,t,n){t.last=function(r){return r[r.length-1]},t.stringReverse=function(r){return r.split("").reverse().join("")},t.stringRepeat=function(r,a){for(var s="";a>0;)a&1&&(s+=r),(a>>=1)&&(r+=r);return s};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(r){return r.replace(i,"")},t.stringTrimRight=function(r){return r.replace(o,"")},t.copyObject=function(r){var a={};for(var s in r)a[s]=r[s];return a},t.copyArray=function(r){for(var a=[],s=0,c=r.length;s<c;s++)r[s]&&typeof r[s]=="object"?a[s]=this.copyObject(r[s]):a[s]=r[s];return a},t.deepCopy=function r(a){if(typeof a!="object"||!a)return a;var s;if(Array.isArray(a)){s=[];for(var c=0;c<a.length;c++)s[c]=r(a[c]);return s}if(Object.prototype.toString.call(a)!=="[object Object]")return a;s={};for(var c in a)s[c]=r(a[c]);return s},t.arrayToMap=function(r){for(var a={},s=0;s<r.length;s++)a[r[s]]=1;return a},t.createMap=function(r){var a=Object.create(null);for(var s in r)a[s]=r[s];return a},t.arrayRemove=function(r,a){for(var s=0;s<=r.length;s++)a===r[s]&&r.splice(s,1)},t.escapeRegExp=function(r){return r.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(r){return r.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(r,a){var s=[];return r.replace(a,function(c){s.push({offset:arguments[arguments.length-2],length:c.length})}),s},t.deferredCall=function(r){var a=null,s=function(){a=null,r()},c=function(l){return c.cancel(),a=setTimeout(s,l||0),c};return c.schedule=c,c.call=function(){return this.cancel(),r(),c},c.cancel=function(){return clearTimeout(a),a=null,c},c.isPending=function(){return a},c},t.delayedCall=function(r,a){var s=null,c=function(){s=null,r()},l=function(_){s==null&&(s=setTimeout(c,_||a))};return l.delay=function(_){s&&clearTimeout(s),s=setTimeout(c,_||a)},l.schedule=l,l.call=function(){this.cancel(),r()},l.cancel=function(){s&&clearTimeout(s),s=null},l.isPending=function(){return s},l}});ace.define("ace/keyboard/textinput_ios",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/lib/keys"],function(e,t,n){var i=e("../lib/event"),o=e("../lib/useragent"),r=e("../lib/dom"),a=e("../lib/lang"),s=e("../lib/keys"),c=s.KEY_MODS,l=o.isChrome<18,_=o.isIE,d=function(u,m){var f=r.createElement("textarea");f.className=o.isIOS?"ace_text-input ace_text-input-ios":"ace_text-input",o.isTouchPad&&f.setAttribute("x-palm-disable-auto-cap",!0),f.setAttribute("wrap","off"),f.setAttribute("autocorrect","off"),f.setAttribute("autocapitalize","off"),f.setAttribute("spellcheck",!1),f.style.opacity="0",u.insertBefore(f,u.firstChild);var p=`
|
|
aaaa a
|
|
`,h=!1,b=!1,g=!1,v=!1,E="",S=!0;try{var N=document.activeElement===f}catch{}i.addListener(f,"blur",function(_e){m.onBlur(_e),N=!1}),i.addListener(f,"focus",function(_e){N=!0,m.onFocus(_e),A()}),this.focus=function(){if(E)return f.focus();f.style.position="fixed",f.focus()},this.blur=function(){f.blur()},this.isFocused=function(){return N};var C=a.delayedCall(function(){N&&A(S)}),y=a.delayedCall(function(){v||(f.value=p,N&&A())});function A(_e){if(!v){if(v=!0,L)Re=0,De=_e?0:f.value.length-1;else var Re=4,De=5;try{f.setSelectionRange(Re,De)}catch{}v=!1}}function R(){v||(f.value=p,o.isWebKit&&y.schedule())}o.isWebKit||m.addEventListener("changeSelection",function(){m.selection.isEmpty()!=S&&(S=!S,C.schedule())}),R(),N&&m.onFocus();var D=function(_e){return _e.selectionStart===0&&_e.selectionEnd===_e.value.length},M=function(_e){D(f)?(m.selectAll(),A()):L&&A(m.selection.isEmpty())},L=null;this.setInputHandler=function(_e){L=_e},this.getInputHandler=function(){return L};var F=!1,q=function(_e){f.selectionStart===4&&f.selectionEnd===5||(L&&(_e=L(_e),L=null),g?(A(),_e&&m.onPaste(_e),g=!1):_e==p.substr(0)&&f.selectionStart===4?F?m.execCommand("del",{source:"ace"}):m.execCommand("backspace",{source:"ace"}):h||(_e.substring(0,9)==p&&_e.length>p.length?_e=_e.substr(9):_e.substr(0,4)==p.substr(0,4)?_e=_e.substr(4,_e.length-p.length+1):_e.charAt(_e.length-1)==p.charAt(0)&&(_e=_e.slice(0,-1)),_e==p.charAt(0)||_e.charAt(_e.length-1)==p.charAt(0)&&(_e=_e.slice(0,-1)),_e&&m.onTextInput(_e)),h&&(h=!1),F&&(F=!1))},$=function(_e){if(!v){var Re=f.value;q(Re),R()}},Y=function(_e,Re,De){var Vt=_e.clipboardData||window.clipboardData;if(!(!Vt||l)){var Zt=_||De?"Text":"text/plain";try{return Re?Vt.setData(Zt,Re)!==!1:Vt.getData(Zt)}catch(Le){if(!De)return Y(Le,Re,!0)}}},X=function(_e,Re){var De=m.getCopyText();if(!De)return i.preventDefault(_e);Y(_e,De)?(o.isIOS&&(b=Re,f.value=`
|
|
aa`+De+`a a
|
|
`,f.setSelectionRange(4,4+De.length),h={value:De}),Re?m.onCut():m.onCopy(),o.isIOS||i.preventDefault(_e)):(h=!0,f.value=De,f.select(),setTimeout(function(){h=!1,R(),A(),Re?m.onCut():m.onCopy()}))},J=function(_e){X(_e,!0)},B=function(_e){X(_e,!1)},w=function(_e){var Re=Y(_e);typeof Re=="string"?(Re&&m.onPaste(Re,_e),o.isIE&&setTimeout(A),i.preventDefault(_e)):(f.value="",g=!0)};i.addCommandKeyListener(f,m.onCommandKey.bind(m)),i.addListener(f,"select",M),i.addListener(f,"input",$),i.addListener(f,"cut",J),i.addListener(f,"copy",B),i.addListener(f,"paste",w);var I=function(_e){v||!m.onCompositionStart||m.$readOnly||(v={},v.canUndo=m.session.$undoManager,m.onCompositionStart(),setTimeout(U,0),m.on("mousedown",z),v.canUndo&&!m.selection.isEmpty()&&(m.insert(""),m.session.markUndoGroup(),m.selection.clearSelection()),m.session.markUndoGroup())},U=function(){if(!(!v||!m.onCompositionUpdate||m.$readOnly)){var _e=f.value.replace(/\x01/g,"");if(v.lastValue!==_e&&(m.onCompositionUpdate(_e),v.lastValue&&m.undo(),v.canUndo&&(v.lastValue=_e),v.lastValue)){var Re=m.selection.getRange();m.insert(v.lastValue),m.session.markUndoGroup(),v.range=m.selection.getRange(),m.selection.setRange(Re),m.selection.clearSelection()}}},z=function(_e){if(!(!m.onCompositionEnd||m.$readOnly)){var Re=v;v=!1;var De=setTimeout(function(){De=null;var Zt=f.value.replace(/\x01/g,"");v||(Zt==Re.lastValue?R():!Re.lastValue&&Zt&&(R(),q(Zt)))});L=function(Le){return De&&clearTimeout(De),Le=Le.replace(/\x01/g,""),Le==Re.lastValue?"":(Re.lastValue&&De&&m.undo(),Le)},m.onCompositionEnd(),m.removeListener("mousedown",z),_e.type=="compositionend"&&Re.range&&m.selection.setRange(Re.range);var Vt=!!o.isChrome&&o.isChrome>=53||!!o.isWebKit&&o.isWebKit>=603;Vt&&$()}},ee=a.delayedCall(U,50);i.addListener(f,"compositionstart",I),o.isGecko?i.addListener(f,"text",function(){ee.schedule()}):(i.addListener(f,"keyup",function(){ee.schedule()}),i.addListener(f,"keydown",function(){ee.schedule()})),i.addListener(f,"compositionend",z),this.getElement=function(){return f},this.setReadOnly=function(_e){f.readOnly=_e},this.onContextMenu=function(_e){F=!0,A(m.selection.isEmpty()),m._emit("nativecontextmenu",{target:m,domEvent:_e}),this.moveToMouse(_e,!0)},this.moveToMouse=function(_e,Re){E||(E=f.style.cssText),f.style.cssText=(Re?"z-index:100000;":"")+"height:"+f.style.height+";"+(o.isIE?"opacity:0.1;":"");var De=m.container.getBoundingClientRect(),Vt=r.computedStyle(m.container),Zt=De.top+(parseInt(Vt.borderTopWidth)||0),Le=De.left+(parseInt(De.borderLeftWidth)||0),mi=De.bottom-Zt-f.clientHeight-2,Ot=function(yt){f.style.left=yt.clientX-Le-2+"px",f.style.top=Math.min(yt.clientY-Zt-2,mi)+"px"};Ot(_e),_e.type=="mousedown"&&(m.renderer.$keepTextAreaAtCursor&&(m.renderer.$keepTextAreaAtCursor=null),clearTimeout(ae),o.isWin&&i.capture(m.container,Ot,te))},this.onContextMenuClose=te;var ae;function te(){clearTimeout(ae),ae=setTimeout(function(){E&&(f.style.cssText=E,E=""),m.renderer.$keepTextAreaAtCursor==null&&(m.renderer.$keepTextAreaAtCursor=!0,m.renderer.$moveTextAreaToCursor())},0)}var me=function(_e){m.textInput.onContextMenu(_e),te()};if(i.addListener(f,"mouseup",me),i.addListener(f,"mousedown",function(_e){_e.preventDefault(),te()}),i.addListener(m.renderer.scroller,"contextmenu",me),i.addListener(f,"contextmenu",me),o.isIOS){var he=null,Ve=!1;u.addEventListener("keydown",function(_e){he&&clearTimeout(he),Ve=!0}),u.addEventListener("keyup",function(_e){he=setTimeout(function(){Ve=!1},100)});var ze=function(_e){if(document.activeElement===f&&!Ve){if(b)return setTimeout(function(){b=!1},100);var Re=f.selectionStart,De=f.selectionEnd;if(f.setSelectionRange(4,5),Re==De)switch(Re){case 0:m.onCommandKey(null,0,s.up);break;case 1:m.onCommandKey(null,0,s.home);break;case 2:m.onCommandKey(null,c.option,s.left);break;case 4:m.onCommandKey(null,0,s.left);break;case 5:m.onCommandKey(null,0,s.right);break;case 7:m.onCommandKey(null,c.option,s.right);break;case 8:m.onCommandKey(null,0,s.end);break;case 9:m.onCommandKey(null,0,s.down);break}else{switch(De){case 6:m.onCommandKey(null,c.shift,s.right);break;case 7:m.onCommandKey(null,c.shift|c.option,s.right);break;case 8:m.onCommandKey(null,c.shift,s.end);break;case 9:m.onCommandKey(null,c.shift,s.down);break}switch(Re){case 0:m.onCommandKey(null,c.shift,s.up);break;case 1:m.onCommandKey(null,c.shift,s.home);break;case 2:m.onCommandKey(null,c.shift|c.option,s.left);break;case 3:m.onCommandKey(null,c.shift,s.left);break}}}};document.addEventListener("selectionchange",ze),m.on("destroy",function(){document.removeEventListener("selectionchange",ze)})}};t.TextInput=d});ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(e,t,n){var i=e("../lib/event"),o=e("../lib/useragent"),r=e("../lib/dom"),a=e("../lib/lang"),s=o.isChrome<18,c=o.isIE,l=e("./textinput_ios").TextInput,_=function(d,u){if(o.isIOS)return l.call(this,d,u);var m=r.createElement("textarea");m.className="ace_text-input",m.setAttribute("wrap","off"),m.setAttribute("autocorrect","off"),m.setAttribute("autocapitalize","off"),m.setAttribute("spellcheck",!1),m.style.opacity="0",d.insertBefore(m,d.firstChild);var f="\u2028\u2028",p=!1,h=!1,b=!1,g="",v=!0;try{var E=document.activeElement===m}catch{}i.addListener(m,"blur",function(te){u.onBlur(te),E=!1}),i.addListener(m,"focus",function(te){E=!0,u.onFocus(te),C()}),this.focus=function(){if(g)return m.focus();var te=m.style.top;m.style.position="fixed",m.style.top="0px",m.focus(),setTimeout(function(){m.style.position="",m.style.top=="0px"&&(m.style.top=te)},0)},this.blur=function(){m.blur()},this.isFocused=function(){return E};var S=a.delayedCall(function(){E&&C(v)}),N=a.delayedCall(function(){b||(m.value=f,E&&C())});function C(te){if(!b){if(b=!0,D)var me=0,he=te?0:m.value.length-1;else var me=te?2:1,he=2;try{m.setSelectionRange(me,he)}catch{}b=!1}}function y(){b||(m.value=f,o.isWebKit&&N.schedule())}o.isWebKit||u.addEventListener("changeSelection",function(){u.selection.isEmpty()!=v&&(v=!v,S.schedule())}),y(),E&&u.onFocus();var A=function(te){return te.selectionStart===0&&te.selectionEnd===te.value.length},R=function(te){p?p=!1:A(m)?(u.selectAll(),C()):D&&C(u.selection.isEmpty())},D=null;this.setInputHandler=function(te){D=te},this.getInputHandler=function(){return D};var M=!1,L=function(te){D&&(te=D(te),D=null),h?(C(),te&&u.onPaste(te),h=!1):te==f.charAt(0)?M?u.execCommand("del",{source:"ace"}):u.execCommand("backspace",{source:"ace"}):(te.substring(0,2)==f?te=te.substr(2):te.charAt(0)==f.charAt(0)?te=te.substr(1):te.charAt(te.length-1)==f.charAt(0)&&(te=te.slice(0,-1)),te.charAt(te.length-1)==f.charAt(0)&&(te=te.slice(0,-1)),te&&u.onTextInput(te)),M&&(M=!1)},F=function(te){if(!b){var me=m.value;L(me),y()}},q=function(te,me,he){var Ve=te.clipboardData||window.clipboardData;if(!(!Ve||s)){var ze=c||he?"Text":"text/plain";try{return me?Ve.setData(ze,me)!==!1:Ve.getData(ze)}catch(_e){if(!he)return q(_e,me,!0)}}},$=function(te,me){var he=u.getCopyText();if(!he)return i.preventDefault(te);q(te,he)?(me?u.onCut():u.onCopy(),i.preventDefault(te)):(p=!0,m.value=he,m.select(),setTimeout(function(){p=!1,y(),C(),me?u.onCut():u.onCopy()}))},Y=function(te){$(te,!0)},X=function(te){$(te,!1)},J=function(te){var me=q(te);typeof me=="string"?(me&&u.onPaste(me,te),o.isIE&&setTimeout(C),i.preventDefault(te)):(m.value="",h=!0)};i.addCommandKeyListener(m,u.onCommandKey.bind(u)),i.addListener(m,"select",R),i.addListener(m,"input",F),i.addListener(m,"cut",Y),i.addListener(m,"copy",X),i.addListener(m,"paste",J),(!("oncut"in m)||!("oncopy"in m)||!("onpaste"in m))&&i.addListener(d,"keydown",function(te){if(!(o.isMac&&!te.metaKey||!te.ctrlKey))switch(te.keyCode){case 67:X(te);break;case 86:J(te);break;case 88:Y(te);break}});var B=function(te){b||!u.onCompositionStart||u.$readOnly||(b={},b.canUndo=u.session.$undoManager,u.onCompositionStart(),setTimeout(w,0),u.on("mousedown",I),b.canUndo&&!u.selection.isEmpty()&&(u.insert(""),u.session.markUndoGroup(),u.selection.clearSelection()),u.session.markUndoGroup())},w=function(){if(!(!b||!u.onCompositionUpdate||u.$readOnly)){var te=m.value.replace(/\u2028/g,"");if(b.lastValue!==te&&(u.onCompositionUpdate(te),b.lastValue&&u.undo(),b.canUndo&&(b.lastValue=te),b.lastValue)){var me=u.selection.getRange();u.insert(b.lastValue),u.session.markUndoGroup(),b.range=u.selection.getRange(),u.selection.setRange(me),u.selection.clearSelection()}}},I=function(te){if(!(!u.onCompositionEnd||u.$readOnly)){var me=b;b=!1;var he=setTimeout(function(){he=null;var ze=m.value.replace(/\u2028/g,"");b||(ze==me.lastValue?y():!me.lastValue&&ze&&(y(),L(ze)))});D=function(_e){return he&&clearTimeout(he),_e=_e.replace(/\u2028/g,""),_e==me.lastValue?"":(me.lastValue&&he&&u.undo(),_e)},u.onCompositionEnd(),u.removeListener("mousedown",I),te.type=="compositionend"&&me.range&&u.selection.setRange(me.range);var Ve=!!o.isChrome&&o.isChrome>=53||!!o.isWebKit&&o.isWebKit>=603;Ve&&F()}},U=a.delayedCall(w,50);i.addListener(m,"compositionstart",B),o.isGecko?i.addListener(m,"text",function(){U.schedule()}):(i.addListener(m,"keyup",function(){U.schedule()}),i.addListener(m,"keydown",function(){U.schedule()})),i.addListener(m,"compositionend",I),this.getElement=function(){return m},this.setReadOnly=function(te){m.readOnly=te},this.onContextMenu=function(te){M=!0,C(u.selection.isEmpty()),u._emit("nativecontextmenu",{target:u,domEvent:te}),this.moveToMouse(te,!0)},this.moveToMouse=function(te,me){g||(g=m.style.cssText),m.style.cssText=(me?"z-index:100000;":"")+"height:"+m.style.height+";"+(o.isIE?"opacity:0.1;":"");var he=u.container.getBoundingClientRect(),Ve=r.computedStyle(u.container),ze=he.top+(parseInt(Ve.borderTopWidth)||0),_e=he.left+(parseInt(he.borderLeftWidth)||0),Re=he.bottom-ze-m.clientHeight-2,De=function(Vt){m.style.left=Vt.clientX-_e-2+"px",m.style.top=Math.min(Vt.clientY-ze-2,Re)+"px"};De(te),te.type=="mousedown"&&(u.renderer.$keepTextAreaAtCursor&&(u.renderer.$keepTextAreaAtCursor=null),clearTimeout(z),o.isWin&&i.capture(u.container,De,ee))},this.onContextMenuClose=ee;var z;function ee(){clearTimeout(z),z=setTimeout(function(){g&&(m.style.cssText=g,g=""),u.renderer.$keepTextAreaAtCursor==null&&(u.renderer.$keepTextAreaAtCursor=!0,u.renderer.$moveTextAreaToCursor())},0)}var ae=function(te){u.textInput.onContextMenu(te),ee()};i.addListener(m,"mouseup",ae),i.addListener(m,"mousedown",function(te){te.preventDefault(),ee()}),i.addListener(u.renderer.scroller,"contextmenu",ae),i.addListener(m,"contextmenu",ae)};t.TextInput=_});ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){e("../lib/dom"),e("../lib/event");var i=e("../lib/useragent"),o=0,r=250;function a(l){l.$clickSelection=null;var _=l.editor;_.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),_.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),_.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),_.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),_.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),_.setDefaultHandler("touchmove",this.onTouchMove.bind(l));var d=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];d.forEach(function(u){l[u]=this[u]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}(function(){this.onMouseDown=function(l){var _=l.inSelection(),d=l.getDocumentPosition();this.mousedownEvent=l;var u=this.editor,m=l.getButton();if(m!==0){var f=u.getSelectionRange(),p=f.isEmpty();u.$blockScrolling++,(p||m==1)&&u.selection.moveToPosition(d),u.$blockScrolling--,m==2&&(u.textInput.onContextMenu(l.domEvent),i.isMozilla||l.preventDefault());return}if(this.mousedownEvent.time=Date.now(),_&&!u.isFocused()&&(u.focus(),this.$focusTimout&&!this.$clickSelection&&!u.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(l);return}return this.captureMouse(l),this.startSelect(d,l.domEvent._clicks>1),l.preventDefault()},this.startSelect=function(l,_){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var d=this.editor;d.$blockScrolling++,this.mousedownEvent.getShiftKey()?d.selection.selectToPosition(l):_||d.selection.moveToPosition(l),_||this.select(),d.renderer.scroller.setCapture&&d.renderer.scroller.setCapture(),d.setStyle("ace_selecting"),this.setState("select"),d.$blockScrolling--},this.select=function(){var l,_=this.editor,d=_.renderer.screenToTextCoordinates(this.x,this.y);if(_.$blockScrolling++,this.$clickSelection){var u=this.$clickSelection.comparePoint(d);if(u==-1)l=this.$clickSelection.end;else if(u==1)l=this.$clickSelection.start;else{var m=c(this.$clickSelection,d);d=m.cursor,l=m.anchor}_.selection.setSelectionAnchor(l.row,l.column)}_.selection.selectToPosition(d),_.$blockScrolling--,_.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(l){var _,d=this.editor,u=d.renderer.screenToTextCoordinates(this.x,this.y),m=d.selection[l](u.row,u.column);if(d.$blockScrolling++,this.$clickSelection){var f=this.$clickSelection.comparePoint(m.start),p=this.$clickSelection.comparePoint(m.end);if(f==-1&&p<=0)_=this.$clickSelection.end,(m.end.row!=u.row||m.end.column!=u.column)&&(u=m.start);else if(p==1&&f>=0)_=this.$clickSelection.start,(m.start.row!=u.row||m.start.column!=u.column)&&(u=m.end);else if(f==-1&&p==1)u=m.end,_=m.start;else{var h=c(this.$clickSelection,u);u=h.cursor,_=h.anchor}d.selection.setSelectionAnchor(_.row,_.column)}d.selection.selectToPosition(u),d.$blockScrolling--,d.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var l=s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),_=Date.now();(l>o||_-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(l){var _=l.getDocumentPosition(),d=this.editor,u=d.session,m=u.getBracketRange(_);m?(m.isEmpty()&&(m.start.column--,m.end.column++),this.setState("select")):(m=d.selection.getWordRange(_.row,_.column),this.setState("selectByWords")),this.$clickSelection=m,this.select()},this.onTripleClick=function(l){var _=l.getDocumentPosition(),d=this.editor;this.setState("selectByLines");var u=d.getSelectionRange();u.isMultiLine()&&u.contains(_.row,_.column)?(this.$clickSelection=d.selection.getLineRange(u.start.row),this.$clickSelection.end=d.selection.getLineRange(u.end.row).end):this.$clickSelection=d.selection.getLineRange(_.row),this.select()},this.onQuadClick=function(l){var _=this.editor;_.selectAll(),this.$clickSelection=_.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var _=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var d=this.$lastScroll,u=l.domEvent.timeStamp,m=u-d.t,f=l.wheelX/m,p=l.wheelY/m;m<r&&(f=(f+d.vx)/2,p=(p+d.vy)/2);var h=Math.abs(f/p),b=!1;if(h>=1&&_.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(b=!0),h<=1&&_.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(b=!0),b)d.allowed=u;else if(u-d.allowed<r){var g=Math.abs(f)<=1.1*Math.abs(d.vx)&&Math.abs(p)<=1.1*Math.abs(d.vy);g?(b=!0,d.allowed=u):d.allowed=0}if(d.t=u,d.vx=f,d.vy=p,b)return _.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},this.onTouchMove=function(l){this.editor._emit("mousewheel",l)}}).call(a.prototype),t.DefaultHandlers=a;function s(l,_,d,u){return Math.sqrt(Math.pow(d-l,2)+Math.pow(u-_,2))}function c(l,_){if(l.start.row==l.end.row)var d=2*_.column-l.start.column-l.end.column;else if(l.start.row==l.end.row-1&&!l.start.column&&!l.end.column)var d=_.column-4;else var d=2*_.row-l.start.row-l.end.row;return d<0?{cursor:l.start,anchor:l.end}:{cursor:l.end,anchor:l.start}}});ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){e("./lib/oop");var i=e("./lib/dom");function o(r){this.isOpen=!1,this.$element=null,this.$parentNode=r}(function(){this.$init=function(){return this.$element=i.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(r){i.setInnerText(this.getElement(),r)},this.setHtml=function(r){this.getElement().innerHTML=r},this.setPosition=function(r,a){this.getElement().style.left=r+"px",this.getElement().style.top=a+"px"},this.setClassName=function(r){i.addCssClass(this.getElement(),r)},this.show=function(r,a,s){r!=null&&this.setText(r),a!=null&&s!=null&&this.setPosition(a,s),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(o.prototype),t.Tooltip=o});ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){var i=e("../lib/dom"),o=e("../lib/oop"),r=e("../lib/event"),a=e("../tooltip").Tooltip;function s(l){var _=l.editor,d=_.renderer.$gutterLayer,u=new c(_.container);l.editor.setDefaultHandler("guttermousedown",function(v){if(!(!_.isFocused()||v.getButton()!=0)){var E=d.getRegion(v);if(E!="foldWidgets"){var S=v.getDocumentPosition().row,N=_.session.selection;if(v.getShiftKey())N.selectTo(S,0);else{if(v.domEvent.detail==2)return _.selectAll(),v.preventDefault();l.$clickSelection=_.selection.getLineRange(S)}return l.setState("selectByLines"),l.captureMouse(v),v.preventDefault()}}});var m,f,p;function h(){var v=f.getDocumentPosition().row,E=d.$annotations[v];if(!E)return b();var S=_.session.getLength();if(v==S){var N=_.renderer.pixelToScreenCoordinates(0,f.y).row,C=f.$pos;if(N>_.session.documentToScreenRow(C.row,C.column))return b()}if(p!=E)if(p=E.text.join("<br/>"),u.setHtml(p),u.show(),_._signal("showGutterTooltip",u),_.on("mousewheel",b),l.$tooltipFollowsMouse)g(f);else{var y=f.domEvent.target,A=y.getBoundingClientRect(),R=u.getElement().style;R.left=A.right+"px",R.top=A.bottom+"px"}}function b(){m&&(m=clearTimeout(m)),p&&(u.hide(),p=null,_._signal("hideGutterTooltip",u),_.removeEventListener("mousewheel",b))}function g(v){u.setPosition(v.x,v.y)}l.editor.setDefaultHandler("guttermousemove",function(v){var E=v.domEvent.target||v.domEvent.srcElement;if(i.hasCssClass(E,"ace_fold-widget"))return b();p&&l.$tooltipFollowsMouse&&g(v),f=v,!m&&(m=setTimeout(function(){m=null,f&&!l.isMousePressed?h():b()},50))}),r.addListener(_.renderer.$gutter,"mouseout",function(v){f=null,!(!p||m)&&(m=setTimeout(function(){m=null,b()},50))}),_.on("changeSession",b)}function c(l){a.call(this,l)}o.inherits(c,a),function(){this.setPosition=function(l,_){var d=window.innerWidth||document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight,m=this.getWidth(),f=this.getHeight();l+=15,_+=15,l+m>d&&(l-=l+m-d),_+f>u&&(_-=20+f),a.prototype.setPosition.call(this,l,_)}}.call(c.prototype),t.GutterHandler=s});ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){var i=e("../lib/event"),o=e("../lib/useragent"),r=t.MouseEvent=function(a,s){this.domEvent=a,this.editor=s,this.x=this.clientX=a.clientX,this.y=this.clientY=a.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var a=this.editor,s=a.getSelectionRange();if(s.isEmpty())this.$inSelection=!1;else{var c=this.getDocumentPosition();this.$inSelection=s.contains(c.row,c.column)}return this.$inSelection},this.getButton=function(){return i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=o.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(r.prototype)});ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){var i=e("../lib/dom"),o=e("../lib/event"),r=e("../lib/useragent"),a=200,s=200,c=5;function l(d){var u=d.editor,m=i.createElement("img");m.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",r.isOpera&&(m.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var f=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];f.forEach(function(w){d[w]=this[w]},this),u.addEventListener("mousedown",this.onMouseDown.bind(d));var p=u.container,h,b,g,v,E,S,N=0,C,y,A,R,D;this.onDragStart=function(w){if(this.cancelDrag||!p.draggable){var I=this;return setTimeout(function(){I.startSelect(),I.captureMouse(w)},0),w.preventDefault()}E=u.getSelectionRange();var U=w.dataTransfer;U.effectAllowed=u.getReadOnly()?"copy":"copyMove",r.isOpera&&(u.container.appendChild(m),m.scrollTop=0),U.setDragImage&&U.setDragImage(m,0,0),r.isOpera&&u.container.removeChild(m),U.clearData(),U.setData("Text",u.session.getTextRange()),y=!0,this.setState("drag")},this.onDragEnd=function(w){if(p.draggable=!1,y=!1,this.setState(null),!u.getReadOnly()){var I=w.dataTransfer.dropEffect;!C&&I=="move"&&u.session.remove(u.getSelectionRange()),u.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(w){if(!(u.getReadOnly()||!J(w.dataTransfer)))return b=w.clientX,g=w.clientY,h||q(),N++,w.dataTransfer.dropEffect=C=B(w),o.preventDefault(w)},this.onDragOver=function(w){if(!(u.getReadOnly()||!J(w.dataTransfer)))return b=w.clientX,g=w.clientY,h||(q(),N++),Y!==null&&(Y=null),w.dataTransfer.dropEffect=C=B(w),o.preventDefault(w)},this.onDragLeave=function(w){if(N--,N<=0&&h)return $(),C=null,o.preventDefault(w)},this.onDrop=function(w){if(!!S){var I=w.dataTransfer;if(y)switch(C){case"move":E.contains(S.row,S.column)?E={start:S,end:S}:E=u.moveText(E,S);break;case"copy":E=u.moveText(E,S,!0);break}else{var U=I.getData("Text");E={start:S,end:u.session.insert(S,U)},u.focus(),C=null}return $(),o.preventDefault(w)}},o.addListener(p,"dragstart",this.onDragStart.bind(d)),o.addListener(p,"dragend",this.onDragEnd.bind(d)),o.addListener(p,"dragenter",this.onDragEnter.bind(d)),o.addListener(p,"dragover",this.onDragOver.bind(d)),o.addListener(p,"dragleave",this.onDragLeave.bind(d)),o.addListener(p,"drop",this.onDrop.bind(d));function M(w,I){var U=Date.now(),z=!I||w.row!=I.row,ee=!I||w.column!=I.column;if(!R||z||ee)u.$blockScrolling+=1,u.moveCursorToPosition(w),u.$blockScrolling-=1,R=U,D={x:b,y:g};else{var ae=_(D.x,D.y,b,g);ae>c?R=null:U-R>=s&&(u.renderer.scrollCursorIntoView(),R=null)}}function L(w,I){var U=Date.now(),z=u.renderer.layerConfig.lineHeight,ee=u.renderer.layerConfig.characterWidth,ae=u.renderer.scroller.getBoundingClientRect(),te={x:{left:b-ae.left,right:ae.right-b},y:{top:g-ae.top,bottom:ae.bottom-g}},me=Math.min(te.x.left,te.x.right),he=Math.min(te.y.top,te.y.bottom),Ve={row:w.row,column:w.column};me/ee<=2&&(Ve.column+=te.x.left<te.x.right?-3:2),he/z<=1&&(Ve.row+=te.y.top<te.y.bottom?-1:1);var ze=w.row!=Ve.row,_e=w.column!=Ve.column,Re=!I||w.row!=I.row;ze||_e&&!Re?A?U-A>=a&&u.renderer.scrollCursorIntoView(Ve):A=U:A=null}function F(){var w=S;S=u.renderer.screenToTextCoordinates(b,g),M(S,w),L(S,w)}function q(){E=u.selection.toOrientedRange(),h=u.session.addMarker(E,"ace_selection",u.getSelectionStyle()),u.clearSelection(),u.isFocused()&&u.renderer.$cursorLayer.setBlinking(!1),clearInterval(v),F(),v=setInterval(F,20),N=0,o.addListener(document,"mousemove",X)}function $(){clearInterval(v),u.session.removeMarker(h),h=null,u.$blockScrolling+=1,u.selection.fromOrientedRange(E),u.$blockScrolling-=1,u.isFocused()&&!y&&u.renderer.$cursorLayer.setBlinking(!u.getReadOnly()),E=null,S=null,N=0,A=null,R=null,o.removeListener(document,"mousemove",X)}var Y=null;function X(){Y==null&&(Y=setTimeout(function(){Y!=null&&h&&$()},20))}function J(w){var I=w.types;return!I||Array.prototype.some.call(I,function(U){return U=="text/plain"||U=="Text"})}function B(w){var I=["copy","copymove","all","uninitialized"],U=["move","copymove","linkmove","all","uninitialized"],z=r.isMac?w.altKey:w.ctrlKey,ee="uninitialized";try{ee=w.dataTransfer.effectAllowed.toLowerCase()}catch{}var ae="none";return z&&I.indexOf(ee)>=0?ae="copy":U.indexOf(ee)>=0?ae="move":I.indexOf(ee)>=0&&(ae="copy"),ae}}(function(){this.dragWait=function(){var d=Date.now()-this.mousedownEvent.time;d>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var d=this.editor.container;d.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(d){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var d=this.editor,u=d.container;u.draggable=!0,d.renderer.$cursorLayer.setBlinking(!1),d.setStyle("ace_dragging");var m=r.isWin?"default":"move";d.renderer.setCursorStyle(m),this.setState("dragReady")},this.onMouseDrag=function(d){var u=this.editor.container;if(r.isIE&&this.state=="dragReady"){var m=_(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);m>3&&u.dragDrop()}if(this.state==="dragWait"){var m=_(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);m>0&&(u.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(d){if(!!this.$dragEnabled){this.mousedownEvent=d;var u=this.editor,m=d.inSelection(),f=d.getButton(),p=d.domEvent.detail||1;if(p===1&&f===0&&m){if(d.editor.inMultiSelectMode&&(d.getAccelKey()||d.getShiftKey()))return;this.mousedownEvent.time=Date.now();var h=d.domEvent.target||d.domEvent.srcElement;if("unselectable"in h&&(h.unselectable="on"),u.getDragDelay()){if(r.isWebKit){this.cancelDrag=!0;var b=u.container;b.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(d,this.onMouseDrag.bind(this)),d.defaultPrevented=!0}}}}).call(l.prototype);function _(d,u,m,f){return Math.sqrt(Math.pow(m-d,2)+Math.pow(f-u,2))}t.DragdropHandler=l});ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){var i=e("./dom");t.get=function(o,r){var a=new XMLHttpRequest;a.open("GET",o,!0),a.onreadystatechange=function(){a.readyState===4&&r(a.responseText)},a.send(null)},t.loadScript=function(o,r){var a=i.getDocumentHead(),s=document.createElement("script");s.src=o,a.appendChild(s),s.onload=s.onreadystatechange=function(c,l){(l||!s.readyState||s.readyState=="loaded"||s.readyState=="complete")&&(s=s.onload=s.onreadystatechange=null,l||r())}},t.qualifyURL=function(o){var r=document.createElement("a");return r.href=o,r.href}});ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){var i={},o=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(a,s){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var c=this._eventRegistry[a]||[],l=this._defaultHandlers[a];if(!(!c.length&&!l)){(typeof s!="object"||!s)&&(s={}),s.type||(s.type=a),s.stopPropagation||(s.stopPropagation=o),s.preventDefault||(s.preventDefault=r),c=c.slice();for(var _=0;_<c.length&&(c[_](s,this),!s.propagationStopped);_++);if(l&&!s.defaultPrevented)return l(s,this)}},i._signal=function(a,s){var c=(this._eventRegistry||{})[a];if(!!c){c=c.slice();for(var l=0;l<c.length;l++)c[l](s,this)}},i.once=function(a,s){var c=this;s&&this.addEventListener(a,function l(){c.removeEventListener(a,l),s.apply(null,arguments)})},i.setDefaultHandler=function(a,s){var c=this._defaultHandlers;if(c||(c=this._defaultHandlers={_disabled_:{}}),c[a]){var l=c[a],_=c._disabled_[a];_||(c._disabled_[a]=_=[]),_.push(l);var d=_.indexOf(s);d!=-1&&_.splice(d,1)}c[a]=s},i.removeDefaultHandler=function(a,s){var c=this._defaultHandlers;if(!!c){var l=c._disabled_[a];if(c[a]==s)c[a],l&&this.setDefaultHandler(a,l.pop());else if(l){var _=l.indexOf(s);_!=-1&&l.splice(_,1)}}},i.on=i.addEventListener=function(a,s,c){this._eventRegistry=this._eventRegistry||{};var l=this._eventRegistry[a];return l||(l=this._eventRegistry[a]=[]),l.indexOf(s)==-1&&l[c?"unshift":"push"](s),s},i.off=i.removeListener=i.removeEventListener=function(a,s){this._eventRegistry=this._eventRegistry||{};var c=this._eventRegistry[a];if(!!c){var l=c.indexOf(s);l!==-1&&c.splice(l,1)}},i.removeAllListeners=function(a){this._eventRegistry&&(this._eventRegistry[a]=[])},t.EventEmitter=i});ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var i=e("./oop"),o=e("./event_emitter").EventEmitter,r={setOptions:function(l){Object.keys(l).forEach(function(_){this.setOption(_,l[_])},this)},getOptions:function(l){var _={};return l?Array.isArray(l)||(_=l,l=Object.keys(_)):l=Object.keys(this.$options),l.forEach(function(d){_[d]=this.getOption(d)},this),_},setOption:function(l,_){if(this["$"+l]!==_){var d=this.$options[l];if(!d)return a('misspelled option "'+l+'"');if(d.forwardTo)return this[d.forwardTo]&&this[d.forwardTo].setOption(l,_);d.handlesSet||(this["$"+l]=_),d&&d.set&&d.set.call(this,_)}},getOption:function(l){var _=this.$options[l];return _?_.forwardTo?this[_.forwardTo]&&this[_.forwardTo].getOption(l):_&&_.get?_.get.call(this):this["$"+l]:a('misspelled option "'+l+'"')}};function a(l){typeof console!="undefined"&&console.warn&&console.warn.apply(console,arguments)}function s(l,_){var d=new Error(l);d.data=_,typeof console=="object"&&console.error&&console.error(d),setTimeout(function(){throw d})}var c=function(){this.$defaultOptions={}};(function(){i.implement(this,o),this.defineOptions=function(l,_,d){return l.$options||(this.$defaultOptions[_]=l.$options={}),Object.keys(d).forEach(function(u){var m=d[u];typeof m=="string"&&(m={forwardTo:m}),m.name||(m.name=u),l.$options[m.name]=m,"initialValue"in m&&(l["$"+m.name]=m.initialValue)}),i.implement(l,r),this},this.resetOptions=function(l){Object.keys(l.$options).forEach(function(_){var d=l.$options[_];"value"in d&&l.setOption(_,d.value)})},this.setDefaultValue=function(l,_,d){var u=this.$defaultOptions[l]||(this.$defaultOptions[l]={});u[_]&&(u.forwardTo?this.setDefaultValue(u.forwardTo,_,d):u[_].value=d)},this.setDefaultValues=function(l,_){Object.keys(_).forEach(function(d){this.setDefaultValue(l,d,_[d])},this)},this.warn=a,this.reportError=s}).call(c.prototype),t.AppConfig=c});ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(e,t,n){var i=e("./lib/lang");e("./lib/oop");var o=e("./lib/net"),r=e("./lib/app_config").AppConfig;n.exports=t=new r;var a=function(){return this||typeof window!="undefined"&&window}(),s={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(_){if(!s.hasOwnProperty(_))throw new Error("Unknown config key: "+_);return s[_]},t.set=function(_,d){if(!s.hasOwnProperty(_))throw new Error("Unknown config key: "+_);s[_]=d},t.all=function(){return i.copyObject(s)},t.moduleUrl=function(_,d){if(s.$moduleUrls[_])return s.$moduleUrls[_];var u=_.split("/");d=d||u[u.length-2]||"";var m=d=="snippets"?"/":"-",f=u[u.length-1];if(d=="worker"&&m=="-"){var p=new RegExp("^"+d+"[\\-_]|[\\-_]"+d+"$","g");f=f.replace(p,"")}(!f||f==d)&&u.length>1&&(f=u[u.length-2]);var h=s[d+"Path"];return h==null?h=s.basePath:m=="/"&&(d=m=""),h&&h.slice(-1)!="/"&&(h+="/"),h+d+m+f+this.get("suffix")},t.setModuleUrl=function(_,d){return s.$moduleUrls[_]=d},t.$loading={},t.loadModule=function(_,d){var u,m;Array.isArray(_)&&(m=_[0],_=_[1]);try{u=e(_)}catch{}if(u&&!t.$loading[_])return d&&d(u);if(t.$loading[_]||(t.$loading[_]=[]),t.$loading[_].push(d),!(t.$loading[_].length>1)){var f=function(){e([_],function(p){t._emit("load.module",{name:_,module:p});var h=t.$loading[_];t.$loading[_]=null,h.forEach(function(b){b&&b(p)})})};if(!t.get("packaged"))return f();o.loadScript(t.moduleUrl(_,m),f)}},c(!0);function c(_){if(!(!a||!a.document)){s.packaged=_||e.packaged||n.packaged||a.define&&(void 0).packaged;for(var d={},u="",m=document.currentScript||document._currentScript,f=m&&m.ownerDocument||document,p=f.getElementsByTagName("script"),h=0;h<p.length;h++){var b=p[h],g=b.src||b.getAttribute("src");if(!!g){for(var v=b.attributes,E=0,S=v.length;E<S;E++){var N=v[E];N.name.indexOf("data-ace-")===0&&(d[l(N.name.replace(/^data-ace-/,""))]=N.value)}var C=g.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);C&&(u=C[1])}}u&&(d.base=d.base||u,d.packaged=!0),d.basePath=d.base,d.workerPath=d.workerPath||d.base,d.modePath=d.modePath||d.base,d.themePath=d.themePath||d.base,delete d.base;for(var y in d)typeof d[y]!="undefined"&&t.set(y,d[y])}}t.init=c;function l(_){return _.replace(/-(.)/g,function(d,u){return u.toUpperCase()})}});ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){var i=e("../lib/event"),o=e("../lib/useragent"),r=e("./default_handlers").DefaultHandlers,a=e("./default_gutter_handler").GutterHandler,s=e("./mouse_event").MouseEvent,c=e("./dragdrop_handler").DragdropHandler,l=e("../config"),_=function(d){var u=this;this.editor=d,new r(this),new a(this),new c(this);var m=function(h){var b=!document.hasFocus||!document.hasFocus()||!d.isFocused()&&document.activeElement==(d.textInput&&d.textInput.getElement());b&&window.focus(),d.focus()},f=d.renderer.getMouseEventTarget();i.addListener(f,"click",this.onMouseEvent.bind(this,"click")),i.addListener(f,"mousemove",this.onMouseMove.bind(this,"mousemove")),i.addMultiMouseDownListener([f,d.renderer.scrollBarV&&d.renderer.scrollBarV.inner,d.renderer.scrollBarH&&d.renderer.scrollBarH.inner,d.textInput&&d.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),i.addMouseWheelListener(d.container,this.onMouseWheel.bind(this,"mousewheel")),i.addTouchMoveListener(d.container,this.onTouchMove.bind(this,"touchmove"));var p=d.renderer.$gutter;i.addListener(p,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),i.addListener(p,"click",this.onMouseEvent.bind(this,"gutterclick")),i.addListener(p,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),i.addListener(p,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),i.addListener(f,"mousedown",m),i.addListener(p,"mousedown",m),o.isIE&&d.renderer.scrollBarV&&(i.addListener(d.renderer.scrollBarV.element,"mousedown",m),i.addListener(d.renderer.scrollBarH.element,"mousedown",m)),d.on("mousemove",function(h){if(!(u.state||u.$dragDelay||!u.$dragEnabled)){var b=d.renderer.screenToTextCoordinates(h.x,h.y),g=d.session.selection.getRange(),v=d.renderer;!g.isEmpty()&&g.insideStart(b.row,b.column)?v.setCursorStyle("default"):v.setCursorStyle("")}})};(function(){this.onMouseEvent=function(d,u){this.editor._emit(d,new s(u,this.editor))},this.onMouseMove=function(d,u){var m=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;!m||!m.length||this.editor._emit(d,new s(u,this.editor))},this.onMouseWheel=function(d,u){var m=new s(u,this.editor);m.speed=this.$scrollSpeed*2,m.wheelX=u.wheelX,m.wheelY=u.wheelY,this.editor._emit(d,m)},this.onTouchMove=function(d,u){var m=new s(u,this.editor);m.speed=1,m.wheelX=u.wheelX,m.wheelY=u.wheelY,this.editor._emit(d,m)},this.setState=function(d){this.state=d},this.captureMouse=function(d,u){this.x=d.x,this.y=d.y,this.isMousePressed=!0;var m=this.editor.renderer;m.$keepTextAreaAtCursor&&(m.$keepTextAreaAtCursor=null);var f=this,p=function(v){if(!!v){if(o.isWebKit&&!v.which&&f.releaseMouse)return f.releaseMouse();f.x=v.clientX,f.y=v.clientY,u&&u(v),f.mouseEvent=new s(v,f.editor),f.$mouseMoved=!0}},h=function(v){clearInterval(g),b(),f[f.state+"End"]&&f[f.state+"End"](v),f.state="",m.$keepTextAreaAtCursor==null&&(m.$keepTextAreaAtCursor=!0,m.$moveTextAreaToCursor()),f.isMousePressed=!1,f.$onCaptureMouseMove=f.releaseMouse=null,v&&f.onMouseEvent("mouseup",v)},b=function(){f[f.state]&&f[f.state](),f.$mouseMoved=!1};if(o.isOldIE&&d.domEvent.type=="dblclick")return setTimeout(function(){h(d)});f.$onCaptureMouseMove=p,f.releaseMouse=i.capture(this.editor.container,p,h);var g=setInterval(b,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var d=function(u){u&&u.domEvent&&u.domEvent.type!="contextmenu"||(this.editor.off("nativecontextmenu",d),u&&u.domEvent&&i.stopEvent(u.domEvent))}.bind(this);setTimeout(d,10),this.editor.on("nativecontextmenu",d)}}).call(_.prototype),l.defineOptions(_.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:o.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=_});ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){function i(o){o.on("click",function(r){var a=r.getDocumentPosition(),s=o.session,c=s.getFoldAt(a.row,a.column,1);c&&(r.getAccelKey()?s.removeFold(c):s.expandFold(c),r.stop())}),o.on("gutterclick",function(r){var a=o.renderer.$gutterLayer.getRegion(r);if(a=="foldWidgets"){var s=r.getDocumentPosition().row,c=o.session;c.foldWidgets&&c.foldWidgets[s]&&o.session.onFoldWidgetClick(s,r),o.isFocused()||o.focus(),r.stop()}}),o.on("gutterdblclick",function(r){var a=o.renderer.$gutterLayer.getRegion(r);if(a=="foldWidgets"){var s=r.getDocumentPosition().row,c=o.session,l=c.getParentFoldRangeData(s,!0),_=l.range||l.firstRange;if(_){s=_.start.row;var d=c.getFoldAt(s,c.getLine(s).length,1);d?c.removeFold(d):(c.addFold("...",_),o.renderer.scrollCursorIntoView({row:_.start.row,column:0}))}r.stop()}})}t.FoldHandler=i});ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){var i=e("../lib/keys"),o=e("../lib/event"),r=function(a){this.$editor=a,this.$data={editor:a},this.$handlers=[],this.setDefaultHandler(a.commands)};(function(){this.setDefaultHandler=function(a){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=a,this.addKeyboardHandler(a,0)},this.setKeyboardHandler=function(a){var s=this.$handlers;if(s[s.length-1]!=a){for(;s[s.length-1]&&s[s.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(s[s.length-1]);this.addKeyboardHandler(a,1)}},this.addKeyboardHandler=function(a,s){if(!!a){typeof a=="function"&&!a.handleKeyboard&&(a.handleKeyboard=a);var c=this.$handlers.indexOf(a);c!=-1&&this.$handlers.splice(c,1),s==null?this.$handlers.push(a):this.$handlers.splice(s,0,a),c==-1&&a.attach&&a.attach(this.$editor)}},this.removeKeyboardHandler=function(a){var s=this.$handlers.indexOf(a);return s==-1?!1:(this.$handlers.splice(s,1),a.detach&&a.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var a=this.$data,s=a.editor;return this.$handlers.map(function(c){return c.getStatusText&&c.getStatusText(s,a)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(a,s,c,l){for(var _,d=!1,u=this.$editor.commands,m=this.$handlers.length;m--&&(_=this.$handlers[m].handleKeyboard(this.$data,a,s,c,l),!(!(!_||!_.command)&&(_.command=="null"?d=!0:d=u.exec(_.command,this.$editor,_.args,l),d&&l&&a!=-1&&_.passEvent!=!0&&_.command.passEvent!=!0&&o.stopEvent(l),d))););return!d&&a==-1&&(_={command:"insertstring"},d=u.exec("insertstring",this.$editor,s)),d&&this.$editor._signal&&this.$editor._signal("keyboardActivity",_),d},this.onCommandKey=function(a,s,c){var l=i.keyCodeToString(c);this.$callKeyboardHandlers(s,l,c,a)},this.onTextInput=function(a){this.$callKeyboardHandlers(-1,a)}}).call(r.prototype),t.KeyBinding=r});ace.define("ace/lib/bidiutil",["require","exports","module"],function(e,t,n){var i=0,o=0,r=!1,a=!1,s=!1,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],l=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_=0,d=1,u=0,m=1,f=2,p=3,h=4,b=5,g=6,v=7,E=8,S=9,N=10,C=11,y=12,A=13,R=14,D=15,M=16,L=17,F=18,q=[F,F,F,F,F,F,F,F,F,g,b,g,E,b,F,F,F,F,F,F,F,F,F,F,F,F,F,F,b,b,b,g,E,h,h,C,C,C,h,h,h,h,h,N,S,N,S,S,f,f,f,f,f,f,f,f,f,f,S,h,h,h,h,h,h,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,h,h,h,h,h,h,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,h,h,h,h,F,F,F,F,F,F,b,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,S,h,C,C,C,C,h,h,h,h,u,h,h,F,h,h,C,C,f,f,h,u,h,h,h,f,u,h,h,h,h,h],$=[E,E,E,E,E,E,E,E,E,E,E,F,F,F,u,m,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,E,b,A,R,D,M,L,S,C,C,C,C,C,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,S,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,E];function Y(w,I,U,z){var ee=i?l:c,ae=null,te=null,me=null,he=0,Ve=null,ze=null,_e=-1,Re=null,De=null,Vt=[];if(!z)for(Re=0,z=[];Re<U;Re++)z[Re]=B(w[Re]);for(o=i,r=!1,a=!1,s=!1,De=0;De<U;De++){if(ae=he,Vt[De]=te=J(w,z,Vt,De),he=ee[ae][te],Ve=he&240,he&=15,I[De]=me=ee[he][5],Ve>0)if(Ve==16){for(Re=_e;Re<De;Re++)I[Re]=1;_e=-1}else _e=-1;if(ze=ee[he][6],ze)_e==-1&&(_e=De);else if(_e>-1){for(Re=_e;Re<De;Re++)I[Re]=me;_e=-1}z[De]==b&&(I[De]=0),o|=me}if(s){for(Re=0;Re<U;Re++)if(z[Re]==g){I[Re]=i;for(var Zt=Re-1;Zt>=0&&z[Zt]==E;Zt--)I[Zt]=i}}}function X(w,I,U){if(!(o<w)){if(w==1&&i==d&&!a){U.reverse();return}for(var z=U.length,ee=0,ae,te,me,he;ee<z;){if(I[ee]>=w){for(ae=ee+1;ae<z&&I[ae]>=w;)ae++;for(te=ee,me=ae-1;te<me;te++,me--)he=U[te],U[te]=U[me],U[me]=he;ee=ae}ee++}}}function J(w,I,U,z){var ee=I[z],ae,te,me,he;switch(ee){case u:case m:r=!1;case h:case p:return ee;case f:return r?p:f;case v:return r=!0,m;case E:return h;case S:return z<1||z+1>=I.length||(ae=U[z-1])!=f&&ae!=p||(te=I[z+1])!=f&&te!=p?h:(r&&(te=p),te==ae?te:h);case N:return ae=z>0?U[z-1]:b,ae==f&&z+1<I.length&&I[z+1]==f?f:h;case C:if(z>0&&U[z-1]==f)return f;if(r)return h;for(he=z+1,me=I.length;he<me&&I[he]==C;)he++;return he<me&&I[he]==f?f:h;case y:for(me=I.length,he=z+1;he<me&&I[he]==y;)he++;if(he<me){var Ve=w[z],ze=Ve>=1425&&Ve<=2303||Ve==64286;if(ae=I[he],ze&&(ae==m||ae==v))return m}return z<1||(ae=I[z-1])==b?h:U[z-1];case b:return r=!1,a=!0,i;case g:return s=!0,h;case A:case R:case M:case L:case D:r=!1;case F:return h}}function B(w){var I=w.charCodeAt(0),U=I>>8;return U==0?I>191?u:q[I]:U==5?/[\u0591-\u05f4]/.test(w)?m:u:U==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(w)?y:/[\u0660-\u0669\u066b-\u066c]/.test(w)?p:I==1642?C:/[\u06f0-\u06f9]/.test(w)?f:v:U==32&&I<=8287?$[I&255]:U==254&&I>=65136?v:h}t.L=u,t.R=m,t.EN=f,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="\xB7",t.doBidiReorder=function(w,I,U){if(w.length<2)return{};var z=w.split(""),ee=new Array(z.length),ae=new Array(z.length),te=[];i=U?d:_,Y(z,te,z.length,I);for(var me=0;me<ee.length;ee[me]=me,me++);X(2,te,ee),X(1,te,ee);for(var me=0;me<ee.length-1;me++)I[me]===p?te[me]=t.AN:te[me]===m&&(I[me]>v&&I[me]<A||I[me]===h||I[me]===F)?te[me]=t.ON_R:me>0&&z[me-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(z[me])&&(te[me-1]=te[me]=t.R_H,me++);z[z.length-1]===t.DOT&&(te[z.length-1]=t.B);for(var me=0;me<ee.length;me++)ae[me]=te[ee[me]];return{logicalFromVisual:ee,bidiLevels:ae}},t.hasBidiCharacters=function(w,I){for(var U=!1,z=0;z<w.length;z++)I[z]=B(w.charAt(z)),!U&&(I[z]==m||I[z]==v)&&(U=!0);return U},t.getVisualFromLogicalIdx=function(w,I){for(var U=0;U<I.logicalFromVisual.length;U++)if(I.logicalFromVisual[U]==w)return U;return 0}});ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang","ace/lib/useragent"],function(e,t,n){var i=e("./lib/bidiutil"),o=e("./lib/lang"),r=e("./lib/useragent"),a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=function(c){this.session=c,this.bidiMap={},this.currentRow=null,this.bidiUtil=i,this.charWidths=[],this.EOL="\xAC",this.showInvisibles=!0,this.isRtlDir=!1,this.line="",this.wrapIndent=0,this.isLastRow=!1,this.EOF="\xB6",this.seenBidi=!1};(function(){this.isBidiRow=function(c,l,_){return this.seenBidi?(c!==this.currentRow&&(this.currentRow=c,this.updateRowLine(l,_),this.updateBidiMap()),this.bidiMap.bidiLevels):!1},this.onChange=function(c){this.seenBidi?this.currentRow=null:c.action=="insert"&&a.test(c.lines.join(`
|
|
`))&&(this.seenBidi=!0,this.currentRow=null)},this.getDocumentRow=function(){var c=0,l=this.session.$screenRowCache;if(l.length){var _=this.session.$getRowCacheIndex(l,this.currentRow);_>=0&&(c=this.session.$docRowCache[_])}return c},this.getSplitIndex=function(){var c=0,l=this.session.$screenRowCache;if(l.length)for(var _,d=this.session.$getRowCacheIndex(l,this.currentRow);this.currentRow-c>0&&(_=this.session.$getRowCacheIndex(l,this.currentRow-c-1),_===d);)d=_,c++;return c},this.updateRowLine=function(c,l){if(c===void 0&&(c=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=c===this.session.getLength()-1,this.line=this.session.getLine(c),this.session.$useWrapMode){var _=this.session.$wrapData[c];_&&(l===void 0&&(l=this.getSplitIndex()),l>0&&_.length?(this.wrapIndent=_.indent,this.line=l<_.length?this.line.substring(_[l-1],_[_.length-1]):this.line.substring(_[_.length-1])):this.line=this.line.substring(0,_[l]))}var d=this.session,u=0,m;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(f,p){return f===" "||d.isFullWidth(f.charCodeAt(0))?(m=f===" "?d.getScreenTabSize(p+u):2,u+=m-1,o.stringRepeat(i.DOT,m)):f})},this.updateBidiMap=function(){var c=[],l=this.isLastRow?this.EOF:this.EOL,_=this.line+(this.showInvisibles?l:i.DOT);i.hasBidiCharacters(_,c)?this.bidiMap=i.doBidiReorder(_,c,this.isRtlDir):this.bidiMap={}},this.markAsDirty=function(){this.currentRow=null},this.updateCharacterWidths=function(c){if(!!this.seenBidi&&this.characterWidth!==c.$characterSize.width){var l=this.characterWidth=c.$characterSize.width,_=c.$measureCharWidth("\u05D4");this.charWidths[i.L]=this.charWidths[i.EN]=this.charWidths[i.ON_R]=l,this.charWidths[i.R]=this.charWidths[i.AN]=_,this.charWidths[i.R_H]=r.isChrome?_:_*.45,this.charWidths[i.B]=0,this.currentRow=null}},this.getShowInvisibles=function(){return this.showInvisibles},this.setShowInvisibles=function(c){this.showInvisibles=c,this.currentRow=null},this.setEolChar=function(c){this.EOL=c},this.setTextDir=function(c){this.isRtlDir=c},this.getPosLeft=function(c){c-=this.wrapIndent;var l=i.getVisualFromLogicalIdx(c>0?c-1:0,this.bidiMap),_=this.bidiMap.bidiLevels,d=0;c===0&&_[l]%2!==0&&l++;for(var u=0;u<l;u++)d+=this.charWidths[_[u]];return c!==0&&_[l]%2===0&&(d+=this.charWidths[_[l]]),this.wrapIndent&&(d+=this.wrapIndent*this.charWidths[i.L]),d},this.getSelections=function(c,l){for(var _=this.bidiMap,d=_.bidiLevels,u,m=this.wrapIndent*this.charWidths[i.L],f=[],p=Math.min(c,l)-this.wrapIndent,h=Math.max(c,l)-this.wrapIndent,b=!1,g=!1,v=0,E,S=0;S<d.length;S++)E=_.logicalFromVisual[S],u=d[S],b=E>=p&&E<h,b&&!g?v=m:!b&&g&&f.push({left:v,width:m-v}),m+=this.charWidths[u],g=b;return b&&S===d.length&&f.push({left:v,width:m-v}),f},this.offsetToCol=function(_){var l=0,_=Math.max(_,0),d=0,u=0,m=this.bidiMap.bidiLevels,f=this.charWidths[m[u]];for(this.wrapIndent&&(_-=this.wrapIndent*this.charWidths[i.L]);_>d+f/2;){if(d+=f,u===m.length-1){f=0;break}f=this.charWidths[m[++u]]}return u>0&&m[u-1]%2!==0&&m[u]%2===0?(_<d&&u--,l=this.bidiMap.logicalFromVisual[u]):u>0&&m[u-1]%2===0&&m[u]%2!==0?l=1+(_>d?this.bidiMap.logicalFromVisual[u]:this.bidiMap.logicalFromVisual[u-1]):this.isRtlDir&&u===m.length-1&&f===0&&m[u-1]%2===0||!this.isRtlDir&&u===0&&m[u]%2!==0?l=1+this.bidiMap.logicalFromVisual[u]:(u>0&&m[u-1]%2!==0&&f!==0&&u--,l=this.bidiMap.logicalFromVisual[u]),l+this.wrapIndent}}).call(s.prototype),t.BidiHandler=s});ace.define("ace/range",["require","exports","module"],function(e,t,n){var i=function(r,a){return r.row-a.row||r.column-a.column},o=function(r,a,s,c){this.start={row:r,column:a},this.end={row:s,column:c}};(function(){this.isEqual=function(r){return this.start.row===r.start.row&&this.end.row===r.end.row&&this.start.column===r.start.column&&this.end.column===r.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(r,a){return this.compare(r,a)==0},this.compareRange=function(r){var a,s=r.end,c=r.start;return a=this.compare(s.row,s.column),a==1?(a=this.compare(c.row,c.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(c.row,c.column),a==-1?-1:a==1?42:0)},this.comparePoint=function(r){return this.compare(r.row,r.column)},this.containsRange=function(r){return this.comparePoint(r.start)==0&&this.comparePoint(r.end)==0},this.intersects=function(r){var a=this.compareRange(r);return a==-1||a==0||a==1},this.isEnd=function(r,a){return this.end.row==r&&this.end.column==a},this.isStart=function(r,a){return this.start.row==r&&this.start.column==a},this.setStart=function(r,a){typeof r=="object"?(this.start.column=r.column,this.start.row=r.row):(this.start.row=r,this.start.column=a)},this.setEnd=function(r,a){typeof r=="object"?(this.end.column=r.column,this.end.row=r.row):(this.end.row=r,this.end.column=a)},this.inside=function(r,a){return this.compare(r,a)==0?!(this.isEnd(r,a)||this.isStart(r,a)):!1},this.insideStart=function(r,a){return this.compare(r,a)==0?!this.isEnd(r,a):!1},this.insideEnd=function(r,a){return this.compare(r,a)==0?!this.isStart(r,a):!1},this.compare=function(r,a){return!this.isMultiLine()&&r===this.start.row?a<this.start.column?-1:a>this.end.column?1:0:r<this.start.row?-1:r>this.end.row?1:this.start.row===r?a>=this.start.column?0:-1:this.end.row===r?a<=this.end.column?0:1:0},this.compareStart=function(r,a){return this.start.row==r&&this.start.column==a?-1:this.compare(r,a)},this.compareEnd=function(r,a){return this.end.row==r&&this.end.column==a?1:this.compare(r,a)},this.compareInside=function(r,a){return this.end.row==r&&this.end.column==a?1:this.start.row==r&&this.start.column==a?-1:this.compare(r,a)},this.clipRows=function(r,a){if(this.end.row>a)var s={row:a+1,column:0};else if(this.end.row<r)var s={row:r,column:0};if(this.start.row>a)var c={row:a+1,column:0};else if(this.start.row<r)var c={row:r,column:0};return o.fromPoints(c||this.start,s||this.end)},this.extend=function(r,a){var s=this.compare(r,a);if(s==0)return this;if(s==-1)var c={row:r,column:a};else var l={row:r,column:a};return o.fromPoints(c||this.start,l||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return o.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new o(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new o(this.start.row,0,this.end.row,0)},this.toScreenRange=function(r){var a=r.documentToScreenPosition(this.start),s=r.documentToScreenPosition(this.end);return new o(a.row,a.column,s.row,s.column)},this.moveBy=function(r,a){this.start.row+=r,this.start.column+=a,this.end.row+=r,this.end.column+=a}}).call(o.prototype),o.fromPoints=function(r,a){return new o(r.row,r.column,a.row,a.column)},o.comparePoints=i,o.comparePoints=function(r,a){return r.row-a.row||r.column-a.column},t.Range=o});ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/lang"),r=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(c){this.session=c,this.doc=c.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var l=this;this.lead.on("change",function(_){l._emit("changeCursor"),l.$isEmpty||l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&_.old.column!=_.value.column&&(l.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){l.$isEmpty||l._emit("changeSelection")})};(function(){i.implement(this,r),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return this.isEmpty()?!1:this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(c,l){this.anchor.setPosition(c,l),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(c){if(this.$isEmpty){this.moveCursorTo(this.lead.row,this.lead.column+c);return}var l=this.getSelectionAnchor(),_=this.getSelectionLead(),d=this.isBackwards();(!d||l.column!==0)&&this.setSelectionAnchor(l.row,l.column+c),(d||_.column!==0)&&this.$moveSelection(function(){this.moveCursorTo(_.row,_.column+c)})},this.isBackwards=function(){var c=this.anchor,l=this.lead;return c.row>l.row||c.row==l.row&&c.column>l.column},this.getRange=function(){var c=this.anchor,l=this.lead;return this.isEmpty()?a.fromPoints(l,l):this.isBackwards()?a.fromPoints(l,c):a.fromPoints(c,l)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var c=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(c,this.doc.getLine(c).length)},this.setRange=this.setSelectionRange=function(c,l){l?(this.setSelectionAnchor(c.end.row,c.end.column),this.selectTo(c.start.row,c.start.column)):(this.setSelectionAnchor(c.start.row,c.start.column),this.selectTo(c.end.row,c.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(c){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),c.call(this)},this.selectTo=function(c,l){this.$moveSelection(function(){this.moveCursorTo(c,l)})},this.selectToPosition=function(c){this.$moveSelection(function(){this.moveCursorToPosition(c)})},this.moveTo=function(c,l){this.clearSelection(),this.moveCursorTo(c,l)},this.moveToPosition=function(c){this.clearSelection(),this.moveCursorToPosition(c)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(c,l){if(typeof l=="undefined"){var _=c||this.lead;c=_.row,l=_.column}return this.session.getWordRange(c,l)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var c=this.getCursor(),l=this.session.getAWordRange(c.row,c.column);this.setSelectionRange(l)},this.getLineRange=function(c,l){var _=typeof c=="number"?c:this.lead.row,d,u=this.session.getFoldLine(_);return u?(_=u.start.row,d=u.end.row):d=_,l===!0?new a(_,0,d,this.session.getLine(d).length):new a(_,0,d+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(c,l,_){var d=c.column,u=c.column+l;return _<0&&(d=c.column-l,u=c.column),this.session.isTabStop(c)&&this.doc.getLine(c.row).slice(d,u).split(" ").length-1==l},this.moveCursorLeft=function(){var c=this.lead.getPosition(),l;if(l=this.session.getFoldAt(c.row,c.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(c.column===0)c.row>0&&this.moveCursorTo(c.row-1,this.doc.getLine(c.row-1).length);else{var _=this.session.getTabSize();this.wouldMoveIntoSoftTab(c,_,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-_):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var c=this.lead.getPosition(),l;if(l=this.session.getFoldAt(c.row,c.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var _=this.session.getTabSize(),c=this.lead;this.wouldMoveIntoSoftTab(c,_,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,_):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var c=this.lead.row,l=this.lead.column,_=this.session.documentToScreenRow(c,l),d=this.session.screenToDocumentPosition(_,0),u=this.session.getDisplayLine(c,null,d.row,d.column),m=u.match(/^\s*/);m[0].length!=l&&!this.session.$useEmacsStyleLineStart&&(d.column+=m[0].length),this.moveCursorToPosition(d)},this.moveCursorLineEnd=function(){var c=this.lead,l=this.session.getDocumentLastRowColumnPosition(c.row,c.column);if(this.lead.column==l.column){var _=this.session.getLine(l.row);if(l.column==_.length){var d=_.search(/\s+$/);d>0&&(l.column=d)}}this.moveCursorTo(l.row,l.column)},this.moveCursorFileEnd=function(){var c=this.doc.getLength()-1,l=this.doc.getLine(c).length;this.moveCursorTo(c,l)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var c=this.lead.row,l=this.lead.column,_=this.doc.getLine(c),d=_.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var u=this.session.getFoldAt(c,l,1);if(u){this.moveCursorTo(u.end.row,u.end.column);return}if(this.session.nonTokenRe.exec(d)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,d=_.substring(l)),l>=_.length){this.moveCursorTo(c,_.length),this.moveCursorRight(),c<this.doc.getLength()-1&&this.moveCursorWordRight();return}this.session.tokenRe.exec(d)&&(l+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(c,l)},this.moveCursorLongWordLeft=function(){var c=this.lead.row,l=this.lead.column,_;if(_=this.session.getFoldAt(c,l,-1)){this.moveCursorTo(_.start.row,_.start.column);return}var d=this.session.getFoldStringAt(c,l,-1);d==null&&(d=this.doc.getLine(c).substring(0,l));var u=o.stringReverse(d);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(u)&&(l-=this.session.nonTokenRe.lastIndex,u=u.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),l<=0){this.moveCursorTo(c,0),this.moveCursorLeft(),c>0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(u)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(c,l)},this.$shortWordEndIndex=function(c){var l=0,_,d=/\s/,u=this.session.tokenRe;if(u.lastIndex=0,this.session.tokenRe.exec(c))l=this.session.tokenRe.lastIndex;else{for(;(_=c[l])&&d.test(_);)l++;if(l<1){for(u.lastIndex=0;(_=c[l])&&!u.test(_);)if(u.lastIndex=0,l++,d.test(_))if(l>2){l--;break}else{for(;(_=c[l])&&d.test(_);)l++;if(l>2)break}}}return u.lastIndex=0,l},this.moveCursorShortWordRight=function(){var c=this.lead.row,l=this.lead.column,_=this.doc.getLine(c),d=_.substring(l),u=this.session.getFoldAt(c,l,1);if(u)return this.moveCursorTo(u.end.row,u.end.column);if(l==_.length){var m=this.doc.getLength();do c++,d=this.doc.getLine(c);while(c<m&&/^\s*$/.test(d));/^\s+/.test(d)||(d=""),l=0}var f=this.$shortWordEndIndex(d);this.moveCursorTo(c,l+f)},this.moveCursorShortWordLeft=function(){var c=this.lead.row,l=this.lead.column,_;if(_=this.session.getFoldAt(c,l,-1))return this.moveCursorTo(_.start.row,_.start.column);var d=this.session.getLine(c).substring(0,l);if(l===0){do c--,d=this.doc.getLine(c);while(c>0&&/^\s*$/.test(d));l=d.length,/\s+$/.test(d)||(d="")}var u=o.stringReverse(d),m=this.$shortWordEndIndex(u);return this.moveCursorTo(c,l-m)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(c,l){var _=this.session.documentToScreenPosition(this.lead.row,this.lead.column),d;l===0&&(c!==0&&(this.session.$bidiHandler.isBidiRow(_.row,this.lead.row)?(d=this.session.$bidiHandler.getPosLeft(_.column),_.column=Math.round(d/this.session.$bidiHandler.charWidths[0])):d=_.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?_.column=this.$desiredColumn:this.$desiredColumn=_.column);var u=this.session.screenToDocumentPosition(_.row+c,_.column,d);c!==0&&l===0&&u.row===this.lead.row&&u.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[u.row]&&(u.row>0||c>0)&&u.row++,this.moveCursorTo(u.row,u.column+l,l===0)},this.moveCursorToPosition=function(c){this.moveCursorTo(c.row,c.column)},this.moveCursorTo=function(c,l,_){var d=this.session.getFoldAt(c,l,1);d&&(c=d.start.row,l=d.start.column),this.$keepDesiredColumnOnChange=!0;var u=this.session.getLine(c);/[\uDC00-\uDFFF]/.test(u.charAt(l))&&u.charAt(l-1)&&(this.lead.row==c&&this.lead.column==l+1?l=l-1:l=l+1),this.lead.setPosition(c,l),this.$keepDesiredColumnOnChange=!1,_||(this.$desiredColumn=null)},this.moveCursorToScreen=function(c,l,_){var d=this.session.screenToDocumentPosition(c,l);this.moveCursorTo(d.row,d.column,_)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(c){this.setSelectionRange(c,c.cursor==c.start),this.$desiredColumn=c.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(c){var l=this.getRange();return c?(c.start.column=l.start.column,c.start.row=l.start.row,c.end.column=l.end.column,c.end.row=l.end.row):c=l,c.cursor=this.isBackwards()?c.start:c.end,c.desiredColumn=this.$desiredColumn,c},this.getRangeOfMovements=function(c){var l=this.getCursor();try{c(this);var _=this.getCursor();return a.fromPoints(l,_)}catch{return a.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},this.toJSON=function(){if(this.rangeCount)var c=this.ranges.map(function(l){var _=l.clone();return _.isBackwards=l.cursor==l.start,_});else{var c=this.getRange();c.isBackwards=this.isBackwards()}return c},this.fromJSON=function(c){if(c.start==null)if(this.rangeList){this.toSingleRange(c[0]);for(var l=c.length;l--;){var _=a.fromPoints(c[l].start,c[l].end);c[l].isBackwards&&(_.cursor=_.start),this.addRange(_,!0)}return}else c=c[0];this.rangeList&&this.toSingleRange(c),this.setSelectionRange(c,c.isBackwards)},this.isEqual=function(c){if((c.length||this.rangeCount)&&c.length!=this.rangeCount)return!1;if(!c.length||!this.ranges)return this.getRange().isEqual(c);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(c[l]))return!1;return!0}}).call(s.prototype),t.Selection=s});ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){var i=e("./config"),o=2e3,r=function(a){this.states=a,this.regExps={},this.matchMappings={};for(var s in this.states){for(var c=this.states[s],l=[],_=0,d=this.matchMappings[s]={defaultToken:"text"},u="g",m=[],f=0;f<c.length;f++){var p=c[f];if(p.defaultToken&&(d.defaultToken=p.defaultToken),p.caseInsensitive&&(u="gi"),p.regex!=null){p.regex instanceof RegExp&&(p.regex=p.regex.toString().slice(1,-1));var h=p.regex,b=new RegExp("(?:("+h+")|(.))").exec("a").length-2;Array.isArray(p.token)?p.token.length==1||b==1?p.token=p.token[0]:b-1!=p.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:p,groupCount:b-1}),p.token=p.token[0]):(p.tokenArray=p.token,p.token=null,p.onMatch=this.$arrayTokens):typeof p.token=="function"&&!p.onMatch&&(b>1?p.onMatch=this.$applyToken:p.onMatch=p.token),b>1&&(/\\\d/.test(p.regex)?h=p.regex.replace(/\\([0-9]+)/g,function(g,v){return"\\"+(parseInt(v,10)+_+1)}):(b=1,h=this.removeCapturingGroups(p.regex)),!p.splitRegex&&typeof p.token!="string"&&m.push(p)),d[_]=f,_+=b,l.push(h),p.onMatch||(p.onMatch=null)}}l.length||(d[0]=0,l.push("$")),m.forEach(function(g){g.splitRegex=this.createSplitterRegexp(g.regex,u)},this),this.regExps[s]=new RegExp("("+l.join(")|(")+")|($)",u)}};(function(){this.$setMaxTokenCount=function(a){o=a|0},this.$applyToken=function(a){var s=this.splitRegex.exec(a).slice(1),c=this.token.apply(this,s);if(typeof c=="string")return[{type:c,value:a}];for(var l=[],_=0,d=c.length;_<d;_++)s[_]&&(l[l.length]={type:c[_],value:s[_]});return l},this.$arrayTokens=function(a){if(!a)return[];var s=this.splitRegex.exec(a);if(!s)return"text";for(var c=[],l=this.tokenArray,_=0,d=l.length;_<d;_++)s[_+1]&&(c[c.length]={type:l[_],value:s[_+1]});return c},this.removeCapturingGroups=function(a){var s=a.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(c,l){return l?"(?:":c});return s},this.createSplitterRegexp=function(a,s){if(a.indexOf("(?=")!=-1){var c=0,l=!1,_={};a.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(d,u,m,f,p,h){return l?l=p!="]":p?l=!0:f?(c==_.stack&&(_.end=h+1,_.stack=-1),c--):m&&(c++,m.length!=1&&(_.stack=c,_.start=h)),d}),_.end!=null&&/^\)*$/.test(a.substr(_.end))&&(a=a.substring(0,_.start)+a.substr(_.end))}return a.charAt(0)!="^"&&(a="^"+a),a.charAt(a.length-1)!="$"&&(a+="$"),new RegExp(a,(s||"").replace("g",""))},this.getLineTokens=function(a,s){if(s&&typeof s!="string"){var c=s.slice(0);s=c[0],s==="#tmp"&&(c.shift(),s=c.shift())}else var c=[];var l=s||"start",_=this.states[l];_||(l="start",_=this.states[l]);var d=this.matchMappings[l],u=this.regExps[l];u.lastIndex=0;for(var m,f=[],p=0,h=0,b={type:null,value:""};m=u.exec(a);){var g=d.defaultToken,v=null,E=m[0],S=u.lastIndex;if(S-E.length>p){var N=a.substring(p,S-E.length);b.type==g?b.value+=N:(b.type&&f.push(b),b={type:g,value:N})}for(var C=0;C<m.length-2;C++)if(m[C+1]!==void 0){v=_[d[C]],v.onMatch?g=v.onMatch(E,l,c,a):g=v.token,v.next&&(typeof v.next=="string"?l=v.next:l=v.next(l,c),_=this.states[l],_||(this.reportError("state doesn't exist",l),l="start",_=this.states[l]),d=this.matchMappings[l],p=S,u=this.regExps[l],u.lastIndex=S),v.consumeLineEnd&&(p=S);break}if(E){if(typeof g=="string")(!v||v.merge!==!1)&&b.type===g?b.value+=E:(b.type&&f.push(b),b={type:g,value:E});else if(g){b.type&&f.push(b),b={type:null,value:""};for(var C=0;C<g.length;C++)f.push(g[C])}}if(p==a.length)break;if(p=S,h++>o){for(h>2*a.length&&this.reportError("infinite loop with in ace tokenizer",{startState:s,line:a});p<a.length;)b.type&&f.push(b),b={value:a.substring(p,p+=2e3),type:"overflow"};l="start",c=[];break}}return b.type&&f.push(b),c.length>1&&c[0]!==l&&c.unshift("#tmp",l),{tokens:f,state:c.length?c:l}},this.reportError=i.reportError}).call(r.prototype),t.Tokenizer=r});ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){var i=e("../lib/lang"),o=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(s,c){if(!c){for(var l in s)this.$rules[l]=s[l];return}for(var l in s){for(var _=s[l],d=0;d<_.length;d++){var u=_[d];(u.next||u.onMatch)&&(typeof u.next=="string"&&u.next.indexOf(c)!==0&&(u.next=c+u.next),u.nextState&&u.nextState.indexOf(c)!==0&&(u.nextState=c+u.nextState))}this.$rules[c+l]=_}},this.getRules=function(){return this.$rules},this.embedRules=function(s,c,l,_,d){var u=typeof s=="function"?new s().getRules():s;if(_)for(var m=0;m<_.length;m++)_[m]=c+_[m];else{_=[];for(var f in u)_.push(c+f)}if(this.addRules(u,c),l)for(var p=Array.prototype[d?"push":"unshift"],m=0;m<_.length;m++)p.apply(this.$rules[_[m]],i.deepCopy(l));this.$embeds||(this.$embeds=[]),this.$embeds.push(c)},this.getEmbeds=function(){return this.$embeds};var r=function(s,c){return(s!="start"||c.length)&&c.unshift(this.nextState,s),this.nextState},a=function(s,c){return c.shift(),c.shift()||"start"};this.normalizeRules=function(){var s=0,c=this.$rules;function l(_){var d=c[_];d.processed=!0;for(var u=0;u<d.length;u++){var m=d[u],f=null;Array.isArray(m)&&(f=m,m={}),!m.regex&&m.start&&(m.regex=m.start,m.next||(m.next=[]),m.next.push({defaultToken:m.token},{token:m.token+".end",regex:m.end||m.start,next:"pop"}),m.token=m.token+".start",m.push=!0);var p=m.next||m.push;if(p&&Array.isArray(p)){var h=m.stateName;h||(h=m.token,typeof h!="string"&&(h=h[0]||""),c[h]&&(h+=s++)),c[h]=p,m.next=h,l(h)}else p=="pop"&&(m.next=a);if(m.push&&(m.nextState=m.next||m.push,m.next=r,delete m.push),m.rules)for(var b in m.rules)c[b]?c[b].push&&c[b].push.apply(c[b],m.rules[b]):c[b]=m.rules[b];var g=typeof m=="string"?m:m.include;if(g&&(Array.isArray(g)?f=g.map(function(E){return c[E]}):f=c[g]),f){var v=[u,1].concat(f);m.noEscape&&(v=v.filter(function(E){return!E.next})),d.splice.apply(d,v),u--}m.keywordMap&&(m.token=this.createKeywordMapper(m.keywordMap,m.defaultToken||"text",m.caseInsensitive),delete m.defaultToken)}}Object.keys(c).forEach(l,this)},this.createKeywordMapper=function(s,c,l,_){var d=Object.create(null);return Object.keys(s).forEach(function(u){var m=s[u];l&&(m=m.toLowerCase());for(var f=m.split(_||"|"),p=f.length;p--;)d[f[p]]=u}),Object.getPrototypeOf(d)&&(d.__proto__=null),this.$keywordList=Object.keys(d),s=null,l?function(u){return d[u.toLowerCase()]||c}:function(u){return d[u]||c}},this.getKeywords=function(){return this.$keywords}}).call(o.prototype),t.TextHighlightRules=o});ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){var i=function(){this.$behaviours={}};(function(){this.add=function(o,r,a){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[o]:this.$behaviours[o]={}}this.$behaviours[o][r]=a},this.addBehaviours=function(o){for(var r in o)for(var a in o[r])this.add(r,a,o[r][a])},this.remove=function(o){this.$behaviours&&this.$behaviours[o]&&delete this.$behaviours[o]},this.inherit=function(o,r){if(typeof o=="function")var a=new o().getBehaviours(r);else var a=o.getBehaviours(r);this.addBehaviours(a)},this.getBehaviours=function(o){if(o){for(var r={},a=0;a<o.length;a++)this.$behaviours[o[a]]&&(r[o[a]]=this.$behaviours[o[a]]);return r}else return this.$behaviours}}).call(i.prototype),t.Behaviour=i});ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(e,t,n){var i=e("./range").Range,o=function(r,a,s){this.$session=r,this.$row=a,this.$rowTokens=r.getTokens(a);var c=r.getTokenAt(a,s);this.$tokenIndex=c?c.index:-1};(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;for(var r;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,r||(r=this.$session.getLength()),this.$row>=r)return this.$row=r-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var r=this.$rowTokens,a=this.$tokenIndex,s=r[a].start;if(s!==void 0)return s;for(s=0;a>0;)a-=1,s+=r[a].value.length;return s},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var r=this.$rowTokens[this.$tokenIndex],a=this.getCurrentTokenColumn();return new i(this.$row,a,this.$row,a+r.value.length)}}).call(o.prototype),t.TokenIterator=o});ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){var i=e("../../lib/oop"),o=e("../behaviour").Behaviour,r=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),s=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],l,_={},d={'"':'"',"'":"'"},u=function(p){var h=-1;if(p.multiSelect&&(h=p.selection.index,_.rangeCount!=p.multiSelect.rangeCount&&(_={rangeCount:p.multiSelect.rangeCount})),_[h])return l=_[h];l=_[h]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},m=function(p,h,b,g){var v=p.end.row-p.start.row;return{text:b+h+g,selection:[0,p.start.column+1,v,p.end.column+(v?0:1)]}},f=function(p){this.add("braces","insertion",function(h,b,g,v,E){var S=g.getCursorPosition(),N=v.doc.getLine(S.row);if(E=="{"){u(g);var C=g.getSelectionRange(),y=v.doc.getTextRange(C);if(y!==""&&y!=="{"&&g.getWrapBehavioursEnabled())return m(C,y,"{","}");if(f.isSaneInsertion(g,v))return/[\]\}\)]/.test(N[S.column])||g.inMultiSelectMode||p&&p.braces?(f.recordAutoInsert(g,v,"}"),{text:"{}",selection:[1,1]}):(f.recordMaybeInsert(g,v,"{"),{text:"{",selection:[1,1]})}else if(E=="}"){u(g);var A=N.substring(S.column,S.column+1);if(A=="}"){var R=v.$findOpeningBracket("}",{column:S.column+1,row:S.row});if(R!==null&&f.isAutoInsertedClosing(S,N,E))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(E==`
|
|
`||E==`\r
|
|
`){u(g);var D="";f.isMaybeInsertedClosing(S,N)&&(D=a.stringRepeat("}",l.maybeInsertedBrackets),f.clearMaybeInsertedClosing());var A=N.substring(S.column,S.column+1);if(A==="}"){var M=v.findMatchingBracket({row:S.row,column:S.column+1},"}");if(!M)return null;var L=this.$getIndent(v.getLine(M.row))}else if(D)var L=this.$getIndent(N);else{f.clearMaybeInsertedClosing();return}var F=L+v.getTabString();return{text:`
|
|
`+F+`
|
|
`+L+D,selection:[1,F.length,1,F.length]}}else f.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(h,b,g,v,E){var S=v.doc.getTextRange(E);if(!E.isMultiLine()&&S=="{"){u(g);var N=v.doc.getLine(E.start.row),C=N.substring(E.end.column,E.end.column+1);if(C=="}")return E.end.column++,E;l.maybeInsertedBrackets--}}),this.add("parens","insertion",function(h,b,g,v,E){if(E=="("){u(g);var S=g.getSelectionRange(),N=v.doc.getTextRange(S);if(N!==""&&g.getWrapBehavioursEnabled())return m(S,N,"(",")");if(f.isSaneInsertion(g,v))return f.recordAutoInsert(g,v,")"),{text:"()",selection:[1,1]}}else if(E==")"){u(g);var C=g.getCursorPosition(),y=v.doc.getLine(C.row),A=y.substring(C.column,C.column+1);if(A==")"){var R=v.$findOpeningBracket(")",{column:C.column+1,row:C.row});if(R!==null&&f.isAutoInsertedClosing(C,y,E))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(h,b,g,v,E){var S=v.doc.getTextRange(E);if(!E.isMultiLine()&&S=="("){u(g);var N=v.doc.getLine(E.start.row),C=N.substring(E.start.column+1,E.start.column+2);if(C==")")return E.end.column++,E}}),this.add("brackets","insertion",function(h,b,g,v,E){if(E=="["){u(g);var S=g.getSelectionRange(),N=v.doc.getTextRange(S);if(N!==""&&g.getWrapBehavioursEnabled())return m(S,N,"[","]");if(f.isSaneInsertion(g,v))return f.recordAutoInsert(g,v,"]"),{text:"[]",selection:[1,1]}}else if(E=="]"){u(g);var C=g.getCursorPosition(),y=v.doc.getLine(C.row),A=y.substring(C.column,C.column+1);if(A=="]"){var R=v.$findOpeningBracket("]",{column:C.column+1,row:C.row});if(R!==null&&f.isAutoInsertedClosing(C,y,E))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(h,b,g,v,E){var S=v.doc.getTextRange(E);if(!E.isMultiLine()&&S=="["){u(g);var N=v.doc.getLine(E.start.row),C=N.substring(E.start.column+1,E.start.column+2);if(C=="]")return E.end.column++,E}}),this.add("string_dquotes","insertion",function(h,b,g,v,E){var S=v.$mode.$quotes||d;if(E.length==1&&S[E]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(E)!=-1)return;u(g);var N=E,C=g.getSelectionRange(),y=v.doc.getTextRange(C);if(y!==""&&(y.length!=1||!S[y])&&g.getWrapBehavioursEnabled())return m(C,y,N,N);if(!y){var A=g.getCursorPosition(),R=v.doc.getLine(A.row),D=R.substring(A.column-1,A.column),M=R.substring(A.column,A.column+1),L=v.getTokenAt(A.row,A.column),F=v.getTokenAt(A.row,A.column+1);if(D=="\\"&&L&&/escape/.test(L.type))return null;var q=L&&/string|escape/.test(L.type),$=!F||/string|escape/.test(F.type),Y;if(M==N)Y=q!==$,Y&&/string\.end/.test(F.type)&&(Y=!1);else{if(q&&!$||q&&$)return null;var X=v.$mode.tokenRe;X.lastIndex=0;var J=X.test(D);X.lastIndex=0;var B=X.test(D);if(J||B||M&&!/[\s;,.})\]\\]/.test(M))return null;Y=!0}return{text:Y?N+N:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(h,b,g,v,E){var S=v.doc.getTextRange(E);if(!E.isMultiLine()&&(S=='"'||S=="'")){u(g);var N=v.doc.getLine(E.start.row),C=N.substring(E.start.column+1,E.start.column+2);if(C==S)return E.end.column++,E}})};f.isSaneInsertion=function(p,h){var b=p.getCursorPosition(),g=new r(h,b.row,b.column);if(!this.$matchTokenType(g.getCurrentToken()||"text",s)){var v=new r(h,b.row,b.column+1);if(!this.$matchTokenType(v.getCurrentToken()||"text",s))return!1}return g.stepForward(),g.getCurrentTokenRow()!==b.row||this.$matchTokenType(g.getCurrentToken()||"text",c)},f.$matchTokenType=function(p,h){return h.indexOf(p.type||p)>-1},f.recordAutoInsert=function(p,h,b){var g=p.getCursorPosition(),v=h.doc.getLine(g.row);this.isAutoInsertedClosing(g,v,l.autoInsertedLineEnd[0])||(l.autoInsertedBrackets=0),l.autoInsertedRow=g.row,l.autoInsertedLineEnd=b+v.substr(g.column),l.autoInsertedBrackets++},f.recordMaybeInsert=function(p,h,b){var g=p.getCursorPosition(),v=h.doc.getLine(g.row);this.isMaybeInsertedClosing(g,v)||(l.maybeInsertedBrackets=0),l.maybeInsertedRow=g.row,l.maybeInsertedLineStart=v.substr(0,g.column)+b,l.maybeInsertedLineEnd=v.substr(g.column),l.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(p,h,b){return l.autoInsertedBrackets>0&&p.row===l.autoInsertedRow&&b===l.autoInsertedLineEnd[0]&&h.substr(p.column)===l.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(p,h){return l.maybeInsertedBrackets>0&&p.row===l.maybeInsertedRow&&h.substr(p.column)===l.maybeInsertedLineEnd&&h.substr(0,p.column)==l.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){l.autoInsertedLineEnd=l.autoInsertedLineEnd.substr(1),l.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){l&&(l.maybeInsertedBrackets=0,l.maybeInsertedRow=-1)},i.inherits(f,o),t.CstyleBehaviour=f});ace.define("ace/unicode",["require","exports","module"],function(e,t,n){t.packages={},i({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"});function i(o){var r=/\w{4}/g;for(var a in o)t.packages[a]=o[a].replace(r,"\\u$&")}});ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){var i=e("../tokenizer").Tokenizer,o=e("./text_highlight_rules").TextHighlightRules,r=e("./behaviour/cstyle").CstyleBehaviour,a=e("../unicode"),s=e("../lib/lang"),c=e("../token_iterator").TokenIterator,l=e("../range").Range,_=function(){this.HighlightRules=o};(function(){this.$defaultBehaviour=new r,this.tokenRe=new RegExp("^["+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new i(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(d,u,m,f){var p=u.doc,h=!0,b=!0,g=1/0,v=u.getTabSize(),E=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var C=this.lineCommentStart.map(s.escapeRegExp).join("|"),S=this.lineCommentStart[0];else var C=s.escapeRegExp(this.lineCommentStart),S=this.lineCommentStart;C=new RegExp("^(\\s*)(?:"+C+") ?"),E=u.getUseSoftTabs();var R=function(J,B){var w=J.match(C);if(!!w){var I=w[1].length,U=w[0].length;!L(J,I,U)&&w[0][U-1]==" "&&U--,p.removeInLine(B,I,U)}},M=S+" ",A=function(J,B){(!h||/\S/.test(J))&&(L(J,g,g)?p.insertInLine({row:B,column:g},M):p.insertInLine({row:B,column:g},S))},D=function(J,B){return C.test(J)},L=function(J,B,w){for(var I=0;B--&&J.charAt(B)==" ";)I++;if(I%v!=0)return!1;for(var I=0;J.charAt(w++)==" ";)I++;return v>2?I%v!=v-1:I%v==0}}else{if(!this.blockComment)return!1;var S=this.blockComment.start,N=this.blockComment.end,C=new RegExp("^(\\s*)(?:"+s.escapeRegExp(S)+")"),y=new RegExp("(?:"+s.escapeRegExp(N)+")\\s*$"),A=function($,Y){D($,Y)||(!h||/\S/.test($))&&(p.insertInLine({row:Y,column:$.length},N),p.insertInLine({row:Y,column:g},S))},R=function($,Y){var X;(X=$.match(y))&&p.removeInLine(Y,$.length-X[0].length,$.length),(X=$.match(C))&&p.removeInLine(Y,X[1].length,X[0].length)},D=function($,Y){if(C.test($))return!0;for(var X=u.getTokens(Y),J=0;J<X.length;J++)if(X[J].type==="comment")return!0}}function F($){for(var Y=m;Y<=f;Y++)$(p.getLine(Y),Y)}var q=1/0;F(function($,Y){var X=$.search(/\S/);X!==-1?(X<g&&(g=X),b&&!D($,Y)&&(b=!1)):q>$.length&&(q=$.length)}),g==1/0&&(g=q,h=!1,b=!1),E&&g%v!=0&&(g=Math.floor(g/v)*v),F(b?R:A)},this.toggleBlockComment=function(d,u,m,f){var p=this.blockComment;if(!!p){!p.start&&p[0]&&(p=p[0]);var h=new c(u,f.row,f.column),b=h.getCurrentToken();u.selection;var g=u.selection.toOrientedRange(),v,E;if(b&&/comment/.test(b.type)){for(var S,N;b&&/comment/.test(b.type);){var C=b.value.indexOf(p.start);if(C!=-1){var y=h.getCurrentTokenRow(),A=h.getCurrentTokenColumn()+C;S=new l(y,A,y,A+p.start.length);break}b=h.stepBackward()}for(var h=new c(u,f.row,f.column),b=h.getCurrentToken();b&&/comment/.test(b.type);){var C=b.value.indexOf(p.end);if(C!=-1){var y=h.getCurrentTokenRow(),A=h.getCurrentTokenColumn()+C;N=new l(y,A,y,A+p.end.length);break}b=h.stepForward()}N&&u.remove(N),S&&(u.remove(S),v=S.start.row,E=-p.start.length)}else E=p.start.length,v=m.start.row,u.insert(m.end,p.end),u.insert(m.start,p.start);g.start.row==v&&(g.start.column+=E),g.end.row==v&&(g.end.column+=E),u.selection.fromOrientedRange(g)}},this.getNextLineIndent=function(d,u,m){return this.$getIndent(u)},this.checkOutdent=function(d,u,m){return!1},this.autoOutdent=function(d,u,m){},this.$getIndent=function(d){return d.match(/^\s*/)[0]},this.createWorker=function(d){return null},this.createModeDelegates=function(d){this.$embeds=[],this.$modes={};for(var u in d)d[u]&&(this.$embeds.push(u),this.$modes[u]=new d[u]);for(var m=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],u=0;u<m.length;u++)(function(p){var h=m[u],b=p[h];p[m[u]]=function(){return this.$delegator(h,arguments,b)}})(this)},this.$delegator=function(d,u,m){var f=u[0];typeof f!="string"&&(f=f[0]);for(var p=0;p<this.$embeds.length;p++)if(!!this.$modes[this.$embeds[p]]){var h=f.split(this.$embeds[p]);if(!h[0]&&h[1]){u[0]=h[1];var b=this.$modes[this.$embeds[p]];return b[d].apply(b,u)}}var g=m.apply(this,u);return m?g:void 0},this.transformAction=function(d,u,m,f,p){if(this.$behaviour){var h=this.$behaviour.getBehaviours();for(var b in h)if(h[b][u]){var g=h[b][u].apply(this,arguments);if(g)return g}}},this.getKeywords=function(d){if(!this.completionKeywords){var u=this.$tokenizer.rules,m=[];for(var f in u)for(var p=u[f],h=0,b=p.length;h<b;h++)if(typeof p[h].token=="string")/keyword|support|storage/.test(p[h].token)&&m.push(p[h].regex);else if(typeof p[h].token=="object"){for(var g=0,v=p[h].token.length;g<v;g++)if(/keyword|support|storage/.test(p[h].token[g])){var f=p[h].regex.match(/\(.+?\)/g)[g];m.push(f.substr(1,f.length-2))}}this.completionKeywords=m}return d?m.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(d,u,m,f){var p=this.$keywordList||this.$createKeywordList();return p.map(function(h){return{name:h,value:h,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(_.prototype),t.Mode=_});ace.define("ace/apply_delta",["require","exports","module"],function(e,t,n){t.applyDelta=function(i,o,r){var a=o.start.row,s=o.start.column,c=i[a]||"";switch(o.action){case"insert":var l=o.lines;if(l.length===1)i[a]=c.substring(0,s)+o.lines[0]+c.substring(s);else{var _=[a,1].concat(o.lines);i.splice.apply(i,_),i[a]=c.substring(0,s)+i[a],i[a+o.lines.length-1]+=c.substring(s)}break;case"remove":var d=o.end.column,u=o.end.row;a===u?i[a]=c.substring(0,s)+c.substring(d):i.splice(a,u-a+1,c.substring(0,s)+i[u].substring(d));break}}});ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/event_emitter").EventEmitter,r=t.Anchor=function(a,s,c){this.$onChange=this.onChange.bind(this),this.attach(a),typeof c=="undefined"?this.setPosition(s.row,s.column):this.setPosition(s,c)};(function(){i.implement(this,o),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(c){if(!(c.start.row==c.end.row&&c.start.row!=this.row)&&!(c.start.row>this.row)){var l=s(c,{row:this.row,column:this.column},this.$insertRight);this.setPosition(l.row,l.column,!0)}};function a(c,l,_){var d=_?c.column<=l.column:c.column<l.column;return c.row<l.row||c.row==l.row&&d}function s(c,l,_){var d=c.action=="insert",u=(d?1:-1)*(c.end.row-c.start.row),m=(d?1:-1)*(c.end.column-c.start.column),f=c.start,p=d?f:c.end;return a(l,f,_)?{row:l.row,column:l.column}:a(p,l,!_)?{row:l.row+u,column:l.column+(l.row==p.row?m:0)}:{row:f.row,column:f.column}}this.setPosition=function(c,l,_){var d;if(_?d={row:c,column:l}:d=this.$clipPositionToDocument(c,l),!(this.row==d.row&&this.column==d.column)){var u={row:this.row,column:this.column};this.row=d.row,this.column=d.column,this._signal("change",{old:u,value:d})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(c){this.document=c||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(c,l){var _={};return c>=this.document.getLength()?(_.row=Math.max(0,this.document.getLength()-1),_.column=this.document.getLine(_.row).length):c<0?(_.row=0,_.column=0):(_.row=c,_.column=Math.min(this.document.getLine(_.row).length,Math.max(0,l))),l<0&&(_.column=0),_}}).call(r.prototype)});ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){var i=e("./lib/oop"),o=e("./apply_delta").applyDelta,r=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,c=function(l){this.$lines=[""],l.length===0?this.$lines=[""]:Array.isArray(l)?this.insertMergedLines({row:0,column:0},l):this.insert({row:0,column:0},l)};(function(){i.implement(this,r),this.setValue=function(l){var _=this.getLength()-1;this.remove(new a(0,0,_,this.getLine(_).length)),this.insert({row:0,column:0},l)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(l,_){return new s(this,l,_)},"aaa".split(/a/).length===0?this.$split=function(l){return l.replace(/\r\n|\r/g,`
|
|
`).split(`
|
|
`)}:this.$split=function(l){return l.split(/\r\n|\r|\n/)},this.$detectNewLine=function(l){var _=l.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=_?_[1]:`
|
|
`,this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
|
`;case"unix":return`
|
|
`;default:return this.$autoNewLine||`
|
|
`}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(l){this.$newLineMode!==l&&(this.$newLineMode=l,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(l){return l==`\r
|
|
`||l=="\r"||l==`
|
|
`},this.getLine=function(l){return this.$lines[l]||""},this.getLines=function(l,_){return this.$lines.slice(l,_+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(l){return this.getLinesForRange(l).join(this.getNewLineCharacter())},this.getLinesForRange=function(l){var _;if(l.start.row===l.end.row)_=[this.getLine(l.start.row).substring(l.start.column,l.end.column)];else{_=this.getLines(l.start.row,l.end.row),_[0]=(_[0]||"").substring(l.start.column);var d=_.length-1;l.end.row-l.start.row==d&&(_[d]=_[d].substring(0,l.end.column))}return _},this.insertLines=function(l,_){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(l,_)},this.removeLines=function(l,_){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(l,_)},this.insertNewLine=function(l){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(l,["",""])},this.insert=function(l,_){return this.getLength()<=1&&this.$detectNewLine(_),this.insertMergedLines(l,this.$split(_))},this.insertInLine=function(l,_){var d=this.clippedPos(l.row,l.column),u=this.pos(l.row,l.column+_.length);return this.applyDelta({start:d,end:u,action:"insert",lines:[_]},!0),this.clonePos(u)},this.clippedPos=function(l,_){var d=this.getLength();l===void 0?l=d:l<0?l=0:l>=d&&(l=d-1,_=void 0);var u=this.getLine(l);return _==null&&(_=u.length),_=Math.min(Math.max(_,0),u.length),{row:l,column:_}},this.clonePos=function(l){return{row:l.row,column:l.column}},this.pos=function(l,_){return{row:l,column:_}},this.$clipPosition=function(l){var _=this.getLength();return l.row>=_?(l.row=Math.max(0,_-1),l.column=this.getLine(_-1).length):(l.row=Math.max(0,l.row),l.column=Math.min(Math.max(l.column,0),this.getLine(l.row).length)),l},this.insertFullLines=function(l,_){l=Math.min(Math.max(l,0),this.getLength());var d=0;l<this.getLength()?(_=_.concat([""]),d=0):(_=[""].concat(_),l--,d=this.$lines[l].length),this.insertMergedLines({row:l,column:d},_)},this.insertMergedLines=function(l,_){var d=this.clippedPos(l.row,l.column),u={row:d.row+_.length-1,column:(_.length==1?d.column:0)+_[_.length-1].length};return this.applyDelta({start:d,end:u,action:"insert",lines:_}),this.clonePos(u)},this.remove=function(l){var _=this.clippedPos(l.start.row,l.start.column),d=this.clippedPos(l.end.row,l.end.column);return this.applyDelta({start:_,end:d,action:"remove",lines:this.getLinesForRange({start:_,end:d})}),this.clonePos(_)},this.removeInLine=function(l,_,d){var u=this.clippedPos(l,_),m=this.clippedPos(l,d);return this.applyDelta({start:u,end:m,action:"remove",lines:this.getLinesForRange({start:u,end:m})},!0),this.clonePos(u)},this.removeFullLines=function(l,_){l=Math.min(Math.max(0,l),this.getLength()-1),_=Math.min(Math.max(0,_),this.getLength()-1);var d=_==this.getLength()-1&&l>0,u=_<this.getLength()-1,m=d?l-1:l,f=d?this.getLine(m).length:0,p=u?_+1:_,h=u?0:this.getLine(p).length,b=new a(m,f,p,h),g=this.$lines.slice(l,_+1);return this.applyDelta({start:b.start,end:b.end,action:"remove",lines:this.getLinesForRange(b)}),g},this.removeNewLine=function(l){l<this.getLength()-1&&l>=0&&this.applyDelta({start:this.pos(l,this.getLine(l).length),end:this.pos(l+1,0),action:"remove",lines:["",""]})},this.replace=function(l,_){if(l instanceof a||(l=a.fromPoints(l.start,l.end)),_.length===0&&l.isEmpty())return l.start;if(_==this.getTextRange(l))return l.end;this.remove(l);var d;return _?d=this.insert(l.start,_):d=l.start,d},this.applyDeltas=function(l){for(var _=0;_<l.length;_++)this.applyDelta(l[_])},this.revertDeltas=function(l){for(var _=l.length-1;_>=0;_--)this.revertDelta(l[_])},this.applyDelta=function(l,_){var d=l.action=="insert";(d?l.lines.length<=1&&!l.lines[0]:!a.comparePoints(l.start,l.end))||(d&&l.lines.length>2e4&&this.$splitAndapplyLargeDelta(l,2e4),o(this.$lines,l,_),this._signal("change",l))},this.$splitAndapplyLargeDelta=function(l,_){var d=l.lines,u=d.length,m=l.start.row,f=l.start.column,p=0,h=0;do{p=h,h+=_-1;var b=d.slice(p,h);if(h>u){l.lines=b,l.start.row=m+p,l.start.column=f;break}b.push(""),this.applyDelta({start:this.pos(m+p,f),end:this.pos(m+h,f=0),action:l.action,lines:b},!0)}while(!0)},this.revertDelta=function(l){this.applyDelta({start:this.clonePos(l.start),end:this.clonePos(l.end),action:l.action=="insert"?"remove":"insert",lines:l.lines.slice()})},this.indexToPosition=function(l,_){for(var d=this.$lines||this.getAllLines(),u=this.getNewLineCharacter().length,m=_||0,f=d.length;m<f;m++)if(l-=d[m].length+u,l<0)return{row:m,column:l+d[m].length+u};return{row:f-1,column:d[f-1].length}},this.positionToIndex=function(l,_){for(var d=this.$lines||this.getAllLines(),u=this.getNewLineCharacter().length,m=0,f=Math.min(l.row,d.length),p=_||0;p<f;++p)m+=d[p].length+u;return m+l.column}}).call(c.prototype),t.Document=c});ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/event_emitter").EventEmitter,r=function(a,s){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=a;var c=this;this.$worker=function(){if(!!c.running){for(var l=new Date,_=c.currentLine,d=-1,u=c.doc,m=_;c.lines[_];)_++;var f=u.getLength(),p=0;for(c.running=!1;_<f;){c.$tokenizeRow(_),d=_;do _++;while(c.lines[_]);if(p++,p%5===0&&new Date-l>20){c.running=setTimeout(c.$worker,20);break}}c.currentLine=_,d==-1&&(d=_),m<=d&&c.fireUpdateEvent(m,d)}}};(function(){i.implement(this,o),this.setTokenizer=function(a){this.tokenizer=a,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(a){this.doc=a,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(a,s){var c={first:a,last:s};this._signal("update",{data:c})},this.start=function(a){this.currentLine=Math.min(a||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(a){var s=a.start.row,c=a.end.row-s;if(c===0)this.lines[s]=null;else if(a.action=="remove")this.lines.splice(s,c+1,null),this.states.splice(s,c+1,null);else{var l=Array(c+1);l.unshift(s,1),this.lines.splice.apply(this.lines,l),this.states.splice.apply(this.states,l)}this.currentLine=Math.min(s,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(a){return this.lines[a]||this.$tokenizeRow(a)},this.getState=function(a){return this.currentLine==a&&this.$tokenizeRow(a),this.states[a]||"start"},this.$tokenizeRow=function(a){var s=this.doc.getLine(a),c=this.states[a-1],l=this.tokenizer.getLineTokens(s,c,a);return this.states[a]+""!=l.state+""?(this.states[a]=l.state,this.lines[a+1]=null,this.currentLine>a+1&&(this.currentLine=a+1)):this.currentLine==a&&(this.currentLine=a+1),this.lines[a]=l.tokens}}).call(r.prototype),t.BackgroundTokenizer=r});ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var i=e("./lib/lang");e("./lib/oop");var o=e("./range").Range,r=function(a,s,c){this.setRegexp(a),this.clazz=s,this.type=c||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(a){this.regExp+""!=a+""&&(this.regExp=a,this.cache=[])},this.update=function(a,s,c,l){if(!!this.regExp)for(var _=l.firstRow,d=l.lastRow,u=_;u<=d;u++){var m=this.cache[u];m==null&&(m=i.getMatchOffsets(c.getLine(u),this.regExp),m.length>this.MAX_RANGES&&(m=m.slice(0,this.MAX_RANGES)),m=m.map(function(p){return new o(u,p.offset,u,p.offset+p.length)}),this.cache[u]=m.length?m:"");for(var f=m.length;f--;)s.drawSingleLineMarker(a,m[f].toScreenRange(c),this.clazz,l)}}}).call(r.prototype),t.SearchHighlight=r});ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){var i=e("../range").Range;function o(r,a){this.foldData=r,Array.isArray(a)?this.folds=a:a=this.folds=[a];var s=a[a.length-1];this.range=new i(a[0].start.row,a[0].start.column,s.end.row,s.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(c){c.setFoldLine(this)},this)}(function(){this.shiftRow=function(r){this.start.row+=r,this.end.row+=r,this.folds.forEach(function(a){a.start.row+=r,a.end.row+=r})},this.addFold=function(r){if(r.sameRow){if(r.start.row<this.startRow||r.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(r),this.folds.sort(function(a,s){return-a.range.compareEnd(s.start.row,s.start.column)}),this.range.compareEnd(r.start.row,r.start.column)>0?(this.end.row=r.end.row,this.end.column=r.end.column):this.range.compareStart(r.end.row,r.end.column)<0&&(this.start.row=r.start.row,this.start.column=r.start.column)}else if(r.start.row==this.end.row)this.folds.push(r),this.end.row=r.end.row,this.end.column=r.end.column;else if(r.end.row==this.start.row)this.folds.unshift(r),this.start.row=r.start.row,this.start.column=r.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");r.foldLine=this},this.containsRow=function(r){return r>=this.start.row&&r<=this.end.row},this.walk=function(r,a,s){var c=0,l=this.folds,_,d,u,m=!0;a==null&&(a=this.end.row,s=this.end.column);for(var f=0;f<l.length;f++){if(_=l[f],d=_.range.compareStart(a,s),d==-1){r(null,a,s,c,m);return}if(u=r(null,_.start.row,_.start.column,c,m),u=!u&&r(_.placeholder,_.start.row,_.start.column,c),u||d===0)return;m=!_.sameRow,c=_.end.column}r(null,a,s,c,m)},this.getNextFoldTo=function(r,a){for(var s,c,l=0;l<this.folds.length;l++){if(s=this.folds[l],c=s.range.compareEnd(r,a),c==-1)return{fold:s,kind:"after"};if(c===0)return{fold:s,kind:"inside"}}return null},this.addRemoveChars=function(r,a,s){var c=this.getNextFoldTo(r,a),l,_;if(c){if(l=c.fold,c.kind=="inside"&&l.start.column!=a&&l.start.row!=r)window.console&&window.console.log(r,a,l);else if(l.start.row==r){_=this.folds;var d=_.indexOf(l);for(d===0&&(this.start.column+=s),d;d<_.length;d++){if(l=_[d],l.start.column+=s,!l.sameRow)return;l.end.column+=s}this.end.column+=s}}},this.split=function(r,a){var s=this.getNextFoldTo(r,a);if(!s||s.kind=="inside")return null;var c=s.fold,l=this.folds,_=this.foldData,d=l.indexOf(c),u=l[d-1];this.end.row=u.end.row,this.end.column=u.end.column,l=l.splice(d,l.length-d);var m=new o(_,l);return _.splice(_.indexOf(this)+1,0,m),m},this.merge=function(r){for(var a=r.folds,s=0;s<a.length;s++)this.addFold(a[s]);var c=this.foldData;c.splice(c.indexOf(r),1)},this.toString=function(){var r=[this.range.toString()+": ["];return this.folds.forEach(function(a){r.push(" "+a.toString())}),r.push("]"),r.join(`
|
|
`)},this.idxToPosition=function(r){for(var a=0,s=0;s<this.folds.length;s++){var c=this.folds[s];if(r-=c.start.column-a,r<0)return{row:c.start.row,column:c.start.column+r};if(r-=c.placeholder.length,r<0)return c.start;a=c.end.column}return{row:this.end.row,column:this.end.column+r}}}).call(o.prototype),t.FoldLine=o});ace.define("ace/range_list",["require","exports","module","ace/range"],function(e,t,n){var i=e("./range").Range,o=i.comparePoints,r=function(){this.ranges=[]};(function(){this.comparePoints=o,this.pointIndex=function(a,s,c){for(var l=this.ranges,_=c||0;_<l.length;_++){var d=l[_],u=o(a,d.end);if(!(u>0)){var m=o(a,d.start);return u===0?s&&m!==0?-_-2:_:m>0||m===0&&!s?_:-_-1}}return-_-1},this.add=function(a){var s=!a.isEmpty(),c=this.pointIndex(a.start,s);c<0&&(c=-c-1);var l=this.pointIndex(a.end,s,c);return l<0?l=-l-1:l++,this.ranges.splice(c,l-c,a)},this.addList=function(a){for(var s=[],c=a.length;c--;)s.push.apply(s,this.add(a[c]));return s},this.substractPoint=function(a){var s=this.pointIndex(a);if(s>=0)return this.ranges.splice(s,1)},this.merge=function(){var a=[],s=this.ranges;s=s.sort(function(u,m){return o(u.start,m.start)});for(var c=s[0],l,_=1;_<s.length;_++){l=c,c=s[_];var d=o(l.end,c.start);d<0||d==0&&!l.isEmpty()&&!c.isEmpty()||(o(l.end,c.end)<0&&(l.end.row=c.end.row,l.end.column=c.end.column),s.splice(_,1),a.push(c),c=l,_--)}return this.ranges=s,a},this.contains=function(a,s){return this.pointIndex({row:a,column:s})>=0},this.containsPoint=function(a){return this.pointIndex(a)>=0},this.rangeAtPoint=function(a){var s=this.pointIndex(a);if(s>=0)return this.ranges[s]},this.clipRows=function(a,s){var c=this.ranges;if(c[0].start.row>s||c[c.length-1].start.row<a)return[];var l=this.pointIndex({row:a,column:0});l<0&&(l=-l-1);var _=this.pointIndex({row:s,column:0},l);_<0&&(_=-_-1);for(var d=[],u=l;u<_;u++)d.push(c[u]);return d},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(a){this.session&&this.detach(),this.session=a,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){!this.session||(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(a){if(a.action=="insert")var s=a.start,c=a.end;else var c=a.start,s=a.end;for(var l=s.row,_=c.row,d=_-l,u=-s.column+c.column,m=this.ranges,f=0,p=m.length;f<p;f++){var h=m[f];if(!(h.end.row<l)){if(h.start.row>l)break;if(h.start.row==l&&h.start.column>=s.column&&(h.start.column==s.column&&this.$insertRight||(h.start.column+=u,h.start.row+=d)),h.end.row==l&&h.end.column>=s.column){if(h.end.column==s.column&&this.$insertRight)continue;h.end.column==s.column&&u>0&&f<p-1&&h.end.column>h.start.column&&h.end.column==m[f+1].start.column&&(h.end.column-=u),h.end.column+=u,h.end.row+=d}}}if(d!=0&&f<p)for(;f<p;f++){var h=m[f];h.start.row+=d,h.end.row+=d}}}).call(r.prototype),t.RangeList=r});ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(e,t,n){e("../range").Range;var i=e("../range_list").RangeList,o=e("../lib/oop"),r=t.Fold=function(_,d){this.foldLine=null,this.placeholder=d,this.range=_,this.start=_.start,this.end=_.end,this.sameRow=_.start.row==_.end.row,this.subFolds=this.ranges=[]};o.inherits(r,i),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(_){this.foldLine=_,this.subFolds.forEach(function(d){d.setFoldLine(_)})},this.clone=function(){var _=this.range.clone(),d=new r(_,this.placeholder);return this.subFolds.forEach(function(u){d.subFolds.push(u.clone())}),d.collapseChildren=this.collapseChildren,d},this.addSubFold=function(_){if(!this.range.isEqual(_)){if(!this.range.containsRange(_))throw new Error("A fold can't intersect already existing fold"+_.range+this.range);s(_,this.start);for(var f=_.start.row,p=_.start.column,d=0,u=-1;d<this.subFolds.length&&(u=this.subFolds[d].range.compare(f,p),u==1);d++);var m=this.subFolds[d];if(u==0)return m.addSubFold(_);for(var f=_.range.end.row,p=_.range.end.column,h=d,u=-1;h<this.subFolds.length&&(u=this.subFolds[h].range.compare(f,p),u==1);h++);if(this.subFolds[h],u==0)throw new Error("A fold can't intersect already existing fold"+_.range+this.range);return this.subFolds.splice(d,h-d,_),_.setFoldLine(this.foldLine),_}},this.restoreRange=function(_){return l(_,this.start)}}.call(r.prototype);function a(_,d){_.row-=d.row,_.row==0&&(_.column-=d.column)}function s(_,d){a(_.start,d),a(_.end,d)}function c(_,d){_.row==0&&(_.column+=d.column),_.row+=d.row}function l(_,d){c(_.start,d),c(_.end,d)}});ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t,n){var i=e("../range").Range,o=e("./fold_line").FoldLine,r=e("./fold").Fold,a=e("../token_iterator").TokenIterator;function s(){this.getFoldAt=function(c,l,_){var d=this.getFoldLine(c);if(!d)return null;for(var u=d.folds,m=0;m<u.length;m++){var f=u[m];if(f.range.contains(c,l)){if(_==1&&f.range.isEnd(c,l))continue;if(_==-1&&f.range.isStart(c,l))continue;return f}}},this.getFoldsInRange=function(c){var l=c.start,_=c.end,d=this.$foldData,u=[];l.column+=1,_.column-=1;for(var m=0;m<d.length;m++){var f=d[m].range.compareRange(c);if(f!=2){if(f==-2)break;for(var p=d[m].folds,h=0;h<p.length;h++){var b=p[h];if(f=b.range.compareRange(c),f==-2)break;if(f==2)continue;if(f==42)break;u.push(b)}}}return l.column-=1,_.column+=1,u},this.getFoldsInRangeList=function(c){if(Array.isArray(c)){var l=[];c.forEach(function(_){l=l.concat(this.getFoldsInRange(_))},this)}else var l=this.getFoldsInRange(c);return l},this.getAllFolds=function(){for(var c=[],l=this.$foldData,_=0;_<l.length;_++)for(var d=0;d<l[_].folds.length;d++)c.push(l[_].folds[d]);return c},this.getFoldStringAt=function(c,l,_,d){if(d=d||this.getFoldLine(c),!d)return null;for(var u={end:{column:0}},m,f,p=0;p<d.folds.length;p++){f=d.folds[p];var h=f.range.compareEnd(c,l);if(h==-1){m=this.getLine(f.start.row).substring(u.end.column,f.start.column);break}else if(h===0)return null;u=f}return m||(m=this.getLine(f.start.row).substring(u.end.column)),_==-1?m.substring(0,l-u.end.column):_==1?m.substring(l-u.end.column):m},this.getFoldLine=function(c,l){var _=this.$foldData,d=0;for(l&&(d=_.indexOf(l)),d==-1&&(d=0),d;d<_.length;d++){var u=_[d];if(u.start.row<=c&&u.end.row>=c)return u;if(u.end.row>c)return null}return null},this.getNextFoldLine=function(c,l){var _=this.$foldData,d=0;for(l&&(d=_.indexOf(l)),d==-1&&(d=0),d;d<_.length;d++){var u=_[d];if(u.end.row>=c)return u}return null},this.getFoldedRowCount=function(c,l){for(var _=this.$foldData,d=l-c+1,u=0;u<_.length;u++){var m=_[u],f=m.end.row,p=m.start.row;if(f>=l){p<l&&(p>=c?d-=l-p:d=0);break}else f>=c&&(p>=c?d-=f-p:d-=f-c+1)}return d},this.$addFoldLine=function(c){return this.$foldData.push(c),this.$foldData.sort(function(l,_){return l.start.row-_.start.row}),c},this.addFold=function(c,l){var _=this.$foldData,d=!1,u;c instanceof r?u=c:(u=new r(l,c),u.collapseChildren=l.collapseChildren),this.$clipRangeToDocument(u.range);var m=u.start.row,f=u.start.column,p=u.end.row,h=u.end.column;if(!(m<p||m==p&&f<=h-2))throw new Error("The range has to be at least 2 characters width");var b=this.getFoldAt(m,f,1),g=this.getFoldAt(p,h,-1);if(b&&g==b)return b.addSubFold(u);b&&!b.range.isStart(m,f)&&this.removeFold(b),g&&!g.range.isEnd(p,h)&&this.removeFold(g);var v=this.getFoldsInRange(u.range);v.length>0&&(this.removeFolds(v),v.forEach(function(C){u.addSubFold(C)}));for(var E=0;E<_.length;E++){var S=_[E];if(p==S.start.row){S.addFold(u),d=!0;break}else if(m==S.end.row){if(S.addFold(u),d=!0,!u.sameRow){var N=_[E+1];if(N&&N.start.row==p){S.merge(N);break}}break}else if(p<=S.start.row)break}return d||(S=this.$addFoldLine(new o(this.$foldData,u))),this.$useWrapMode?this.$updateWrapData(S.start.row,S.start.row):this.$updateRowLengthCache(S.start.row,S.start.row),this.$modified=!0,this._signal("changeFold",{data:u,action:"add"}),u},this.addFolds=function(c){c.forEach(function(l){this.addFold(l)},this)},this.removeFold=function(c){var l=c.foldLine,_=l.start.row,d=l.end.row,u=this.$foldData,m=l.folds;if(m.length==1)u.splice(u.indexOf(l),1);else if(l.range.isEnd(c.end.row,c.end.column))m.pop(),l.end.row=m[m.length-1].end.row,l.end.column=m[m.length-1].end.column;else if(l.range.isStart(c.start.row,c.start.column))m.shift(),l.start.row=m[0].start.row,l.start.column=m[0].start.column;else if(c.sameRow)m.splice(m.indexOf(c),1);else{var f=l.split(c.start.row,c.start.column);m=f.folds,m.shift(),f.start.row=m[0].start.row,f.start.column=m[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(_,d):this.$updateRowLengthCache(_,d)),this.$modified=!0,this._signal("changeFold",{data:c,action:"remove"})},this.removeFolds=function(c){for(var l=[],_=0;_<c.length;_++)l.push(c[_]);l.forEach(function(d){this.removeFold(d)},this),this.$modified=!0},this.expandFold=function(c){this.removeFold(c),c.subFolds.forEach(function(l){c.restoreRange(l),this.addFold(l)},this),c.collapseChildren>0&&this.foldAll(c.start.row+1,c.end.row,c.collapseChildren-1),c.subFolds=[]},this.expandFolds=function(c){c.forEach(function(l){this.expandFold(l)},this)},this.unfold=function(c,l){var _,d;if(c==null?(_=new i(0,0,this.getLength(),0),l=!0):typeof c=="number"?_=new i(c,0,c,this.getLine(c).length):"row"in c?_=i.fromPoints(c,c):_=c,d=this.getFoldsInRangeList(_),l)this.removeFolds(d);else for(var u=d;u.length;)this.expandFolds(u),u=this.getFoldsInRangeList(_);if(d.length)return d},this.isRowFolded=function(c,l){return!!this.getFoldLine(c,l)},this.getRowFoldEnd=function(c,l){var _=this.getFoldLine(c,l);return _?_.end.row:c},this.getRowFoldStart=function(c,l){var _=this.getFoldLine(c,l);return _?_.start.row:c},this.getFoldDisplayLine=function(c,l,_,d,u){d==null&&(d=c.start.row),u==null&&(u=0),l==null&&(l=c.end.row),_==null&&(_=this.getLine(l).length);var m=this.doc,f="";return c.walk(function(p,h,b,g){if(!(h<d)){if(h==d){if(b<u)return;g=Math.max(u,g)}p!=null?f+=p:f+=m.getLine(h).substring(g,b)}},l,_),f},this.getDisplayLine=function(c,l,_,d){var u=this.getFoldLine(c);if(u)return this.getFoldDisplayLine(u,c,l,_,d);var m;return m=this.doc.getLine(c),m.substring(d||0,l||m.length)},this.$cloneFoldData=function(){var c=[];return c=this.$foldData.map(function(l){var _=l.folds.map(function(d){return d.clone()});return new o(c,_)}),c},this.toggleFold=function(c){var l=this.selection,_=l.getRange(),d,u;if(_.isEmpty()){var m=_.start;if(d=this.getFoldAt(m.row,m.column),d){this.expandFold(d);return}else(u=this.findMatchingBracket(m))?_.comparePoint(u)==1?_.end=u:(_.start=u,_.start.column++,_.end.column--):(u=this.findMatchingBracket({row:m.row,column:m.column+1}))?(_.comparePoint(u)==1?_.end=u:_.start=u,_.start.column++):_=this.getCommentFoldRange(m.row,m.column)||_}else{var f=this.getFoldsInRange(_);if(c&&f.length){this.expandFolds(f);return}else f.length==1&&(d=f[0])}if(d||(d=this.getFoldAt(_.start.row,_.start.column)),d&&d.range.toString()==_.toString()){this.expandFold(d);return}var p="...";if(!_.isMultiLine()){if(p=this.getTextRange(_),p.length<4)return;p=p.trim().substring(0,2)+".."}this.addFold(p,_)},this.getCommentFoldRange=function(c,l,_){var d=new a(this,c,l),u=d.getCurrentToken(),m=u.type;if(u&&/^comment|string/.test(m)){m=m.match(/comment|string/)[0],m=="comment"&&(m+="|doc-start");var f=new RegExp(m),p=new i;if(_!=1){do u=d.stepBackward();while(u&&f.test(u.type));d.stepForward()}if(p.start.row=d.getCurrentTokenRow(),p.start.column=d.getCurrentTokenColumn()+2,d=new a(this,c,l),_!=-1){var h=-1;do if(u=d.stepForward(),h==-1){var b=this.getState(d.$row);f.test(b)||(h=d.$row)}else if(d.$row>h)break;while(u&&f.test(u.type));u=d.stepBackward()}else u=d.getCurrentToken();return p.end.row=d.getCurrentTokenRow(),p.end.column=d.getCurrentTokenColumn()+u.value.length-2,p}},this.foldAll=function(c,l,_){_==null&&(_=1e5);var d=this.foldWidgets;if(!!d){l=l||this.getLength(),c=c||0;for(var u=c;u<l;u++)if(d[u]==null&&(d[u]=this.getFoldWidget(u)),d[u]=="start"){var m=this.getFoldWidgetRange(u);if(m&&m.isMultiLine()&&m.end.row<=l&&m.start.row>=c){u=m.end.row;try{var f=this.addFold("...",m);f&&(f.collapseChildren=_)}catch{}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(c){if(!this.$foldStyles[c])throw new Error("invalid fold style: "+c+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=c){this.$foldStyle=c,c=="manual"&&this.unfold();var l=this.$foldMode;this.$setFolding(null),this.$setFolding(l)}},this.$setFolding=function(c){if(this.$foldMode!=c){if(this.$foldMode=c,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),!c||this.$foldStyle=="manual"){this.foldWidgets=null;return}this.foldWidgets=[],this.getFoldWidget=c.getFoldWidget.bind(c,this,this.$foldStyle),this.getFoldWidgetRange=c.getFoldWidgetRange.bind(c,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(c,l){var _=this.foldWidgets;if(!_||l&&_[c])return{};for(var d=c-1,u;d>=0;){var m=_[d];if(m==null&&(m=_[d]=this.getFoldWidget(d)),m=="start"){var f=this.getFoldWidgetRange(d);if(u||(u=f),f&&f.end.row>=c)break}d--}return{range:d!==-1&&f,firstRange:u}},this.onFoldWidgetClick=function(c,l){l=l.domEvent;var _={children:l.shiftKey,all:l.ctrlKey||l.metaKey,siblings:l.altKey},d=this.$toggleFoldWidget(c,_);if(!d){var u=l.target||l.srcElement;u&&/ace_fold-widget/.test(u.className)&&(u.className+=" ace_invalid")}},this.$toggleFoldWidget=function(c,l){if(!!this.getFoldWidget){var _=this.getFoldWidget(c),d=this.getLine(c),u=_==="end"?-1:1,m=this.getFoldAt(c,u===-1?0:d.length,u);if(m)return l.children||l.all?this.removeFold(m):this.expandFold(m),m;var f=this.getFoldWidgetRange(c,!0);if(f&&!f.isMultiLine()&&(m=this.getFoldAt(f.start.row,f.start.column,1),m&&f.isEqual(m.range)))return this.removeFold(m),m;if(l.siblings){var p=this.getParentFoldRangeData(c);if(p.range)var h=p.range.start.row+1,b=p.range.end.row;this.foldAll(h,b,l.all?1e4:0)}else l.children?(b=f?f.end.row:this.getLength(),this.foldAll(c+1,b,l.all?1e4:0)):f&&(l.all&&(f.collapseChildren=1e4),this.addFold("...",f));return f}},this.toggleFoldWidget=function(c){var l=this.selection.getCursor().row;l=this.getRowFoldStart(l);var _=this.$toggleFoldWidget(l,{});if(!_){var d=this.getParentFoldRangeData(l,!0);if(_=d.range||d.firstRange,_){l=_.start.row;var u=this.getFoldAt(l,this.getLine(l).length,1);u?this.removeFold(u):this.addFold("...",_)}}},this.updateFoldWidgets=function(c){var l=c.start.row,_=c.end.row-l;if(_===0)this.foldWidgets[l]=null;else if(c.action=="remove")this.foldWidgets.splice(l,_+1,null);else{var d=Array(_+1);d.unshift(l,1),this.foldWidgets.splice.apply(this.foldWidgets,d)}},this.tokenizerUpdateFoldWidgets=function(c){var l=c.data;l.first!=l.last&&this.foldWidgets.length>l.first&&this.foldWidgets.splice(l.first,this.foldWidgets.length)}}t.Folding=s});ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){var i=e("../token_iterator").TokenIterator,o=e("../range").Range;function r(){this.findMatchingBracket=function(a,s){if(a.column==0)return null;var c=s||this.getLine(a.row).charAt(a.column-1);if(c=="")return null;var l=c.match(/([\(\[\{])|([\)\]\}])/);return l?l[1]?this.$findClosingBracket(l[1],a):this.$findOpeningBracket(l[2],a):null},this.getBracketRange=function(a){var s=this.getLine(a.row),c=!0,l,_=s.charAt(a.column-1),d=_&&_.match(/([\(\[\{])|([\)\]\}])/);if(d||(_=s.charAt(a.column),a={row:a.row,column:a.column+1},d=_&&_.match(/([\(\[\{])|([\)\]\}])/),c=!1),!d)return null;if(d[1]){var u=this.$findClosingBracket(d[1],a);if(!u)return null;l=o.fromPoints(a,u),c||(l.end.column++,l.start.column--),l.cursor=l.end}else{var u=this.$findOpeningBracket(d[2],a);if(!u)return null;l=o.fromPoints(u,a),c||(l.start.column++,l.end.column--),l.cursor=l.start}return l},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(a,s,c){var l=this.$brackets[a],_=1,d=new i(this,s.row,s.column),u=d.getCurrentToken();if(u||(u=d.stepForward()),!!u){c||(c=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var m=s.column-d.getCurrentTokenColumn()-2,f=u.value;;){for(;m>=0;){var p=f.charAt(m);if(p==l){if(_-=1,_==0)return{row:d.getCurrentTokenRow(),column:m+d.getCurrentTokenColumn()}}else p==a&&(_+=1);m-=1}do u=d.stepBackward();while(u&&!c.test(u.type));if(u==null)break;f=u.value,m=f.length-1}return null}},this.$findClosingBracket=function(a,s,c){var l=this.$brackets[a],_=1,d=new i(this,s.row,s.column),u=d.getCurrentToken();if(u||(u=d.stepForward()),!!u){c||(c=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var m=s.column-d.getCurrentTokenColumn();;){for(var f=u.value,p=f.length;m<p;){var h=f.charAt(m);if(h==l){if(_-=1,_==0)return{row:d.getCurrentTokenRow(),column:m+d.getCurrentTokenColumn()}}else h==a&&(_+=1);m+=1}do u=d.stepForward();while(u&&!c.test(u.type));if(u==null)break;m=0}return null}}}t.BracketMatch=r});ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/lang"),r=e("./bidihandler").BidiHandler,a=e("./config"),s=e("./lib/event_emitter").EventEmitter,c=e("./selection").Selection,l=e("./mode/text").Mode,_=e("./range").Range,d=e("./document").Document,u=e("./background_tokenizer").BackgroundTokenizer,m=e("./search_highlight").SearchHighlight,f=function(p,h){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++f.$uid,this.$foldData.toString=function(){return this.join(`
|
|
`)},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),(typeof p!="object"||!p.getLine)&&(p=new d(p)),this.$bidiHandler=new r(this),this.setDocument(p),this.selection=new c(this),a.resetOptions(this),this.setMode(h),a._signal("session",this)};f.$uid=0,function(){i.implement(this,s),this.setDocument=function(y){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=y,y.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(y){if(!y){this.$docRowCache=[],this.$screenRowCache=[];return}var A=this.$docRowCache.length,R=this.$getRowCacheIndex(this.$docRowCache,y)+1;A>R&&(this.$docRowCache.splice(R,A),this.$screenRowCache.splice(R,A))},this.$getRowCacheIndex=function(y,A){for(var R=0,D=y.length-1;R<=D;){var M=R+D>>1,L=y[M];if(A>L)R=M+1;else if(A<L)D=M-1;else return M}return R-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(y){var A=y.data;this.$resetRowCache(A.start.row)},this.onChange=function(y){this.$modified=!0,this.$bidiHandler.onChange(y),this.$resetRowCache(y.start.row);var A=this.$updateInternalDataOnChange(y);!this.$fromUndo&&this.$undoManager&&!y.ignore&&(this.$deltasDoc.push(y),A&&A.length!=0&&this.$deltasFold.push({action:"removeFolds",folds:A}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(y),this._signal("change",y)},this.setValue=function(y){this.doc.setValue(y),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(y){return this.bgTokenizer.getState(y)},this.getTokens=function(y){return this.bgTokenizer.getTokens(y)},this.getTokenAt=function(y,A){var R=this.bgTokenizer.getTokens(y),D,M=0;if(A==null){var L=R.length-1;M=this.getLine(y).length}else for(var L=0;L<R.length&&(M+=R[L].value.length,!(M>=A));L++);return D=R[L],D?(D.index=L,D.start=M-D.value.length,D):null},this.setUndoManager=function(y){if(this.$undoManager=y,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),y){var A=this;this.$syncInformUndoManager=function(){A.$informUndoManager.cancel(),A.$deltasFold.length&&(A.$deltas.push({group:"fold",deltas:A.$deltasFold}),A.$deltasFold=[]),A.$deltasDoc.length&&(A.$deltas.push({group:"doc",deltas:A.$deltasDoc}),A.$deltasDoc=[]),A.$deltas.length>0&&y.execute({action:"aceupdate",args:[A.$deltas,A],merge:A.mergeUndoDeltas}),A.mergeUndoDeltas=!1,A.$deltas=[]},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):" "},this.setUseSoftTabs=function(y){this.setOption("useSoftTabs",y)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(y){this.setOption("tabSize",y)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(y){return this.$useSoftTabs&&y.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(y){this.setOption("navigateWithinSoftTabs",y)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(y){this.setOption("overwrite",y)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(y,A){this.$decorations[y]||(this.$decorations[y]=""),this.$decorations[y]+=" "+A,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(y,A){this.$decorations[y]=(this.$decorations[y]||"").replace(" "+A,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(y){this.$breakpoints=[];for(var A=0;A<y.length;A++)this.$breakpoints[y[A]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(y,A){A===void 0&&(A="ace_breakpoint"),A?this.$breakpoints[y]=A:delete this.$breakpoints[y],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(y){delete this.$breakpoints[y],this._signal("changeBreakpoint",{})},this.addMarker=function(y,A,R,D){var M=this.$markerId++,L={range:y,type:R||"line",renderer:typeof R=="function"?R:null,clazz:A,inFront:!!D,id:M};return D?(this.$frontMarkers[M]=L,this._signal("changeFrontMarker")):(this.$backMarkers[M]=L,this._signal("changeBackMarker")),M},this.addDynamicMarker=function(y,A){if(!!y.update){var R=this.$markerId++;return y.id=R,y.inFront=!!A,A?(this.$frontMarkers[R]=y,this._signal("changeFrontMarker")):(this.$backMarkers[R]=y,this._signal("changeBackMarker")),y}},this.removeMarker=function(y){var A=this.$frontMarkers[y]||this.$backMarkers[y];if(!!A){var R=A.inFront?this.$frontMarkers:this.$backMarkers;A&&(delete R[y],this._signal(A.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(y){return y?this.$frontMarkers:this.$backMarkers},this.highlight=function(y){if(!this.$searchHighlight){var A=new m(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(A)}this.$searchHighlight.setRegexp(y)},this.highlightLines=function(y,A,R,D){typeof A!="number"&&(R=A,A=y),R||(R="ace_step");var M=new _(y,0,A,1/0);return M.id=this.addMarker(M,R,"fullLine",D),M},this.setAnnotations=function(y){this.$annotations=y,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(y){var A=y.match(/^.*?(\r?\n)/m);A?this.$autoNewLine=A[1]:this.$autoNewLine=`
|
|
`},this.getWordRange=function(y,A){var R=this.getLine(y),D=!1;if(A>0&&(D=!!R.charAt(A-1).match(this.tokenRe)),D||(D=!!R.charAt(A).match(this.tokenRe)),D)var M=this.tokenRe;else if(/^\s+$/.test(R.slice(A-1,A+1)))var M=/\s/;else var M=this.nonTokenRe;var L=A;if(L>0){do L--;while(L>=0&&R.charAt(L).match(M));L++}for(var F=A;F<R.length&&R.charAt(F).match(M);)F++;return new _(y,L,y,F)},this.getAWordRange=function(y,A){for(var R=this.getWordRange(y,A),D=this.getLine(R.end.row);D.charAt(R.end.column).match(/[ \t]/);)R.end.column+=1;return R},this.setNewLineMode=function(y){this.doc.setNewLineMode(y)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(y){this.setOption("useWorker",y)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(y){var A=y.data;this.bgTokenizer.start(A.first),this._signal("tokenizerUpdate",y)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(y,A){if(y&&typeof y=="object"){if(y.getTokenizer)return this.$onChangeMode(y);var R=y,D=R.path}else D=y||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new l),this.$modes[D]&&!R){this.$onChangeMode(this.$modes[D]),A&&A();return}this.$modeId=D,a.loadModule(["mode",D],function(M){if(this.$modeId!==D)return A&&A();this.$modes[D]&&!R?this.$onChangeMode(this.$modes[D]):M&&M.Mode&&(M=new M.Mode(R),R||(this.$modes[D]=M,M.$id=D),this.$onChangeMode(M)),A&&A()}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(y,A){if(A||(this.$modeId=y.$id),this.$mode!==y){this.$mode=y,this.$stopWorker(),this.$useWorker&&this.$startWorker();var R=y.getTokenizer();if(R.addEventListener!==void 0){var D=this.onReloadTokenizer.bind(this);R.addEventListener("update",D)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(R);else{this.bgTokenizer=new u(R);var M=this;this.bgTokenizer.addEventListener("update",function(L){M._signal("tokenizerUpdate",L)})}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=y.tokenRe,this.nonTokenRe=y.nonTokenRe,A||(y.attachToSession&&y.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(y.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(y){a.warn("Could not load worker",y),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(y){this.$scrollTop===y||isNaN(y)||(this.$scrollTop=y,this._signal("changeScrollTop",y))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(y){this.$scrollLeft===y||isNaN(y)||(this.$scrollLeft=y,this._signal("changeScrollLeft",y))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(this.lineWidgetsWidth!=null)return this.lineWidgetsWidth;var y=0;return this.lineWidgets.forEach(function(A){A&&A.screenWidth>y&&(y=A.screenWidth)}),this.lineWidgetWidth=y},this.$computeWidth=function(y){if(this.$modified||y){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var A=this.doc.getAllLines(),R=this.$rowLengthCache,D=0,M=0,L=this.$foldData[M],F=L?L.start.row:1/0,q=A.length,$=0;$<q;$++){if($>F){if($=L.end.row+1,$>=q)break;L=this.$foldData[M++],F=L?L.start.row:1/0}R[$]==null&&(R[$]=this.$getStringScreenWidth(A[$])[0]),R[$]>D&&(D=R[$])}this.screenWidth=D}},this.getLine=function(y){return this.doc.getLine(y)},this.getLines=function(y,A){return this.doc.getLines(y,A)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(y){return this.doc.getTextRange(y||this.selection.getRange())},this.insert=function(y,A){return this.doc.insert(y,A)},this.remove=function(y){return this.doc.remove(y)},this.removeFullLines=function(y,A){return this.doc.removeFullLines(y,A)},this.undoChanges=function(y,A){if(!!y.length){this.$fromUndo=!0;for(var R=null,D=y.length-1;D!=-1;D--){var M=y[D];M.group=="doc"?(this.doc.revertDeltas(M.deltas),R=this.$getUndoSelection(M.deltas,!0,R)):M.deltas.forEach(function(L){this.addFolds(L.folds)},this)}return this.$fromUndo=!1,R&&this.$undoSelect&&!A&&this.selection.setSelectionRange(R),R}},this.redoChanges=function(y,A){if(!!y.length){this.$fromUndo=!0;for(var R=null,D=0;D<y.length;D++){var M=y[D];M.group=="doc"&&(this.doc.applyDeltas(M.deltas),R=this.$getUndoSelection(M.deltas,!1,R))}return this.$fromUndo=!1,R&&this.$undoSelect&&!A&&this.selection.setSelectionRange(R),R}},this.setUndoSelect=function(y){this.$undoSelect=y},this.$getUndoSelection=function(y,A,R){function D(Y){return A?Y.action!=="insert":Y.action==="insert"}var M=y[0],L,F;D(M)?L=_.fromPoints(M.start,M.end):L=_.fromPoints(M.start,M.start);for(var q=1;q<y.length;q++)M=y[q],D(M)?(F=M.start,L.compare(F.row,F.column)==-1&&L.setStart(F),F=M.end,L.compare(F.row,F.column)==1&&L.setEnd(F)):(F=M.start,L.compare(F.row,F.column)==-1&&(L=_.fromPoints(M.start,M.start)));if(R!=null){_.comparePoints(R.start,L.start)===0&&(R.start.column+=L.end.column-L.start.column,R.end.column+=L.end.column-L.start.column);var $=R.compareRange(L);$==1?L.setStart(R.start):$==-1&&L.setEnd(R.end)}return L},this.replace=function(y,A){return this.doc.replace(y,A)},this.moveText=function(y,A,R){var D=this.getTextRange(y),M=this.getFoldsInRange(y),L=_.fromPoints(A,A);if(!R){this.remove(y);var F=y.start.row-y.end.row,q=F?-y.end.column:y.start.column-y.end.column;q&&(L.start.row==y.end.row&&L.start.column>y.end.column&&(L.start.column+=q),L.end.row==y.end.row&&L.end.column>y.end.column&&(L.end.column+=q)),F&&L.start.row>=y.end.row&&(L.start.row+=F,L.end.row+=F)}if(L.end=this.insert(L.start,D),M.length){var $=y.start,Y=L.start,F=Y.row-$.row,q=Y.column-$.column;this.addFolds(M.map(function(B){return B=B.clone(),B.start.row==$.row&&(B.start.column+=q),B.end.row==$.row&&(B.end.column+=q),B.start.row+=F,B.end.row+=F,B}))}return L},this.indentRows=function(y,A,R){R=R.replace(/\t/g,this.getTabString());for(var D=y;D<=A;D++)this.doc.insertInLine({row:D,column:0},R)},this.outdentRows=function(y){for(var A=y.collapseRows(),R=new _(0,0,0,0),D=this.getTabSize(),M=A.start.row;M<=A.end.row;++M){var L=this.getLine(M);R.start.row=M,R.end.row=M;for(var F=0;F<D&&L.charAt(F)==" ";++F);F<D&&L.charAt(F)==" "?(R.start.column=F,R.end.column=F+1):(R.start.column=0,R.end.column=F),this.remove(R)}},this.$moveLines=function(y,A,R){if(y=this.getRowFoldStart(y),A=this.getRowFoldEnd(A),R<0){var D=this.getRowFoldStart(y+R);if(D<0)return 0;var M=D-y}else if(R>0){var D=this.getRowFoldEnd(A+R);if(D>this.doc.getLength()-1)return 0;var M=D-A}else{y=this.$clipRowToDocument(y),A=this.$clipRowToDocument(A);var M=A-y+1}var L=new _(y,0,A,Number.MAX_VALUE),F=this.getFoldsInRange(L).map(function($){return $=$.clone(),$.start.row+=M,$.end.row+=M,$}),q=R==0?this.doc.getLines(y,A):this.doc.removeFullLines(y,A);return this.doc.insertFullLines(y+M,q),F.length&&this.addFolds(F),M},this.moveLinesUp=function(y,A){return this.$moveLines(y,A,-1)},this.moveLinesDown=function(y,A){return this.$moveLines(y,A,1)},this.duplicateLines=function(y,A){return this.$moveLines(y,A,0)},this.$clipRowToDocument=function(y){return Math.max(0,Math.min(y,this.doc.getLength()-1))},this.$clipColumnToRow=function(y,A){return A<0?0:Math.min(this.doc.getLine(y).length,A)},this.$clipPositionToDocument=function(y,A){if(A=Math.max(0,A),y<0)y=0,A=0;else{var R=this.doc.getLength();y>=R?(y=R-1,A=this.doc.getLine(R-1).length):A=Math.min(this.doc.getLine(y).length,A)}return{row:y,column:A}},this.$clipRangeToDocument=function(y){y.start.row<0?(y.start.row=0,y.start.column=0):y.start.column=this.$clipColumnToRow(y.start.row,y.start.column);var A=this.doc.getLength()-1;return y.end.row>A?(y.end.row=A,y.end.column=this.doc.getLine(A).length):y.end.column=this.$clipColumnToRow(y.end.row,y.end.column),y},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(y){if(y!=this.$useWrapMode){if(this.$useWrapMode=y,this.$modified=!0,this.$resetRowCache(0),y){var A=this.getLength();this.$wrapData=Array(A),this.$updateWrapData(0,A-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(y,A){(this.$wrapLimitRange.min!==y||this.$wrapLimitRange.max!==A)&&(this.$wrapLimitRange={min:y,max:A},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(y,A){var R=this.$wrapLimitRange;R.max<0&&(R={min:A,max:A});var D=this.$constrainWrapLimit(y,R.min,R.max);return D!=this.$wrapLimit&&D>1?(this.$wrapLimit=D,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},this.$constrainWrapLimit=function(y,A,R){return A&&(y=Math.max(A,y)),R&&(y=Math.min(R,y)),y},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(y){this.setWrapLimitRange(y,y)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(y){var A=this.$useWrapMode,R=y.action,D=y.start,M=y.end,L=D.row,F=M.row,q=F-L,$=null;if(this.$updating=!0,q!=0)if(R==="remove"){this[A?"$wrapData":"$rowLengthCache"].splice(L,q);var Y=this.$foldData;$=this.getFoldsInRange(y),this.removeFolds($);var X=this.getFoldLine(M.row),J=0;if(X){X.addRemoveChars(M.row,M.column,D.column-M.column),X.shiftRow(-q);var B=this.getFoldLine(L);B&&B!==X&&(B.merge(X),X=B),J=Y.indexOf(X)+1}for(J;J<Y.length;J++){var X=Y[J];X.start.row>=M.row&&X.shiftRow(-q)}F=L}else{var w=Array(q);w.unshift(L,0);var I=A?this.$wrapData:this.$rowLengthCache;I.splice.apply(I,w);var Y=this.$foldData,X=this.getFoldLine(L),J=0;if(X){var U=X.range.compareInside(D.row,D.column);U==0?(X=X.split(D.row,D.column),X&&(X.shiftRow(q),X.addRemoveChars(F,0,M.column-D.column))):U==-1&&(X.addRemoveChars(L,0,M.column-D.column),X.shiftRow(q)),J=Y.indexOf(X)+1}for(J;J<Y.length;J++){var X=Y[J];X.start.row>=L&&X.shiftRow(q)}}else{q=Math.abs(y.start.column-y.end.column),R==="remove"&&($=this.getFoldsInRange(y),this.removeFolds($),q=-q);var X=this.getFoldLine(L);X&&X.addRemoveChars(L,D.column,q)}return A&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,A?this.$updateWrapData(L,F):this.$updateRowLengthCache(L,F),$},this.$updateRowLengthCache=function(y,A,R){this.$rowLengthCache[y]=null,this.$rowLengthCache[A]=null},this.$updateWrapData=function(y,A){var R=this.doc.getAllLines(),D=this.getTabSize(),M=this.$wrapData,L=this.$wrapLimit,F,q,$=y;for(A=Math.min(A,R.length-1);$<=A;)q=this.getFoldLine($,q),q?(F=[],q.walk(function(Y,X,J,B){var w;if(Y!=null){w=this.$getDisplayTokens(Y,F.length),w[0]=b;for(var I=1;I<w.length;I++)w[I]=g}else w=this.$getDisplayTokens(R[X].substring(B,J),F.length);F=F.concat(w)}.bind(this),q.end.row,R[q.end.row].length+1),M[q.start.row]=this.$computeWrapSplits(F,L,D),$=q.end.row+1):(F=this.$getDisplayTokens(R[$]),M[$]=this.$computeWrapSplits(F,L,D),$++)};var p=1,h=2,b=3,g=4,v=9,E=10,S=11,N=12;this.$computeWrapSplits=function(y,A,R){if(y.length==0)return[];var D=[],M=y.length,L=0,F=0,q=this.$wrapAsCode,$=this.$indentedSoftWrap,Y=A<=Math.max(2*R,8)||$===!1?0:Math.floor(A/2);function X(){var U=0;if(Y===0)return U;if($)for(var z=0;z<y.length;z++){var ee=y[z];if(ee==E)U+=1;else if(ee==S)U+=R;else{if(ee==N)continue;break}}return q&&$!==!1&&(U+=R),Math.min(U,Y)}function J(U){var z=y.slice(L,U),ee=z.length;z.join("").replace(/12/g,function(){ee-=1}).replace(/2/g,function(){ee-=1}),D.length||(B=X(),D.indent=B),F+=ee,D.push(F),L=U}for(var B=0;M-L>A-B;){var w=L+A-B;if(y[w-1]>=E&&y[w]>=E){J(w);continue}if(y[w]==b||y[w]==g){for(w;w!=L-1&&y[w]!=b;w--);if(w>L){J(w);continue}for(w=L+A,w;w<y.length&&y[w]==g;w++);if(w==y.length)break;J(w);continue}for(var I=Math.max(w-(A-(A>>2)),L-1);w>I&&y[w]<b;)w--;if(q){for(;w>I&&y[w]<b;)w--;for(;w>I&&y[w]==v;)w--}else for(;w>I&&y[w]<E;)w--;if(w>I){J(++w);continue}w=L+A,y[w]==h&&w--,J(w-B)}return D},this.$getDisplayTokens=function(y,A){var R=[],D;A=A||0;for(var M=0;M<y.length;M++){var L=y.charCodeAt(M);if(L==9){D=this.getScreenTabSize(R.length+A),R.push(S);for(var F=1;F<D;F++)R.push(N)}else L==32?R.push(E):L>39&&L<48||L>57&&L<64?R.push(v):L>=4352&&C(L)?R.push(p,h):R.push(p)}return R},this.$getStringScreenWidth=function(y,A,R){if(A==0)return[0,0];A==null&&(A=1/0),R=R||0;var D,M;for(M=0;M<y.length&&(D=y.charCodeAt(M),D==9?R+=this.getScreenTabSize(R):D>=4352&&C(D)?R+=2:R+=1,!(R>A));M++);return[R,M]},this.lineWidgets=null,this.getRowLength=function(y){if(this.lineWidgets)var A=this.lineWidgets[y]&&this.lineWidgets[y].rowCount||0;else A=0;return!this.$useWrapMode||!this.$wrapData[y]?1+A:this.$wrapData[y].length+1+A},this.getRowLineCount=function(y){return!this.$useWrapMode||!this.$wrapData[y]?1:this.$wrapData[y].length+1},this.getRowWrapIndent=function(y){if(this.$useWrapMode){var A=this.screenToDocumentPosition(y,Number.MAX_VALUE),R=this.$wrapData[A.row];return R.length&&R[0]<A.column?R.indent:0}else return 0},this.getScreenLastRowColumn=function(y){var A=this.screenToDocumentPosition(y,Number.MAX_VALUE);return this.documentToScreenColumn(A.row,A.column)},this.getDocumentLastRowColumn=function(y,A){var R=this.documentToScreenRow(y,A);return this.getScreenLastRowColumn(R)},this.getDocumentLastRowColumnPosition=function(y,A){var R=this.documentToScreenRow(y,A);return this.screenToDocumentPosition(R,Number.MAX_VALUE/10)},this.getRowSplitData=function(y){if(this.$useWrapMode)return this.$wrapData[y]},this.getScreenTabSize=function(y){return this.$tabSize-y%this.$tabSize},this.screenToDocumentRow=function(y,A){return this.screenToDocumentPosition(y,A).row},this.screenToDocumentColumn=function(y,A){return this.screenToDocumentPosition(y,A).column},this.screenToDocumentPosition=function(y,A,R){if(y<0)return{row:0,column:0};var D,M=0,L=0,F,q=0,$=0,Y=this.$screenRowCache,X=this.$getRowCacheIndex(Y,y),J=Y.length;if(J&&X>=0)var q=Y[X],M=this.$docRowCache[X],B=y>Y[J-1];else var B=!J;for(var w=this.getLength()-1,I=this.getNextFoldLine(M),U=I?I.start.row:1/0;q<=y&&($=this.getRowLength(M),!(q+$>y||M>=w));)q+=$,M++,M>U&&(M=I.end.row+1,I=this.getNextFoldLine(M,I),U=I?I.start.row:1/0),B&&(this.$docRowCache.push(M),this.$screenRowCache.push(q));if(I&&I.start.row<=M)D=this.getFoldDisplayLine(I),M=I.start.row;else{if(q+$<=y||M>w)return{row:w,column:this.getLine(w).length};D=this.getLine(M),I=null}var z=0,ee=Math.floor(y-q);if(this.$useWrapMode){var ae=this.$wrapData[M];ae&&(F=ae[ee],ee>0&&ae.length&&(z=ae.indent,L=ae[ee-1]||ae[ae.length-1],D=D.substring(L)))}return R!==void 0&&this.$bidiHandler.isBidiRow(q+ee,M,ee)&&(A=this.$bidiHandler.offsetToCol(R)),L+=this.$getStringScreenWidth(D,A-z)[1],this.$useWrapMode&&L>=F&&(L=F-1),I?I.idxToPosition(L):{row:M,column:L}},this.documentToScreenPosition=function(y,A){if(typeof A=="undefined")var R=this.$clipPositionToDocument(y.row,y.column);else R=this.$clipPositionToDocument(y,A);y=R.row,A=R.column;var D=0,M=null,L=null;L=this.getFoldAt(y,A,1),L&&(y=L.start.row,A=L.start.column);var F,q=0,$=this.$docRowCache,Y=this.$getRowCacheIndex($,y),X=$.length;if(X&&Y>=0)var q=$[Y],D=this.$screenRowCache[Y],J=y>$[X-1];else var J=!X;for(var B=this.getNextFoldLine(q),w=B?B.start.row:1/0;q<y;){if(q>=w){if(F=B.end.row+1,F>y)break;B=this.getNextFoldLine(F,B),w=B?B.start.row:1/0}else F=q+1;D+=this.getRowLength(q),q=F,J&&(this.$docRowCache.push(q),this.$screenRowCache.push(D))}var I="";B&&q>=w?(I=this.getFoldDisplayLine(B,y,A),M=B.start.row):(I=this.getLine(y).substring(0,A),M=y);var U=0;if(this.$useWrapMode){var z=this.$wrapData[M];if(z){for(var ee=0;I.length>=z[ee];)D++,ee++;I=I.substring(z[ee-1]||0,I.length),U=ee>0?z.indent:0}}return{row:D,column:U+this.$getStringScreenWidth(I)[0]}},this.documentToScreenColumn=function(y,A){return this.documentToScreenPosition(y,A).column},this.documentToScreenRow=function(y,A){return this.documentToScreenPosition(y,A).row},this.getScreenLength=function(){var y=0,A=null;if(this.$useWrapMode)for(var M=this.$wrapData.length,L=0,D=0,A=this.$foldData[D++],F=A?A.start.row:1/0;L<M;){var q=this.$wrapData[L];y+=q?q.length+1:1,L++,L>F&&(L=A.end.row+1,A=this.$foldData[D++],F=A?A.start.row:1/0)}else{y=this.getLength();for(var R=this.$foldData,D=0;D<R.length;D++)A=R[D],y-=A.end.row-A.start.row}return this.lineWidgets&&(y+=this.$getWidgetScreenLength()),y},this.$setFontMetrics=function(y){!this.$enableVarChar||(this.$getStringScreenWidth=function(A,R,D){if(R===0)return[0,0];R||(R=1/0),D=D||0;var M,L;for(L=0;L<A.length&&(M=A.charAt(L),M===" "?D+=this.getScreenTabSize(D):D+=y.getCharacterWidth(M),!(D>R));L++);return[D,L]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=C;function C(y){return y<4352?!1:y>=4352&&y<=4447||y>=4515&&y<=4519||y>=4602&&y<=4607||y>=9001&&y<=9002||y>=11904&&y<=11929||y>=11931&&y<=12019||y>=12032&&y<=12245||y>=12272&&y<=12283||y>=12288&&y<=12350||y>=12353&&y<=12438||y>=12441&&y<=12543||y>=12549&&y<=12589||y>=12593&&y<=12686||y>=12688&&y<=12730||y>=12736&&y<=12771||y>=12784&&y<=12830||y>=12832&&y<=12871||y>=12880&&y<=13054||y>=13056&&y<=19903||y>=19968&&y<=42124||y>=42128&&y<=42182||y>=43360&&y<=43388||y>=44032&&y<=55203||y>=55216&&y<=55238||y>=55243&&y<=55291||y>=63744&&y<=64255||y>=65040&&y<=65049||y>=65072&&y<=65106||y>=65108&&y<=65126||y>=65128&&y<=65131||y>=65281&&y<=65376||y>=65504&&y<=65510}}.call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),a.defineOptions(f.prototype,"session",{wrap:{set:function(p){if(!p||p=="off"?p=!1:p=="free"?p=!0:p=="printMargin"?p=-1:typeof p=="string"&&(p=parseInt(p,10)||!1),this.$wrap!=p)if(this.$wrap=p,!p)this.setUseWrapMode(!1);else{var h=typeof p=="number"?p:null;this.setWrapLimitRange(h,h),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(p){p=p=="auto"?this.$mode.type!="text":p!="text",p!=this.$wrapAsCode&&(this.$wrapAsCode=p,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(p){this.$useWorker=p,this.$stopWorker(),p&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(p){isNaN(p)||this.$tabSize===p||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=p,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(p){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(p){this.doc.setNewLineMode(p)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(p){this.setMode(p)},get:function(){return this.$modeId}}}),t.EditSession=f});ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var i=e("./lib/lang"),o=e("./lib/oop"),r=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(c){return o.mixin(this.$options,c),this},this.getOptions=function(){return i.copyObject(this.$options)},this.setOptions=function(c){this.$options=c},this.find=function(c){var l=this.$options,_=this.$matchIterator(c,l);if(!_)return!1;var d=null;return _.forEach(function(u,m,f,p){return d=new r(u,m,f,p),m==p&&l.start&&l.start.start&&l.skipCurrent!=!1&&d.isEqual(l.start)?(d=null,!1):!0}),d},this.findAll=function(c){var l=this.$options;if(!l.needle)return[];this.$assembleRegExp(l);var _=l.range,d=_?c.getLines(_.start.row,_.end.row):c.doc.getAllLines(),u=[],m=l.re;if(l.$isMultiLine){var f=m.length,p=d.length-f,h;e:for(var b=m.offset||0;b<=p;b++){for(var g=0;g<f;g++)if(d[b+g].search(m[g])==-1)continue e;var v=d[b],E=d[b+f-1],S=v.length-v.match(m[0])[0].length,N=E.match(m[f-1])[0].length;h&&h.end.row===b&&h.end.column>S||(u.push(h=new r(b,S,b+f-1,N)),f>2&&(b=b+f-2))}}else for(var C=0;C<d.length;C++)for(var y=i.getMatchOffsets(d[C],m),g=0;g<y.length;g++){var A=y[g];u.push(new r(C,A.offset,C,A.offset+A.length))}if(_){for(var R=_.start.column,D=_.start.column,C=0,g=u.length-1;C<g&&u[C].start.column<R&&u[C].start.row==_.start.row;)C++;for(;C<g&&u[g].end.column>D&&u[g].end.row==_.end.row;)g--;for(u=u.slice(C,g+1),C=0,g=u.length;C<g;C++)u[C].start.row+=_.start.row,u[C].end.row+=_.start.row}return u},this.replace=function(c,l){var _=this.$options,d=this.$assembleRegExp(_);if(_.$isMultiLine)return l;if(!!d){var u=d.exec(c);if(!u||u[0].length!=c.length)return null;if(l=c.replace(d,l),_.preserveCase){l=l.split("");for(var m=Math.min(c.length,c.length);m--;){var f=c[m];f&&f.toLowerCase()!=f?l[m]=l[m].toUpperCase():l[m]=l[m].toLowerCase()}l=l.join("")}return l}},this.$assembleRegExp=function(c,l){if(c.needle instanceof RegExp)return c.re=c.needle;var _=c.needle;if(!c.needle)return c.re=!1;c.regExp||(_=i.escapeRegExp(_)),c.wholeWord&&(_=s(_,c));var d=c.caseSensitive?"gm":"gmi";if(c.$isMultiLine=!l&&/[\n\r]/.test(_),c.$isMultiLine)return c.re=this.$assembleMultilineRegExp(_,d);try{var u=new RegExp(_,d)}catch{u=!1}return c.re=u},this.$assembleMultilineRegExp=function(c,l){for(var _=c.replace(/\r\n|\r|\n/g,`$
|
|
^`).split(`
|
|
`),d=[],u=0;u<_.length;u++)try{d.push(new RegExp(_[u],l))}catch{return!1}return d},this.$matchIterator=function(c,l){var _=this.$assembleRegExp(l);if(!_)return!1;var d=l.backwards==!0,u=l.skipCurrent!=!1,m=l.range,f=l.start;f||(f=m?m[d?"end":"start"]:c.selection.getRange()),f.start&&(f=f[u!=d?"end":"start"]);var p=m?m.start.row:0,h=m?m.end.row:c.getLength()-1;if(d)var b=function(E){var S=f.row;if(!v(S,f.column,E)){for(S--;S>=p;S--)if(v(S,Number.MAX_VALUE,E))return;if(l.wrap!=!1){for(S=h,p=f.row;S>=p;S--)if(v(S,Number.MAX_VALUE,E))return}}};else var b=function(S){var N=f.row;if(!v(N,f.column,S)){for(N=N+1;N<=h;N++)if(v(N,0,S))return;if(l.wrap!=!1){for(N=p,h=f.row;N<=h;N++)if(v(N,0,S))return}}};if(l.$isMultiLine)var g=_.length,v=function(E,S,N){var C=d?E-g+1:E;if(!(C<0)){var y=c.getLine(C),A=y.search(_[0]);if(!(!d&&A<S||A===-1)){for(var R=1;R<g;R++)if(y=c.getLine(C+R),y.search(_[R])==-1)return;var D=y.match(_[g-1])[0].length;if(!(d&&D>S)&&N(C,A,C+g-1,D))return!0}}};else if(d)var v=function(S,N,C){var y=c.getLine(S),A=[],R,D=0;for(_.lastIndex=0;R=_.exec(y);){var M=R[0].length;if(D=R.index,!M){if(D>=y.length)break;_.lastIndex=D+=1}if(R.index+M>N)break;A.push(R.index,M)}for(var L=A.length-1;L>=0;L-=2){var F=A[L-1],M=A[L];if(C(S,F,S,F+M))return!0}};else var v=function(S,N,C){var y=c.getLine(S),A,R=N;for(_.lastIndex=N;A=_.exec(y);){var D=A[0].length;if(R=A.index,C(S,R,S,R+D))return!0;if(!D&&(_.lastIndex=R+=1,R>=y.length))return!1}};return{forEach:b}}}).call(a.prototype);function s(c,l){function _(d){return/\w/.test(d)||l.regExp?"\\b":""}return _(c[0])+c+_(c[c.length-1])}t.Search=a});ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){var i=e("../lib/keys"),o=e("../lib/useragent"),r=i.KEY_MODS;function a(c,l){this.platform=l||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(c),this.$singleCommand=!0}function s(c,l){a.call(this,c,l),this.$singleCommand=!1}s.prototype=a.prototype,function(){this.addCommand=function(l){this.commands[l.name]&&this.removeCommand(l),this.commands[l.name]=l,l.bindKey&&this._buildKeyHash(l)},this.removeCommand=function(l,_){var d=l&&(typeof l=="string"?l:l.name);l=this.commands[d],_||delete this.commands[d];var u=this.commandKeyBinding;for(var m in u){var f=u[m];if(f==l)delete u[m];else if(Array.isArray(f)){var p=f.indexOf(l);p!=-1&&(f.splice(p,1),f.length==1&&(u[m]=f[0]))}}},this.bindKey=function(l,_,d){if(typeof l=="object"&&l&&(d==null&&(d=l.position),l=l[this.platform]),!!l){if(typeof _=="function")return this.addCommand({exec:_,bindKey:l,name:_.name||l});l.split("|").forEach(function(u){var m="";if(u.indexOf(" ")!=-1){var f=u.split(/\s+/);u=f.pop(),f.forEach(function(b){var g=this.parseKeys(b),v=r[g.hashId]+g.key;m+=(m?" ":"")+v,this._addCommandToBinding(m,"chainKeys")},this),m+=" "}var p=this.parseKeys(u),h=r[p.hashId]+p.key;this._addCommandToBinding(m+h,_,d)},this)}};function c(l){return typeof l=="object"&&l.bindKey&&l.bindKey.position||(l.isDefault?-100:0)}this._addCommandToBinding=function(l,_,d){var u=this.commandKeyBinding,m;if(!_)delete u[l];else if(!u[l]||this.$singleCommand)u[l]=_;else{Array.isArray(u[l])?(m=u[l].indexOf(_))!=-1&&u[l].splice(m,1):u[l]=[u[l]],typeof d!="number"&&(d=c(_));var f=u[l];for(m=0;m<f.length;m++){var p=f[m],h=c(p);if(h>d)break}f.splice(m,0,_)}},this.addCommands=function(l){l&&Object.keys(l).forEach(function(_){var d=l[_];if(!!d){if(typeof d=="string")return this.bindKey(d,_);typeof d=="function"&&(d={exec:d}),typeof d=="object"&&(d.name||(d.name=_),this.addCommand(d))}},this)},this.removeCommands=function(l){Object.keys(l).forEach(function(_){this.removeCommand(l[_])},this)},this.bindKeys=function(l){Object.keys(l).forEach(function(_){this.bindKey(_,l[_])},this)},this._buildKeyHash=function(l){this.bindKey(l.bindKey,l)},this.parseKeys=function(l){var _=l.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(h){return h}),d=_.pop(),u=i[d];if(i.FUNCTION_KEYS[u])d=i.FUNCTION_KEYS[u].toLowerCase();else if(_.length){if(_.length==1&&_[0]=="shift")return{key:d.toUpperCase(),hashId:-1}}else return{key:d,hashId:-1};for(var m=0,f=_.length;f--;){var p=i.KEY_MODS[_[f]];if(p==null)return typeof console!="undefined"&&console.error("invalid modifier "+_[f]+" in "+l),!1;m|=p}return{key:d,hashId:m}},this.findKeyCommand=function(_,d){var u=r[_]+d;return this.commandKeyBinding[u]},this.handleKeyboard=function(l,_,d,u){if(!(u<0)){var m=r[_]+d,f=this.commandKeyBinding[m];return l.$keyChain&&(l.$keyChain+=" "+m,f=this.commandKeyBinding[l.$keyChain]||f),f&&(f=="chainKeys"||f[f.length-1]=="chainKeys")?(l.$keyChain=l.$keyChain||m,{command:"null"}):(l.$keyChain&&((!_||_==4)&&d.length==1?l.$keyChain=l.$keyChain.slice(0,-m.length-1):(_==-1||u>0)&&(l.$keyChain="")),{command:f})}},this.getStatusText=function(l,_){return _.$keyChain||""}}.call(a.prototype),t.HashHandler=a,t.MultiHashHandler=s});ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,r=e("../lib/event_emitter").EventEmitter,a=function(s,c){o.call(this,c,s),this.byName=this.commands,this.setDefaultHandler("exec",function(l){return l.command.exec(l.editor,l.args||{})})};i.inherits(a,o),function(){i.implement(this,r),this.exec=function(s,c,l){if(Array.isArray(s)){for(var _=s.length;_--;)if(this.exec(s[_],c,l))return!0;return!1}if(typeof s=="string"&&(s=this.commands[s]),!s||c&&c.$readOnly&&!s.readOnly||s.isAvailable&&!s.isAvailable(c))return!1;var d={editor:c,command:s,args:l};return d.returnValue=this._emit("exec",d),this._signal("afterExec",d),d.returnValue!==!1},this.toggleRecording=function(s){if(!this.$inReplay)return s&&s._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(c){this.macro.push([c.command,c.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(s){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(s);try{this.$inReplay=!0,this.macro.forEach(function(c){typeof c=="string"?this.exec(c,s):this.exec(c[0],s,c[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(s){return s.map(function(c){return typeof c[0]!="string"&&(c[0]=c[0].name),c[1]||(c=c[0]),c})}}.call(a.prototype),t.CommandManager=a});ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(e,t,n){var i=e("../lib/lang"),o=e("../config"),r=e("../range").Range;function a(s,c){return{win:s,mac:c}}t.commands=[{name:"showSettingsMenu",bindKey:a("Ctrl-,","Command-,"),exec:function(s){o.loadModule("ace/ext/settings_menu",function(c){c.init(s),s.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:a("Alt-E","F4"),exec:function(s){o.loadModule("ace/ext/error_marker",function(c){c.showErrorMarker(s,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(s){o.loadModule("ace/ext/error_marker",function(c){c.showErrorMarker(s,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:a("Ctrl-A","Command-A"),exec:function(s){s.selectAll()},readOnly:!0},{name:"centerselection",bindKey:a(null,"Ctrl-L"),exec:function(s){s.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:a("Ctrl-L","Command-L"),exec:function(s){var c=parseInt(prompt("Enter line number:"),10);isNaN(c)||s.gotoLine(c)},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(s){s.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(s){s.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:a("F2","F2"),exec:function(s){s.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:a("Alt-F2","Alt-F2"),exec:function(s){s.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(s){s.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:a("Alt-0","Command-Option-0"),exec:function(s){s.session.foldAll(),s.session.unfold(s.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(s){s.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:a("Ctrl-K","Command-G"),exec:function(s){s.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(s){s.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:a("Alt-K","Ctrl-G"),exec:function(s){s.selection.isEmpty()?s.selection.selectWord():s.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(s){s.selection.isEmpty()?s.selection.selectWord():s.findPrevious()},readOnly:!0},{name:"find",bindKey:a("Ctrl-F","Command-F"),exec:function(s){o.loadModule("ace/ext/searchbox",function(c){c.Search(s)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(s){s.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(s){s.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(s){s.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(s){s.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:a("Up","Up|Ctrl-P"),exec:function(s,c){s.navigateUp(c.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(s){s.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(s){s.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(s){s.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:a("Down","Down|Ctrl-N"),exec:function(s,c){s.navigateDown(c.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(s){s.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:a("Ctrl-Left","Option-Left"),exec:function(s){s.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(s){s.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(s){s.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(s){s.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:a("Left","Left|Ctrl-B"),exec:function(s,c){s.navigateLeft(c.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(s){s.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:a("Ctrl-Right","Option-Right"),exec:function(s){s.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(s){s.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(s){s.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:a("Shift-Right","Shift-Right"),exec:function(s){s.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:a("Right","Right|Ctrl-F"),exec:function(s,c){s.navigateRight(c.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(s){s.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:a(null,"Option-PageDown"),exec:function(s){s.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(s){s.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(s){s.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:a(null,"Option-PageUp"),exec:function(s){s.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(s){s.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:a("Ctrl-Up",null),exec:function(s){s.renderer.scrollBy(0,-2*s.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:a("Ctrl-Down",null),exec:function(s){s.renderer.scrollBy(0,2*s.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(s){s.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(s){s.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(s){s.commands.toggleRecording(s)},readOnly:!0},{name:"replaymacro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(s){s.commands.replay(s)},readOnly:!0},{name:"jumptomatching",bindKey:a("Ctrl-P","Ctrl-P"),exec:function(s){s.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:a("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(s){s.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(s){s.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(s){},readOnly:!0},{name:"cut",exec:function(s){var c=s.getSelectionRange();s._emit("cut",c),s.selection.isEmpty()||(s.session.remove(c),s.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(s,c){s.$handlePaste(c)},scrollIntoView:"cursor"},{name:"removeline",bindKey:a("Ctrl-D","Command-D"),exec:function(s){s.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(s){s.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(s){s.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:a("Ctrl-/","Command-/"),exec:function(s){s.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(s){s.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(s){s.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(s){s.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(s){o.loadModule("ace/ext/searchbox",function(c){c.Search(s,!0)})}},{name:"undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(s){s.undo()}},{name:"redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(s){s.redo()}},{name:"copylinesup",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(s){s.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:a("Alt-Up","Option-Up"),exec:function(s){s.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(s){s.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:a("Alt-Down","Option-Down"),exec:function(s){s.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(s){s.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(s){s.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:a("Shift-Delete",null),exec:function(s){if(s.selection.isEmpty())s.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(s){s.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(s){s.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(s){var c=s.selection.getRange();c.start.column=0,s.session.remove(c)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(s){var c=s.selection.getRange();c.end.column=Number.MAX_VALUE,s.session.remove(c)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(s){s.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(s){s.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(s){s.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:a("Tab","Tab"),exec:function(s){s.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(s){s.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(s){s.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(s,c){s.insert(c)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(s,c){s.insert(i.stringRepeat(c.text||"",c.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:a(null,"Ctrl-O"),exec:function(s){s.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(s){s.transposeLetters()},multiSelectAction:function(s){s.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(s){s.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(s){s.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(s){var c=s.selection.getRange();c.start.column=c.end.column=0,c.end.row++,s.selection.setRange(c,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:a(null,null),exec:function(s){for(var c=s.selection.isBackwards(),l=c?s.selection.getSelectionLead():s.selection.getSelectionAnchor(),_=c?s.selection.getSelectionAnchor():s.selection.getSelectionLead(),d=s.session.doc.getLine(l.row).length,u=s.session.doc.getTextRange(s.selection.getRange()),m=u.replace(/\n\s*/," ").length,f=s.session.doc.getLine(l.row),p=l.row+1;p<=_.row+1;p++){var h=i.stringTrimLeft(i.stringTrimRight(s.session.doc.getLine(p)));h.length!==0&&(h=" "+h),f+=h}_.row+1<s.session.doc.getLength()-1&&(f+=s.session.doc.getNewLineCharacter()),s.clearSelection(),s.session.doc.replace(new r(l.row,0,_.row+2,0),f),m>0?(s.selection.moveCursorTo(l.row,l.column),s.selection.selectTo(l.row,l.column+m)):(d=s.session.doc.getLine(l.row).length>d?d+1:d,s.selection.moveCursorTo(l.row,d))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:a(null,null),exec:function(s){var c=s.session.doc.getLength()-1,l=s.session.doc.getLine(c).length,_=s.selection.rangeList.ranges,d=[];_.length<1&&(_=[s.selection.getRange()]);for(var u=0;u<_.length;u++)u==_.length-1&&(_[u].end.row===c&&_[u].end.column===l||d.push(new r(_[u].end.row,_[u].end.column,c,l))),u===0?_[u].start.row===0&&_[u].start.column===0||d.push(new r(0,0,_[u].start.row,_[u].start.column)):d.push(new r(_[u-1].end.row,_[u-1].end.column,_[u].start.row,_[u].start.column));s.exitMultiSelectMode(),s.clearSelection();for(var u=0;u<d.length;u++)s.selection.addRange(d[u],!1)},readOnly:!0,scrollIntoView:"none"}]});ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(e,t,n){e("./lib/fixoldbrowsers");var i=e("./lib/oop"),o=e("./lib/dom"),r=e("./lib/lang"),a=e("./lib/useragent"),s=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,l=e("./mouse/fold_handler").FoldHandler,_=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,u=e("./search").Search,m=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,p=e("./commands/command_manager").CommandManager,h=e("./commands/default_commands").commands,b=e("./config"),g=e("./token_iterator").TokenIterator,v=function(E,S){var N=E.getContainerElement();this.container=N,this.renderer=E,this.id="editor"+ ++v.$uid,this.commands=new p(a.isMac?"mac":"win",h),typeof document=="object"&&(this.textInput=new s(E.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new l(this)),this.keyBinding=new _(this),this.$blockScrolling=0,this.$search=new u().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=r.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(C,y){y._$emitInputEvent.schedule(31)}),this.setSession(S||new d("")),b.resetOptions(this),b._signal("editor",this)};v.$uid=0,function(){i.implement(this,f),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=r.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(E){if(this.curOp){if(!E||this.curOp.command)return;this.prevOp=this.curOp}E||(this.previousCommand=null,E={}),this.$opResetTimer.schedule(),this.curOp={command:E.command||{},args:E.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&this.curOp.command.scrollIntoView!==void 0&&this.$blockScrolling++},this.endOperation=function(E){if(this.curOp){if(E&&E.returnValue===!1)return this.curOp=null;this._signal("beforeEndOperation");var S=this.curOp.command;S.name&&this.$blockScrolling>0&&this.$blockScrolling--;var N=S&&S.scrollIntoView;if(N){switch(N){case"center-animate":N="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var C=this.selection.getRange(),y=this.renderer.layerConfig;(C.start.row>=y.lastRow||C.end.row<=y.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break}N=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(E){if(!!this.$mergeUndoDeltas){var S=this.prevOp,N=this.$mergeableCommands,C=S.command&&E.command.name==S.command.name;if(E.command.name=="insertstring"){var y=E.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),C=C&&this.mergeNextCommand&&(!/\s/.test(y)||/\s/.test(S.args)),this.mergeNextCommand=!0}else C=C&&N.indexOf(E.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(C=!1),C?this.session.mergeUndoDeltas=!0:N.indexOf(E.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(E,S){if(E&&typeof E=="string"){this.$keybindingId=E;var N=this;b.loadModule(["keybinding",E],function(C){N.$keybindingId==E&&N.keyBinding.setKeyboardHandler(C&&C.handler),S&&S()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(E),S&&S()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(E){if(this.session!=E){this.curOp&&this.endOperation(),this.curOp={};var S=this.session;if(S){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var N=this.session.getSelection();N.off("changeCursor",this.$onCursorChange),N.off("changeSelection",this.$onSelectionChange)}this.session=E,E?(this.$onDocumentChange=this.onDocumentChange.bind(this),E.on("change",this.$onDocumentChange),this.renderer.setSession(E),this.$onChangeMode=this.onChangeMode.bind(this),E.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),E.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),E.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),E.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),E.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),E.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=E.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(E)),this._signal("changeSession",{session:E,oldSession:S}),this.curOp=null,S&&S._signal("changeEditor",{oldEditor:this}),E&&E._signal("changeEditor",{editor:this}),E&&E.bgTokenizer&&E.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(E,S){return this.session.doc.setValue(E),S?S==1?this.navigateFileEnd():S==-1&&this.navigateFileStart():this.selectAll(),E},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(E){this.renderer.onResize(E)},this.setTheme=function(E,S){this.renderer.setTheme(E,S)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(E){this.renderer.setStyle(E)},this.unsetStyle=function(E){this.renderer.unsetStyle(E)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container,"fontSize")},this.setFontSize=function(E){this.setOption("fontSize",E)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var E=this;this.$highlightPending=!0,setTimeout(function(){E.$highlightPending=!1;var S=E.session;if(!(!S||!S.bgTokenizer)){var N=S.findMatchingBracket(E.getCursorPosition());if(N)var C=new m(N.row,N.column,N.row,N.column+1);else if(S.$mode.getMatching)var C=S.$mode.getMatching(E.session);C&&(S.$bracketHighlight=S.addMarker(C,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var E=this;this.$highlightTagPending=!0,setTimeout(function(){E.$highlightTagPending=!1;var S=E.session;if(!(!S||!S.bgTokenizer)){var N=E.getCursorPosition(),C=new g(E.session,N.row,N.column),y=C.getCurrentToken();if(!y||!/\b(?:tag-open|tag-name)/.test(y.type)){S.removeMarker(S.$tagHighlight),S.$tagHighlight=null;return}if(!(y.type.indexOf("tag-open")!=-1&&(y=C.stepForward(),!y))){var A=y.value,R=0,D=C.stepBackward();if(D.value=="<")do D=y,y=C.stepForward(),y&&y.value===A&&y.type.indexOf("tag-name")!==-1&&(D.value==="<"?R++:D.value==="</"&&R--);while(y&&R>=0);else{do y=D,D=C.stepBackward(),y&&y.value===A&&y.type.indexOf("tag-name")!==-1&&(D.value==="<"?R++:D.value==="</"&&R--);while(D&&R<=0);C.stepForward()}if(!y){S.removeMarker(S.$tagHighlight),S.$tagHighlight=null;return}var M=C.getCurrentTokenRow(),L=C.getCurrentTokenColumn(),F=new m(M,L,M,L+y.value.length),q=S.$backMarkers[S.$tagHighlight];S.$tagHighlight&&q!=null&&F.compareRange(q.range)!==0&&(S.removeMarker(S.$tagHighlight),S.$tagHighlight=null),F&&!S.$tagHighlight&&(S.$tagHighlight=S.addMarker(F,"ace_bracket","text"))}}},50)}},this.focus=function(){var E=this;setTimeout(function(){E.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(E){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",E))},this.onBlur=function(E){!this.$isFocused||(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",E))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(E){var S=this.session.$useWrapMode,N=E.start.row==E.end.row?E.end.row:1/0;this.renderer.updateLines(E.start.row,N,S),this._signal("change",E),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(E){var S=E.data;this.renderer.updateLines(S.first,S.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(b.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var E=this.getSession(),S;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(S=this.getCursorPosition()),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(S=!1)),E.$highlightLineMarker&&!S)E.removeMarker(E.$highlightLineMarker.id),E.$highlightLineMarker=null;else if(!E.$highlightLineMarker&&S){var N=new m(S.row,S.column,S.row,1/0);N.id=E.addMarker(N,"ace_active-line","screenLine"),E.$highlightLineMarker=N}else S&&(E.$highlightLineMarker.start.row=S.row,E.$highlightLineMarker.end.row=S.row,E.$highlightLineMarker.start.column=S.column,E._signal("changeBackMarker"))},this.onSelectionChange=function(E){var S=this.session;if(S.$selectionMarker&&S.removeMarker(S.$selectionMarker),S.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var N=this.selection.getRange(),C=this.getSelectionStyle();S.$selectionMarker=S.addMarker(N,"ace_selection",C)}var y=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(y),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var E=this.session,S=this.getSelectionRange();if(!(S.isEmpty()||S.isMultiLine())){var N=S.start.column-1,C=S.end.column+1,y=E.getLine(S.start.row),A=y.length,R=y.substring(Math.max(N,0),Math.min(C,A));if(!(N>=0&&/^[\w\d]/.test(R)||C<=A&&/[\w\d]$/.test(R))&&(R=y.substring(S.start.column,S.end.column),!!/^[\w\d]+$/.test(R))){var D=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:R});return D}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(E){this.renderer.updateText(),this._emit("changeMode",E)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var E=this.getSelectedText();return this._signal("copy",E),E},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(E,S){var N={text:E,event:S};this.commands.exec("paste",this,N)},this.$handlePaste=function(E){typeof E=="string"&&(E={text:E}),this._signal("paste",E);var S=E.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(S);else{var N=S.split(/\r\n|\r|\n/),C=this.selection.rangeList.ranges;if(N.length>C.length||N.length<2||!N[1])return this.commands.exec("insertstring",this,S);for(var y=C.length;y--;){var A=C[y];A.isEmpty()||this.session.remove(A),this.session.insert(A.start,N[y])}}},this.execCommand=function(E,S){return this.commands.exec(E,this,S)},this.insert=function(E,S){var N=this.session,C=N.getMode(),y=this.getCursorPosition();if(this.getBehavioursEnabled()&&!S){var A=C.transformAction(N.getState(y.row),"insertion",this,N,E);A&&(E!==A.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),E=A.text)}if(E==" "&&(E=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()&&E.indexOf(`
|
|
`)==-1){var R=new m.fromPoints(y,y);R.end.column+=E.length,this.session.remove(R)}}else{var R=this.getSelectionRange();y=this.session.remove(R),this.clearSelection()}if(E==`
|
|
`||E==`\r
|
|
`){var F=N.getLine(y.row);if(y.column>F.search(/\S|$/)){var D=F.substr(y.column).search(/\S|$/);N.doc.removeInLine(y.row,y.column,y.column+D)}}this.clearSelection();var M=y.column,L=N.getState(y.row),F=N.getLine(y.row),q=C.checkOutdent(L,F,E);if(N.insert(y,E),A&&A.selection&&(A.selection.length==2?this.selection.setSelectionRange(new m(y.row,M+A.selection[0],y.row,M+A.selection[1])):this.selection.setSelectionRange(new m(y.row+A.selection[0],A.selection[1],y.row+A.selection[2],A.selection[3]))),N.getDocument().isNewLine(E)){var $=C.getNextLineIndent(L,F.slice(0,y.column),N.getTabString());N.insert({row:y.row+1,column:0},$)}q&&C.autoOutdent(L,N,y.row)},this.onTextInput=function(E){this.keyBinding.onTextInput(E)},this.onCommandKey=function(E,S,N){this.keyBinding.onCommandKey(E,S,N)},this.setOverwrite=function(E){this.session.setOverwrite(E)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(E){this.setOption("scrollSpeed",E)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(E){this.setOption("dragDelay",E)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(E){this.setOption("selectionStyle",E)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(E){this.setOption("highlightActiveLine",E)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(E){this.setOption("highlightGutterLine",E)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(E){this.setOption("highlightSelectedWord",E)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(E){this.renderer.setAnimatedScroll(E)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(E){this.renderer.setShowInvisibles(E)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(E){this.renderer.setDisplayIndentGuides(E)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(E){this.renderer.setShowPrintMargin(E)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(E){this.renderer.setPrintMarginColumn(E)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(E){this.setOption("readOnly",E)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(E){this.setOption("behavioursEnabled",E)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(E){this.setOption("wrapBehavioursEnabled",E)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(E){this.setOption("showFoldWidgets",E)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(E){this.setOption("fadeFoldWidgets",E)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(E){this.selection.isEmpty()&&(E=="left"?this.selection.selectLeft():this.selection.selectRight());var S=this.getSelectionRange();if(this.getBehavioursEnabled()){var N=this.session,C=N.getState(S.start.row),y=N.getMode().transformAction(C,"deletion",this,N,S);if(S.end.column===0){var A=N.getTextRange(S);if(A[A.length-1]==`
|
|
`){var R=N.getLine(S.end.row);/^\s+$/.test(R)&&(S.end.column=R.length)}}y&&(S=y)}this.session.remove(S),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var E=this.getSelectionRange();E.start.column==E.end.column&&E.start.row==E.end.row&&(E.end.column=0,E.end.row++),this.session.remove(E),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var E=this.getCursorPosition();this.insert(`
|
|
`),this.moveCursorToPosition(E)},this.transposeLetters=function(){if(!!this.selection.isEmpty()){var E=this.getCursorPosition(),S=E.column;if(S!==0){var N=this.session.getLine(E.row),C,y;S<N.length?(C=N.charAt(S)+N.charAt(S-1),y=new m(E.row,S-1,E.row,S+1)):(C=N.charAt(S-1)+N.charAt(S-2),y=new m(E.row,S-2,E.row,S)),this.session.replace(y,C),this.session.selection.moveToPosition(y.end)}}},this.toLowerCase=function(){var E=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var S=this.getSelectionRange(),N=this.session.getTextRange(S);this.session.replace(S,N.toLowerCase()),this.selection.setSelectionRange(E)},this.toUpperCase=function(){var E=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var S=this.getSelectionRange(),N=this.session.getTextRange(S);this.session.replace(S,N.toUpperCase()),this.selection.setSelectionRange(E)},this.indent=function(){var E=this.session,S=this.getSelectionRange();if(S.start.row<S.end.row){var N=this.$getSelectedRows();E.indentRows(N.first,N.last," ");return}else if(S.start.column<S.end.column){var C=E.getTextRange(S);if(!/^\s+$/.test(C)){var N=this.$getSelectedRows();E.indentRows(N.first,N.last," ");return}}var y=E.getLine(S.start.row),A=S.start,R=E.getTabSize(),D=E.documentToScreenColumn(A.row,A.column);if(this.session.getUseSoftTabs())var M=R-D%R,L=r.stringRepeat(" ",M);else{for(var M=D%R;y[S.start.column-1]==" "&&M;)S.start.column--,M--;this.selection.setSelectionRange(S),L=" "}return this.insert(L)},this.blockIndent=function(){var E=this.$getSelectedRows();this.session.indentRows(E.first,E.last," ")},this.blockOutdent=function(){var E=this.session.getSelection();this.session.outdentRows(E.getRange())},this.sortLines=function(){for(var E=this.$getSelectedRows(),S=this.session,N=[],C=E.first;C<=E.last;C++)N.push(S.getLine(C));N.sort(function(R,D){return R.toLowerCase()<D.toLowerCase()?-1:R.toLowerCase()>D.toLowerCase()?1:0});for(var y=new m(0,0,0,0),C=E.first;C<=E.last;C++){var A=S.getLine(C);y.start.row=C,y.end.row=C,y.end.column=A.length,S.replace(y,N[C-E.first])}},this.toggleCommentLines=function(){var E=this.session.getState(this.getCursorPosition().row),S=this.$getSelectedRows();this.session.getMode().toggleCommentLines(E,this.session,S.first,S.last)},this.toggleBlockComment=function(){var E=this.getCursorPosition(),S=this.session.getState(E.row),N=this.getSelectionRange();this.session.getMode().toggleBlockComment(S,this.session,N,E)},this.getNumberAt=function(E,S){var N=/[\-]?[0-9]+(?:\.[0-9]+)?/g;N.lastIndex=0;for(var C=this.session.getLine(E);N.lastIndex<S;){var y=N.exec(C);if(y.index<=S&&y.index+y[0].length>=S){var A={value:y[0],start:y.index,end:y.index+y[0].length};return A}}return null},this.modifyNumber=function(E){var S=this.selection.getCursor().row,N=this.selection.getCursor().column,C=new m(S,N-1,S,N),y=this.session.getTextRange(C);if(!isNaN(parseFloat(y))&&isFinite(y)){var A=this.getNumberAt(S,N);if(A){var R=A.value.indexOf(".")>=0?A.start+A.value.indexOf(".")+1:A.end,D=A.start+A.value.length-R,M=parseFloat(A.value);M*=Math.pow(10,D),R!==A.end&&N<R?E*=Math.pow(10,A.end-N-1):E*=Math.pow(10,A.end-N),M+=E,M/=Math.pow(10,D);var L=M.toFixed(D),F=new m(S,A.start,S,A.end);this.session.replace(F,L),this.moveCursorTo(S,Math.max(A.start+1,N+L.length-A.value.length))}}},this.removeLines=function(){var E=this.$getSelectedRows();this.session.removeFullLines(E.first,E.last),this.clearSelection()},this.duplicateSelection=function(){var E=this.selection,S=this.session,N=E.getRange(),C=E.isBackwards();if(N.isEmpty()){var y=N.start.row;S.duplicateLines(y,y)}else{var A=C?N.start:N.end,R=S.insert(A,S.getTextRange(N),!1);N.start=A,N.end=R,E.setSelectionRange(N,C)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(E,S,N){return this.session.moveText(E,S,N)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(E,S){var N,C,y=this.selection;if(!y.inMultiSelectMode||this.inVirtualSelectionMode){var A=y.toOrientedRange();N=this.$getSelectedRows(A),C=this.session.$moveLines(N.first,N.last,S?0:E),S&&E==-1&&(C=0),A.moveBy(C,0),y.fromOrientedRange(A)}else{var R=y.rangeList.ranges;y.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var D=0,M=0,L=R.length,F=0;F<L;F++){var q=F;R[F].moveBy(D,0),N=this.$getSelectedRows(R[F]);for(var $=N.first,Y=N.last;++F<L;){M&&R[F].moveBy(M,0);var X=this.$getSelectedRows(R[F]);if(S&&X.first!=Y)break;if(!S&&X.first>Y+1)break;Y=X.last}for(F--,D=this.session.$moveLines($,Y,S?0:E),S&&E==-1&&(q=F+1);q<=F;)R[q].moveBy(D,0),q++;S||(D=0),M+=D}y.fromOrientedRange(y.ranges[0]),y.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(E){return E=(E||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(E.start.row),last:this.session.getRowFoldEnd(E.end.row)}},this.onCompositionStart=function(E){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(E){this.renderer.setCompositionText(E)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(E){return E>=this.getFirstVisibleRow()&&E<=this.getLastVisibleRow()},this.isRowFullyVisible=function(E){return E>=this.renderer.getFirstFullyVisibleRow()&&E<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(E,S){var N=this.renderer,C=this.renderer.layerConfig,y=E*Math.floor(C.height/C.lineHeight);this.$blockScrolling++,S===!0?this.selection.$moveSelection(function(){this.moveCursorBy(y,0)}):S===!1&&(this.selection.moveCursorBy(y,0),this.selection.clearSelection()),this.$blockScrolling--;var A=N.scrollTop;N.scrollBy(0,y*C.lineHeight),S!=null&&N.scrollCursorIntoView(null,.5),N.animateScrolling(A)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(E){this.renderer.scrollToRow(E)},this.scrollToLine=function(E,S,N,C){this.renderer.scrollToLine(E,S,N,C)},this.centerSelection=function(){var E=this.getSelectionRange(),S={row:Math.floor(E.start.row+(E.end.row-E.start.row)/2),column:Math.floor(E.start.column+(E.end.column-E.start.column)/2)};this.renderer.alignCursor(S,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(E,S){this.selection.moveCursorTo(E,S)},this.moveCursorToPosition=function(E){this.selection.moveCursorToPosition(E)},this.jumpToMatching=function(E,S){var N=this.getCursorPosition(),C=new g(this.session,N.row,N.column),y=C.getCurrentToken(),A=y||C.stepForward();if(!!A){var R,D=!1,M={},L=N.column-A.start,F,q={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(A.value.match(/[{}()\[\]]/g)){for(;L<A.value.length&&!D;L++)if(!!q[A.value[L]])switch(F=q[A.value[L]]+"."+A.type.replace("rparen","lparen"),isNaN(M[F])&&(M[F]=0),A.value[L]){case"(":case"[":case"{":M[F]++;break;case")":case"]":case"}":M[F]--,M[F]===-1&&(R="bracket",D=!0);break}}else A&&A.type.indexOf("tag-name")!==-1&&(isNaN(M[A.value])&&(M[A.value]=0),y.value==="<"?M[A.value]++:y.value==="</"&&M[A.value]--,M[A.value]===-1&&(R="tag",D=!0));D||(y=A,A=C.stepForward(),L=0)}while(A&&!D);if(!!R){var $,Y;if(R==="bracket")$=this.session.getBracketRange(N),$||($=new m(C.getCurrentTokenRow(),C.getCurrentTokenColumn()+L-1,C.getCurrentTokenRow(),C.getCurrentTokenColumn()+L-1),Y=$.start,(S||Y.row===N.row&&Math.abs(Y.column-N.column)<2)&&($=this.session.getBracketRange(Y)));else if(R==="tag"){if(A&&A.type.indexOf("tag-name")!==-1)var X=A.value;else return;if($=new m(C.getCurrentTokenRow(),C.getCurrentTokenColumn()-2,C.getCurrentTokenRow(),C.getCurrentTokenColumn()-2),$.compare(N.row,N.column)===0){D=!1;do A=y,y=C.stepBackward(),y&&(y.type.indexOf("tag-close")!==-1&&$.setEnd(C.getCurrentTokenRow(),C.getCurrentTokenColumn()+1),A.value===X&&A.type.indexOf("tag-name")!==-1&&(y.value==="<"?M[X]++:y.value==="</"&&M[X]--,M[X]===0&&(D=!0)));while(y&&!D)}A&&A.type.indexOf("tag-name")&&(Y=$.start,Y.row==N.row&&Math.abs(Y.column-N.column)<2&&(Y=$.end))}Y=$&&$.cursor||Y,Y&&(E?$&&S?this.selection.setRange($):$&&$.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(Y.row,Y.column):this.selection.moveTo(Y.row,Y.column))}}},this.gotoLine=function(E,S,N){this.selection.clearSelection(),this.session.unfold({row:E-1,column:S||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(E-1,S||0),this.$blockScrolling-=1,this.isRowFullyVisible(E-1)||this.scrollToLine(E-1,!0,N)},this.navigateTo=function(E,S){this.selection.moveTo(E,S)},this.navigateUp=function(E){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var S=this.selection.anchor.getPosition();return this.moveCursorToPosition(S)}this.selection.clearSelection(),this.selection.moveCursorBy(-E||-1,0)},this.navigateDown=function(E){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var S=this.selection.anchor.getPosition();return this.moveCursorToPosition(S)}this.selection.clearSelection(),this.selection.moveCursorBy(E||1,0)},this.navigateLeft=function(E){if(this.selection.isEmpty())for(E=E||1;E--;)this.selection.moveCursorLeft();else{var S=this.getSelectionRange().start;this.moveCursorToPosition(S)}this.clearSelection()},this.navigateRight=function(E){if(this.selection.isEmpty())for(E=E||1;E--;)this.selection.moveCursorRight();else{var S=this.getSelectionRange().end;this.moveCursorToPosition(S)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(E,S){S&&this.$search.set(S);var N=this.$search.find(this.session),C=0;return N&&(this.$tryReplace(N,E)&&(C=1),N!==null&&(this.selection.setSelectionRange(N),this.renderer.scrollSelectionIntoView(N.start,N.end))),C},this.replaceAll=function(E,S){S&&this.$search.set(S);var N=this.$search.findAll(this.session),C=0;if(!N.length)return C;this.$blockScrolling+=1;var y=this.getSelectionRange();this.selection.moveTo(0,0);for(var A=N.length-1;A>=0;--A)this.$tryReplace(N[A],E)&&C++;return this.selection.setSelectionRange(y),this.$blockScrolling-=1,C},this.$tryReplace=function(E,S){var N=this.session.getTextRange(E);return S=this.$search.replace(N,S),S!==null?(E.end=this.session.replace(E,S),E):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(E,S,N){S||(S={}),typeof E=="string"||E instanceof RegExp?S.needle=E:typeof E=="object"&&i.mixin(S,E);var C=this.selection.getRange();S.needle==null&&(E=this.session.getTextRange(C)||this.$search.$options.needle,E||(C=this.session.getWordRange(C.start.row,C.start.column),E=this.session.getTextRange(C)),this.$search.set({needle:E})),this.$search.set(S),S.start||this.$search.set({start:C});var y=this.$search.find(this.session);if(S.preventScroll)return y;if(y)return this.revealRange(y,N),y;S.backwards?C.start=C.end:C.end=C.start,this.selection.setRange(C)},this.findNext=function(E,S){this.find({skipCurrent:!0,backwards:!1},E,S)},this.findPrevious=function(E,S){this.find(E,{skipCurrent:!0,backwards:!0},S)},this.revealRange=function(E,S){this.$blockScrolling+=1,this.session.unfold(E),this.selection.setSelectionRange(E),this.$blockScrolling-=1;var N=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(E.start,E.end,.5),S!==!1&&this.renderer.animateScrolling(N)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(E){if(!!E){var S,N=this,C=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var y=this.$scrollAnchor;y.style.cssText="position:absolute",this.container.insertBefore(y,this.container.firstChild);var A=this.on("changeSelection",function(){C=!0}),R=this.renderer.on("beforeRender",function(){C&&(S=N.renderer.container.getBoundingClientRect())}),D=this.renderer.on("afterRender",function(){if(C&&S&&(N.isFocused()||N.searchBox&&N.searchBox.isFocused())){var M=N.renderer,L=M.$cursorLayer.$pixelPos,F=M.layerConfig,q=L.top-F.offset;L.top>=0&&q+S.top<0?C=!0:L.top<F.height&&L.top+S.top+F.lineHeight>window.innerHeight?C=!1:C=null,C!=null&&(y.style.top=q+"px",y.style.left=L.left+"px",y.style.height=F.lineHeight+"px",y.scrollIntoView(C)),C=S=null}});this.setAutoScrollEditorIntoView=function(M){M||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",A),this.renderer.off("afterRender",D),this.renderer.off("beforeRender",R))}}},this.$resetCursorStyle=function(){var E=this.$cursorStyle||"ace",S=this.renderer.$cursorLayer;!S||(S.setSmoothBlinking(/smooth/.test(E)),S.isBlinking=!this.$readOnly&&E!="wide",o.setCssClass(S.element,"ace_slim-cursors",/slim/.test(E)))}}.call(v.prototype),b.defineOptions(v.prototype,"editor",{selectionStyle:{set:function(E){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:E})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(E){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(E){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(E){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(E){this.setAutoScrollEditorIntoView(E)}},keyboardHandler:{set:function(E){this.setKeyboardHandler(E)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=v});ace.define("ace/undomanager",["require","exports","module"],function(e,t,n){var i=function(){this.reset()};(function(){this.execute=function(s){var c=s.args[0];this.$doc=s.args[1],s.merge&&this.hasUndo()&&(this.dirtyCounter--,c=this.$undoStack.pop().concat(c)),this.$undoStack.push(c),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(s){var c=this.$undoStack.pop(),l=null;return c&&(l=this.$doc.undoChanges(c,s),this.$redoStack.push(c),this.dirtyCounter--),l},this.redo=function(s){var c=this.$redoStack.pop(),l=null;return c&&(l=this.$doc.redoChanges(this.$deserializeDeltas(c),s),this.$undoStack.push(c),this.dirtyCounter++),l},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return this.dirtyCounter===0},this.$serializeDeltas=function(s){return a(s,o)},this.$deserializeDeltas=function(s){return a(s,r)};function o(s){return{action:s.action,start:s.start,end:s.end,lines:s.lines.length==1?null:s.lines,text:s.lines.length==1?s.lines[0]:null}}function r(s){return{action:s.action,start:s.start,end:s.end,lines:s.lines||[s.text]}}function a(s,c){for(var l=new Array(s.length),_=0;_<s.length;_++){for(var d=s[_],u={group:d.group,deltas:new Array(d.length)},m=0;m<d.deltas.length;m++){var f=d.deltas[m];u.deltas[m]=c(f)}l[_]=u}return l}}).call(i.prototype),t.UndoManager=i});ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/dom"),o=e("../lib/oop"),r=e("../lib/lang"),a=e("../lib/event_emitter").EventEmitter,s=function(c){this.element=i.createElement("div"),this.element.className="ace_layer ace_gutter-layer",c.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){o.implement(this,a),this.setSession=function(c){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=c,c&&c.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(c,l){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(c,l)},this.removeGutterDecoration=function(c,l){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(c,l)},this.setAnnotations=function(c){this.$annotations=[];for(var l=0;l<c.length;l++){var _=c[l],d=_.row,u=this.$annotations[d];u||(u=this.$annotations[d]={text:[]});var m=_.text;m=m?r.escapeHTML(m):_.html||"",u.text.indexOf(m)===-1&&u.text.push(m);var f=_.type;f=="error"?u.className=" ace_error":f=="warning"&&u.className!=" ace_error"?u.className=" ace_warning":f=="info"&&!u.className&&(u.className=" ace_info")}},this.$updateAnnotations=function(c){if(!!this.$annotations.length){var l=c.start.row,_=c.end.row-l;if(_!==0)if(c.action=="remove")this.$annotations.splice(l,_+1,null);else{var d=new Array(_+1);d.unshift(l,1),this.$annotations.splice.apply(this.$annotations,d)}}},this.update=function(c){for(var l=this.session,_=c.firstRow,d=Math.min(c.lastRow+c.gutterOffset,l.getLength()-1),u=l.getNextFoldLine(_),m=u?u.start.row:1/0,f=this.$showFoldWidgets&&l.foldWidgets,p=l.$breakpoints,h=l.$decorations,b=l.$firstLineNumber,g=0,v=l.gutterRenderer||this.$renderer,E=null,S=-1,N=_;;){if(N>m&&(N=u.end.row+1,u=l.getNextFoldLine(N,u),m=u?u.start.row:1/0),N>d){for(;this.$cells.length>S+1;)E=this.$cells.pop(),this.element.removeChild(E.element);break}E=this.$cells[++S],E||(E={element:null,textNode:null,foldWidget:null},E.element=i.createElement("div"),E.textNode=document.createTextNode(""),E.element.appendChild(E.textNode),this.element.appendChild(E.element),this.$cells[S]=E);var C="ace_gutter-cell ";p[N]&&(C+=p[N]),h[N]&&(C+=h[N]),this.$annotations[N]&&(C+=this.$annotations[N].className),E.element.className!=C&&(E.element.className=C);var y=l.getRowLength(N)*c.lineHeight+"px";if(y!=E.element.style.height&&(E.element.style.height=y),f){var A=f[N];A==null&&(A=f[N]=l.getFoldWidget(N))}if(A){E.foldWidget||(E.foldWidget=i.createElement("span"),E.element.appendChild(E.foldWidget));var C="ace_fold-widget ace_"+A;A=="start"&&N==m&&N<u.end.row?C+=" ace_closed":C+=" ace_open",E.foldWidget.className!=C&&(E.foldWidget.className=C);var y=c.lineHeight+"px";E.foldWidget.style.height!=y&&(E.foldWidget.style.height=y)}else E.foldWidget&&(E.element.removeChild(E.foldWidget),E.foldWidget=null);var R=g=v?v.getText(l,N):N+b;R!==E.textNode.data&&(E.textNode.data=R),N++}this.element.style.height=c.minHeight+"px",(this.$fixedWidth||l.$useWrapMode)&&(g=l.getLength()+b);var D=v?v.getWidth(l,g,c):g.toString().length*c.characterWidth,M=this.$padding||this.$computePadding();D+=M.left+M.right,D!==this.gutterWidth&&!isNaN(D)&&(this.gutterWidth=D,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",D))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(c){this.$renderer=!c&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(c){c?i.addCssClass(this.element,"ace_folding-enabled"):i.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=c,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var c=i.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(c.paddingLeft)+1||0,this.$padding.right=parseInt(c.paddingRight)||0,this.$padding},this.getRegion=function(c){var l=this.$padding||this.$computePadding(),_=this.element.getBoundingClientRect();if(c.x<l.left+_.left)return"markers";if(this.$showFoldWidgets&&c.x>_.right-l.right)return"foldWidgets"}}).call(s.prototype),t.Gutter=s});ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){var i=e("../range").Range,o=e("../lib/dom"),r=function(a){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",a.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(s){this.$padding=s},this.setSession=function(s){this.session=s},this.setMarkers=function(s){this.markers=s},this.update=function(s){if(!!s){this.config=s;var c=[];for(var l in this.markers){var _=this.markers[l];if(!_.range){_.update(c,this,this.session,s);continue}var d=_.range.clipRows(s.firstRow,s.lastRow);if(!d.isEmpty())if(d=d.toScreenRange(this.session),_.renderer){var u=this.$getTop(d.start.row,s),m=this.$padding+(this.session.$bidiHandler.isBidiRow(d.start.row)?this.session.$bidiHandler.getPosLeft(d.start.column):d.start.column*s.characterWidth);_.renderer(c,d,m,u,s)}else _.type=="fullLine"?this.drawFullLineMarker(c,d,_.clazz,s):_.type=="screenLine"?this.drawScreenLineMarker(c,d,_.clazz,s):d.isMultiLine()?_.type=="text"?this.drawTextMarker(c,d,_.clazz,s):this.drawMultiLineMarker(c,d,_.clazz,s):this.session.$bidiHandler.isBidiRow(d.start.row)?this.drawBidiSingleLineMarker(c,d,_.clazz+" ace_start ace_br15",s):this.drawSingleLineMarker(c,d,_.clazz+" ace_start ace_br15",s)}this.element.innerHTML=c.join("")}},this.$getTop=function(s,c){return(s-c.firstRowScreen)*c.lineHeight};function a(s,c,l,_){return(s?1:0)|(c?2:0)|(l?4:0)|(_?8:0)}this.drawTextMarker=function(s,c,l,_,d){for(var u=this.session,m=c.start.row,f=c.end.row,p=m,h=0,b=0,g=u.getScreenLastRowColumn(p),v=null,E=new i(p,c.start.column,p,b);p<=f;p++)E.start.row=E.end.row=p,E.start.column=p==m?c.start.column:u.getRowWrapIndent(p),E.end.column=g,h=b,b=g,g=p+1<f?u.getScreenLastRowColumn(p+1):p==f?0:c.end.column,v=l+(p==m?" ace_start":"")+" ace_br"+a(p==m||p==m+1&&c.start.column,h<b,b>g,p==f),this.session.$bidiHandler.isBidiRow(p)?this.drawBidiSingleLineMarker(s,E,v,_,p==f?0:1,d):this.drawSingleLineMarker(s,E,v,_,p==f?0:1,d)},this.drawMultiLineMarker=function(s,c,l,_,d){var u=this.$padding,m,f,p;if(d=d||"",this.session.$bidiHandler.isBidiRow(c.start.row)){var h=c.clone();h.end.row=h.start.row,h.end.column=this.session.getLine(h.start.row).length,this.drawBidiSingleLineMarker(s,h,l+" ace_br1 ace_start",_,null,d)}else m=_.lineHeight,f=this.$getTop(c.start.row,_),p=u+c.start.column*_.characterWidth,s.push("<div class='",l," ace_br1 ace_start' style='","height:",m,"px;","right:0;","top:",f,"px;","left:",p,"px;",d,"'></div>");if(this.session.$bidiHandler.isBidiRow(c.end.row)){var h=c.clone();h.start.row=h.end.row,h.start.column=0,this.drawBidiSingleLineMarker(s,h,l+" ace_br12",_,null,d)}else{var b=c.end.column*_.characterWidth;m=_.lineHeight,f=this.$getTop(c.end.row,_),s.push("<div class='",l," ace_br12' style='","height:",m,"px;","width:",b,"px;","top:",f,"px;","left:",u,"px;",d,"'></div>")}if(m=(c.end.row-c.start.row-1)*_.lineHeight,!(m<=0)){f=this.$getTop(c.start.row+1,_);var g=(c.start.column?1:0)|(c.end.column?0:8);s.push("<div class='",l,g?" ace_br"+g:"","' style='","height:",m,"px;","right:0;","top:",f,"px;","left:",u,"px;",d,"'></div>")}},this.drawSingleLineMarker=function(s,c,l,_,d,u){var m=_.lineHeight,f=(c.end.column+(d||0)-c.start.column)*_.characterWidth,p=this.$getTop(c.start.row,_),h=this.$padding+c.start.column*_.characterWidth;s.push("<div class='",l,"' style='","height:",m,"px;","width:",f,"px;","top:",p,"px;","left:",h,"px;",u||"","'></div>")},this.drawBidiSingleLineMarker=function(s,c,l,_,d,u){var m=_.lineHeight,f=this.$getTop(c.start.row,_),p=this.$padding,h=this.session.$bidiHandler.getSelections(c.start.column,c.end.column);h.forEach(function(b){s.push("<div class='",l,"' style='","height:",m,"px;","width:",b.width+(d||0),"px;","top:",f,"px;","left:",p+b.left,"px;",u||"","'></div>")})},this.drawFullLineMarker=function(s,c,l,_,d){var u=this.$getTop(c.start.row,_),m=_.lineHeight;c.start.row!=c.end.row&&(m+=this.$getTop(c.end.row,_)-u),s.push("<div class='",l,"' style='","height:",m,"px;","top:",u,"px;","left:0;right:0;",d||"","'></div>")},this.drawScreenLineMarker=function(s,c,l,_,d){var u=this.$getTop(c.start.row,_),m=_.lineHeight;s.push("<div class='",l,"' style='","height:",m,"px;","top:",u,"px;","left:0;right:0;",d||"","'></div>")}}).call(r.prototype),t.Marker=r});ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang");e("../lib/useragent");var a=e("../lib/event_emitter").EventEmitter,s=function(c){this.element=o.createElement("div"),this.element.className="ace_layer ace_text-layer",c.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){i.implement(this,a),this.EOF_CHAR="\xB6",this.EOL_CHAR_LF="\xAC",this.EOL_CHAR_CRLF="\xA4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xB7",this.$padding=0,this.$updateEolChar=function(){var c=this.session.doc.getNewLineCharacter()==`
|
|
`?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=c)return this.EOL_CHAR=c,!0},this.setPadding=function(c){this.$padding=c,this.element.style.padding="0 "+c+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(c){this.$fontMetrics=c,this.$fontMetrics.on("changeCharacterSize",function(l){this._signal("changeCharacterSize",l)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(c){this.session=c,c&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(c){return this.showInvisibles==c?!1:(this.showInvisibles=c,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(c){return this.displayIndentGuides==c?!1:(this.displayIndentGuides=c,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var c=this.session.getTabSize();this.tabSize=c;for(var l=this.$tabStrings=[0],_=1;_<c+1;_++)this.showInvisibles?l.push("<span class='ace_invisible ace_invisible_tab'>"+r.stringRepeat(this.TAB_CHAR,_)+"</span>"):l.push(r.stringRepeat(" ",_));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var d="ace_indent-guide",u="",m="";if(this.showInvisibles){d+=" ace_invisible",u=" ace_invisible_space",m=" ace_invisible_tab";var f=r.stringRepeat(this.SPACE_CHAR,this.tabSize),p=r.stringRepeat(this.TAB_CHAR,this.tabSize)}else var f=r.stringRepeat(" ",this.tabSize),p=f;this.$tabStrings[" "]="<span class='"+d+u+"'>"+f+"</span>",this.$tabStrings[" "]="<span class='"+d+m+"'>"+p+"</span>"}},this.updateLines=function(c,l,_){(this.config.lastRow!=c.lastRow||this.config.firstRow!=c.firstRow)&&this.scrollLines(c),this.config=c;for(var d=Math.max(l,c.firstRow),u=Math.min(_,c.lastRow),m=this.element.childNodes,f=0,p=c.firstRow;p<d;p++){var h=this.session.getFoldLine(p);if(h)if(h.containsRow(d)){d=h.start.row;break}else p=h.end.row;f++}for(var p=d,h=this.session.getNextFoldLine(p),b=h?h.start.row:1/0;p>b&&(p=h.end.row+1,h=this.session.getNextFoldLine(p,h),b=h?h.start.row:1/0),!(p>u);){var g=m[f++];if(g){var v=[];this.$renderLine(v,p,!this.$useLineGroups(),p==b?h:!1),g.style.height=c.lineHeight*this.session.getRowLength(p)+"px",g.innerHTML=v.join("")}p++}},this.scrollLines=function(c){var l=this.config;if(this.config=c,!l||l.lastRow<c.firstRow)return this.update(c);if(c.lastRow<l.firstRow)return this.update(c);var _=this.element;if(l.firstRow<c.firstRow)for(var d=this.session.getFoldedRowCount(l.firstRow,c.firstRow-1);d>0;d--)_.removeChild(_.firstChild);if(l.lastRow>c.lastRow)for(var d=this.session.getFoldedRowCount(c.lastRow+1,l.lastRow);d>0;d--)_.removeChild(_.lastChild);if(c.firstRow<l.firstRow){var u=this.$renderLinesFragment(c,c.firstRow,l.firstRow-1);_.firstChild?_.insertBefore(u,_.firstChild):_.appendChild(u)}if(c.lastRow>l.lastRow){var u=this.$renderLinesFragment(c,l.lastRow+1,c.lastRow);_.appendChild(u)}},this.$renderLinesFragment=function(c,l,_){for(var d=this.element.ownerDocument.createDocumentFragment(),u=l,m=this.session.getNextFoldLine(u),f=m?m.start.row:1/0;u>f&&(u=m.end.row+1,m=this.session.getNextFoldLine(u,m),f=m?m.start.row:1/0),!(u>_);){var p=o.createElement("div"),h=[];if(this.$renderLine(h,u,!1,u==f?m:!1),p.innerHTML=h.join(""),this.$useLineGroups())p.className="ace_line_group",d.appendChild(p),p.style.height=c.lineHeight*this.session.getRowLength(u)+"px";else for(;p.firstChild;)d.appendChild(p.firstChild);u++}return d},this.update=function(c){this.config=c;for(var l=[],_=c.firstRow,d=c.lastRow,u=_,m=this.session.getNextFoldLine(u),f=m?m.start.row:1/0;u>f&&(u=m.end.row+1,m=this.session.getNextFoldLine(u,m),f=m?m.start.row:1/0),!(u>d);)this.$useLineGroups()&&l.push("<div class='ace_line_group' style='height:",c.lineHeight*this.session.getRowLength(u),"px'>"),this.$renderLine(l,u,!1,u==f?m:!1),this.$useLineGroups()&&l.push("</div>"),u++;this.element.innerHTML=l.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(c,l,_,d){var u=this,m=/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=function(g,v,E,S,N){if(v)return u.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+r.stringRepeat(u.SPACE_CHAR,g.length)+"</span>":g;if(g=="&")return"&";if(g=="<")return"<";if(g==">")return">";if(g==" "){var C=u.session.getScreenTabSize(l+S);return l+=C-1,u.$tabStrings[C]}else if(g=="\u3000"){var y=u.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",A=u.showInvisibles?u.SPACE_CHAR:"";return l+=1,"<span class='"+y+"' style='width:"+u.config.characterWidth*2+"px'>"+A+"</span>"}else return E?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+u.SPACE_CHAR+"</span>":(l+=1,"<span class='ace_cjk' style='width:"+u.config.characterWidth*2+"px'>"+g+"</span>")},p=d.replace(m,f);if(this.$textToken[_.type])c.push(p);else{var h="ace_"+_.type.replace(/\./g," ace_"),b="";_.type=="fold"&&(b=" style='width:"+_.value.length*this.config.characterWidth+"px;' "),c.push("<span class='",h,"'",b,">",p,"</span>")}return l+d.length},this.renderIndentGuide=function(c,l,_){var d=l.search(this.$indentGuideRe);return d<=0||d>=_?l:l[0]==" "?(d-=d%this.tabSize,c.push(r.stringRepeat(this.$tabStrings[" "],d/this.tabSize)),l.substr(d)):l[0]==" "?(c.push(r.stringRepeat(this.$tabStrings[" "],d)),l.substr(d)):l},this.$renderWrappedLine=function(c,l,_,d){for(var u=0,m=0,f=_[0],p=0,h=0;h<l.length;h++){var b=l[h],g=b.value;if(h==0&&this.displayIndentGuides){if(u=g.length,g=this.renderIndentGuide(c,g,f),!g)continue;u-=g.length}if(u+g.length<f)p=this.$renderToken(c,p,b,g),u+=g.length;else{for(;u+g.length>=f;)p=this.$renderToken(c,p,b,g.substring(0,f-u)),g=g.substring(f-u),u=f,d||c.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),c.push(r.stringRepeat("\xA0",_.indent)),m++,p=0,f=_[m]||Number.MAX_VALUE;g.length!=0&&(u+=g.length,p=this.$renderToken(c,p,b,g))}}},this.$renderSimpleLine=function(c,l){var _=0,d=l[0],u=d.value;this.displayIndentGuides&&(u=this.renderIndentGuide(c,u)),u&&(_=this.$renderToken(c,_,d,u));for(var m=1;m<l.length;m++)d=l[m],u=d.value,_=this.$renderToken(c,_,d,u)},this.$renderLine=function(c,l,_,d){if(!d&&d!=!1&&(d=this.session.getFoldLine(l)),d)var u=this.$getFoldLineTokens(l,d);else var u=this.session.getTokens(l);if(_||c.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(l)),"px'>"),u.length){var m=this.session.getRowSplitData(l);m&&m.length?this.$renderWrappedLine(c,u,m,_):this.$renderSimpleLine(c,u)}this.showInvisibles&&(d&&(l=d.end.row),c.push("<span class='ace_invisible ace_invisible_eol'>",l==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),_||c.push("</div>")},this.$getFoldLineTokens=function(c,l){var _=this.session,d=[];function u(f,p,h){for(var b=0,g=0;g+f[b].value.length<p;)if(g+=f[b].value.length,b++,b==f.length)return;if(g!=p){var v=f[b].value.substring(p-g);v.length>h-p&&(v=v.substring(0,h-p)),d.push({type:f[b].type,value:v}),g=p+v.length,b+=1}for(;g<h&&b<f.length;){var v=f[b].value;v.length+g>h?d.push({type:f[b].type,value:v.substring(0,h-g)}):d.push(f[b]),g+=v.length,b+=1}}var m=_.getTokens(c);return l.walk(function(f,p,h,b,g){f!=null?d.push({type:"fold",value:f}):(g&&(m=_.getTokens(p)),m.length&&u(m,b,h))},l.end.row,this.session.getLine(l.end.row).length),d},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(s.prototype),t.Text=s});ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){var i=e("../lib/dom"),o,r=function(a){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),o===void 0&&(o=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(o?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(a){for(var s=this.cursors,c=s.length;c--;)s[c].style.visibility=a?"":"hidden"},this.$updateOpacity=function(a){for(var s=this.cursors,c=s.length;c--;)s[c].style.opacity=a?"":"0"},this.$padding=0,this.setPadding=function(a){this.$padding=a},this.setSession=function(a){this.session=a},this.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},this.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},this.setSmoothBlinking=function(a){a!=this.smoothBlinking&&!o&&(this.smoothBlinking=a,i.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var a=i.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},this.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},this.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),a(!0),!(!this.isBlinking||!this.blinkInterval||!this.isVisible)){this.smoothBlinking&&setTimeout(function(){i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var s=function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){a(!0),s()},this.blinkInterval),s()}},this.getPixelPosition=function(a,s){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var c=this.session.documentToScreenPosition(a),l=this.$padding+(this.session.$bidiHandler.isBidiRow(c.row,a.row)?this.session.$bidiHandler.getPosLeft(c.column):c.column*this.config.characterWidth),_=(c.row-(s?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:l,top:_}},this.update=function(a){this.config=a;var s=this.session.$selectionMarkers,c=0,l=0;(s===void 0||s.length===0)&&(s=[{cursor:null}]);for(var c=0,_=s.length;c<_;c++){var d=this.getPixelPosition(s[c].cursor,!0);if(!((d.top>a.height+a.offset||d.top<0)&&c>1)){var u=(this.cursors[l++]||this.addCursor()).style;this.drawCursor?this.drawCursor(u,d,a,s[c],this.session):(u.left=d.left+"px",u.top=d.top+"px",u.width=a.characterWidth+"px",u.height=a.lineHeight+"px")}}for(;this.cursors.length>l;)this.removeCursor();var m=this.session.getOverwrite();this.$setOverwrite(m),this.$pixelPos=d,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(r.prototype),t.Cursor=r});ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/dom"),r=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=32768,c=function(d){this.element=o.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=o.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),d.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,r.addListener(this.element,"scroll",this.onScroll.bind(this)),r.addListener(this.element,"mousedown",r.preventDefault)};(function(){i.implement(this,a),this.setVisible=function(d){this.element.style.display=d?"":"none",this.isVisible=d,this.coeff=1}}).call(c.prototype);var l=function(d,u){c.call(this,d),this.scrollTop=0,this.scrollHeight=0,u.$scrollbarWidth=this.width=o.scrollbarWidth(d.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};i.inherits(l,c),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var d=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-d)/(this.coeff-d)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(d){this.element.style.height=d+"px"},this.setInnerHeight=this.setScrollHeight=function(d){this.scrollHeight=d,d>s?(this.coeff=s/d,d=s):this.coeff!=1&&(this.coeff=1),this.inner.style.height=d+"px"},this.setScrollTop=function(d){this.scrollTop!=d&&(this.skipEvent=!0,this.scrollTop=d,this.element.scrollTop=d*this.coeff)}}.call(l.prototype);var _=function(d,u){c.call(this,d),this.scrollLeft=0,this.height=u.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};i.inherits(_,c),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(d){this.element.style.width=d+"px"},this.setInnerWidth=function(d){this.inner.style.width=d+"px"},this.setScrollWidth=function(d){this.inner.style.width=d+"px"},this.setScrollLeft=function(d){this.scrollLeft!=d&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=d)}}.call(_.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=_,t.VScrollBar=l,t.HScrollBar=_});ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(e,t,n){var i=e("./lib/event"),o=function(r,a){this.onRender=r,this.pending=!1,this.changes=0,this.window=a||window};(function(){this.schedule=function(r){if(this.changes=this.changes|r,!this.pending&&this.changes){this.pending=!0;var a=this;i.nextFrame(function(){a.pending=!1;for(var s;s=a.changes;)a.changes=0,a.onRender(s)},this.window)}}}).call(o.prototype),t.RenderLoop=o});ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang"),a=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,c=0,l=t.FontMetrics=function(_){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),_.appendChild(this.el),c||this.$testFractionalRect(),this.$measureNode.innerHTML=r.stringRepeat("X",c),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){i.implement(this,s),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var _=o.createElement("div");this.$setMeasureNodeStyles(_.style),_.style.width="0.2px",document.documentElement.appendChild(_);var d=_.getBoundingClientRect().width;d>0&&d<1?c=50:c=100,_.parentNode.removeChild(_)},this.$setMeasureNodeStyles=function(_,d){_.width=_.height="auto",_.left=_.top="0px",_.visibility="hidden",_.position="absolute",_.whiteSpace="pre",a.isIE<8?_["font-family"]="inherit":_.font="inherit",_.overflow=d?"hidden":"visible"},this.checkForSizeChanges=function(){var _=this.$measureSizes();if(_&&(this.$characterSize.width!==_.width||this.$characterSize.height!==_.height)){this.$measureNode.style.fontWeight="bold";var d=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=_,this.charSizes=Object.create(null),this.allowBoldFonts=d&&d.width===_.width&&d.height===_.height,this._emit("changeCharacterSize",{data:_})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var _=this;return this.$pollSizeChangesTimer=setInterval(function(){_.checkForSizeChanges()},500)},this.setPolling=function(_){_?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(c===50){var _=null;try{_=this.$measureNode.getBoundingClientRect()}catch{_={width:0,height:0}}var d={height:_.height,width:_.width/c}}else var d={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/c};return d.width===0||d.height===0?null:d},this.$measureCharWidth=function(_){this.$main.innerHTML=r.stringRepeat(_,c);var d=this.$main.getBoundingClientRect();return d.width/c},this.getCharacterWidth=function(_){var d=this.charSizes[_];return d===void 0&&(d=this.charSizes[_]=this.$measureCharWidth(_)/this.$characterSize.width),d},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(l.prototype)});ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(e,t,n){var i=e("./lib/oop"),o=e("./lib/dom"),r=e("./config"),a=e("./lib/useragent"),s=e("./layer/gutter").Gutter,c=e("./layer/marker").Marker,l=e("./layer/text").Text,_=e("./layer/cursor").Cursor,d=e("./scrollbar").HScrollBar,u=e("./scrollbar").VScrollBar,m=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,p=e("./lib/event_emitter").EventEmitter,h=`.ace_editor {position: relative;overflow: hidden;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}`;o.importCssString(h,"ace_editor.css");var b=function(g,v){var E=this;this.container=g||o.createElement("div"),this.$keepTextAreaAtCursor=!a.isOldIE,o.addCssClass(this.container,"ace_editor"),this.setTheme(v),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new c(this.content);var S=this.$textLayer=new l(this.content);this.canvas=S.element,this.$markerFront=new c(this.content),this.$cursorLayer=new _(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new u(this.container,this),this.scrollBarH=new d(this.container,this),this.scrollBarV.addEventListener("scroll",function(N){E.$scrollAnimation||E.session.setScrollTop(N.data-E.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(N){E.$scrollAnimation||E.session.setScrollLeft(N.data-E.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(N){E.updateCharacterSize(),E.onResize(!0,E.gutterWidth,E.$size.width,E.$size.height),E._signal("changeCharacterSize",N)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new m(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),r.resetOptions(this),r._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,i.implement(this,p),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(g){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=g,g&&this.scrollMargin.top&&g.getScrollTop()<=0&&g.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(g),this.$markerBack.setSession(g),this.$markerFront.setSession(g),this.$gutterLayer.setSession(g),this.$textLayer.setSession(g),g&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(g,v,E){if(v===void 0&&(v=1/0),this.$changedLines?(this.$changedLines.firstRow>g&&(this.$changedLines.firstRow=g),this.$changedLines.lastRow<v&&(this.$changedLines.lastRow=v)):this.$changedLines={firstRow:g,lastRow:v},this.$changedLines.lastRow<this.layerConfig.firstRow)if(E)this.$changedLines.lastRow=this.layerConfig.lastRow;else return;this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(g){g?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(g,v,E,S){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=g?1:0;var N=this.container;S||(S=N.clientHeight||N.scrollHeight),E||(E=N.clientWidth||N.scrollWidth);var C=this.$updateCachedSize(g,v,E,S);if(!this.$size.scrollerHeight||!E&&!S)return this.resizing=0;g&&(this.$gutterLayer.$padding=null),g?this.$renderChanges(C|this.$changes,!0):this.$loop.schedule(C|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(g,v,E,S){S-=this.$extraHeight||0;var N=0,C=this.$size,y={width:C.width,height:C.height,scrollerHeight:C.scrollerHeight,scrollerWidth:C.scrollerWidth};return S&&(g||C.height!=S)&&(C.height=S,N|=this.CHANGE_SIZE,C.scrollerHeight=C.height,this.$horizScroll&&(C.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",N=N|this.CHANGE_SCROLL),E&&(g||C.width!=E)&&(N|=this.CHANGE_SIZE,C.width=E,v==null&&(v=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=v,this.scrollBarH.element.style.left=this.scroller.style.left=v+"px",C.scrollerWidth=Math.max(0,E-v-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||g)&&(N|=this.CHANGE_FULL)),C.$dirty=!E||!S,N&&this._signal("resize",y),N},this.onGutterResize=function(){var g=this.$showGutter?this.$gutter.offsetWidth:0;g!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,g,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var g=this.$size.scrollerWidth-this.$padding*2,v=Math.floor(g/this.characterWidth);return this.session.adjustWrapLimit(v,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(g){this.setOption("animatedScroll",g)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(g){this.setOption("showInvisibles",g),this.session.$bidiHandler.setShowInvisibles(g)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(g){this.setOption("displayIndentGuides",g)},this.setShowPrintMargin=function(g){this.setOption("showPrintMargin",g)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(g){this.setOption("printMarginColumn",g)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(g){return this.setOption("showGutter",g)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(g){this.setOption("fadeFoldWidgets",g)},this.setHighlightGutterLine=function(g){this.setOption("highlightGutterLine",g)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var g=this.$cursorLayer.$pixelPos,v=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var E=this.session.selection.getCursor();E.column=0,g=this.$cursorLayer.getPixelPosition(E,!0),v*=this.session.getRowLength(E.row)}this.$gutterLineHighlight.style.top=g.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=v+"px"},this.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var g=o.createElement("div");g.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",g.appendChild(this.$printMarginEl),this.content.insertBefore(g,this.content.firstChild)}var v=this.$printMarginEl.style;v.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",v.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!!this.$keepTextAreaAtCursor){var g=this.layerConfig,v=this.$cursorLayer.$pixelPos.top,E=this.$cursorLayer.$pixelPos.left;v-=g.offset;var S=this.textarea.style,N=this.lineHeight;if(v<0||v>g.height-N){S.top=S.left="0";return}var C=this.characterWidth;if(this.$composition){var y=this.textarea.value.replace(/^\x01+/,"");C*=this.session.$getStringScreenWidth(y)[0]+2,N+=2}E-=this.scrollLeft,E>this.$size.scrollerWidth-C&&(E=this.$size.scrollerWidth-C),E+=this.gutterWidth,S.height=N+"px",S.width=C+"px",S.left=Math.min(E,this.$size.scrollerWidth-C)+"px",S.top=Math.min(v,this.$size.height-N)+"px"}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},this.getLastFullyVisibleRow=function(){var g=this.layerConfig,v=g.lastRow,E=this.session.documentToScreenRow(v,0)*g.lineHeight;return E-this.session.getScrollTop()>g.height-g.lineHeight?v-1:v},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(g){this.$padding=g,this.$textLayer.setPadding(g),this.$cursorLayer.setPadding(g),this.$markerFront.setPadding(g),this.$markerBack.setPadding(g),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(g,v,E,S){var N=this.scrollMargin;N.top=g|0,N.bottom=v|0,N.right=S|0,N.left=E|0,N.v=N.top+N.bottom,N.h=N.left+N.right,N.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-N.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(g){this.setOption("hScrollBarAlwaysVisible",g)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(g){this.setOption("vScrollBarAlwaysVisible",g)},this.$updateScrollBarV=function(){var g=this.layerConfig.maxHeight,v=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(g-=(v-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>g-v&&(g=this.scrollTop+v,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(g+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(g,v){if(this.$changes&&(g|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!g&&!v){this.$changes|=g;return}if(this.$size.$dirty)return this.$changes|=g,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var E=this.layerConfig;if(g&this.CHANGE_FULL||g&this.CHANGE_SIZE||g&this.CHANGE_TEXT||g&this.CHANGE_LINES||g&this.CHANGE_SCROLL||g&this.CHANGE_H_SCROLL){if(g|=this.$computeLayerConfig(),E.firstRow!=this.layerConfig.firstRow&&E.firstRowScreen==this.layerConfig.firstRowScreen){var S=this.scrollTop+(E.firstRow-this.layerConfig.firstRow)*this.lineHeight;S>0&&(this.scrollTop=S,g=g|this.CHANGE_SCROLL,g|=this.$computeLayerConfig())}E=this.layerConfig,this.$updateScrollBarV(),g&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-E.offset+"px",this.content.style.marginTop=-E.offset+"px",this.content.style.width=E.width+2*this.$padding+"px",this.content.style.height=E.minHeight+"px"}if(g&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),g&this.CHANGE_FULL){this.$textLayer.update(E),this.$showGutter&&this.$gutterLayer.update(E),this.$markerBack.update(E),this.$markerFront.update(E),this.$cursorLayer.update(E),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this._signal("afterRender");return}if(g&this.CHANGE_SCROLL){g&this.CHANGE_TEXT||g&this.CHANGE_LINES?this.$textLayer.update(E):this.$textLayer.scrollLines(E),this.$showGutter&&this.$gutterLayer.update(E),this.$markerBack.update(E),this.$markerFront.update(E),this.$cursorLayer.update(E),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),this._signal("afterRender");return}g&this.CHANGE_TEXT?(this.$textLayer.update(E),this.$showGutter&&this.$gutterLayer.update(E)):g&this.CHANGE_LINES?(this.$updateLines()||g&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(E):(g&this.CHANGE_TEXT||g&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(E),g&this.CHANGE_CURSOR&&(this.$cursorLayer.update(E),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),g&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(E),g&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(E),this._signal("afterRender")},this.$autosize=function(){var g=this.session.getScreenLength()*this.lineHeight,v=this.$maxLines*this.lineHeight,E=Math.min(v,Math.max((this.$minLines||1)*this.lineHeight,g))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(E+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&E>this.$maxPixelHeight&&(E=this.$maxPixelHeight);var S=g>v;if(E!=this.desiredHeight||this.$size.height!=this.desiredHeight||S!=this.$vScroll){S!=this.$vScroll&&(this.$vScroll=S,this.scrollBarV.setVisible(S));var N=this.container.clientWidth;this.container.style.height=E+"px",this.$updateCachedSize(!0,this.$gutterWidth,N,E),this.desiredHeight=E,this._signal("autosize")}},this.$computeLayerConfig=function(){var g=this.session,v=this.$size,E=v.height<=2*this.lineHeight,S=this.session.getScreenLength(),N=S*this.lineHeight,C=this.$getLongestLine(),y=!E&&(this.$hScrollBarAlwaysVisible||v.scrollerWidth-C-2*this.$padding<0),A=this.$horizScroll!==y;A&&(this.$horizScroll=y,this.scrollBarH.setVisible(y));var R=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var D=this.scrollTop%this.lineHeight,M=v.scrollerHeight+this.lineHeight,L=!this.$maxLines&&this.$scrollPastEnd?(v.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;N+=L;var F=this.scrollMargin;this.session.setScrollTop(Math.max(-F.top,Math.min(this.scrollTop,N-v.scrollerHeight+F.bottom))),this.session.setScrollLeft(Math.max(-F.left,Math.min(this.scrollLeft,C+2*this.$padding-v.scrollerWidth+F.right)));var q=!E&&(this.$vScrollBarAlwaysVisible||v.scrollerHeight-N+L<0||this.scrollTop>F.top),$=R!==q;$&&(this.$vScroll=q,this.scrollBarV.setVisible(q));var Y=Math.ceil(M/this.lineHeight)-1,X=Math.max(0,Math.round((this.scrollTop-D)/this.lineHeight)),J=X+Y,B,w,I=this.lineHeight;X=g.screenToDocumentRow(X,0);var U=g.getFoldLine(X);U&&(X=U.start.row),B=g.documentToScreenRow(X,0),w=g.getRowLength(X)*I,J=Math.min(g.screenToDocumentRow(J,0),g.getLength()-1),M=v.scrollerHeight+g.getRowLength(J)*I+w,D=this.scrollTop-B*I;var z=0;return this.layerConfig.width!=C&&(z=this.CHANGE_H_SCROLL),(A||$)&&(z=this.$updateCachedSize(!0,this.gutterWidth,v.width,v.height),this._signal("scrollbarVisibilityChanged"),$&&(C=this.$getLongestLine())),this.layerConfig={width:C,padding:this.$padding,firstRow:X,firstRowScreen:B,lastRow:J,lineHeight:I,characterWidth:this.characterWidth,minHeight:M,maxHeight:N,offset:D,gutterOffset:I?Math.max(0,Math.ceil((D+v.height-v.scrollerHeight)/I)):0,height:this.$size.scrollerHeight},z},this.$updateLines=function(){if(!!this.$changedLines){var g=this.$changedLines.firstRow,v=this.$changedLines.lastRow;this.$changedLines=null;var E=this.layerConfig;if(!(g>E.lastRow+1)&&!(v<E.firstRow)){if(v===1/0){this.$showGutter&&this.$gutterLayer.update(E),this.$textLayer.update(E);return}return this.$textLayer.updateLines(E,g,v),!0}}},this.$getLongestLine=function(){var g=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(g+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(g*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(g,v){this.$gutterLayer.addGutterDecoration(g,v)},this.removeGutterDecoration=function(g,v){this.$gutterLayer.removeGutterDecoration(g,v)},this.updateBreakpoints=function(g){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(g){this.$gutterLayer.setAnnotations(g),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(g,v,E){this.scrollCursorIntoView(g,E),this.scrollCursorIntoView(v,E)},this.scrollCursorIntoView=function(g,v,E){if(this.$size.scrollerHeight!==0){var S=this.$cursorLayer.getPixelPosition(g),N=S.left,C=S.top,y=E&&E.top||0,A=E&&E.bottom||0,R=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;R+y>C?(v&&R+y>C+this.lineHeight&&(C-=v*this.$size.scrollerHeight),C===0&&(C=-this.scrollMargin.top),this.session.setScrollTop(C)):R+this.$size.scrollerHeight-A<C+this.lineHeight&&(v&&R+this.$size.scrollerHeight-A<C-this.lineHeight&&(C+=v*this.$size.scrollerHeight),this.session.setScrollTop(C+this.lineHeight-this.$size.scrollerHeight));var D=this.scrollLeft;D>N?(N<this.$padding+2*this.layerConfig.characterWidth&&(N=-this.scrollMargin.left),this.session.setScrollLeft(N)):D+this.$size.scrollerWidth<N+this.characterWidth?this.session.setScrollLeft(Math.round(N+this.characterWidth-this.$size.scrollerWidth)):D<=this.$padding&&N-D<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(g){this.session.setScrollTop(g*this.lineHeight)},this.alignCursor=function(g,v){typeof g=="number"&&(g={row:g,column:0});var E=this.$cursorLayer.getPixelPosition(g),S=this.$size.scrollerHeight-this.lineHeight,N=E.top-S*(v||0);return this.session.setScrollTop(N),N},this.STEPS=8,this.$calcSteps=function(g,v){var E=0,S=this.STEPS,N=[],C=function(y,A,R){return R*(Math.pow(y-1,3)+1)+A};for(E=0;E<S;++E)N.push(C(E/this.STEPS,g,v-g));return N},this.scrollToLine=function(g,v,E,S){var N=this.$cursorLayer.getPixelPosition({row:g,column:0}),C=N.top;v&&(C-=this.$size.scrollerHeight/2);var y=this.scrollTop;this.session.setScrollTop(C),E!==!1&&this.animateScrolling(y,S)},this.animateScrolling=function(g,v){var E=this.scrollTop;if(!!this.$animatedScroll){var S=this;if(g!=E){if(this.$scrollAnimation){var N=this.$scrollAnimation.steps;if(N.length&&(g=N[0],g==E))return}var C=S.$calcSteps(g,E);this.$scrollAnimation={from:g,to:E,steps:C},clearInterval(this.$timer),S.session.setScrollTop(C.shift()),S.session.$scrollTop=E,this.$timer=setInterval(function(){C.length?(S.session.setScrollTop(C.shift()),S.session.$scrollTop=E):E!=null?(S.session.$scrollTop=-1,S.session.setScrollTop(E),E=null):(S.$timer=clearInterval(S.$timer),S.$scrollAnimation=null,v&&v())},10)}}},this.scrollToY=function(g){this.scrollTop!==g&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=g)},this.scrollToX=function(g){this.scrollLeft!==g&&(this.scrollLeft=g),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(g,v){this.session.setScrollTop(v),this.session.setScrollLeft(v)},this.scrollBy=function(g,v){v&&this.session.setScrollTop(this.session.getScrollTop()+v),g&&this.session.setScrollLeft(this.session.getScrollLeft()+g)},this.isScrollableBy=function(g,v){if(v<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||v>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||g<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||g>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},this.pixelToScreenCoordinates=function(g,v){var E=this.scroller.getBoundingClientRect(),S=g+this.scrollLeft-E.left-this.$padding,N=S/this.characterWidth,C=Math.floor((v+this.scrollTop-E.top)/this.lineHeight),y=Math.round(N);return{row:C,column:y,side:N-y>0?1:-1,offsetX:S}},this.screenToTextCoordinates=function(g,v){var E=this.scroller.getBoundingClientRect(),S=g+this.scrollLeft-E.left-this.$padding,N=Math.round(S/this.characterWidth),C=(v+this.scrollTop-E.top)/this.lineHeight;return this.session.screenToDocumentPosition(C,Math.max(N,0),S)},this.textToScreenCoordinates=function(g,v){var E=this.scroller.getBoundingClientRect(),S=this.session.documentToScreenPosition(g,v),N=this.$padding+(this.session.$bidiHandler.isBidiRow(S.row,g)?this.session.$bidiHandler.getPosLeft(S.column):Math.round(S.column*this.characterWidth)),C=S.row*this.lineHeight;return{pageX:E.left+N-this.scrollLeft,pageY:E.top+C-this.scrollTop}},this.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},this.showComposition=function(g){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(g){this.$moveTextAreaToCursor()},this.hideComposition=function(){!this.$composition||(o.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(g,v){var E=this;if(this.$themeId=g,E._dispatchEvent("themeChange",{theme:g}),!g||typeof g=="string"){var S=g||this.$options.theme.initialValue;r.loadModule(["theme",S],N)}else N(g);function N(C){if(E.$themeId!=g)return v&&v();if(!C||!C.cssClass)throw new Error("couldn't load module "+g+" or it didn't call define");o.importCssString(C.cssText,C.cssClass,E.container.ownerDocument),E.theme&&o.removeCssClass(E.container,E.theme.cssClass);var y="padding"in C?C.padding:"padding"in(E.theme||{})?4:E.$padding;E.$padding&&y!=E.$padding&&E.setPadding(y),E.$theme=C.cssClass,E.theme=C,o.addCssClass(E.container,C.cssClass),o.setCssClass(E.container,"ace_dark",C.isDark),E.$size&&(E.$size.width=0,E.$updateSizeAsync()),E._dispatchEvent("themeLoaded",{theme:C}),v&&v()}},this.getTheme=function(){return this.$themeId},this.setStyle=function(g,v){o.setCssClass(this.container,g,v!==!1)},this.unsetStyle=function(g){o.removeCssClass(this.container,g)},this.setCursorStyle=function(g){this.scroller.style.cursor!=g&&(this.scroller.style.cursor=g)},this.setMouseCursor=function(g){this.scroller.style.cursor=g},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(b.prototype),r.defineOptions(b.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(g){this.$textLayer.setShowInvisibles(g)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(g){typeof g=="number"&&(this.$printMarginColumn=g),this.$showPrintMargin=!!g,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(g){this.$gutter.style.display=g?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(g){o.setCssClass(this.$gutter,"ace_fade-fold-widgets",g)},initialValue:!1},showFoldWidgets:{set:function(g){this.$gutterLayer.setShowFoldWidgets(g)},initialValue:!0},showLineNumbers:{set:function(g){this.$gutterLayer.setShowLineNumbers(g),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(g){this.$textLayer.setDisplayIndentGuides(g)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(g){if(!this.$gutterLineHighlight){this.$gutterLineHighlight=o.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",this.$gutter.appendChild(this.$gutterLineHighlight);return}this.$gutterLineHighlight.style.display=g?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(g){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(g){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(g){typeof g=="number"&&(g=g+"px"),this.container.style.fontSize=g,this.updateFontSize()},initialValue:12},fontFamily:{set:function(g){this.container.style.fontFamily=g,this.updateFontSize()}},maxLines:{set:function(g){this.updateFull()}},minLines:{set:function(g){this.updateFull()}},maxPixelHeight:{set:function(g){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(g){g=+g||0,this.$scrollPastEnd!=g&&(this.$scrollPastEnd=g,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(g){this.$gutterLayer.$fixedWidth=!!g,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(g){this.setTheme(g)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=b});ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(e,t,n){var i=e("../lib/oop"),o=e("../lib/net"),r=e("../lib/event_emitter").EventEmitter,a=e("../config");function s(d,u){var m=u.src;""+o.qualifyURL(d);try{return new Blob([m],{type:"application/javascript"})}catch{var f=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,p=new f;return p.append(m),p.getBlob("application/javascript")}}function c(d,u){var m=s(d,u),f=window.URL||window.webkitURL,p=f.createObjectURL(m);return new Worker(p)}var l=function(d,u,m,f,p){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),a.get("packaged")||!e.toUrl)f=f||a.moduleUrl(u.id,"worker");else{var h=this.$normalizePath;f=f||h(e.toUrl("ace/worker/worker.js",null,"_"));var b={};d.forEach(function(g){b[g]=h(e.toUrl(g,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=c(f,u),p&&this.send("importScripts",p),this.$worker.postMessage({init:!0,tlns:b,module:u.id,classname:m}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){i.implement(this,r),this.onMessage=function(d){var u=d.data;switch(u.type){case"event":this._signal(u.name,{data:u.data});break;case"call":var m=this.callbacks[u.id];m&&(m(u.data),delete this.callbacks[u.id]);break;case"error":this.reportError(u.data);break;case"log":window.console&&console.log&&console.log.apply(console,u.data);break}},this.reportError=function(d){window.console&&console.error&&console.error(d)},this.$normalizePath=function(d){return o.qualifyURL(d)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(d,u){this.$worker.postMessage({command:d,args:u})},this.call=function(d,u,m){if(m){var f=this.callbackId++;this.callbacks[f]=m,u.push(f)}this.send(d,u)},this.emit=function(d,u){try{this.$worker.postMessage({event:d,data:{data:u.data}})}catch(m){console.error(m.stack)}},this.attachToDocument=function(d){this.$doc&&this.terminate(),this.$doc=d,this.call("setValue",[d.getValue()]),d.on("change",this.changeListener)},this.changeListener=function(d){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),d.action=="insert"?this.deltaQueue.push(d.start,d.lines):this.deltaQueue.push(d.start,d.end)},this.$sendDeltaQueue=function(){var d=this.deltaQueue;!d||(this.deltaQueue=null,d.length>50&&d.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:d}))}}).call(l.prototype);var _=function(d,u,m){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var f=null,p=!1,h=Object.create(r),b=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(v){b.messageBuffer.push(v),f&&(p?setTimeout(g):g())},this.setEmitSync=function(v){p=v};var g=function(){var v=b.messageBuffer.shift();v.command?f[v.command].apply(f,v.args):v.event&&h._signal(v.event,v.data)};h.postMessage=function(v){b.onMessage({data:v})},h.callback=function(v,E){this.postMessage({type:"call",id:E,data:v})},h.emit=function(v,E){this.postMessage({type:"event",name:v,data:E})},a.loadModule(["worker",u],function(v){for(f=new v[m](h);b.messageBuffer.length;)g()})};_.prototype=l.prototype,t.UIWorkerClient=_,t.WorkerClient=l,t.createWorker=c});ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){var i=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,r=e("./lib/oop"),a=function(s,c,l,_,d,u){var m=this;this.length=c,this.session=s,this.doc=s.getDocument(),this.mainClass=d,this.othersClass=u,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=_,this.$onCursorChange=function(){setTimeout(function(){m.onCursorChange()})},this.$pos=l;var f=s.getUndoManager().$undoStack||s.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=f.length,this.setup(),s.selection.on("changeCursor",this.$onCursorChange)};(function(){r.implement(this,o),this.setup=function(){var s=this,c=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=c.createAnchor(this.$pos.row,this.$pos.column);var _=this.pos;_.$insertRight=!0,_.detach(),_.markerId=l.addMarker(new i(_.row,_.column,_.row,_.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(d){var u=c.createAnchor(d.row,d.column);u.$insertRight=!0,u.detach(),s.others.push(u)}),l.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var s=this.session,c=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=s.addMarker(new i(l.row,l.column,l.row,l.column+c.length),c.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(!!this.othersActive){this.othersActive=!1;for(var s=0;s<this.others.length;s++)this.session.removeMarker(this.others[s].markerId)}},this.onUpdate=function(s){if(this.$updating)return this.updateAnchors(s);var c=s;if(c.start.row===c.end.row&&c.start.row===this.pos.row){this.$updating=!0;var l=s.action==="insert"?c.end.column-c.start.column:c.start.column-c.end.column,_=c.start.column>=this.pos.column&&c.start.column<=this.pos.column+this.length+1,d=c.start.column-this.pos.column;if(this.updateAnchors(s),_&&(this.length+=l),_&&!this.session.$fromUndo){if(s.action==="insert")for(var u=this.others.length-1;u>=0;u--){var m=this.others[u],f={row:m.row,column:m.column+d};this.doc.insertMergedLines(f,s.lines)}else if(s.action==="remove")for(var u=this.others.length-1;u>=0;u--){var m=this.others[u],f={row:m.row,column:m.column+d};this.doc.remove(new i(f.row,f.column,f.row,f.column-l))}}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(s){this.pos.onChange(s);for(var c=this.others.length;c--;)this.others[c].onChange(s);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var s=this,c=this.session,l=function(d,u){c.removeMarker(d.markerId),d.markerId=c.addMarker(new i(d.row,d.column,d.row,d.column+s.length),u,null,!1)};l(this.pos,this.mainClass);for(var _=this.others.length;_--;)l(this.others[_],this.othersClass)}},this.onCursorChange=function(s){if(!(this.$updating||!this.session)){var c=this.session.selection.getCursor();c.row===this.pos.row&&c.column>=this.pos.column&&c.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",s)):(this.hideOtherMarkers(),this._emit("cursorLeave",s))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(this.$undoStackDepth!==-1){for(var s=this.session.getUndoManager(),c=(s.$undoStack||s.$undostack).length-this.$undoStackDepth,l=0;l<c;l++)s.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(a.prototype),t.PlaceHolder=a});ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){var i=e("../lib/event"),o=e("../lib/useragent");function r(s,c){return s.row==c.row&&s.column==c.column}function a(s){var c=s.domEvent,l=c.altKey,_=c.shiftKey,d=c.ctrlKey,u=s.getAccelKey(),m=s.getButton();if(d&&o.isMac&&(m=c.button),s.editor.inMultiSelectMode&&m==2){s.editor.textInput.onContextMenu(s.domEvent);return}if(!d&&!l&&!u){m===0&&s.editor.inMultiSelectMode&&s.editor.exitMultiSelectMode();return}if(m===0){var f=s.editor,p=f.selection,h=f.inMultiSelectMode,b=s.getDocumentPosition(),g=p.getCursor(),v=s.inSelection()||p.isEmpty()&&r(b,g),E=s.x,S=s.y,N=function(J){E=J.clientX,S=J.clientY},C=f.session,y=f.renderer.pixelToScreenCoordinates(E,S),A=y,R;if(f.$mouseHandler.$enableJumpToDef)d&&l||u&&l?R=_?"block":"add":l&&f.$blockSelectEnabled&&(R="block");else if(u&&!l){if(R="add",!h&&_)return}else l&&f.$blockSelectEnabled&&(R="block");if(R&&o.isMac&&c.ctrlKey&&f.$mouseHandler.cancelContextMenu(),R=="add"){if(!h&&v)return;if(!h){var D=p.toOrientedRange();f.addSelectionMarker(D)}var M=p.rangeList.rangeAtPoint(b);f.$blockScrolling++,f.inVirtualSelectionMode=!0,_&&(M=null,D=p.ranges[0]||D,f.removeSelectionMarker(D)),f.once("mouseup",function(){var J=p.toOrientedRange();M&&J.isEmpty()&&r(M.cursor,J.cursor)?p.substractPoint(J.cursor):(_?p.substractPoint(D.cursor):D&&(f.removeSelectionMarker(D),p.addRange(D)),p.addRange(J)),f.$blockScrolling--,f.inVirtualSelectionMode=!1})}else if(R=="block"){s.stop(),f.inVirtualSelectionMode=!0;var L,F=[],q=function(){var J=f.renderer.pixelToScreenCoordinates(E,S),B=C.screenToDocumentPosition(J.row,J.column,J.offsetX);r(A,J)&&r(B,p.lead)||(A=J,f.$blockScrolling++,f.selection.moveToPosition(B),f.renderer.scrollCursorIntoView(),f.removeSelectionMarkers(F),F=p.rectangularRangeBlock(A,y),f.$mouseHandler.$clickSelection&&F.length==1&&F[0].isEmpty()&&(F[0]=f.$mouseHandler.$clickSelection.clone()),F.forEach(f.addSelectionMarker,f),f.updateSelectionMarkers(),f.$blockScrolling--)};f.$blockScrolling++,h&&!u?p.toSingleRange():!h&&u&&(L=p.toOrientedRange(),f.addSelectionMarker(L)),_?y=C.documentToScreenPosition(p.lead):p.moveToPosition(b),f.$blockScrolling--,A={row:-1,column:-1};var $=function(J){clearInterval(X),f.removeSelectionMarkers(F),F.length||(F=[p.toOrientedRange()]),f.$blockScrolling++,L&&(f.removeSelectionMarker(L),p.toSingleRange(L));for(var B=0;B<F.length;B++)p.addRange(F[B]);f.inVirtualSelectionMode=!1,f.$mouseHandler.$clickSelection=null,f.$blockScrolling--},Y=q;i.capture(f.container,N,$);var X=setInterval(function(){Y()},20);return s.preventDefault()}}}t.onMouseDown=a});ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(o){o.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(o){o.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(o){o.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(o){o.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(o){o.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(o){o.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(o){o.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(o){o.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(o){o.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(o){o.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(o){o.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(o){o.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(o){return o&&o.inMultiSelectMode}}];var i=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new i(t.multiSelectCommands)});ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(e,t,n){var i=e("./range_list").RangeList,o=e("./range").Range,r=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),c=e("./lib/lang"),l=e("./commands/multi_select_commands");t.commands=l.defaultCommands.concat(l.multiSelectCommands);var _=e("./search").Search,d=new _;function u(g,v,E){return d.$options.wrap=!0,d.$options.needle=v,d.$options.backwards=E==-1,d.find(g)}var m=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(m.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(g,v){if(!!g){if(!this.inMultiSelectMode&&this.rangeCount===0){var E=this.toOrientedRange();if(this.rangeList.add(E),this.rangeList.add(g),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),v||this.fromOrientedRange(g);this.rangeList.removeAll(),this.rangeList.add(E),this.$onAddRange(E)}g.cursor||(g.cursor=g.end);var S=this.rangeList.add(g);return this.$onAddRange(g),S.length&&this.$onRemoveRange(S),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),v||this.fromOrientedRange(g)}},this.toSingleRange=function(g){g=g||this.ranges[0];var v=this.rangeList.removeAll();v.length&&this.$onRemoveRange(v),g&&this.fromOrientedRange(g)},this.substractPoint=function(g){var v=this.rangeList.substractPoint(g);if(v)return this.$onRemoveRange(v),v[0]},this.mergeOverlappingRanges=function(){var g=this.rangeList.merge();g.length?this.$onRemoveRange(g):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(g){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(g),this._signal("addRange",{range:g})},this.$onRemoveRange=function(g){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var v=this.rangeList.ranges.pop();g.push(v),this.rangeCount=0}for(var E=g.length;E--;){var S=this.ranges.indexOf(g[E]);this.ranges.splice(S,1)}this._signal("removeRange",{ranges:g}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),v=v||this.ranges[0],v&&!v.isEqual(this.getRange())&&this.fromOrientedRange(v)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new i,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var g=this.rangeList.ranges,v=g[g.length-1],E=o.fromPoints(g[0].start,v.end);this.toSingleRange(),this.setSelectionRange(E,v.cursor==v.start)}else{var E=this.getRange(),S=this.isBackwards(),N=E.start.row,C=E.end.row;if(N==C){if(S)var y=E.end,A=E.start;else var y=E.start,A=E.end;this.addRange(o.fromPoints(A,A)),this.addRange(o.fromPoints(y,y));return}var R=[],D=this.getLineRange(N,!0);D.start.column=E.start.column,R.push(D);for(var M=N+1;M<C;M++)R.push(this.getLineRange(M,!0));D=this.getLineRange(C,!0),D.end.column=E.end.column,R.push(D),R.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var g=this.rangeList.ranges,v=g[g.length-1],E=o.fromPoints(g[0].start,v.end);this.toSingleRange(),this.setSelectionRange(E,v.cursor==v.start)}else{var S=this.session.documentToScreenPosition(this.selectionLead),N=this.session.documentToScreenPosition(this.selectionAnchor),C=this.rectangularRangeBlock(S,N);C.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(g,v,E){var S=[],N=g.column<v.column;if(N)var C=g.column,y=v.column,A=g.offsetX,R=v.offsetX;else var C=v.column,y=g.column,A=v.offsetX,R=g.offsetX;var D=g.row<v.row;if(D)var M=g.row,L=v.row;else var M=v.row,L=g.row;C<0&&(C=0),M<0&&(M=0),M==L&&(E=!0);for(var F=M;F<=L;F++){var q=o.fromPoints(this.session.screenToDocumentPosition(F,C,A),this.session.screenToDocumentPosition(F,y,R));if(q.isEmpty()){if($&&p(q.end,$))break;var $=q.end}q.cursor=N?q.start:q.end,S.push(q)}if(D&&S.reverse(),!E){for(var Y=S.length-1;S[Y].isEmpty()&&Y>0;)Y--;if(Y>0)for(var X=0;S[X].isEmpty();)X++;for(var J=Y;J>=X;J--)S[J].isEmpty()&&S.splice(J,1)}return S}}.call(r.prototype);var f=e("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(g){g.cursor||(g.cursor=g.end);var v=this.getSelectionStyle();return g.marker=this.session.addMarker(g,"ace_selection",v),this.session.$selectionMarkers.push(g),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,g},this.removeSelectionMarker=function(g){if(!!g.marker){this.session.removeMarker(g.marker);var v=this.session.$selectionMarkers.indexOf(g);v!=-1&&this.session.$selectionMarkers.splice(v,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(g){for(var v=this.session.$selectionMarkers,E=g.length;E--;){var S=g[E];if(!!S.marker){this.session.removeMarker(S.marker);var N=v.indexOf(S);N!=-1&&v.splice(N,1)}}this.session.selectionMarkerCount=v.length},this.$onAddRange=function(g){this.addSelectionMarker(g.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(g){this.removeSelectionMarkers(g.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(g){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(l.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(g){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(l.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(g){var v=g.command,E=g.editor;if(!!E.multiSelect){if(v.multiSelectAction)v.multiSelectAction=="forEach"?S=E.forEachSelection(v,g.args):v.multiSelectAction=="forEachLine"?S=E.forEachSelection(v,g.args,!0):v.multiSelectAction=="single"?(E.exitMultiSelectMode(),S=v.exec(E,g.args||{})):S=v.multiSelectAction(E,g.args||{});else{var S=v.exec(E,g.args||{});E.multiSelect.addRange(E.multiSelect.toOrientedRange()),E.multiSelect.mergeOverlappingRanges()}return S}},this.forEachSelection=function(g,v,E){if(!this.inVirtualSelectionMode){var S=E&&E.keepOrder,N=E==!0||E&&E.$byLines,C=this.session,y=this.selection,A=y.rangeList,R=(S?y:A).ranges,D;if(!R.length)return g.exec?g.exec(this,v||{}):g(this,v||{});var M=y._eventRegistry;y._eventRegistry={};var L=new r(C);this.inVirtualSelectionMode=!0;for(var F=R.length;F--;){if(N)for(;F>0&&R[F].start.row==R[F-1].end.row;)F--;L.fromOrientedRange(R[F]),L.index=F,this.selection=C.selection=L;var q=g.exec?g.exec(this,v||{}):g(this,v||{});!D&&q!==void 0&&(D=q),L.toOrientedRange(R[F])}L.detach(),this.selection=C.selection=y,this.inVirtualSelectionMode=!1,y._eventRegistry=M,y.mergeOverlappingRanges();var $=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),$&&$.from==$.to&&this.renderer.animateScrolling($.from),D}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var g="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var v=this.multiSelect.rangeList.ranges,E=[],S=0;S<v.length;S++)E.push(this.session.getTextRange(v[S]));var N=this.session.getDocument().getNewLineCharacter();g=E.join(N),g.length==(E.length-1)*N.length&&(g="")}else this.selection.isEmpty()||(g=this.session.getTextRange(this.getSelectionRange()));return g},this.$checkMultiselectChange=function(g,v){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var E=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&v==this.multiSelect.anchor)return;var S=v==this.multiSelect.anchor?E.cursor==E.start?E.end:E.start:E.cursor;(S.row!=v.row||this.session.$clipPositionToDocument(S.row,S.column).column!=v.column)&&this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(g,v,E){if(v=v||{},v.needle=g||v.needle,v.needle==null){var S=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();v.needle=this.session.getTextRange(S)}this.$search.set(v);var N=this.$search.findAll(this.session);if(!N.length)return 0;this.$blockScrolling+=1;var C=this.multiSelect;E||C.toSingleRange(N[0]);for(var y=N.length;y--;)C.addRange(N[y],!0);return S&&C.rangeList.rangeAtPoint(S.start)&&C.addRange(S,!0),this.$blockScrolling-=1,N.length},this.selectMoreLines=function(g,v){var E=this.selection.toOrientedRange(),S=E.cursor==E.end,N=this.session.documentToScreenPosition(E.cursor);this.selection.$desiredColumn&&(N.column=this.selection.$desiredColumn);var C=this.session.screenToDocumentPosition(N.row+g,N.column);if(E.isEmpty())var A=C;else var y=this.session.documentToScreenPosition(S?E.end:E.start),A=this.session.screenToDocumentPosition(y.row+g,y.column);if(S){var R=o.fromPoints(C,A);R.cursor=R.start}else{var R=o.fromPoints(A,C);R.cursor=R.end}if(R.desiredColumn=N.column,!this.selection.inMultiSelectMode)this.selection.addRange(E);else if(v)var D=E.cursor;this.selection.addRange(R),D&&this.selection.substractPoint(D)},this.transposeSelections=function(g){for(var v=this.session,E=v.multiSelect,S=E.ranges,N=S.length;N--;){var C=S[N];if(C.isEmpty()){var y=v.getWordRange(C.start.row,C.start.column);C.start.row=y.start.row,C.start.column=y.start.column,C.end.row=y.end.row,C.end.column=y.end.column}}E.mergeOverlappingRanges();for(var A=[],N=S.length;N--;){var C=S[N];A.unshift(v.getTextRange(C))}g<0?A.unshift(A.pop()):A.push(A.shift());for(var N=S.length;N--;){var C=S[N],y=C.clone();v.replace(C,A[N]),C.start.row=y.start.row,C.start.column=y.start.column}},this.selectMore=function(g,v,E){var S=this.session,N=S.multiSelect,C=N.toOrientedRange();if(!(C.isEmpty()&&(C=S.getWordRange(C.start.row,C.start.column),C.cursor=g==-1?C.start:C.end,this.multiSelect.addRange(C),E))){var y=S.getTextRange(C),A=u(S,y,g);A&&(A.cursor=g==-1?A.start:A.end,this.$blockScrolling+=1,this.session.unfold(A),this.multiSelect.addRange(A),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),v&&this.multiSelect.substractPoint(C.cursor)}},this.alignCursors=function(){var g=this.session,v=g.multiSelect,E=v.ranges,S=-1,N=E.filter(function(Y){if(Y.cursor.row==S)return!0;S=Y.cursor.row});if(!E.length||N.length==E.length-1){var C=this.selection.getRange(),y=C.start.row,A=C.end.row,R=y==A;if(R){var D=this.session.getLength(),M;do M=this.session.getLine(A);while(/[=:]/.test(M)&&++A<D);do M=this.session.getLine(y);while(/[=:]/.test(M)&&--y>0);y<0&&(y=0),A>=D&&(A=D-1)}var L=this.session.removeFullLines(y,A);L=this.$reAlignText(L,R),this.session.insert({row:y,column:0},L.join(`
|
|
`)+`
|
|
`),R||(C.start.column=0,C.end.column=L[L.length-1].length),this.selection.setRange(C)}else{N.forEach(function(Y){v.substractPoint(Y.cursor)});var F=0,q=1/0,$=E.map(function(Y){var X=Y.cursor,J=g.getLine(X.row),B=J.substr(X.column).search(/\S/g);return B==-1&&(B=0),X.column>F&&(F=X.column),B<q&&(q=B),B});E.forEach(function(Y,X){var J=Y.cursor,B=F-J.column,w=$[X]-q;B>w?g.insert(J,c.stringRepeat(" ",B-w)):g.remove(new o(J.row,J.column,J.row,J.column-B+w)),Y.start.column=Y.end.column=F,Y.start.row=Y.end.row=J.row,Y.cursor=Y.end}),v.fromOrientedRange(E[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(g,v){var E=!0,S=!0,N,C,y;return g.map(function(L){var F=L.match(/(\s*)(.*?)(\s*)([=:].*)/);return F?N==null?(N=F[1].length,C=F[2].length,y=F[3].length,F):(N+C+y!=F[1].length+F[2].length+F[3].length&&(S=!1),N!=F[1].length&&(E=!1),N>F[1].length&&(N=F[1].length),C<F[2].length&&(C=F[2].length),y>F[3].length&&(y=F[3].length),F):[L]}).map(v?R:E?S?D:R:M);function A(L){return c.stringRepeat(" ",L)}function R(L){return L[2]?A(N)+L[2]+A(C-L[2].length+y)+L[4].replace(/^([=:])\s+/,"$1 "):L[0]}function D(L){return L[2]?A(N+C-L[2].length)+L[2]+A(y)+L[4].replace(/^([=:])\s+/,"$1 "):L[0]}function M(L){return L[2]?A(N)+L[2]+A(y)+L[4].replace(/^([=:])\s+/,"$1 "):L[0]}}}).call(f.prototype);function p(g,v){return g.row==v.row&&g.column==v.column}t.onSessionChange=function(g){var v=g.session;v&&!v.multiSelect&&(v.$selectionMarkers=[],v.selection.$initRangeList(),v.multiSelect=v.selection),this.multiSelect=v&&v.multiSelect;var E=g.oldSession;E&&(E.multiSelect.off("addRange",this.$onAddRange),E.multiSelect.off("removeRange",this.$onRemoveRange),E.multiSelect.off("multiSelect",this.$onMultiSelect),E.multiSelect.off("singleSelect",this.$onSingleSelect),E.multiSelect.lead.off("change",this.$checkMultiselectChange),E.multiSelect.anchor.off("change",this.$checkMultiselectChange)),v&&(v.multiSelect.on("addRange",this.$onAddRange),v.multiSelect.on("removeRange",this.$onRemoveRange),v.multiSelect.on("multiSelect",this.$onMultiSelect),v.multiSelect.on("singleSelect",this.$onSingleSelect),v.multiSelect.lead.on("change",this.$checkMultiselectChange),v.multiSelect.anchor.on("change",this.$checkMultiselectChange)),v&&this.inMultiSelectMode!=v.selection.inMultiSelectMode&&(v.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function h(g){g.$multiselectOnSessionChange||(g.$onAddRange=g.$onAddRange.bind(g),g.$onRemoveRange=g.$onRemoveRange.bind(g),g.$onMultiSelect=g.$onMultiSelect.bind(g),g.$onSingleSelect=g.$onSingleSelect.bind(g),g.$multiselectOnSessionChange=t.onSessionChange.bind(g),g.$checkMultiselectChange=g.$checkMultiselectChange.bind(g),g.$multiselectOnSessionChange(g),g.on("changeSession",g.$multiselectOnSessionChange),g.on("mousedown",a),g.commands.addCommands(l.defaultCommands),b(g))}function b(g){var v=g.textInput.getElement(),E=!1;s.addListener(v,"keydown",function(N){var C=N.keyCode==18&&!(N.ctrlKey||N.shiftKey||N.metaKey);g.$blockSelectEnabled&&C?E||(g.renderer.setMouseCursor("crosshair"),E=!0):E&&S()}),s.addListener(v,"keyup",S),s.addListener(v,"blur",S);function S(N){E&&(g.renderer.setMouseCursor(""),E=!1)}}t.MultiSelect=h,e("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(g){h(this),g?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(g){this.$blockSelectEnabled=g},value:!0}})});ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(e,t,n){var i=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(r,a,s){var c=r.getLine(s);return this.foldingStartMarker.test(c)?"start":a=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(c)?"end":""},this.getFoldWidgetRange=function(r,a,s){return null},this.indentationBlock=function(r,a,s){var c=/\S/,l=r.getLine(a),_=l.search(c);if(_!=-1){for(var d=s||l.length,u=r.getLength(),m=a,f=a;++a<u;){var p=r.getLine(a).search(c);if(p!=-1){if(p<=_)break;f=a}}if(f>m){var h=r.getLine(f).length;return new i(m,d,f,h)}}},this.openingBracketBlock=function(r,a,s,c,l){var _={row:s,column:c+1},d=r.$findClosingBracket(a,_,l);if(!!d){var u=r.foldWidgets[d.row];return u==null&&(u=r.getFoldWidget(d.row)),u=="start"&&d.row>_.row&&(d.row--,d.column=r.getLine(d.row).length),i.fromPoints(_,d)}},this.closingBracketBlock=function(r,a,s,c,l){var _={row:s,column:c},d=r.$findOpeningBracket(a,_);if(!!d)return d.column++,_.column--,i.fromPoints(d,_)}}).call(o.prototype)});ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)});ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(e,t,n){e("./lib/oop");var i=e("./lib/dom");e("./range").Range;function o(r){this.session=r,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(r){var a;return this.lineWidgets?a=this.lineWidgets[r]&&this.lineWidgets[r].rowCount||0:a=0,!this.$useWrapMode||!this.$wrapData[r]?1+a:this.$wrapData[r].length+1+a},this.$getWidgetScreenLength=function(){var r=0;return this.lineWidgets.forEach(function(a){a&&a.rowCount&&!a.hidden&&(r+=a.rowCount)}),r},this.$onChangeEditor=function(r){this.attach(r.editor)},this.attach=function(r){r&&r.widgetManager&&r.widgetManager!=this&&r.widgetManager.detach(),this.editor!=r&&(this.detach(),this.editor=r,r&&(r.widgetManager=this,r.renderer.on("beforeRender",this.measureWidgets),r.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(r){var a=this.editor;if(!!a){this.editor=null,a.widgetManager=null,a.renderer.off("beforeRender",this.measureWidgets),a.renderer.off("afterRender",this.renderWidgets);var s=this.session.lineWidgets;s&&s.forEach(function(c){c&&c.el&&c.el.parentNode&&(c._inDocument=!1,c.el.parentNode.removeChild(c.el))})}},this.updateOnFold=function(r,a){var s=a.lineWidgets;if(!(!s||!r.action)){for(var c=r.data,l=c.start.row,_=c.end.row,d=r.action=="add",u=l+1;u<_;u++)s[u]&&(s[u].hidden=d);s[_]&&(d?s[l]?s[_].hidden=d:s[l]=s[_]:(s[l]==s[_]&&(s[l]=void 0),s[_].hidden=d))}},this.updateOnChange=function(r){var a=this.session.lineWidgets;if(!!a){var s=r.start.row,c=r.end.row-s;if(c!==0)if(r.action=="remove"){var l=a.splice(s+1,c);l.forEach(function(d){d&&this.removeLineWidget(d)},this),this.$updateRows()}else{var _=new Array(c);_.unshift(s,0),a.splice.apply(a,_),this.$updateRows()}}},this.$updateRows=function(){var r=this.session.lineWidgets;if(!!r){var a=!0;r.forEach(function(s,c){if(s)for(a=!1,s.row=c;s.$oldWidget;)s.$oldWidget.row=c,s=s.$oldWidget}),a&&(this.session.lineWidgets=null)}},this.addLineWidget=function(r){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var a=this.session.lineWidgets[r.row];a&&(r.$oldWidget=a,a.el&&a.el.parentNode&&(a.el.parentNode.removeChild(a.el),a._inDocument=!1)),this.session.lineWidgets[r.row]=r,r.session=this.session;var s=this.editor.renderer;r.html&&!r.el&&(r.el=i.createElement("div"),r.el.innerHTML=r.html),r.el&&(i.addCssClass(r.el,"ace_lineWidgetContainer"),r.el.style.position="absolute",r.el.style.zIndex=5,s.container.appendChild(r.el),r._inDocument=!0),r.coverGutter||(r.el.style.zIndex=3),r.pixelHeight==null&&(r.pixelHeight=r.el.offsetHeight),r.rowCount==null&&(r.rowCount=r.pixelHeight/s.layerConfig.lineHeight);var c=this.session.getFoldAt(r.row,0);if(r.$fold=c,c){var l=this.session.lineWidgets;r.row==c.end.row&&!l[c.start.row]?l[c.start.row]=r:r.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:r.row}}}),this.$updateRows(),this.renderWidgets(null,s),this.onWidgetChanged(r),r},this.removeLineWidget=function(r){if(r._inDocument=!1,r.session=null,r.el&&r.el.parentNode&&r.el.parentNode.removeChild(r.el),r.editor&&r.editor.destroy)try{r.editor.destroy()}catch{}if(this.session.lineWidgets){var a=this.session.lineWidgets[r.row];if(a==r)this.session.lineWidgets[r.row]=r.$oldWidget,r.$oldWidget&&this.onWidgetChanged(r.$oldWidget);else for(;a;){if(a.$oldWidget==r){a.$oldWidget=r.$oldWidget;break}a=a.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:r.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(r){for(var a=this.session.lineWidgets,s=a&&a[r],c=[];s;)c.push(s),s=s.$oldWidget;return c},this.onWidgetChanged=function(r){this.session._changedWidgets.push(r),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(r,a){var s=this.session._changedWidgets,c=a.layerConfig;if(!(!s||!s.length)){for(var l=1/0,_=0;_<s.length;_++){var d=s[_];if(!(!d||!d.el)&&d.session==this.session){if(!d._inDocument){if(this.session.lineWidgets[d.row]!=d)continue;d._inDocument=!0,a.container.appendChild(d.el)}d.h=d.el.offsetHeight,d.fixedWidth||(d.w=d.el.offsetWidth,d.screenWidth=Math.ceil(d.w/c.characterWidth));var u=d.h/c.lineHeight;d.coverLine&&(u-=this.session.getRowLineCount(d.row),u<0&&(u=0)),d.rowCount!=u&&(d.rowCount=u,d.row<l&&(l=d.row))}}l!=1/0&&(this.session._emit("changeFold",{data:{start:{row:l}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(r,a){var s=a.layerConfig,c=this.session.lineWidgets;if(!!c){for(var l=Math.min(this.firstRow,s.firstRow),_=Math.max(this.lastRow,s.lastRow,c.length);l>0&&!c[l];)l--;this.firstRow=s.firstRow,this.lastRow=s.lastRow,a.$cursorLayer.config=s;for(var d=l;d<=_;d++){var u=c[d];if(!(!u||!u.el)){if(u.hidden){u.el.style.top=-100-(u.pixelHeight||0)+"px";continue}u._inDocument||(u._inDocument=!0,a.container.appendChild(u.el));var m=a.$cursorLayer.getPixelPosition({row:d,column:0},!0).top;u.coverLine||(m+=s.lineHeight*this.session.getRowLineCount(u.row)),u.el.style.top=m-s.offset+"px";var f=u.coverGutter?0:a.gutterWidth;u.fixedWidth||(f-=a.scrollLeft),u.el.style.left=f+"px",u.fullWidth&&u.screenWidth&&(u.el.style.minWidth=s.width+2*s.padding+"px"),u.fixedWidth?u.el.style.right=a.scrollBar.getWidth()+"px":u.el.style.right=""}}}}}).call(o.prototype),t.LineWidgets=o});ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(e,t,n){var i=e("../line_widgets").LineWidgets,o=e("../lib/dom"),r=e("../range").Range;function a(c,l,_){for(var d=0,u=c.length-1;d<=u;){var m=d+u>>1,f=_(l,c[m]);if(f>0)d=m+1;else if(f<0)u=m-1;else return m}return-(d+1)}function s(c,l,_){var d=c.getAnnotations().sort(r.comparePoints);if(!!d.length){var u=a(d,{row:l,column:-1},r.comparePoints);u<0&&(u=-u-1),u>=d.length?u=_>0?0:d.length-1:u===0&&_<0&&(u=d.length-1);var m=d[u];if(!(!m||!_)){if(m.row===l){do m=d[u+=_];while(m&&m.row===l);if(!m)return d.slice()}var f=[];l=m.row;do f[_<0?"unshift":"push"](m),m=d[u+=_];while(m&&m.row==l);return f.length&&f}}}t.showErrorMarker=function(c,l){var _=c.session;_.widgetManager||(_.widgetManager=new i(_),_.widgetManager.attach(c));var d=c.getCursorPosition(),u=d.row,m=_.widgetManager.getWidgetsAtRow(u).filter(function(N){return N.type=="errorMarker"})[0];m?m.destroy():u-=l;var f=s(_,u,l),p;if(f){var h=f[0];d.column=(h.pos&&typeof h.column!="number"?h.pos.sc:h.column)||0,d.row=h.row,p=c.renderer.$gutterLayer.$annotations[d.row]}else{if(m)return;p={text:["Looks good!"],className:"ace_ok"}}c.session.unfold(d.row),c.selection.moveToPosition(d);var b={row:d.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},g=b.el.appendChild(o.createElement("div")),v=b.el.appendChild(o.createElement("div"));v.className="error_widget_arrow "+p.className;var E=c.renderer.$cursorLayer.getPixelPosition(d).left;v.style.left=E+c.renderer.gutterWidth-5+"px",b.el.className="error_widget_wrapper",g.className="error_widget "+p.className,g.innerHTML=p.text.join("<br>"),g.appendChild(o.createElement("div"));var S=function(N,C,y){if(C===0&&(y==="esc"||y==="return"))return b.destroy(),{command:"null"}};b.destroy=function(){c.$mouseHandler.isMousePressed||(c.keyBinding.removeKeyboardHandler(S),_.widgetManager.removeLineWidget(b),c.off("changeSelection",b.destroy),c.off("changeSession",b.destroy),c.off("mouseup",b.destroy),c.off("change",b.destroy))},c.keyBinding.addKeyboardHandler(S),c.on("changeSelection",b.destroy),c.on("changeSession",b.destroy),c.on("mouseup",b.destroy),c.on("change",b.destroy),c.session.widgetManager.addLineWidget(b),b.el.onmousedown=c.focus.bind(c),c.renderer.scrollCursorIntoView(null,.5,{bottom:b.el.offsetHeight})},o.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")});ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(e,t,n){e("./lib/fixoldbrowsers");var i=e("./lib/dom"),o=e("./lib/event"),r=e("./editor").Editor,a=e("./edit_session").EditSession,s=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.edit=function(l){if(typeof l=="string"){var _=l;if(l=document.getElementById(_),!l)throw new Error("ace.edit can't find div #"+_)}if(l&&l.env&&l.env.editor instanceof r)return l.env.editor;var d="";if(l&&/input|textarea/i.test(l.tagName)){var u=l;d=u.value,l=i.createElement("pre"),u.parentNode.replaceChild(l,u)}else l&&(d=i.getInnerText(l),l.innerHTML="");var m=t.createEditSession(d),f=new r(new c(l));f.setSession(m);var p={document:m,editor:f,onResize:f.resize.bind(f,null)};return u&&(p.textarea=u),o.addListener(window,"resize",p.onResize),f.on("destroy",function(){o.removeListener(window,"resize",p.onResize),p.editor.container.env=null}),f.container.env=f.env=p,f},t.createEditSession=function(l,_){var d=new a(l,_);return d.setUndoManager(new s),d},t.EditSession=a,t.UndoManager=s,t.version="1.2.9"});(function(){ace.acequire(["ace/ace"],function(e){e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e);for(var t in e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})})();var DP=window.ace.acequire("ace/ace"),kf={};kf.id="ace/mode/json_worker";kf.src=`"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^\${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={'"':'"',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:" "},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected '"+c+"' instead of '"+ch+"'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if('"'===ch)for(;next();){if('"'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected '"+ch+"'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error('Duplicate key "'+key+'"'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case'"':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0
|
|
}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != 'object'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws=" \\n\v\\f\\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\\u2028\\u2029\uFEFF";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can't convert "+o+" to object");return Object(o)}});`;ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};i.inherits(r,o),t.JsonHighlightRules=r});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){var i=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(r,a){return/^\s+$/.test(r)?/^\s*\}/.test(a):!1},this.autoOutdent=function(r,a){var s=r.getLine(a),c=s.match(/^(\s*\})/);if(!c)return 0;var l=c[1].length,_=r.findMatchingBracket({row:a,column:l});if(!_||_.row==a)return 0;var d=this.$getIndent(r.getLine(_.row));r.replace(new i(a,0,a,l-1),d)},this.$getIndent=function(r){return r.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){var i=e("../../lib/oop"),o=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(s){s&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+s.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+s.end)))};i.inherits(a,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(s,c,l){var _=s.getLine(l);if(this.singleLineBlockCommentRe.test(_)&&!this.startRegionRe.test(_)&&!this.tripleStarBlockCommentRe.test(_))return"";var d=this._getFoldWidgetBase(s,c,l);return!d&&this.startRegionRe.test(_)?"start":d},this.getFoldWidgetRange=function(s,c,l,_){var d=s.getLine(l);if(this.startRegionRe.test(d))return this.getCommentRegionBlock(s,d,l);var f=d.match(this.foldingStartMarker);if(f){var u=f.index;if(f[1])return this.openingBracketBlock(s,f[1],l,u);var m=s.getCommentFoldRange(l,u+f[0].length,1);return m&&!m.isMultiLine()&&(_?m=this.getSectionRange(s,l):c!="all"&&(m=null)),m}if(c!=="markbegin"){var f=d.match(this.foldingStopMarker);if(f){var u=f.index+f[0].length;return f[1]?this.closingBracketBlock(s,f[1],l,u):s.getCommentFoldRange(l,u,-1)}}},this.getSectionRange=function(s,c){var l=s.getLine(c),_=l.search(/\S/),d=c,u=l.length;c=c+1;for(var m=c,f=s.getLength();++c<f;){l=s.getLine(c);var p=l.search(/\S/);if(p!==-1){if(_>p)break;var h=this.getFoldWidgetRange(s,"all",c);if(h){if(h.start.row<=d)break;if(h.isMultiLine())c=h.end.row;else if(_==p)break}m=c}}return new o(d,u,m,s.getLine(m).length)},this.getCommentRegionBlock=function(s,c,l){for(var _=c.search(/\s*$/),d=s.getLength(),u=l,m=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,f=1;++l<d;){c=s.getLine(l);var p=m.exec(c);if(!!p&&(p[1]?f--:f++,!f))break}var h=l;if(h>u)return new o(u,_,h,c.length)}}.call(a.prototype)});ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,n){var i=e("../lib/oop"),o=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,_=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=new s,this.foldingRules=new c};i.inherits(_,o),function(){this.getNextLineIndent=function(d,u,m){var f=this.$getIndent(u);if(d=="start"){var p=u.match(/^.*[\{\(\[]\s*$/);p&&(f+=m)}return f},this.checkOutdent=function(d,u,m){return this.$outdent.checkOutdent(u,m)},this.autoOutdent=function(d,u,m){this.$outdent.autoOutdent(u,m)},this.createWorker=function(d){var u=new l(["ace"],kf,"JsonWorker");return u.attachToDocument(d.getDocument()),u.on("annotate",function(m){d.setAnnotations(m.data)}),u.on("terminate",function(){d.clearAnnotations()}),u},this.$id="ace/mode/json"}.call(_.prototype),t.Mode=_});ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w.*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w+?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d\s]*$/,onMatch:function(a,s,c,l){var _=/^\s*/.exec(l)[0];return c.length<1?c.push(this.next):c[0]="mlString",c.length<2?c.push(_.length):c[1]=_.length,this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlString:[{token:"indent",regex:/^\s*$/},{token:"indent",regex:/^\s*/,onMatch:function(a,s,c){var l=c[1];return l>=a.length?(this.next="start",c.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};i.inherits(r,o),t.YamlHighlightRules=r});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){var i=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(r,a){return/^\s+$/.test(r)?/^\s*\}/.test(a):!1},this.autoOutdent=function(r,a){var s=r.getLine(a),c=s.match(/^(\s*\})/);if(!c)return 0;var l=c[1].length,_=r.findMatchingBracket({row:a,column:l});if(!_||_.row==a)return 0;var d=this.$getIndent(r.getLine(_.row));r.replace(new i(a,0,a,l-1),d)},this.$getIndent=function(r){return r.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o});ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){var i=e("../../lib/oop"),o=e("./fold_mode").FoldMode,r=e("../../range").Range,a=t.FoldMode=function(){};i.inherits(a,o),function(){this.getFoldWidgetRange=function(s,c,l){var _=this.indentationBlock(s,l);if(_)return _;var d=/\S/,u=s.getLine(l),m=u.search(d);if(!(m==-1||u[m]!="#")){for(var f=u.length,p=s.getLength(),h=l,b=l;++l<p;){u=s.getLine(l);var g=u.search(d);if(g!=-1){if(u[g]!="#")break;b=l}}if(b>h){var v=s.getLine(b).length;return new r(h,f,b,v)}}},this.getFoldWidget=function(s,c,l){var _=s.getLine(l),d=_.search(/\S/),u=s.getLine(l+1),m=s.getLine(l-1),f=m.search(/\S/),p=u.search(/\S/);if(d==-1)return s.foldWidgets[l-1]=f!=-1&&f<p?"start":"","";if(f==-1){if(d==p&&_[d]=="#"&&u[d]=="#")return s.foldWidgets[l-1]="",s.foldWidgets[l+1]="","start"}else if(f==d&&_[d]=="#"&&m[d]=="#"&&s.getLine(l-2).search(/\S/)==-1)return s.foldWidgets[l-1]="start",s.foldWidgets[l+1]="","";return f!=-1&&f<d?s.foldWidgets[l-1]="start":s.foldWidgets[l-1]="",d<p?"start":""}}.call(a.prototype)});ace.define("ace/mode/yaml",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/yaml_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/coffee"],function(e,t,n){var i=e("../lib/oop"),o=e("./text").Mode,r=e("./yaml_highlight_rules").YamlHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/coffee").FoldMode,c=function(){this.HighlightRules=r,this.$outdent=new a,this.foldingRules=new s,this.$behaviour=this.$defaultBehaviour};i.inherits(c,o),function(){this.lineCommentStart=["#","//"],this.getNextLineIndent=function(l,_,d){var u=this.$getIndent(_);if(l=="start"){var m=_.match(/^.*[\{\(\[]\s*$/);m&&(u+=d)}return u},this.checkOutdent=function(l,_,d){return this.$outdent.checkOutdent(_,d)},this.autoOutdent=function(l,_,d){this.$outdent.autoOutdent(_,d)},this.$id="ace/mode/yaml"}.call(c.prototype),t.Mode=c});var xS={exports:{}};(function(e,t){(function(i,o){e.exports=o()})(ut,function(){return function(n){var i={};function o(r){if(i[r])return i[r].exports;var a=i[r]={exports:{},id:r,loaded:!1};return n[r].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}return o.m=n,o.c=i,o.p="",o(0)}([function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(1),a=o(3),s=o(8),c=o(15);function l(f,p,h){var b=null,g=function(R,D){h&&h(R,D),b&&b.visit(R,D)},v=typeof h=="function"?g:null,E=!1;if(p){E=typeof p.comment=="boolean"&&p.comment;var S=typeof p.attachComment=="boolean"&&p.attachComment;(E||S)&&(b=new r.CommentHandler,b.attach=S,p.comment=!0,v=g)}var N=!1;p&&typeof p.sourceType=="string"&&(N=p.sourceType==="module");var C;p&&typeof p.jsx=="boolean"&&p.jsx?C=new a.JSXParser(f,p,v):C=new s.Parser(f,p,v);var y=N?C.parseModule():C.parseScript(),A=y;return E&&b&&(A.comments=b.comments),C.config.tokens&&(A.tokens=C.tokens),C.config.tolerant&&(A.errors=C.errorHandler.errors),A}i.parse=l;function _(f,p,h){var b=p||{};return b.sourceType="module",l(f,b,h)}i.parseModule=_;function d(f,p,h){var b=p||{};return b.sourceType="script",l(f,b,h)}i.parseScript=d;function u(f,p,h){var b=new c.Tokenizer(f,p),g;g=[];try{for(;;){var v=b.getNextToken();if(!v)break;h&&(v=h(v)),g.push(v)}}catch(E){b.errorHandler.tolerate(E)}return b.errorHandler.tolerant&&(g.errors=b.errors()),g}i.tokenize=u;var m=o(2);i.Syntax=m.Syntax,i.version="4.0.1"},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(2),a=function(){function s(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return s.prototype.insertInnerComments=function(c,l){if(c.type===r.Syntax.BlockStatement&&c.body.length===0){for(var _=[],d=this.leading.length-1;d>=0;--d){var u=this.leading[d];l.end.offset>=u.start&&(_.unshift(u.comment),this.leading.splice(d,1),this.trailing.splice(d,1))}_.length&&(c.innerComments=_)}},s.prototype.findTrailingComments=function(c){var l=[];if(this.trailing.length>0){for(var _=this.trailing.length-1;_>=0;--_){var d=this.trailing[_];d.start>=c.end.offset&&l.unshift(d.comment)}return this.trailing.length=0,l}var u=this.stack[this.stack.length-1];if(u&&u.node.trailingComments){var m=u.node.trailingComments[0];m&&m.range[0]>=c.end.offset&&(l=u.node.trailingComments,delete u.node.trailingComments)}return l},s.prototype.findLeadingComments=function(c){for(var l=[],_;this.stack.length>0;){var d=this.stack[this.stack.length-1];if(d&&d.start>=c.start.offset)_=d.node,this.stack.pop();else break}if(_){for(var u=_.leadingComments?_.leadingComments.length:0,m=u-1;m>=0;--m){var f=_.leadingComments[m];f.range[1]<=c.start.offset&&(l.unshift(f),_.leadingComments.splice(m,1))}return _.leadingComments&&_.leadingComments.length===0&&delete _.leadingComments,l}for(var m=this.leading.length-1;m>=0;--m){var d=this.leading[m];d.start<=c.start.offset&&(l.unshift(d.comment),this.leading.splice(m,1))}return l},s.prototype.visitNode=function(c,l){if(!(c.type===r.Syntax.Program&&c.body.length>0)){this.insertInnerComments(c,l);var _=this.findTrailingComments(l),d=this.findLeadingComments(l);d.length>0&&(c.leadingComments=d),_.length>0&&(c.trailingComments=_),this.stack.push({node:c,start:l.start.offset})}},s.prototype.visitComment=function(c,l){var _=c.type[0]==="L"?"Line":"Block",d={type:_,value:c.value};if(c.range&&(d.range=c.range),c.loc&&(d.loc=c.loc),this.comments.push(d),this.attach){var u={comment:{type:_,value:c.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};c.loc&&(u.comment.loc=c.loc),c.type=_,this.leading.push(u),this.trailing.push(u)}},s.prototype.visit=function(c,l){c.type==="LineComment"?this.visitComment(c,l):c.type==="BlockComment"?this.visitComment(c,l):this.attach&&this.visitNode(c,l)},s}();i.CommentHandler=a},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(n,i,o){var r=this&&this.__extends||function(){var p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,b){h.__proto__=b}||function(h,b){for(var g in b)b.hasOwnProperty(g)&&(h[g]=b[g])};return function(h,b){p(h,b);function g(){this.constructor=h}h.prototype=b===null?Object.create(b):(g.prototype=b.prototype,new g)}}();Object.defineProperty(i,"__esModule",{value:!0});var a=o(4),s=o(5),c=o(6),l=o(7),_=o(8),d=o(13),u=o(14);d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";function m(p){var h;switch(p.type){case c.JSXSyntax.JSXIdentifier:var b=p;h=b.name;break;case c.JSXSyntax.JSXNamespacedName:var g=p;h=m(g.namespace)+":"+m(g.name);break;case c.JSXSyntax.JSXMemberExpression:var v=p;h=m(v.object)+"."+m(v.property);break}return h}var f=function(p){r(h,p);function h(b,g,v){return p.call(this,b,g,v)||this}return h.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():p.prototype.parsePrimaryExpression.call(this)},h.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},h.prototype.finishJSX=function(){this.nextToken()},h.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},h.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.scanXHTMLEntity=function(b){for(var g="&",v=!0,E=!1,S=!1,N=!1;!this.scanner.eof()&&v&&!E;){var C=this.scanner.source[this.scanner.index];if(C===b)break;if(E=C===";",g+=C,++this.scanner.index,!E)switch(g.length){case 2:S=C==="#";break;case 3:S&&(N=C==="x",v=N||a.Character.isDecimalDigit(C.charCodeAt(0)),S=S&&!N);break;default:v=v&&!(S&&!a.Character.isDecimalDigit(C.charCodeAt(0))),v=v&&!(N&&!a.Character.isHexDigit(C.charCodeAt(0)));break}}if(v&&E&&g.length>2){var y=g.substr(1,g.length-2);S&&y.length>1?g=String.fromCharCode(parseInt(y.substr(1),10)):N&&y.length>2?g=String.fromCharCode(parseInt("0"+y.substr(1),16)):!S&&!N&&u.XHTMLEntities[y]&&(g=u.XHTMLEntities[y])}return g},h.prototype.lexJSX=function(){var b=this.scanner.source.charCodeAt(this.scanner.index);if(b===60||b===62||b===47||b===58||b===61||b===123||b===125){var g=this.scanner.source[this.scanner.index++];return{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(b===34||b===39){for(var v=this.scanner.index,E=this.scanner.source[this.scanner.index++],S="";!this.scanner.eof();){var N=this.scanner.source[this.scanner.index++];if(N===E)break;N==="&"?S+=this.scanXHTMLEntity(E):S+=N}return{type:8,value:S,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:v,end:this.scanner.index}}if(b===46){var C=this.scanner.source.charCodeAt(this.scanner.index+1),y=this.scanner.source.charCodeAt(this.scanner.index+2),g=C===46&&y===46?"...":".",v=this.scanner.index;return this.scanner.index+=g.length,{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:v,end:this.scanner.index}}if(b===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(a.Character.isIdentifierStart(b)&&b!==92){var v=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var N=this.scanner.source.charCodeAt(this.scanner.index);if(a.Character.isIdentifierPart(N)&&N!==92)++this.scanner.index;else if(N===45)++this.scanner.index;else break}var A=this.scanner.source.slice(v,this.scanner.index);return{type:100,value:A,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:v,end:this.scanner.index}}return this.scanner.lex()},h.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var b=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(b)),b},h.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var b=this.scanner.index,g="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index];if(v==="{"||v==="<")break;++this.scanner.index,g+=v,a.Character.isLineTerminator(v.charCodeAt(0))&&(++this.scanner.lineNumber,v==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var E={type:101,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index};return g.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(E)),E},h.prototype.peekJSXToken=function(){var b=this.scanner.saveState();this.scanner.scanComments();var g=this.lexJSX();return this.scanner.restoreState(b),g},h.prototype.expectJSX=function(b){var g=this.nextJSXToken();(g.type!==7||g.value!==b)&&this.throwUnexpectedToken(g)},h.prototype.matchJSX=function(b){var g=this.peekJSXToken();return g.type===7&&g.value===b},h.prototype.parseJSXIdentifier=function(){var b=this.createJSXNode(),g=this.nextJSXToken();return g.type!==100&&this.throwUnexpectedToken(g),this.finalize(b,new s.JSXIdentifier(g.value))},h.prototype.parseJSXElementName=function(){var b=this.createJSXNode(),g=this.parseJSXIdentifier();if(this.matchJSX(":")){var v=g;this.expectJSX(":");var E=this.parseJSXIdentifier();g=this.finalize(b,new s.JSXNamespacedName(v,E))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var S=g;this.expectJSX(".");var N=this.parseJSXIdentifier();g=this.finalize(b,new s.JSXMemberExpression(S,N))}return g},h.prototype.parseJSXAttributeName=function(){var b=this.createJSXNode(),g,v=this.parseJSXIdentifier();if(this.matchJSX(":")){var E=v;this.expectJSX(":");var S=this.parseJSXIdentifier();g=this.finalize(b,new s.JSXNamespacedName(E,S))}else g=v;return g},h.prototype.parseJSXStringLiteralAttribute=function(){var b=this.createJSXNode(),g=this.nextJSXToken();g.type!==8&&this.throwUnexpectedToken(g);var v=this.getTokenRaw(g);return this.finalize(b,new l.Literal(g.value,v))},h.prototype.parseJSXExpressionAttribute=function(){var b=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(b,new s.JSXExpressionContainer(g))},h.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},h.prototype.parseJSXNameValueAttribute=function(){var b=this.createJSXNode(),g=this.parseJSXAttributeName(),v=null;return this.matchJSX("=")&&(this.expectJSX("="),v=this.parseJSXAttributeValue()),this.finalize(b,new s.JSXAttribute(g,v))},h.prototype.parseJSXSpreadAttribute=function(){var b=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(b,new s.JSXSpreadAttribute(g))},h.prototype.parseJSXAttributes=function(){for(var b=[];!this.matchJSX("/")&&!this.matchJSX(">");){var g=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();b.push(g)}return b},h.prototype.parseJSXOpeningElement=function(){var b=this.createJSXNode();this.expectJSX("<");var g=this.parseJSXElementName(),v=this.parseJSXAttributes(),E=this.matchJSX("/");return E&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(b,new s.JSXOpeningElement(g,E,v))},h.prototype.parseJSXBoundaryElement=function(){var b=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var g=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(b,new s.JSXClosingElement(g))}var v=this.parseJSXElementName(),E=this.parseJSXAttributes(),S=this.matchJSX("/");return S&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(b,new s.JSXOpeningElement(v,S,E))},h.prototype.parseJSXEmptyExpression=function(){var b=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(b,new s.JSXEmptyExpression)},h.prototype.parseJSXExpressionContainer=function(){var b=this.createJSXNode();this.expectJSX("{");var g;return this.matchJSX("}")?(g=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),g=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new s.JSXExpressionContainer(g))},h.prototype.parseJSXChildren=function(){for(var b=[];!this.scanner.eof();){var g=this.createJSXChildNode(),v=this.nextJSXText();if(v.start<v.end){var E=this.getTokenRaw(v),S=this.finalize(g,new s.JSXText(v.value,E));b.push(S)}if(this.scanner.source[this.scanner.index]==="{"){var N=this.parseJSXExpressionContainer();b.push(N)}else break}return b},h.prototype.parseComplexJSXElement=function(b){for(var g=[];!this.scanner.eof();){b.children=b.children.concat(this.parseJSXChildren());var v=this.createJSXChildNode(),E=this.parseJSXBoundaryElement();if(E.type===c.JSXSyntax.JSXOpeningElement){var S=E;if(S.selfClosing){var N=this.finalize(v,new s.JSXElement(S,[],null));b.children.push(N)}else g.push(b),b={node:v,opening:S,closing:null,children:[]}}if(E.type===c.JSXSyntax.JSXClosingElement){b.closing=E;var C=m(b.opening.name),y=m(b.closing.name);if(C!==y&&this.tolerateError("Expected corresponding JSX closing tag for %0",C),g.length>0){var N=this.finalize(b.node,new s.JSXElement(b.opening,b.children,b.closing));b=g[g.length-1],b.children.push(N),g.pop()}else break}}return b},h.prototype.parseJSXElement=function(){var b=this.createJSXNode(),g=this.parseJSXOpeningElement(),v=[],E=null;if(!g.selfClosing){var S=this.parseComplexJSXElement({node:b,opening:g,closing:E,children:v});v=S.children,E=S.closing}return this.finalize(b,new s.JSXElement(g,v,E))},h.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var b=this.parseJSXElement();return this.finishJSX(),b},h.prototype.isStartOfExpression=function(){return p.prototype.isStartOfExpression.call(this)||this.match("<")},h}(_.Parser);i.JSXParser=f},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});var o={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};i.Character={fromCodePoint:function(r){return r<65536?String.fromCharCode(r):String.fromCharCode(55296+(r-65536>>10))+String.fromCharCode(56320+(r-65536&1023))},isWhiteSpace:function(r){return r===32||r===9||r===11||r===12||r===160||r>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(r)>=0},isLineTerminator:function(r){return r===10||r===13||r===8232||r===8233},isIdentifierStart:function(r){return r===36||r===95||r>=65&&r<=90||r>=97&&r<=122||r===92||r>=128&&o.NonAsciiIdentifierStart.test(i.Character.fromCodePoint(r))},isIdentifierPart:function(r){return r===36||r===95||r>=65&&r<=90||r>=97&&r<=122||r>=48&&r<=57||r===92||r>=128&&o.NonAsciiIdentifierPart.test(i.Character.fromCodePoint(r))},isDecimalDigit:function(r){return r>=48&&r<=57},isHexDigit:function(r){return r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102},isOctalDigit:function(r){return r>=48&&r<=55}}},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(6),a=function(){function b(g){this.type=r.JSXSyntax.JSXClosingElement,this.name=g}return b}();i.JSXClosingElement=a;var s=function(){function b(g,v,E){this.type=r.JSXSyntax.JSXElement,this.openingElement=g,this.children=v,this.closingElement=E}return b}();i.JSXElement=s;var c=function(){function b(){this.type=r.JSXSyntax.JSXEmptyExpression}return b}();i.JSXEmptyExpression=c;var l=function(){function b(g){this.type=r.JSXSyntax.JSXExpressionContainer,this.expression=g}return b}();i.JSXExpressionContainer=l;var _=function(){function b(g){this.type=r.JSXSyntax.JSXIdentifier,this.name=g}return b}();i.JSXIdentifier=_;var d=function(){function b(g,v){this.type=r.JSXSyntax.JSXMemberExpression,this.object=g,this.property=v}return b}();i.JSXMemberExpression=d;var u=function(){function b(g,v){this.type=r.JSXSyntax.JSXAttribute,this.name=g,this.value=v}return b}();i.JSXAttribute=u;var m=function(){function b(g,v){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=g,this.name=v}return b}();i.JSXNamespacedName=m;var f=function(){function b(g,v,E){this.type=r.JSXSyntax.JSXOpeningElement,this.name=g,this.selfClosing=v,this.attributes=E}return b}();i.JSXOpeningElement=f;var p=function(){function b(g){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=g}return b}();i.JSXSpreadAttribute=p;var h=function(){function b(g,v){this.type=r.JSXSyntax.JSXText,this.value=g,this.raw=v}return b}();i.JSXText=h},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(2),a=function(){function ie(re){this.type=r.Syntax.ArrayExpression,this.elements=re}return ie}();i.ArrayExpression=a;var s=function(){function ie(re){this.type=r.Syntax.ArrayPattern,this.elements=re}return ie}();i.ArrayPattern=s;var c=function(){function ie(re,be,Nt){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=re,this.body=be,this.generator=!1,this.expression=Nt,this.async=!1}return ie}();i.ArrowFunctionExpression=c;var l=function(){function ie(re,be,Nt){this.type=r.Syntax.AssignmentExpression,this.operator=re,this.left=be,this.right=Nt}return ie}();i.AssignmentExpression=l;var _=function(){function ie(re,be){this.type=r.Syntax.AssignmentPattern,this.left=re,this.right=be}return ie}();i.AssignmentPattern=_;var d=function(){function ie(re,be,Nt){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=re,this.body=be,this.generator=!1,this.expression=Nt,this.async=!0}return ie}();i.AsyncArrowFunctionExpression=d;var u=function(){function ie(re,be,Nt){this.type=r.Syntax.FunctionDeclaration,this.id=re,this.params=be,this.body=Nt,this.generator=!1,this.expression=!1,this.async=!0}return ie}();i.AsyncFunctionDeclaration=u;var m=function(){function ie(re,be,Nt){this.type=r.Syntax.FunctionExpression,this.id=re,this.params=be,this.body=Nt,this.generator=!1,this.expression=!1,this.async=!0}return ie}();i.AsyncFunctionExpression=m;var f=function(){function ie(re){this.type=r.Syntax.AwaitExpression,this.argument=re}return ie}();i.AwaitExpression=f;var p=function(){function ie(re,be,Nt){var gi=re==="||"||re==="&&";this.type=gi?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression,this.operator=re,this.left=be,this.right=Nt}return ie}();i.BinaryExpression=p;var h=function(){function ie(re){this.type=r.Syntax.BlockStatement,this.body=re}return ie}();i.BlockStatement=h;var b=function(){function ie(re){this.type=r.Syntax.BreakStatement,this.label=re}return ie}();i.BreakStatement=b;var g=function(){function ie(re,be){this.type=r.Syntax.CallExpression,this.callee=re,this.arguments=be}return ie}();i.CallExpression=g;var v=function(){function ie(re,be){this.type=r.Syntax.CatchClause,this.param=re,this.body=be}return ie}();i.CatchClause=v;var E=function(){function ie(re){this.type=r.Syntax.ClassBody,this.body=re}return ie}();i.ClassBody=E;var S=function(){function ie(re,be,Nt){this.type=r.Syntax.ClassDeclaration,this.id=re,this.superClass=be,this.body=Nt}return ie}();i.ClassDeclaration=S;var N=function(){function ie(re,be,Nt){this.type=r.Syntax.ClassExpression,this.id=re,this.superClass=be,this.body=Nt}return ie}();i.ClassExpression=N;var C=function(){function ie(re,be){this.type=r.Syntax.MemberExpression,this.computed=!0,this.object=re,this.property=be}return ie}();i.ComputedMemberExpression=C;var y=function(){function ie(re,be,Nt){this.type=r.Syntax.ConditionalExpression,this.test=re,this.consequent=be,this.alternate=Nt}return ie}();i.ConditionalExpression=y;var A=function(){function ie(re){this.type=r.Syntax.ContinueStatement,this.label=re}return ie}();i.ContinueStatement=A;var R=function(){function ie(){this.type=r.Syntax.DebuggerStatement}return ie}();i.DebuggerStatement=R;var D=function(){function ie(re,be){this.type=r.Syntax.ExpressionStatement,this.expression=re,this.directive=be}return ie}();i.Directive=D;var M=function(){function ie(re,be){this.type=r.Syntax.DoWhileStatement,this.body=re,this.test=be}return ie}();i.DoWhileStatement=M;var L=function(){function ie(){this.type=r.Syntax.EmptyStatement}return ie}();i.EmptyStatement=L;var F=function(){function ie(re){this.type=r.Syntax.ExportAllDeclaration,this.source=re}return ie}();i.ExportAllDeclaration=F;var q=function(){function ie(re){this.type=r.Syntax.ExportDefaultDeclaration,this.declaration=re}return ie}();i.ExportDefaultDeclaration=q;var $=function(){function ie(re,be,Nt){this.type=r.Syntax.ExportNamedDeclaration,this.declaration=re,this.specifiers=be,this.source=Nt}return ie}();i.ExportNamedDeclaration=$;var Y=function(){function ie(re,be){this.type=r.Syntax.ExportSpecifier,this.exported=be,this.local=re}return ie}();i.ExportSpecifier=Y;var X=function(){function ie(re){this.type=r.Syntax.ExpressionStatement,this.expression=re}return ie}();i.ExpressionStatement=X;var J=function(){function ie(re,be,Nt){this.type=r.Syntax.ForInStatement,this.left=re,this.right=be,this.body=Nt,this.each=!1}return ie}();i.ForInStatement=J;var B=function(){function ie(re,be,Nt){this.type=r.Syntax.ForOfStatement,this.left=re,this.right=be,this.body=Nt}return ie}();i.ForOfStatement=B;var w=function(){function ie(re,be,Nt,gi){this.type=r.Syntax.ForStatement,this.init=re,this.test=be,this.update=Nt,this.body=gi}return ie}();i.ForStatement=w;var I=function(){function ie(re,be,Nt,gi){this.type=r.Syntax.FunctionDeclaration,this.id=re,this.params=be,this.body=Nt,this.generator=gi,this.expression=!1,this.async=!1}return ie}();i.FunctionDeclaration=I;var U=function(){function ie(re,be,Nt,gi){this.type=r.Syntax.FunctionExpression,this.id=re,this.params=be,this.body=Nt,this.generator=gi,this.expression=!1,this.async=!1}return ie}();i.FunctionExpression=U;var z=function(){function ie(re){this.type=r.Syntax.Identifier,this.name=re}return ie}();i.Identifier=z;var ee=function(){function ie(re,be,Nt){this.type=r.Syntax.IfStatement,this.test=re,this.consequent=be,this.alternate=Nt}return ie}();i.IfStatement=ee;var ae=function(){function ie(re,be){this.type=r.Syntax.ImportDeclaration,this.specifiers=re,this.source=be}return ie}();i.ImportDeclaration=ae;var te=function(){function ie(re){this.type=r.Syntax.ImportDefaultSpecifier,this.local=re}return ie}();i.ImportDefaultSpecifier=te;var me=function(){function ie(re){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=re}return ie}();i.ImportNamespaceSpecifier=me;var he=function(){function ie(re,be){this.type=r.Syntax.ImportSpecifier,this.local=re,this.imported=be}return ie}();i.ImportSpecifier=he;var Ve=function(){function ie(re,be){this.type=r.Syntax.LabeledStatement,this.label=re,this.body=be}return ie}();i.LabeledStatement=Ve;var ze=function(){function ie(re,be){this.type=r.Syntax.Literal,this.value=re,this.raw=be}return ie}();i.Literal=ze;var _e=function(){function ie(re,be){this.type=r.Syntax.MetaProperty,this.meta=re,this.property=be}return ie}();i.MetaProperty=_e;var Re=function(){function ie(re,be,Nt,gi,Ms){this.type=r.Syntax.MethodDefinition,this.key=re,this.computed=be,this.value=Nt,this.kind=gi,this.static=Ms}return ie}();i.MethodDefinition=Re;var De=function(){function ie(re){this.type=r.Syntax.Program,this.body=re,this.sourceType="module"}return ie}();i.Module=De;var Vt=function(){function ie(re,be){this.type=r.Syntax.NewExpression,this.callee=re,this.arguments=be}return ie}();i.NewExpression=Vt;var Zt=function(){function ie(re){this.type=r.Syntax.ObjectExpression,this.properties=re}return ie}();i.ObjectExpression=Zt;var Le=function(){function ie(re){this.type=r.Syntax.ObjectPattern,this.properties=re}return ie}();i.ObjectPattern=Le;var mi=function(){function ie(re,be,Nt,gi,Ms,pm){this.type=r.Syntax.Property,this.key=be,this.computed=Nt,this.value=gi,this.kind=re,this.method=Ms,this.shorthand=pm}return ie}();i.Property=mi;var Ot=function(){function ie(re,be,Nt,gi){this.type=r.Syntax.Literal,this.value=re,this.raw=be,this.regex={pattern:Nt,flags:gi}}return ie}();i.RegexLiteral=Ot;var yt=function(){function ie(re){this.type=r.Syntax.RestElement,this.argument=re}return ie}();i.RestElement=yt;var jn=function(){function ie(re){this.type=r.Syntax.ReturnStatement,this.argument=re}return ie}();i.ReturnStatement=jn;var xe=function(){function ie(re){this.type=r.Syntax.Program,this.body=re,this.sourceType="script"}return ie}();i.Script=xe;var ti=function(){function ie(re){this.type=r.Syntax.SequenceExpression,this.expressions=re}return ie}();i.SequenceExpression=ti;var Xi=function(){function ie(re){this.type=r.Syntax.SpreadElement,this.argument=re}return ie}();i.SpreadElement=Xi;var Ce=function(){function ie(re,be){this.type=r.Syntax.MemberExpression,this.computed=!1,this.object=re,this.property=be}return ie}();i.StaticMemberExpression=Ce;var $e=function(){function ie(){this.type=r.Syntax.Super}return ie}();i.Super=$e;var k=function(){function ie(re,be){this.type=r.Syntax.SwitchCase,this.test=re,this.consequent=be}return ie}();i.SwitchCase=k;var O=function(){function ie(re,be){this.type=r.Syntax.SwitchStatement,this.discriminant=re,this.cases=be}return ie}();i.SwitchStatement=O;var x=function(){function ie(re,be){this.type=r.Syntax.TaggedTemplateExpression,this.tag=re,this.quasi=be}return ie}();i.TaggedTemplateExpression=x;var P=function(){function ie(re,be){this.type=r.Syntax.TemplateElement,this.value=re,this.tail=be}return ie}();i.TemplateElement=P;var Z=function(){function ie(re,be){this.type=r.Syntax.TemplateLiteral,this.quasis=re,this.expressions=be}return ie}();i.TemplateLiteral=Z;var ne=function(){function ie(){this.type=r.Syntax.ThisExpression}return ie}();i.ThisExpression=ne;var se=function(){function ie(re){this.type=r.Syntax.ThrowStatement,this.argument=re}return ie}();i.ThrowStatement=se;var _t=function(){function ie(re,be,Nt){this.type=r.Syntax.TryStatement,this.block=re,this.handler=be,this.finalizer=Nt}return ie}();i.TryStatement=_t;var Jt=function(){function ie(re,be){this.type=r.Syntax.UnaryExpression,this.operator=re,this.argument=be,this.prefix=!0}return ie}();i.UnaryExpression=Jt;var Wt=function(){function ie(re,be,Nt){this.type=r.Syntax.UpdateExpression,this.operator=re,this.argument=be,this.prefix=Nt}return ie}();i.UpdateExpression=Wt;var rn=function(){function ie(re,be){this.type=r.Syntax.VariableDeclaration,this.declarations=re,this.kind=be}return ie}();i.VariableDeclaration=rn;var Gt=function(){function ie(re,be){this.type=r.Syntax.VariableDeclarator,this.id=re,this.init=be}return ie}();i.VariableDeclarator=Gt;var Ie=function(){function ie(re,be){this.type=r.Syntax.WhileStatement,this.test=re,this.body=be}return ie}();i.WhileStatement=Ie;var en=function(){function ie(re,be){this.type=r.Syntax.WithStatement,this.object=re,this.body=be}return ie}();i.WithStatement=en;var Br=function(){function ie(re,be){this.type=r.Syntax.YieldExpression,this.argument=re,this.delegate=be}return ie}();i.YieldExpression=Br},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(9),a=o(10),s=o(11),c=o(7),l=o(12),_=o(2),d=o(13),u="ArrowParameterPlaceHolder",m=function(){function f(p,h,b){h===void 0&&(h={}),this.config={range:typeof h.range=="boolean"&&h.range,loc:typeof h.loc=="boolean"&&h.loc,source:null,tokens:typeof h.tokens=="boolean"&&h.tokens,comment:typeof h.comment=="boolean"&&h.comment,tolerant:typeof h.tolerant=="boolean"&&h.tolerant},this.config.loc&&h.source&&h.source!==null&&(this.config.source=String(h.source)),this.delegate=b,this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(p,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(p){for(var h=[],b=1;b<arguments.length;b++)h[b-1]=arguments[b];var g=Array.prototype.slice.call(arguments,1),v=p.replace(/%(\d)/g,function(C,y){return r.assert(y<g.length,"Message reference must be in range"),g[y]}),E=this.lastMarker.index,S=this.lastMarker.line,N=this.lastMarker.column+1;throw this.errorHandler.createError(E,S,N,v)},f.prototype.tolerateError=function(p){for(var h=[],b=1;b<arguments.length;b++)h[b-1]=arguments[b];var g=Array.prototype.slice.call(arguments,1),v=p.replace(/%(\d)/g,function(C,y){return r.assert(y<g.length,"Message reference must be in range"),g[y]}),E=this.lastMarker.index,S=this.scanner.lineNumber,N=this.lastMarker.column+1;this.errorHandler.tolerateError(E,S,N,v)},f.prototype.unexpectedTokenError=function(p,h){var b=h||s.Messages.UnexpectedToken,g;if(p?(h||(b=p.type===2?s.Messages.UnexpectedEOS:p.type===3?s.Messages.UnexpectedIdentifier:p.type===6?s.Messages.UnexpectedNumber:p.type===8?s.Messages.UnexpectedString:p.type===10?s.Messages.UnexpectedTemplate:s.Messages.UnexpectedToken,p.type===4&&(this.scanner.isFutureReservedWord(p.value)?b=s.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(p.value)&&(b=s.Messages.StrictReservedWord))),g=p.value):g="ILLEGAL",b=b.replace("%0",g),p&&typeof p.lineNumber=="number"){var v=p.start,E=p.lineNumber,S=this.lastMarker.index-this.lastMarker.column,N=p.start-S+1;return this.errorHandler.createError(v,E,N,b)}else{var v=this.lastMarker.index,E=this.lastMarker.line,N=this.lastMarker.column+1;return this.errorHandler.createError(v,E,N,b)}},f.prototype.throwUnexpectedToken=function(p,h){throw this.unexpectedTokenError(p,h)},f.prototype.tolerateUnexpectedToken=function(p,h){this.errorHandler.tolerate(this.unexpectedTokenError(p,h))},f.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var p=this.scanner.scanComments();if(p.length>0&&this.delegate)for(var h=0;h<p.length;++h){var b=p[h],g=void 0;g={type:b.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(b.slice[0],b.slice[1])},this.config.range&&(g.range=b.range),this.config.loc&&(g.loc=b.loc);var v={start:{line:b.loc.start.line,column:b.loc.start.column,offset:b.range[0]},end:{line:b.loc.end.line,column:b.loc.end.column,offset:b.range[1]}};this.delegate(g,v)}}},f.prototype.getTokenRaw=function(p){return this.scanner.source.slice(p.start,p.end)},f.prototype.convertToken=function(p){var h={type:d.TokenName[p.type],value:this.getTokenRaw(p)};if(this.config.range&&(h.range=[p.start,p.end]),this.config.loc&&(h.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),p.type===9){var b=p.pattern,g=p.flags;h.regex={pattern:b,flags:g}}return h},f.prototype.nextToken=function(){var p=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var h=this.scanner.lex();return this.hasLineTerminator=p.lineNumber!==h.lineNumber,h&&this.context.strict&&h.type===3&&this.scanner.isStrictModeReservedWord(h.value)&&(h.type=4),this.lookahead=h,this.config.tokens&&h.type!==2&&this.tokens.push(this.convertToken(h)),p},f.prototype.nextRegexToken=function(){this.collectComments();var p=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(p))),this.lookahead=p,this.nextToken(),p},f.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},f.prototype.startNode=function(p,h){h===void 0&&(h=0);var b=p.start-p.lineStart,g=p.lineNumber;return b<0&&(b+=h,g--),{index:p.start,line:g,column:b}},f.prototype.finalize=function(p,h){if(this.config.range&&(h.range=[p.index,this.lastMarker.index]),this.config.loc&&(h.loc={start:{line:p.line,column:p.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(h.loc.source=this.config.source)),this.delegate){var b={start:{line:p.line,column:p.column,offset:p.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(h,b)}return h},f.prototype.expect=function(p){var h=this.nextToken();(h.type!==7||h.value!==p)&&this.throwUnexpectedToken(h)},f.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var p=this.lookahead;p.type===7&&p.value===","?this.nextToken():p.type===7&&p.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(p)):this.tolerateUnexpectedToken(p,s.Messages.UnexpectedToken)}else this.expect(",")},f.prototype.expectKeyword=function(p){var h=this.nextToken();(h.type!==4||h.value!==p)&&this.throwUnexpectedToken(h)},f.prototype.match=function(p){return this.lookahead.type===7&&this.lookahead.value===p},f.prototype.matchKeyword=function(p){return this.lookahead.type===4&&this.lookahead.value===p},f.prototype.matchContextualKeyword=function(p){return this.lookahead.type===3&&this.lookahead.value===p},f.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var p=this.lookahead.value;return p==="="||p==="*="||p==="**="||p==="/="||p==="%="||p==="+="||p==="-="||p==="<<="||p===">>="||p===">>>="||p==="&="||p==="^="||p==="|="},f.prototype.isolateCoverGrammar=function(p){var h=this.context.isBindingElement,b=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var v=p.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=h,this.context.isAssignmentTarget=b,this.context.firstCoverInitializedNameError=g,v},f.prototype.inheritCoverGrammar=function(p){var h=this.context.isBindingElement,b=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var v=p.call(this);return this.context.isBindingElement=this.context.isBindingElement&&h,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&b,this.context.firstCoverInitializedNameError=g||this.context.firstCoverInitializedNameError,v},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var p=this.createNode(),h,b,g;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),h=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(p,new c.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,s.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),g=this.getTokenRaw(b),h=this.finalize(p,new c.Literal(b.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),g=this.getTokenRaw(b),h=this.finalize(p,new c.Literal(b.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),g=this.getTokenRaw(b),h=this.finalize(p,new c.Literal(null,g));break;case 10:h=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,h=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":h=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":h=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,b=this.nextRegexToken(),g=this.getTokenRaw(b),h=this.finalize(p,new c.RegexLiteral(b.regex,g,b.pattern,b.flags));break;default:h=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?h=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?h=this.finalize(p,new c.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?h=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),h=this.finalize(p,new c.ThisExpression)):this.matchKeyword("class")?h=this.parseClassExpression():h=this.throwUnexpectedToken(this.nextToken()));break;default:h=this.throwUnexpectedToken(this.nextToken())}return h},f.prototype.parseSpreadElement=function(){var p=this.createNode();this.expect("...");var h=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(p,new c.SpreadElement(h))},f.prototype.parseArrayInitializer=function(){var p=this.createNode(),h=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),h.push(null);else if(this.match("...")){var b=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),h.push(b)}else h.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(p,new c.ArrayExpression(h))},f.prototype.parsePropertyMethod=function(p){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var h=this.context.strict,b=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var g=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&p.firstRestricted&&this.tolerateUnexpectedToken(p.firstRestricted,p.message),this.context.strict&&p.stricted&&this.tolerateUnexpectedToken(p.stricted,p.message),this.context.strict=h,this.context.allowStrictDirective=b,g},f.prototype.parsePropertyMethodFunction=function(){var p=!1,h=this.createNode(),b=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),v=this.parsePropertyMethod(g);return this.context.allowYield=b,this.finalize(h,new c.FunctionExpression(null,g.params,v,p))},f.prototype.parsePropertyMethodAsyncFunction=function(){var p=this.createNode(),h=this.context.allowYield,b=this.context.await;this.context.allowYield=!1,this.context.await=!0;var g=this.parseFormalParameters(),v=this.parsePropertyMethod(g);return this.context.allowYield=h,this.context.await=b,this.finalize(p,new c.AsyncFunctionExpression(null,g.params,v))},f.prototype.parseObjectPropertyKey=function(){var p=this.createNode(),h=this.nextToken(),b;switch(h.type){case 8:case 6:this.context.strict&&h.octal&&this.tolerateUnexpectedToken(h,s.Messages.StrictOctalLiteral);var g=this.getTokenRaw(h);b=this.finalize(p,new c.Literal(h.value,g));break;case 3:case 1:case 5:case 4:b=this.finalize(p,new c.Identifier(h.value));break;case 7:h.value==="["?(b=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):b=this.throwUnexpectedToken(h);break;default:b=this.throwUnexpectedToken(h)}return b},f.prototype.isPropertyKey=function(p,h){return p.type===_.Syntax.Identifier&&p.name===h||p.type===_.Syntax.Literal&&p.value===h},f.prototype.parseObjectProperty=function(p){var h=this.createNode(),b=this.lookahead,g,v=null,E=null,S=!1,N=!1,C=!1,y=!1;if(b.type===3){var A=b.value;this.nextToken(),S=this.match("["),y=!this.hasLineTerminator&&A==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),v=y?this.parseObjectPropertyKey():this.finalize(h,new c.Identifier(A))}else this.match("*")?this.nextToken():(S=this.match("["),v=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!y&&b.value==="get"&&R)g="get",S=this.match("["),v=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!y&&b.value==="set"&&R)g="set",S=this.match("["),v=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&R)g="init",S=this.match("["),v=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),N=!0;else if(v||this.throwUnexpectedToken(this.lookahead),g="init",this.match(":")&&!y)!S&&this.isPropertyKey(v,"__proto__")&&(p.value&&this.tolerateError(s.Messages.DuplicateProtoProperty),p.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=y?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),N=!0;else if(b.type===3){var A=this.finalize(h,new c.Identifier(b.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),C=!0;var D=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(h,new c.AssignmentPattern(A,D))}else C=!0,E=A}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new c.Property(g,v,S,E,N,C))},f.prototype.parseObjectInitializer=function(){var p=this.createNode();this.expect("{");for(var h=[],b={value:!1};!this.match("}");)h.push(this.parseObjectProperty(b)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(p,new c.ObjectExpression(h))},f.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var p=this.createNode(),h=this.nextToken(),b=h.value,g=h.cooked;return this.finalize(p,new c.TemplateElement({raw:b,cooked:g},h.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var p=this.createNode(),h=this.nextToken(),b=h.value,g=h.cooked;return this.finalize(p,new c.TemplateElement({raw:b,cooked:g},h.tail))},f.prototype.parseTemplateLiteral=function(){var p=this.createNode(),h=[],b=[],g=this.parseTemplateHead();for(b.push(g);!g.tail;)h.push(this.parseExpression()),g=this.parseTemplateElement(),b.push(g);return this.finalize(p,new c.TemplateLiteral(b,h))},f.prototype.reinterpretExpressionAsPattern=function(p){switch(p.type){case _.Syntax.Identifier:case _.Syntax.MemberExpression:case _.Syntax.RestElement:case _.Syntax.AssignmentPattern:break;case _.Syntax.SpreadElement:p.type=_.Syntax.RestElement,this.reinterpretExpressionAsPattern(p.argument);break;case _.Syntax.ArrayExpression:p.type=_.Syntax.ArrayPattern;for(var h=0;h<p.elements.length;h++)p.elements[h]!==null&&this.reinterpretExpressionAsPattern(p.elements[h]);break;case _.Syntax.ObjectExpression:p.type=_.Syntax.ObjectPattern;for(var h=0;h<p.properties.length;h++)this.reinterpretExpressionAsPattern(p.properties[h].value);break;case _.Syntax.AssignmentExpression:p.type=_.Syntax.AssignmentPattern,delete p.operator,this.reinterpretExpressionAsPattern(p.left);break}},f.prototype.parseGroupExpression=function(){var p;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),p={type:u,params:[],async:!1};else{var h=this.lookahead,b=[];if(this.match("..."))p=this.parseRestElement(b),this.expect(")"),this.match("=>")||this.expect("=>"),p={type:u,params:[p],async:!1};else{var g=!1;if(this.context.isBindingElement=!0,p=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var v=[];for(this.context.isAssignmentTarget=!1,v.push(p);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E<v.length;E++)this.reinterpretExpressionAsPattern(v[E]);g=!0,p={type:u,params:v,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),v.push(this.parseRestElement(b)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var E=0;E<v.length;E++)this.reinterpretExpressionAsPattern(v[E]);g=!0,p={type:u,params:v,async:!1}}else v.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(g)break}g||(p=this.finalize(this.startNode(h),new c.SequenceExpression(v)))}if(!g){if(this.expect(")"),this.match("=>")&&(p.type===_.Syntax.Identifier&&p.name==="yield"&&(g=!0,p={type:u,params:[p],async:!1}),!g)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),p.type===_.Syntax.SequenceExpression)for(var E=0;E<p.expressions.length;E++)this.reinterpretExpressionAsPattern(p.expressions[E]);else this.reinterpretExpressionAsPattern(p);var S=p.type===_.Syntax.SequenceExpression?p.expressions:[p];p={type:u,params:S,async:!1}}this.context.isBindingElement=!1}}}return p},f.prototype.parseArguments=function(){this.expect("(");var p=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(p.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),p},f.prototype.isIdentifierName=function(p){return p.type===3||p.type===4||p.type===1||p.type===5},f.prototype.parseIdentifierName=function(){var p=this.createNode(),h=this.nextToken();return this.isIdentifierName(h)||this.throwUnexpectedToken(h),this.finalize(p,new c.Identifier(h.value))},f.prototype.parseNewExpression=function(){var p=this.createNode(),h=this.parseIdentifierName();r.assert(h.name==="new","New expression must start with `new`");var b;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var g=this.parseIdentifierName();b=new c.MetaProperty(h,g)}else this.throwUnexpectedToken(this.lookahead);else{var v=this.isolateCoverGrammar(this.parseLeftHandSideExpression),E=this.match("(")?this.parseArguments():[];b=new c.NewExpression(v,E),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(p,b)},f.prototype.parseAsyncArgument=function(){var p=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,p},f.prototype.parseAsyncArguments=function(){this.expect("(");var p=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(p.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),p},f.prototype.parseLeftHandSideExpressionAllowCall=function(){var p=this.lookahead,h=this.matchContextualKeyword("async"),b=this.context.allowIn;this.context.allowIn=!0;var g;for(this.matchKeyword("super")&&this.context.inFunctionBody?(g=this.createNode(),this.nextToken(),g=this.finalize(g,new c.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):g=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var v=this.parseIdentifierName();g=this.finalize(this.startNode(p),new c.StaticMemberExpression(g,v))}else if(this.match("(")){var E=h&&p.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var S=E?this.parseAsyncArguments():this.parseArguments();if(g=this.finalize(this.startNode(p),new c.CallExpression(g,S)),E&&this.match("=>")){for(var N=0;N<S.length;++N)this.reinterpretExpressionAsPattern(S[N]);g={type:u,params:S,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var v=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),g=this.finalize(this.startNode(p),new c.ComputedMemberExpression(g,v))}else if(this.lookahead.type===10&&this.lookahead.head){var C=this.parseTemplateLiteral();g=this.finalize(this.startNode(p),new c.TaggedTemplateExpression(g,C))}else break;return this.context.allowIn=b,g},f.prototype.parseSuper=function(){var p=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(p,new c.Super)},f.prototype.parseLeftHandSideExpression=function(){r.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var p=this.startNode(this.lookahead),h=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var b=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),h=this.finalize(p,new c.ComputedMemberExpression(h,b))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var b=this.parseIdentifierName();h=this.finalize(p,new c.StaticMemberExpression(h,b))}else if(this.lookahead.type===10&&this.lookahead.head){var g=this.parseTemplateLiteral();h=this.finalize(p,new c.TaggedTemplateExpression(h,g))}else break;return h},f.prototype.parseUpdateExpression=function(){var p,h=this.lookahead;if(this.match("++")||this.match("--")){var b=this.startNode(h),g=this.nextToken();p=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&p.type===_.Syntax.Identifier&&this.scanner.isRestrictedWord(p.name)&&this.tolerateError(s.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment);var v=!0;p=this.finalize(b,new c.UpdateExpression(g.value,p,v)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(p=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&p.type===_.Syntax.Identifier&&this.scanner.isRestrictedWord(p.name)&&this.tolerateError(s.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var E=this.nextToken().value,v=!1;p=this.finalize(this.startNode(h),new c.UpdateExpression(E,p,v))}return p},f.prototype.parseAwaitExpression=function(){var p=this.createNode();this.nextToken();var h=this.parseUnaryExpression();return this.finalize(p,new c.AwaitExpression(h))},f.prototype.parseUnaryExpression=function(){var p;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var h=this.startNode(this.lookahead),b=this.nextToken();p=this.inheritCoverGrammar(this.parseUnaryExpression),p=this.finalize(h,new c.UnaryExpression(b.value,p)),this.context.strict&&p.operator==="delete"&&p.argument.type===_.Syntax.Identifier&&this.tolerateError(s.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?p=this.parseAwaitExpression():p=this.parseUpdateExpression();return p},f.prototype.parseExponentiationExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseUnaryExpression);if(h.type!==_.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var b=h,g=this.isolateCoverGrammar(this.parseExponentiationExpression);h=this.finalize(this.startNode(p),new c.BinaryExpression("**",b,g))}return h},f.prototype.binaryPrecedence=function(p){var h=p.value,b;return p.type===7?b=this.operatorPrecedence[h]||0:p.type===4?b=h==="instanceof"||this.context.allowIn&&h==="in"?7:0:b=0,b},f.prototype.parseBinaryExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseExponentiationExpression),b=this.lookahead,g=this.binaryPrecedence(b);if(g>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var v=[p,this.lookahead],E=h,S=this.isolateCoverGrammar(this.parseExponentiationExpression),N=[E,b.value,S],C=[g];g=this.binaryPrecedence(this.lookahead),!(g<=0);){for(;N.length>2&&g<=C[C.length-1];){S=N.pop();var y=N.pop();C.pop(),E=N.pop(),v.pop();var A=this.startNode(v[v.length-1]);N.push(this.finalize(A,new c.BinaryExpression(y,E,S)))}N.push(this.nextToken().value),C.push(g),v.push(this.lookahead),N.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=N.length-1;h=N[R];for(var D=v.pop();R>1;){var M=v.pop(),L=D&&D.lineStart,A=this.startNode(M,L),y=N[R-1];h=this.finalize(A,new c.BinaryExpression(y,N[R-2],h)),R-=2,D=M}}return h},f.prototype.parseConditionalExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var b=this.context.allowIn;this.context.allowIn=!0;var g=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=b,this.expect(":");var v=this.isolateCoverGrammar(this.parseAssignmentExpression);h=this.finalize(this.startNode(p),new c.ConditionalExpression(h,g,v)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return h},f.prototype.checkPatternParam=function(p,h){switch(h.type){case _.Syntax.Identifier:this.validateParam(p,h,h.name);break;case _.Syntax.RestElement:this.checkPatternParam(p,h.argument);break;case _.Syntax.AssignmentPattern:this.checkPatternParam(p,h.left);break;case _.Syntax.ArrayPattern:for(var b=0;b<h.elements.length;b++)h.elements[b]!==null&&this.checkPatternParam(p,h.elements[b]);break;case _.Syntax.ObjectPattern:for(var b=0;b<h.properties.length;b++)this.checkPatternParam(p,h.properties[b].value);break}p.simple=p.simple&&h instanceof c.Identifier},f.prototype.reinterpretAsCoverFormalsList=function(p){var h=[p],b,g=!1;switch(p.type){case _.Syntax.Identifier:break;case u:h=p.params,g=p.async;break;default:return null}b={simple:!0,paramSet:{}};for(var v=0;v<h.length;++v){var E=h[v];E.type===_.Syntax.AssignmentPattern?E.right.type===_.Syntax.YieldExpression&&(E.right.argument&&this.throwUnexpectedToken(this.lookahead),E.right.type=_.Syntax.Identifier,E.right.name="yield",delete E.right.argument,delete E.right.delegate):g&&E.type===_.Syntax.Identifier&&E.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(b,E),h[v]=E}if(this.context.strict||!this.context.allowYield)for(var v=0;v<h.length;++v){var E=h[v];E.type===_.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(b.message===s.Messages.StrictParamDupe){var S=this.context.strict?b.stricted:b.firstRestricted;this.throwUnexpectedToken(S,b.message)}return{simple:b.simple,params:h,stricted:b.stricted,firstRestricted:b.firstRestricted,message:b.message}},f.prototype.parseAssignmentExpression=function(){var p;if(!this.context.allowYield&&this.matchKeyword("yield"))p=this.parseYieldExpression();else{var h=this.lookahead,b=h;if(p=this.parseConditionalExpression(),b.type===3&&b.lineNumber===this.lookahead.lineNumber&&b.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var g=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(g),p={type:u,params:[g],async:!0}}if(p.type===u||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var v=p.async,E=this.reinterpretAsCoverFormalsList(p);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,N=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var C=this.context.allowYield,y=this.context.await;this.context.allowYield=!0,this.context.await=v;var A=this.startNode(h);this.expect("=>");var R=void 0;if(this.match("{")){var D=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=D}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var M=R.type!==_.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),p=v?this.finalize(A,new c.AsyncArrowFunctionExpression(E.params,R,M)):this.finalize(A,new c.ArrowFunctionExpression(E.params,R,M)),this.context.strict=S,this.context.allowStrictDirective=N,this.context.allowYield=C,this.context.await=y}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.strict&&p.type===_.Syntax.Identifier){var L=p;this.scanner.isRestrictedWord(L.name)&&this.tolerateUnexpectedToken(b,s.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(L.name)&&this.tolerateUnexpectedToken(b,s.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(p):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),b=this.nextToken();var F=b.value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);p=this.finalize(this.startNode(h),new c.AssignmentExpression(F,p,q)),this.context.firstCoverInitializedNameError=null}}return p},f.prototype.parseExpression=function(){var p=this.lookahead,h=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var b=[];for(b.push(h);this.lookahead.type!==2&&this.match(",");)this.nextToken(),b.push(this.isolateCoverGrammar(this.parseAssignmentExpression));h=this.finalize(this.startNode(p),new c.SequenceExpression(b))}return h},f.prototype.parseStatementListItem=function(){var p;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalExportDeclaration),p=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalImportDeclaration),p=this.parseImportDeclaration();break;case"const":p=this.parseLexicalDeclaration({inFor:!1});break;case"function":p=this.parseFunctionDeclaration();break;case"class":p=this.parseClassDeclaration();break;case"let":p=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:p=this.parseStatement();break}else p=this.parseStatement();return p},f.prototype.parseBlock=function(){var p=this.createNode();this.expect("{");for(var h=[];!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.finalize(p,new c.BlockStatement(h))},f.prototype.parseLexicalBinding=function(p,h){var b=this.createNode(),g=[],v=this.parsePattern(g,p);this.context.strict&&v.type===_.Syntax.Identifier&&this.scanner.isRestrictedWord(v.name)&&this.tolerateError(s.Messages.StrictVarName);var E=null;return p==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),E=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(s.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&v.type!==_.Syntax.Identifier||this.match("="))&&(this.expect("="),E=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(b,new c.VariableDeclarator(v,E))},f.prototype.parseBindingList=function(p,h){for(var b=[this.parseLexicalBinding(p,h)];this.match(",");)this.nextToken(),b.push(this.parseLexicalBinding(p,h));return b},f.prototype.isLexicalDeclaration=function(){var p=this.scanner.saveState();this.scanner.scanComments();var h=this.scanner.lex();return this.scanner.restoreState(p),h.type===3||h.type===7&&h.value==="["||h.type===7&&h.value==="{"||h.type===4&&h.value==="let"||h.type===4&&h.value==="yield"},f.prototype.parseLexicalDeclaration=function(p){var h=this.createNode(),b=this.nextToken().value;r.assert(b==="let"||b==="const","Lexical declaration must be either let or const");var g=this.parseBindingList(b,p);return this.consumeSemicolon(),this.finalize(h,new c.VariableDeclaration(g,b))},f.prototype.parseBindingRestElement=function(p,h){var b=this.createNode();this.expect("...");var g=this.parsePattern(p,h);return this.finalize(b,new c.RestElement(g))},f.prototype.parseArrayPattern=function(p,h){var b=this.createNode();this.expect("[");for(var g=[];!this.match("]");)if(this.match(","))this.nextToken(),g.push(null);else{if(this.match("...")){g.push(this.parseBindingRestElement(p,h));break}else g.push(this.parsePatternWithDefault(p,h));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(b,new c.ArrayPattern(g))},f.prototype.parsePropertyPattern=function(p,h){var b=this.createNode(),g=!1,v=!1,E=!1,S,N;if(this.lookahead.type===3){var C=this.lookahead;S=this.parseVariableIdentifier();var y=this.finalize(b,new c.Identifier(C.value));if(this.match("=")){p.push(C),v=!0,this.nextToken();var A=this.parseAssignmentExpression();N=this.finalize(this.startNode(C),new c.AssignmentPattern(y,A))}else this.match(":")?(this.expect(":"),N=this.parsePatternWithDefault(p,h)):(p.push(C),v=!0,N=y)}else g=this.match("["),S=this.parseObjectPropertyKey(),this.expect(":"),N=this.parsePatternWithDefault(p,h);return this.finalize(b,new c.Property("init",S,g,N,E,v))},f.prototype.parseObjectPattern=function(p,h){var b=this.createNode(),g=[];for(this.expect("{");!this.match("}");)g.push(this.parsePropertyPattern(p,h)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(b,new c.ObjectPattern(g))},f.prototype.parsePattern=function(p,h){var b;return this.match("[")?b=this.parseArrayPattern(p,h):this.match("{")?b=this.parseObjectPattern(p,h):(this.matchKeyword("let")&&(h==="const"||h==="let")&&this.tolerateUnexpectedToken(this.lookahead,s.Messages.LetInLexicalBinding),p.push(this.lookahead),b=this.parseVariableIdentifier(h)),b},f.prototype.parsePatternWithDefault=function(p,h){var b=this.lookahead,g=this.parsePattern(p,h);if(this.match("=")){this.nextToken();var v=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=v,g=this.finalize(this.startNode(b),new c.AssignmentPattern(g,E))}return g},f.prototype.parseVariableIdentifier=function(p){var h=this.createNode(),b=this.nextToken();return b.type===4&&b.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(b,s.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(b):b.type!==3?this.context.strict&&b.type===4&&this.scanner.isStrictModeReservedWord(b.value)?this.tolerateUnexpectedToken(b,s.Messages.StrictReservedWord):(this.context.strict||b.value!=="let"||p!=="var")&&this.throwUnexpectedToken(b):(this.context.isModule||this.context.await)&&b.type===3&&b.value==="await"&&this.tolerateUnexpectedToken(b),this.finalize(h,new c.Identifier(b.value))},f.prototype.parseVariableDeclaration=function(p){var h=this.createNode(),b=[],g=this.parsePattern(b,"var");this.context.strict&&g.type===_.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(s.Messages.StrictVarName);var v=null;return this.match("=")?(this.nextToken(),v=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type!==_.Syntax.Identifier&&!p.inFor&&this.expect("="),this.finalize(h,new c.VariableDeclarator(g,v))},f.prototype.parseVariableDeclarationList=function(p){var h={inFor:p.inFor},b=[];for(b.push(this.parseVariableDeclaration(h));this.match(",");)this.nextToken(),b.push(this.parseVariableDeclaration(h));return b},f.prototype.parseVariableStatement=function(){var p=this.createNode();this.expectKeyword("var");var h=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(p,new c.VariableDeclaration(h,"var"))},f.prototype.parseEmptyStatement=function(){var p=this.createNode();return this.expect(";"),this.finalize(p,new c.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var p=this.createNode(),h=this.parseExpression();return this.consumeSemicolon(),this.finalize(p,new c.ExpressionStatement(h))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(s.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var p=this.createNode(),h,b=null;this.expectKeyword("if"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new c.EmptyStatement)):(this.expect(")"),h=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),b=this.parseIfClause())),this.finalize(p,new c.IfStatement(g,h,b))},f.prototype.parseDoWhileStatement=function(){var p=this.createNode();this.expectKeyword("do");var h=this.context.inIteration;this.context.inIteration=!0;var b=this.parseStatement();this.context.inIteration=h,this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(p,new c.DoWhileStatement(b,g))},f.prototype.parseWhileStatement=function(){var p=this.createNode(),h;this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new c.EmptyStatement);else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=!0,h=this.parseStatement(),this.context.inIteration=g}return this.finalize(p,new c.WhileStatement(b,h))},f.prototype.parseForStatement=function(){var p=null,h=null,b=null,g=!0,v,E,S=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){p=this.createNode(),this.nextToken();var N=this.context.allowIn;this.context.allowIn=!1;var C=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=N,C.length===1&&this.matchKeyword("in")){var y=C[0];y.init&&(y.id.type===_.Syntax.ArrayPattern||y.id.type===_.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(s.Messages.ForInOfLoopInitializer,"for-in"),p=this.finalize(p,new c.VariableDeclaration(C,"var")),this.nextToken(),v=p,E=this.parseExpression(),p=null}else C.length===1&&C[0].init===null&&this.matchContextualKeyword("of")?(p=this.finalize(p,new c.VariableDeclaration(C,"var")),this.nextToken(),v=p,E=this.parseAssignmentExpression(),p=null,g=!1):(p=this.finalize(p,new c.VariableDeclaration(C,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){p=this.createNode();var A=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")p=this.finalize(p,new c.Identifier(A)),this.nextToken(),v=p,E=this.parseExpression(),p=null;else{var N=this.context.allowIn;this.context.allowIn=!1;var C=this.parseBindingList(A,{inFor:!0});this.context.allowIn=N,C.length===1&&C[0].init===null&&this.matchKeyword("in")?(p=this.finalize(p,new c.VariableDeclaration(C,A)),this.nextToken(),v=p,E=this.parseExpression(),p=null):C.length===1&&C[0].init===null&&this.matchContextualKeyword("of")?(p=this.finalize(p,new c.VariableDeclaration(C,A)),this.nextToken(),v=p,E=this.parseAssignmentExpression(),p=null,g=!1):(this.consumeSemicolon(),p=this.finalize(p,new c.VariableDeclaration(C,A)))}}else{var R=this.lookahead,N=this.context.allowIn;if(this.context.allowIn=!1,p=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=N,this.matchKeyword("in"))(!this.context.isAssignmentTarget||p.type===_.Syntax.AssignmentExpression)&&this.tolerateError(s.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(p),v=p,E=this.parseExpression(),p=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||p.type===_.Syntax.AssignmentExpression)&&this.tolerateError(s.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(p),v=p,E=this.parseAssignmentExpression(),p=null,g=!1;else{if(this.match(",")){for(var D=[p];this.match(",");)this.nextToken(),D.push(this.isolateCoverGrammar(this.parseAssignmentExpression));p=this.finalize(this.startNode(R),new c.SequenceExpression(D))}this.expect(";")}}typeof v=="undefined"&&(this.match(";")||(h=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression()));var M;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),M=this.finalize(this.createNode(),new c.EmptyStatement);else{this.expect(")");var L=this.context.inIteration;this.context.inIteration=!0,M=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=L}return typeof v=="undefined"?this.finalize(S,new c.ForStatement(p,h,b,M)):g?this.finalize(S,new c.ForInStatement(v,E,M)):this.finalize(S,new c.ForOfStatement(v,E,M))},f.prototype.parseContinueStatement=function(){var p=this.createNode();this.expectKeyword("continue");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var b=this.parseVariableIdentifier();h=b;var g="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(s.Messages.UnknownLabel,b.name)}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&this.throwError(s.Messages.IllegalContinue),this.finalize(p,new c.ContinueStatement(h))},f.prototype.parseBreakStatement=function(){var p=this.createNode();this.expectKeyword("break");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var b=this.parseVariableIdentifier(),g="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(s.Messages.UnknownLabel,b.name),h=b}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(s.Messages.IllegalBreak),this.finalize(p,new c.BreakStatement(h))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(s.Messages.IllegalReturn);var p=this.createNode();this.expectKeyword("return");var h=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,b=h?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(p,new c.ReturnStatement(b))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(s.Messages.StrictModeWith);var p=this.createNode(),h;this.expectKeyword("with"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new c.EmptyStatement)):(this.expect(")"),h=this.parseStatement()),this.finalize(p,new c.WithStatement(b,h))},f.prototype.parseSwitchCase=function(){var p=this.createNode(),h;this.matchKeyword("default")?(this.nextToken(),h=null):(this.expectKeyword("case"),h=this.parseExpression()),this.expect(":");for(var b=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)b.push(this.parseStatementListItem());return this.finalize(p,new c.SwitchCase(h,b))},f.prototype.parseSwitchStatement=function(){var p=this.createNode();this.expectKeyword("switch"),this.expect("(");var h=this.parseExpression();this.expect(")");var b=this.context.inSwitch;this.context.inSwitch=!0;var g=[],v=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(v&&this.throwError(s.Messages.MultipleDefaultsInSwitch),v=!0),g.push(E)}return this.expect("}"),this.context.inSwitch=b,this.finalize(p,new c.SwitchStatement(h,g))},f.prototype.parseLabelledStatement=function(){var p=this.createNode(),h=this.parseExpression(),b;if(h.type===_.Syntax.Identifier&&this.match(":")){this.nextToken();var g=h,v="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,v)&&this.throwError(s.Messages.Redeclaration,"Label",g.name),this.context.labelSet[v]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,N=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,s.Messages.StrictFunction):N.generator&&this.tolerateUnexpectedToken(S,s.Messages.GeneratorInLegacyContext),E=N}else E=this.parseStatement();delete this.context.labelSet[v],b=new c.LabeledStatement(g,E)}else this.consumeSemicolon(),b=new c.ExpressionStatement(h);return this.finalize(p,b)},f.prototype.parseThrowStatement=function(){var p=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(s.Messages.NewlineAfterThrow);var h=this.parseExpression();return this.consumeSemicolon(),this.finalize(p,new c.ThrowStatement(h))},f.prototype.parseCatchClause=function(){var p=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var h=[],b=this.parsePattern(h),g={},v=0;v<h.length;v++){var E="$"+h[v].value;Object.prototype.hasOwnProperty.call(g,E)&&this.tolerateError(s.Messages.DuplicateBinding,h[v].value),g[E]=!0}this.context.strict&&b.type===_.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(s.Messages.StrictCatchVariable),this.expect(")");var S=this.parseBlock();return this.finalize(p,new c.CatchClause(b,S))},f.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},f.prototype.parseTryStatement=function(){var p=this.createNode();this.expectKeyword("try");var h=this.parseBlock(),b=this.matchKeyword("catch")?this.parseCatchClause():null,g=this.matchKeyword("finally")?this.parseFinallyClause():null;return!b&&!g&&this.throwError(s.Messages.NoCatchOrFinally),this.finalize(p,new c.TryStatement(h,b,g))},f.prototype.parseDebuggerStatement=function(){var p=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(p,new c.DebuggerStatement)},f.prototype.parseStatement=function(){var p;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:p=this.parseExpressionStatement();break;case 7:var h=this.lookahead.value;h==="{"?p=this.parseBlock():h==="("?p=this.parseExpressionStatement():h===";"?p=this.parseEmptyStatement():p=this.parseExpressionStatement();break;case 3:p=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":p=this.parseBreakStatement();break;case"continue":p=this.parseContinueStatement();break;case"debugger":p=this.parseDebuggerStatement();break;case"do":p=this.parseDoWhileStatement();break;case"for":p=this.parseForStatement();break;case"function":p=this.parseFunctionDeclaration();break;case"if":p=this.parseIfStatement();break;case"return":p=this.parseReturnStatement();break;case"switch":p=this.parseSwitchStatement();break;case"throw":p=this.parseThrowStatement();break;case"try":p=this.parseTryStatement();break;case"var":p=this.parseVariableStatement();break;case"while":p=this.parseWhileStatement();break;case"with":p=this.parseWithStatement();break;default:p=this.parseExpressionStatement();break}break;default:p=this.throwUnexpectedToken(this.lookahead)}return p},f.prototype.parseFunctionSourceElements=function(){var p=this.createNode();this.expect("{");var h=this.parseDirectivePrologues(),b=this.context.labelSet,g=this.context.inIteration,v=this.context.inSwitch,E=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=b,this.context.inIteration=g,this.context.inSwitch=v,this.context.inFunctionBody=E,this.finalize(p,new c.BlockStatement(h))},f.prototype.validateParam=function(p,h,b){var g="$"+b;this.context.strict?(this.scanner.isRestrictedWord(b)&&(p.stricted=h,p.message=s.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(p.paramSet,g)&&(p.stricted=h,p.message=s.Messages.StrictParamDupe)):p.firstRestricted||(this.scanner.isRestrictedWord(b)?(p.firstRestricted=h,p.message=s.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(b)?(p.firstRestricted=h,p.message=s.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(p.paramSet,g)&&(p.stricted=h,p.message=s.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(p.paramSet,g,{value:!0,enumerable:!0,writable:!0,configurable:!0}):p.paramSet[g]=!0},f.prototype.parseRestElement=function(p){var h=this.createNode();this.expect("...");var b=this.parsePattern(p);return this.match("=")&&this.throwError(s.Messages.DefaultRestParameter),this.match(")")||this.throwError(s.Messages.ParameterAfterRestParameter),this.finalize(h,new c.RestElement(b))},f.prototype.parseFormalParameter=function(p){for(var h=[],b=this.match("...")?this.parseRestElement(h):this.parsePatternWithDefault(h),g=0;g<h.length;g++)this.validateParam(p,h[g],h[g].value);p.simple=p.simple&&b instanceof c.Identifier,p.params.push(b)},f.prototype.parseFormalParameters=function(p){var h;if(h={simple:!0,params:[],firstRestricted:p},this.expect("("),!this.match(")"))for(h.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(h),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:h.simple,params:h.params,stricted:h.stricted,firstRestricted:h.firstRestricted,message:h.message}},f.prototype.matchAsyncFunction=function(){var p=this.matchContextualKeyword("async");if(p){var h=this.scanner.saveState();this.scanner.scanComments();var b=this.scanner.lex();this.scanner.restoreState(h),p=h.lineNumber===b.lineNumber&&b.type===4&&b.value==="function"}return p},f.prototype.parseFunctionDeclaration=function(p){var h=this.createNode(),b=this.matchContextualKeyword("async");b&&this.nextToken(),this.expectKeyword("function");var g=b?!1:this.match("*");g&&this.nextToken();var v,E=null,S=null;if(!p||!this.match("(")){var N=this.lookahead;E=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(N.value)&&this.tolerateUnexpectedToken(N,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(N.value)?(S=N,v=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(N.value)&&(S=N,v=s.Messages.StrictReservedWord)}var C=this.context.await,y=this.context.allowYield;this.context.await=b,this.context.allowYield=!g;var A=this.parseFormalParameters(S),R=A.params,D=A.stricted;S=A.firstRestricted,A.message&&(v=A.message);var M=this.context.strict,L=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var F=this.parseFunctionSourceElements();return this.context.strict&&S&&this.throwUnexpectedToken(S,v),this.context.strict&&D&&this.tolerateUnexpectedToken(D,v),this.context.strict=M,this.context.allowStrictDirective=L,this.context.await=C,this.context.allowYield=y,b?this.finalize(h,new c.AsyncFunctionDeclaration(E,R,F)):this.finalize(h,new c.FunctionDeclaration(E,R,F,g))},f.prototype.parseFunctionExpression=function(){var p=this.createNode(),h=this.matchContextualKeyword("async");h&&this.nextToken(),this.expectKeyword("function");var b=h?!1:this.match("*");b&&this.nextToken();var g,v=null,E,S=this.context.await,N=this.context.allowYield;if(this.context.await=h,this.context.allowYield=!b,!this.match("(")){var C=this.lookahead;v=!this.context.strict&&!b&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(C.value)&&this.tolerateUnexpectedToken(C,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(C.value)?(E=C,g=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(C.value)&&(E=C,g=s.Messages.StrictReservedWord)}var y=this.parseFormalParameters(E),A=y.params,R=y.stricted;E=y.firstRestricted,y.message&&(g=y.message);var D=this.context.strict,M=this.context.allowStrictDirective;this.context.allowStrictDirective=y.simple;var L=this.parseFunctionSourceElements();return this.context.strict&&E&&this.throwUnexpectedToken(E,g),this.context.strict&&R&&this.tolerateUnexpectedToken(R,g),this.context.strict=D,this.context.allowStrictDirective=M,this.context.await=S,this.context.allowYield=N,h?this.finalize(p,new c.AsyncFunctionExpression(v,A,L)):this.finalize(p,new c.FunctionExpression(v,A,L,b))},f.prototype.parseDirective=function(){var p=this.lookahead,h=this.createNode(),b=this.parseExpression(),g=b.type===_.Syntax.Literal?this.getTokenRaw(p).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(h,g?new c.Directive(b,g):new c.ExpressionStatement(b))},f.prototype.parseDirectivePrologues=function(){for(var p=null,h=[];;){var b=this.lookahead;if(b.type!==8)break;var g=this.parseDirective();h.push(g);var v=g.directive;if(typeof v!="string")break;v==="use strict"?(this.context.strict=!0,p&&this.tolerateUnexpectedToken(p,s.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(b,s.Messages.IllegalLanguageModeDirective)):!p&&b.octal&&(p=b)}return h},f.prototype.qualifiedPropertyName=function(p){switch(p.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return p.value==="["}return!1},f.prototype.parseGetterMethod=function(){var p=this.createNode(),h=!1,b=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length>0&&this.tolerateError(s.Messages.BadGetterArity);var v=this.parsePropertyMethod(g);return this.context.allowYield=b,this.finalize(p,new c.FunctionExpression(null,g.params,v,h))},f.prototype.parseSetterMethod=function(){var p=this.createNode(),h=!1,b=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(s.Messages.BadSetterArity):g.params[0]instanceof c.RestElement&&this.tolerateError(s.Messages.BadSetterRestParameter);var v=this.parsePropertyMethod(g);return this.context.allowYield=b,this.finalize(p,new c.FunctionExpression(null,g.params,v,h))},f.prototype.parseGeneratorMethod=function(){var p=this.createNode(),h=!0,b=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var v=this.parsePropertyMethod(g);return this.context.allowYield=b,this.finalize(p,new c.FunctionExpression(null,g.params,v,h))},f.prototype.isStartOfExpression=function(){var p=!0,h=this.lookahead.value;switch(this.lookahead.type){case 7:p=h==="["||h==="("||h==="{"||h==="+"||h==="-"||h==="!"||h==="~"||h==="++"||h==="--"||h==="/"||h==="/=";break;case 4:p=h==="class"||h==="delete"||h==="function"||h==="let"||h==="new"||h==="super"||h==="this"||h==="typeof"||h==="void"||h==="yield";break}return p},f.prototype.parseYieldExpression=function(){var p=this.createNode();this.expectKeyword("yield");var h=null,b=!1;if(!this.hasLineTerminator){var g=this.context.allowYield;this.context.allowYield=!1,b=this.match("*"),b?(this.nextToken(),h=this.parseAssignmentExpression()):this.isStartOfExpression()&&(h=this.parseAssignmentExpression()),this.context.allowYield=g}return this.finalize(p,new c.YieldExpression(h,b))},f.prototype.parseClassElement=function(p){var h=this.lookahead,b=this.createNode(),g="",v=null,E=null,S=!1,N=!1,C=!1,y=!1;if(this.match("*"))this.nextToken();else{S=this.match("["),v=this.parseObjectPropertyKey();var A=v;if(A.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(h=this.lookahead,C=!0,S=this.match("["),this.match("*")?this.nextToken():v=this.parseObjectPropertyKey()),h.type===3&&!this.hasLineTerminator&&h.value==="async"){var R=this.lookahead.value;R!==":"&&R!=="("&&R!=="*"&&(y=!0,h=this.lookahead,v=this.parseObjectPropertyKey(),h.type===3&&h.value==="constructor"&&this.tolerateUnexpectedToken(h,s.Messages.ConstructorIsAsync))}}var D=this.qualifiedPropertyName(this.lookahead);return h.type===3?h.value==="get"&&D?(g="get",S=this.match("["),v=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):h.value==="set"&&D&&(g="set",S=this.match("["),v=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):h.type===7&&h.value==="*"&&D&&(g="init",S=this.match("["),v=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),N=!0),!g&&v&&this.match("(")&&(g="init",E=y?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),N=!0),g||this.throwUnexpectedToken(this.lookahead),g==="init"&&(g="method"),S||(C&&this.isPropertyKey(v,"prototype")&&this.throwUnexpectedToken(h,s.Messages.StaticPrototype),!C&&this.isPropertyKey(v,"constructor")&&((g!=="method"||!N||E&&E.generator)&&this.throwUnexpectedToken(h,s.Messages.ConstructorSpecialMethod),p.value?this.throwUnexpectedToken(h,s.Messages.DuplicateConstructor):p.value=!0,g="constructor")),this.finalize(b,new c.MethodDefinition(v,S,E,g,C))},f.prototype.parseClassElementList=function(){var p=[],h={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():p.push(this.parseClassElement(h));return this.expect("}"),p},f.prototype.parseClassBody=function(){var p=this.createNode(),h=this.parseClassElementList();return this.finalize(p,new c.ClassBody(h))},f.prototype.parseClassDeclaration=function(p){var h=this.createNode(),b=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=p&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),v=null;this.matchKeyword("extends")&&(this.nextToken(),v=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=b,this.finalize(h,new c.ClassDeclaration(g,v,E))},f.prototype.parseClassExpression=function(){var p=this.createNode(),h=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=this.lookahead.type===3?this.parseVariableIdentifier():null,g=null;this.matchKeyword("extends")&&(this.nextToken(),g=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var v=this.parseClassBody();return this.context.strict=h,this.finalize(p,new c.ClassExpression(b,g,v))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var p=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(p,new c.Module(h))},f.prototype.parseScript=function(){for(var p=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(p,new c.Script(h))},f.prototype.parseModuleSpecifier=function(){var p=this.createNode();this.lookahead.type!==8&&this.throwError(s.Messages.InvalidModuleSpecifier);var h=this.nextToken(),b=this.getTokenRaw(h);return this.finalize(p,new c.Literal(h.value,b))},f.prototype.parseImportSpecifier=function(){var p=this.createNode(),h,b;return this.lookahead.type===3?(h=this.parseVariableIdentifier(),b=h,this.matchContextualKeyword("as")&&(this.nextToken(),b=this.parseVariableIdentifier())):(h=this.parseIdentifierName(),b=h,this.matchContextualKeyword("as")?(this.nextToken(),b=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(p,new c.ImportSpecifier(b,h))},f.prototype.parseNamedImports=function(){this.expect("{");for(var p=[];!this.match("}");)p.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),p},f.prototype.parseImportDefaultSpecifier=function(){var p=this.createNode(),h=this.parseIdentifierName();return this.finalize(p,new c.ImportDefaultSpecifier(h))},f.prototype.parseImportNamespaceSpecifier=function(){var p=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(s.Messages.NoAsAfterImportNamespace),this.nextToken();var h=this.parseIdentifierName();return this.finalize(p,new c.ImportNamespaceSpecifier(h))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalImportDeclaration);var p=this.createNode();this.expectKeyword("import");var h,b=[];if(this.lookahead.type===8)h=this.parseModuleSpecifier();else{if(this.match("{")?b=b.concat(this.parseNamedImports()):this.match("*")?b.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(b.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?b.push(this.parseImportNamespaceSpecifier()):this.match("{")?b=b.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var g=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken(),h=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(p,new c.ImportDeclaration(b,h))},f.prototype.parseExportSpecifier=function(){var p=this.createNode(),h=this.parseIdentifierName(),b=h;return this.matchContextualKeyword("as")&&(this.nextToken(),b=this.parseIdentifierName()),this.finalize(p,new c.ExportSpecifier(h,b))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalExportDeclaration);var p=this.createNode();this.expectKeyword("export");var h;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var b=this.parseFunctionDeclaration(!0);h=this.finalize(p,new c.ExportDefaultDeclaration(b))}else if(this.matchKeyword("class")){var b=this.parseClassDeclaration(!0);h=this.finalize(p,new c.ExportDefaultDeclaration(b))}else if(this.matchContextualKeyword("async")){var b=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();h=this.finalize(p,new c.ExportDefaultDeclaration(b))}else{this.matchContextualKeyword("from")&&this.throwError(s.Messages.UnexpectedToken,this.lookahead.value);var b=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),h=this.finalize(p,new c.ExportDefaultDeclaration(b))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var g=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken();var v=this.parseModuleSpecifier();this.consumeSemicolon(),h=this.finalize(p,new c.ExportAllDeclaration(v))}else if(this.lookahead.type===4){var b=void 0;switch(this.lookahead.value){case"let":case"const":b=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":b=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}h=this.finalize(p,new c.ExportNamedDeclaration(b,[],null))}else if(this.matchAsyncFunction()){var b=this.parseFunctionDeclaration();h=this.finalize(p,new c.ExportNamedDeclaration(b,[],null))}else{var E=[],S=null,N=!1;for(this.expect("{");!this.match("}");)N=N||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon();else if(N){var g=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}else this.consumeSemicolon();h=this.finalize(p,new c.ExportNamedDeclaration(null,E,S))}return h},f}();i.Parser=m},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});function o(r,a){if(!r)throw new Error("ASSERT: "+a)}i.assert=o},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});var o=function(){function r(){this.errors=[],this.tolerant=!1}return r.prototype.recordError=function(a){this.errors.push(a)},r.prototype.tolerate=function(a){if(this.tolerant)this.recordError(a);else throw a},r.prototype.constructError=function(a,s){var c=new Error(a);try{throw c}catch(l){Object.create&&Object.defineProperty&&(c=Object.create(l),Object.defineProperty(c,"column",{value:s}))}return c},r.prototype.createError=function(a,s,c,l){var _="Line "+s+": "+l,d=this.constructError(_,c);return d.index=a,d.lineNumber=s,d.description=l,d},r.prototype.throwError=function(a,s,c,l){throw this.createError(a,s,c,l)},r.prototype.tolerateError=function(a,s,c,l){var _=this.createError(a,s,c,l);if(this.tolerant)this.recordError(_);else throw _},r}();i.ErrorHandler=o},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(9),a=o(4),s=o(11);function c(d){return"0123456789abcdef".indexOf(d.toLowerCase())}function l(d){return"01234567".indexOf(d)}var _=function(){function d(u,m){this.source=u,this.errorHandler=m,this.trackComment=!1,this.isModule=!1,this.length=u.length,this.index=0,this.lineNumber=u.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return d.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},d.prototype.restoreState=function(u){this.index=u.index,this.lineNumber=u.lineNumber,this.lineStart=u.lineStart},d.prototype.eof=function(){return this.index>=this.length},d.prototype.throwUnexpectedToken=function(u){return u===void 0&&(u=s.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,u)},d.prototype.tolerateUnexpectedToken=function(u){u===void 0&&(u=s.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,u)},d.prototype.skipSingleLineComment=function(u){var m=[],f,p;for(this.trackComment&&(m=[],f=this.index-u,p={start:{line:this.lineNumber,column:this.index-this.lineStart-u},end:{}});!this.eof();){var h=this.source.charCodeAt(this.index);if(++this.index,a.Character.isLineTerminator(h)){if(this.trackComment){p.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+u,this.index-1],range:[f,this.index-1],loc:p};m.push(b)}return h===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,m}}if(this.trackComment){p.end={line:this.lineNumber,column:this.index-this.lineStart};var b={multiLine:!1,slice:[f+u,this.index],range:[f,this.index],loc:p};m.push(b)}return m},d.prototype.skipMultiLineComment=function(){var u=[],m,f;for(this.trackComment&&(u=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var p=this.source.charCodeAt(this.index);if(a.Character.isLineTerminator(p))p===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(p===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};u.push(h)}return u}++this.index}else++this.index}if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f};u.push(h)}return this.tolerateUnexpectedToken(),u},d.prototype.scanComments=function(){var u;this.trackComment&&(u=[]);for(var m=this.index===0;!this.eof();){var f=this.source.charCodeAt(this.index);if(a.Character.isWhiteSpace(f))++this.index;else if(a.Character.isLineTerminator(f))++this.index,f===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,m=!0;else if(f===47)if(f=this.source.charCodeAt(this.index+1),f===47){this.index+=2;var p=this.skipSingleLineComment(2);this.trackComment&&(u=u.concat(p)),m=!0}else if(f===42){this.index+=2;var p=this.skipMultiLineComment();this.trackComment&&(u=u.concat(p))}else break;else if(m&&f===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var p=this.skipSingleLineComment(3);this.trackComment&&(u=u.concat(p))}else break;else if(f===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var p=this.skipSingleLineComment(4);this.trackComment&&(u=u.concat(p))}else break;else break}return u},d.prototype.isFutureReservedWord=function(u){switch(u){case"enum":case"export":case"import":case"super":return!0;default:return!1}},d.prototype.isStrictModeReservedWord=function(u){switch(u){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},d.prototype.isRestrictedWord=function(u){return u==="eval"||u==="arguments"},d.prototype.isKeyword=function(u){switch(u.length){case 2:return u==="if"||u==="in"||u==="do";case 3:return u==="var"||u==="for"||u==="new"||u==="try"||u==="let";case 4:return u==="this"||u==="else"||u==="case"||u==="void"||u==="with"||u==="enum";case 5:return u==="while"||u==="break"||u==="catch"||u==="throw"||u==="const"||u==="yield"||u==="class"||u==="super";case 6:return u==="return"||u==="typeof"||u==="delete"||u==="switch"||u==="export"||u==="import";case 7:return u==="default"||u==="finally"||u==="extends";case 8:return u==="function"||u==="continue"||u==="debugger";case 10:return u==="instanceof";default:return!1}},d.prototype.codePointAt=function(u){var m=this.source.charCodeAt(u);if(m>=55296&&m<=56319){var f=this.source.charCodeAt(u+1);if(f>=56320&&f<=57343){var p=m;m=(p-55296)*1024+f-56320+65536}}return m},d.prototype.scanHexEscape=function(u){for(var m=u==="u"?4:2,f=0,p=0;p<m;++p)if(!this.eof()&&a.Character.isHexDigit(this.source.charCodeAt(this.index)))f=f*16+c(this.source[this.index++]);else return null;return String.fromCharCode(f)},d.prototype.scanUnicodeCodePointEscape=function(){var u=this.source[this.index],m=0;for(u==="}"&&this.throwUnexpectedToken();!this.eof()&&(u=this.source[this.index++],!!a.Character.isHexDigit(u.charCodeAt(0)));)m=m*16+c(u);return(m>1114111||u!=="}")&&this.throwUnexpectedToken(),a.Character.fromCodePoint(m)},d.prototype.getIdentifier=function(){for(var u=this.index++;!this.eof();){var m=this.source.charCodeAt(this.index);if(m===92)return this.index=u,this.getComplexIdentifier();if(m>=55296&&m<57343)return this.index=u,this.getComplexIdentifier();if(a.Character.isIdentifierPart(m))++this.index;else break}return this.source.slice(u,this.index)},d.prototype.getComplexIdentifier=function(){var u=this.codePointAt(this.index),m=a.Character.fromCodePoint(u);this.index+=m.length;var f;for(u===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,f=this.scanUnicodeCodePointEscape()):(f=this.scanHexEscape("u"),(f===null||f==="\\"||!a.Character.isIdentifierStart(f.charCodeAt(0)))&&this.throwUnexpectedToken()),m=f);!this.eof()&&(u=this.codePointAt(this.index),!!a.Character.isIdentifierPart(u));)f=a.Character.fromCodePoint(u),m+=f,this.index+=f.length,u===92&&(m=m.substr(0,m.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,f=this.scanUnicodeCodePointEscape()):(f=this.scanHexEscape("u"),(f===null||f==="\\"||!a.Character.isIdentifierPart(f.charCodeAt(0)))&&this.throwUnexpectedToken()),m+=f);return m},d.prototype.octalToDecimal=function(u){var m=u!=="0",f=l(u);return!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(m=!0,f=f*8+l(this.source[this.index++]),"0123".indexOf(u)>=0&&!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=f*8+l(this.source[this.index++]))),{code:f,octal:m}},d.prototype.scanIdentifier=function(){var u,m=this.index,f=this.source.charCodeAt(m)===92?this.getComplexIdentifier():this.getIdentifier();if(f.length===1?u=3:this.isKeyword(f)?u=4:f==="null"?u=5:f==="true"||f==="false"?u=1:u=3,u!==3&&m+f.length!==this.index){var p=this.index;this.index=m,this.tolerateUnexpectedToken(s.Messages.InvalidEscapedReservedWord),this.index=p}return{type:u,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},d.prototype.scanPunctuator=function(){var u=this.index,m=this.source[this.index];switch(m){case"(":case"{":m==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,m="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:m=this.source.substr(this.index,4),m===">>>="?this.index+=4:(m=m.substr(0,3),m==="==="||m==="!=="||m===">>>"||m==="<<="||m===">>="||m==="**="?this.index+=3:(m=m.substr(0,2),m==="&&"||m==="||"||m==="=="||m==="!="||m==="+="||m==="-="||m==="*="||m==="/="||m==="++"||m==="--"||m==="<<"||m===">>"||m==="&="||m==="|="||m==="^="||m==="%="||m==="<="||m===">="||m==="=>"||m==="**"?this.index+=2:(m=this.source[this.index],"<>=!+-*%&|^/".indexOf(m)>=0&&++this.index)))}return this.index===u&&this.throwUnexpectedToken(),{type:7,value:m,lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.scanHexLiteral=function(u){for(var m="";!this.eof()&&a.Character.isHexDigit(this.source.charCodeAt(this.index));)m+=this.source[this.index++];return m.length===0&&this.throwUnexpectedToken(),a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+m,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.scanBinaryLiteral=function(u){for(var m="",f;!this.eof()&&(f=this.source[this.index],!(f!=="0"&&f!=="1"));)m+=this.source[this.index++];return m.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(a.Character.isIdentifierStart(f)||a.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(m,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.scanOctalLiteral=function(u,m){var f="",p=!1;for(a.Character.isOctalDigit(u.charCodeAt(0))?(p=!0,f="0"+this.source[this.index++]):++this.index;!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return!p&&f.length===0&&this.throwUnexpectedToken(),(a.Character.isIdentifierStart(this.source.charCodeAt(this.index))||a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(f,8),octal:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},d.prototype.isImplicitOctalLiteral=function(){for(var u=this.index+1;u<this.length;++u){var m=this.source[u];if(m==="8"||m==="9")return!1;if(!a.Character.isOctalDigit(m.charCodeAt(0)))return!0}return!0},d.prototype.scanNumericLiteral=function(){var u=this.index,m=this.source[u];r.assert(a.Character.isDecimalDigit(m.charCodeAt(0))||m===".","Numeric literal must start with a decimal digit or a decimal point");var f="";if(m!=="."){if(f=this.source[this.index++],m=this.source[this.index],f==="0"){if(m==="x"||m==="X")return++this.index,this.scanHexLiteral(u);if(m==="b"||m==="B")return++this.index,this.scanBinaryLiteral(u);if(m==="o"||m==="O")return this.scanOctalLiteral(m,u);if(m&&a.Character.isOctalDigit(m.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(m,u)}for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];m=this.source[this.index]}if(m==="."){for(f+=this.source[this.index++];a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];m=this.source[this.index]}if(m==="e"||m==="E")if(f+=this.source[this.index++],m=this.source[this.index],(m==="+"||m==="-")&&(f+=this.source[this.index++]),a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];else this.throwUnexpectedToken();return a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(f),lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.scanStringLiteral=function(){var u=this.index,m=this.source[u];r.assert(m==="'"||m==='"',"String literal must starts with a quote"),++this.index;for(var f=!1,p="";!this.eof();){var h=this.source[this.index++];if(h===m){m="";break}else if(h==="\\")if(h=this.source[this.index++],!h||!a.Character.isLineTerminator(h.charCodeAt(0)))switch(h){case"u":if(this.source[this.index]==="{")++this.index,p+=this.scanUnicodeCodePointEscape();else{var b=this.scanHexEscape(h);b===null&&this.throwUnexpectedToken(),p+=b}break;case"x":var g=this.scanHexEscape(h);g===null&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),p+=g;break;case"n":p+=`
|
|
`;break;case"r":p+="\r";break;case"t":p+=" ";break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\v";break;case"8":case"9":p+=h,this.tolerateUnexpectedToken();break;default:if(h&&a.Character.isOctalDigit(h.charCodeAt(0))){var v=this.octalToDecimal(h);f=v.octal||f,p+=String.fromCharCode(v.code)}else p+=h;break}else++this.lineNumber,h==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else{if(a.Character.isLineTerminator(h.charCodeAt(0)))break;p+=h}}return m!==""&&(this.index=u,this.throwUnexpectedToken()),{type:8,value:p,octal:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.scanTemplate=function(){var u="",m=!1,f=this.index,p=this.source[f]==="`",h=!1,b=2;for(++this.index;!this.eof();){var g=this.source[this.index++];if(g==="`"){b=1,h=!0,m=!0;break}else if(g==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,m=!0;break}u+=g}else if(g==="\\")if(g=this.source[this.index++],a.Character.isLineTerminator(g.charCodeAt(0)))++this.lineNumber,g==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else switch(g){case"n":u+=`
|
|
`;break;case"r":u+="\r";break;case"t":u+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,u+=this.scanUnicodeCodePointEscape();else{var v=this.index,E=this.scanHexEscape(g);E!==null?u+=E:(this.index=v,u+=g)}break;case"x":var S=this.scanHexEscape(g);S===null&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),u+=S;break;case"b":u+="\b";break;case"f":u+="\f";break;case"v":u+="\v";break;default:g==="0"?(a.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral),u+="\0"):a.Character.isOctalDigit(g.charCodeAt(0))?this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral):u+=g;break}else a.Character.isLineTerminator(g.charCodeAt(0))?(++this.lineNumber,g==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index,u+=`
|
|
`):u+=g}return m||this.throwUnexpectedToken(),p||this.curlyStack.pop(),{type:10,value:this.source.slice(f+1,this.index-b),cooked:u,head:p,tail:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},d.prototype.testRegExp=function(u,m){var f="\uFFFF",p=u,h=this;m.indexOf("u")>=0&&(p=p.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(b,g,v){var E=parseInt(g||v,16);return E>1114111&&h.throwUnexpectedToken(s.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):f}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f));try{RegExp(p)}catch{this.throwUnexpectedToken(s.Messages.InvalidRegExp)}try{return new RegExp(u,m)}catch{return null}},d.prototype.scanRegExpBody=function(){var u=this.source[this.index];r.assert(u==="/","Regular expression literal must start with a slash");for(var m=this.source[this.index++],f=!1,p=!1;!this.eof();)if(u=this.source[this.index++],m+=u,u==="\\")u=this.source[this.index++],a.Character.isLineTerminator(u.charCodeAt(0))&&this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),m+=u;else if(a.Character.isLineTerminator(u.charCodeAt(0)))this.throwUnexpectedToken(s.Messages.UnterminatedRegExp);else if(f)u==="]"&&(f=!1);else if(u==="/"){p=!0;break}else u==="["&&(f=!0);return p||this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),m.substr(1,m.length-2)},d.prototype.scanRegExpFlags=function(){for(var u="",m="";!this.eof();){var f=this.source[this.index];if(!a.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f==="\\"&&!this.eof())if(f=this.source[this.index],f==="u"){++this.index;var p=this.index,h=this.scanHexEscape("u");if(h!==null)for(m+=h,u+="\\u";p<this.index;++p)u+=this.source[p];else this.index=p,m+="u",u+="\\u";this.tolerateUnexpectedToken()}else u+="\\",this.tolerateUnexpectedToken();else m+=f,u+=f}return m},d.prototype.scanRegExp=function(){var u=this.index,m=this.scanRegExpBody(),f=this.scanRegExpFlags(),p=this.testRegExp(m,f);return{type:9,value:"",pattern:m,flags:f,regex:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},d.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var u=this.source.charCodeAt(this.index);return a.Character.isIdentifierStart(u)?this.scanIdentifier():u===40||u===41||u===59?this.scanPunctuator():u===39||u===34?this.scanStringLiteral():u===46?a.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():a.Character.isDecimalDigit(u)?this.scanNumericLiteral():u===96||u===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():u>=55296&&u<57343&&a.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},d}();i.Scanner=_},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.TokenName={},i.TokenName[1]="Boolean",i.TokenName[2]="<end>",i.TokenName[3]="Identifier",i.TokenName[4]="Keyword",i.TokenName[5]="Null",i.TokenName[6]="Numeric",i.TokenName[7]="Punctuator",i.TokenName[8]="String",i.TokenName[9]="RegularExpression",i.TokenName[10]="Template"},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(n,i,o){Object.defineProperty(i,"__esModule",{value:!0});var r=o(10),a=o(12),s=o(13),c=function(){function _(){this.values=[],this.curly=this.paren=-1}return _.prototype.beforeFunctionExpression=function(d){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(d)>=0},_.prototype.isRegexStart=function(){var d=this.values[this.values.length-1],u=d!==null;switch(d){case"this":case"]":u=!1;break;case")":var m=this.values[this.paren-1];u=m==="if"||m==="while"||m==="for"||m==="with";break;case"}":if(u=!1,this.values[this.curly-3]==="function"){var f=this.values[this.curly-4];u=f?!this.beforeFunctionExpression(f):!1}else if(this.values[this.curly-4]==="function"){var f=this.values[this.curly-5];u=f?!this.beforeFunctionExpression(f):!0}break}return u},_.prototype.push=function(d){d.type===7||d.type===4?(d.value==="{"?this.curly=this.values.length:d.value==="("&&(this.paren=this.values.length),this.values.push(d.value)):this.values.push(null)},_}(),l=function(){function _(d,u){this.errorHandler=new r.ErrorHandler,this.errorHandler.tolerant=u?typeof u.tolerant=="boolean"&&u.tolerant:!1,this.scanner=new a.Scanner(d,this.errorHandler),this.scanner.trackComment=u?typeof u.comment=="boolean"&&u.comment:!1,this.trackRange=u?typeof u.range=="boolean"&&u.range:!1,this.trackLoc=u?typeof u.loc=="boolean"&&u.loc:!1,this.buffer=[],this.reader=new c}return _.prototype.errors=function(){return this.errorHandler.errors},_.prototype.getNextToken=function(){if(this.buffer.length===0){var d=this.scanner.scanComments();if(this.scanner.trackComment)for(var u=0;u<d.length;++u){var m=d[u],f=this.scanner.source.slice(m.slice[0],m.slice[1]),p={type:m.multiLine?"BlockComment":"LineComment",value:f};this.trackRange&&(p.range=m.range),this.trackLoc&&(p.loc=m.loc),this.buffer.push(p)}if(!this.scanner.eof()){var h=void 0;this.trackLoc&&(h={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var b=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),g=b?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(g);var v={type:s.TokenName[g.type],value:this.scanner.source.slice(g.start,g.end)};if(this.trackRange&&(v.range=[g.start,g.end]),this.trackLoc&&(h.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},v.loc=h),g.type===9){var E=g.pattern,S=g.flags;v.regex={pattern:E,flags:S}}this.buffer.push(v)}}return this.buffer.shift()},_}();i.Tokenizer=l}])})})(xS);var di={},DS={},lm={};lm.byteLength=MP;lm.toByteArray=FP;lm.fromByteArray=$P;var xr=[],nr=[],IP=typeof Uint8Array!="undefined"?Uint8Array:Array,Km="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var qa=0,kP=Km.length;qa<kP;++qa)xr[qa]=Km[qa],nr[Km.charCodeAt(qa)]=qa;nr["-".charCodeAt(0)]=62;nr["_".charCodeAt(0)]=63;function IS(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function MP(e){var t=IS(e),n=t[0],i=t[1];return(n+i)*3/4-i}function LP(e,t,n){return(t+n)*3/4-n}function FP(e){var t,n=IS(e),i=n[0],o=n[1],r=new IP(LP(e,i,o)),a=0,s=o>0?i-4:i,c;for(c=0;c<s;c+=4)t=nr[e.charCodeAt(c)]<<18|nr[e.charCodeAt(c+1)]<<12|nr[e.charCodeAt(c+2)]<<6|nr[e.charCodeAt(c+3)],r[a++]=t>>16&255,r[a++]=t>>8&255,r[a++]=t&255;return o===2&&(t=nr[e.charCodeAt(c)]<<2|nr[e.charCodeAt(c+1)]>>4,r[a++]=t&255),o===1&&(t=nr[e.charCodeAt(c)]<<10|nr[e.charCodeAt(c+1)]<<4|nr[e.charCodeAt(c+2)]>>2,r[a++]=t>>8&255,r[a++]=t&255),r}function PP(e){return xr[e>>18&63]+xr[e>>12&63]+xr[e>>6&63]+xr[e&63]}function BP(e,t,n){for(var i,o=[],r=t;r<n;r+=3)i=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),o.push(PP(i));return o.join("")}function $P(e){for(var t,n=e.length,i=n%3,o=[],r=16383,a=0,s=n-i;a<s;a+=r)o.push(BP(e,a,a+r>s?s:a+r));return i===1?(t=e[n-1],o.push(xr[t>>2]+xr[t<<4&63]+"==")):i===2&&(t=(e[n-2]<<8)+e[n-1],o.push(xr[t>>10]+xr[t>>4&63]+xr[t<<2&63]+"=")),o.join("")}var Mf={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Mf.read=function(e,t,n,i,o){var r,a,s=o*8-i-1,c=(1<<s)-1,l=c>>1,_=-7,d=n?o-1:0,u=n?-1:1,m=e[t+d];for(d+=u,r=m&(1<<-_)-1,m>>=-_,_+=s;_>0;r=r*256+e[t+d],d+=u,_-=8);for(a=r&(1<<-_)-1,r>>=-_,_+=i;_>0;a=a*256+e[t+d],d+=u,_-=8);if(r===0)r=1-l;else{if(r===c)return a?NaN:(m?-1:1)*(1/0);a=a+Math.pow(2,i),r=r-l}return(m?-1:1)*a*Math.pow(2,r-i)};Mf.write=function(e,t,n,i,o,r){var a,s,c,l=r*8-o-1,_=(1<<l)-1,d=_>>1,u=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:r-1,f=i?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=_):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+d>=1?t+=u/c:t+=u*Math.pow(2,1-d),t*c>=2&&(a++,c/=2),a+d>=_?(s=0,a=_):a+d>=1?(s=(t*c-1)*Math.pow(2,o),a=a+d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+m]=s&255,m+=f,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[n+m]=a&255,m+=f,a/=256,l-=8);e[n+m-f]|=p*128};/*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*/(function(e){const t=lm,n=Mf,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=r(),!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function r(){try{const k=new Uint8Array(1),O={foo:function(){return 42}};return Object.setPrototypeOf(O,Uint8Array.prototype),Object.setPrototypeOf(k,O),k.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function a(k){if(k>o)throw new RangeError('The value "'+k+'" is invalid for option "size"');const O=new Uint8Array(k);return Object.setPrototypeOf(O,s.prototype),O}function s(k,O,x){if(typeof k=="number"){if(typeof O=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(k)}return c(k,O,x)}s.poolSize=8192;function c(k,O,x){if(typeof k=="string")return u(k,O);if(ArrayBuffer.isView(k))return f(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(xe(k,ArrayBuffer)||k&&xe(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(xe(k,SharedArrayBuffer)||k&&xe(k.buffer,SharedArrayBuffer)))return p(k,O,x);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const P=k.valueOf&&k.valueOf();if(P!=null&&P!==k)return s.from(P,O,x);const Z=h(k);if(Z)return Z;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return s.from(k[Symbol.toPrimitive]("string"),O,x);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}s.from=function(k,O,x){return c(k,O,x)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function _(k,O,x){return l(k),k<=0?a(k):O!==void 0?typeof x=="string"?a(k).fill(O,x):a(k).fill(O):a(k)}s.alloc=function(k,O,x){return _(k,O,x)};function d(k){return l(k),a(k<0?0:b(k)|0)}s.allocUnsafe=function(k){return d(k)},s.allocUnsafeSlow=function(k){return d(k)};function u(k,O){if((typeof O!="string"||O==="")&&(O="utf8"),!s.isEncoding(O))throw new TypeError("Unknown encoding: "+O);const x=v(k,O)|0;let P=a(x);const Z=P.write(k,O);return Z!==x&&(P=P.slice(0,Z)),P}function m(k){const O=k.length<0?0:b(k.length)|0,x=a(O);for(let P=0;P<O;P+=1)x[P]=k[P]&255;return x}function f(k){if(xe(k,Uint8Array)){const O=new Uint8Array(k);return p(O.buffer,O.byteOffset,O.byteLength)}return m(k)}function p(k,O,x){if(O<0||k.byteLength<O)throw new RangeError('"offset" is outside of buffer bounds');if(k.byteLength<O+(x||0))throw new RangeError('"length" is outside of buffer bounds');let P;return O===void 0&&x===void 0?P=new Uint8Array(k):x===void 0?P=new Uint8Array(k,O):P=new Uint8Array(k,O,x),Object.setPrototypeOf(P,s.prototype),P}function h(k){if(s.isBuffer(k)){const O=b(k.length)|0,x=a(O);return x.length===0||k.copy(x,0,0,O),x}if(k.length!==void 0)return typeof k.length!="number"||ti(k.length)?a(0):m(k);if(k.type==="Buffer"&&Array.isArray(k.data))return m(k.data)}function b(k){if(k>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return k|0}function g(k){return+k!=k&&(k=0),s.alloc(+k)}s.isBuffer=function(O){return O!=null&&O._isBuffer===!0&&O!==s.prototype},s.compare=function(O,x){if(xe(O,Uint8Array)&&(O=s.from(O,O.offset,O.byteLength)),xe(x,Uint8Array)&&(x=s.from(x,x.offset,x.byteLength)),!s.isBuffer(O)||!s.isBuffer(x))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(O===x)return 0;let P=O.length,Z=x.length;for(let ne=0,se=Math.min(P,Z);ne<se;++ne)if(O[ne]!==x[ne]){P=O[ne],Z=x[ne];break}return P<Z?-1:Z<P?1:0},s.isEncoding=function(O){switch(String(O).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(O,x){if(!Array.isArray(O))throw new TypeError('"list" argument must be an Array of Buffers');if(O.length===0)return s.alloc(0);let P;if(x===void 0)for(x=0,P=0;P<O.length;++P)x+=O[P].length;const Z=s.allocUnsafe(x);let ne=0;for(P=0;P<O.length;++P){let se=O[P];if(xe(se,Uint8Array))ne+se.length>Z.length?(s.isBuffer(se)||(se=s.from(se)),se.copy(Z,ne)):Uint8Array.prototype.set.call(Z,se,ne);else if(s.isBuffer(se))se.copy(Z,ne);else throw new TypeError('"list" argument must be an Array of Buffers');ne+=se.length}return Z};function v(k,O){if(s.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||xe(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);const x=k.length,P=arguments.length>2&&arguments[2]===!0;if(!P&&x===0)return 0;let Z=!1;for(;;)switch(O){case"ascii":case"latin1":case"binary":return x;case"utf8":case"utf-8":return Le(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x*2;case"hex":return x>>>1;case"base64":return yt(k).length;default:if(Z)return P?-1:Le(k).length;O=(""+O).toLowerCase(),Z=!0}}s.byteLength=v;function E(k,O,x){let P=!1;if((O===void 0||O<0)&&(O=0),O>this.length||((x===void 0||x>this.length)&&(x=this.length),x<=0)||(x>>>=0,O>>>=0,x<=O))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,O,x);case"utf8":case"utf-8":return F(this,O,x);case"ascii":return Y(this,O,x);case"latin1":case"binary":return X(this,O,x);case"base64":return L(this,O,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,O,x);default:if(P)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),P=!0}}s.prototype._isBuffer=!0;function S(k,O,x){const P=k[O];k[O]=k[x],k[x]=P}s.prototype.swap16=function(){const O=this.length;if(O%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let x=0;x<O;x+=2)S(this,x,x+1);return this},s.prototype.swap32=function(){const O=this.length;if(O%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let x=0;x<O;x+=4)S(this,x,x+3),S(this,x+1,x+2);return this},s.prototype.swap64=function(){const O=this.length;if(O%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let x=0;x<O;x+=8)S(this,x,x+7),S(this,x+1,x+6),S(this,x+2,x+5),S(this,x+3,x+4);return this},s.prototype.toString=function(){const O=this.length;return O===0?"":arguments.length===0?F(this,0,O):E.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(O){if(!s.isBuffer(O))throw new TypeError("Argument must be a Buffer");return this===O?!0:s.compare(this,O)===0},s.prototype.inspect=function(){let O="";const x=e.INSPECT_MAX_BYTES;return O=this.toString("hex",0,x).replace(/(.{2})/g,"$1 ").trim(),this.length>x&&(O+=" ... "),"<Buffer "+O+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(O,x,P,Z,ne){if(xe(O,Uint8Array)&&(O=s.from(O,O.offset,O.byteLength)),!s.isBuffer(O))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof O);if(x===void 0&&(x=0),P===void 0&&(P=O?O.length:0),Z===void 0&&(Z=0),ne===void 0&&(ne=this.length),x<0||P>O.length||Z<0||ne>this.length)throw new RangeError("out of range index");if(Z>=ne&&x>=P)return 0;if(Z>=ne)return-1;if(x>=P)return 1;if(x>>>=0,P>>>=0,Z>>>=0,ne>>>=0,this===O)return 0;let se=ne-Z,_t=P-x;const Jt=Math.min(se,_t),Wt=this.slice(Z,ne),rn=O.slice(x,P);for(let Gt=0;Gt<Jt;++Gt)if(Wt[Gt]!==rn[Gt]){se=Wt[Gt],_t=rn[Gt];break}return se<_t?-1:_t<se?1:0};function N(k,O,x,P,Z){if(k.length===0)return-1;if(typeof x=="string"?(P=x,x=0):x>2147483647?x=2147483647:x<-2147483648&&(x=-2147483648),x=+x,ti(x)&&(x=Z?0:k.length-1),x<0&&(x=k.length+x),x>=k.length){if(Z)return-1;x=k.length-1}else if(x<0)if(Z)x=0;else return-1;if(typeof O=="string"&&(O=s.from(O,P)),s.isBuffer(O))return O.length===0?-1:C(k,O,x,P,Z);if(typeof O=="number")return O=O&255,typeof Uint8Array.prototype.indexOf=="function"?Z?Uint8Array.prototype.indexOf.call(k,O,x):Uint8Array.prototype.lastIndexOf.call(k,O,x):C(k,[O],x,P,Z);throw new TypeError("val must be string, number or Buffer")}function C(k,O,x,P,Z){let ne=1,se=k.length,_t=O.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(k.length<2||O.length<2)return-1;ne=2,se/=2,_t/=2,x/=2}function Jt(rn,Gt){return ne===1?rn[Gt]:rn.readUInt16BE(Gt*ne)}let Wt;if(Z){let rn=-1;for(Wt=x;Wt<se;Wt++)if(Jt(k,Wt)===Jt(O,rn===-1?0:Wt-rn)){if(rn===-1&&(rn=Wt),Wt-rn+1===_t)return rn*ne}else rn!==-1&&(Wt-=Wt-rn),rn=-1}else for(x+_t>se&&(x=se-_t),Wt=x;Wt>=0;Wt--){let rn=!0;for(let Gt=0;Gt<_t;Gt++)if(Jt(k,Wt+Gt)!==Jt(O,Gt)){rn=!1;break}if(rn)return Wt}return-1}s.prototype.includes=function(O,x,P){return this.indexOf(O,x,P)!==-1},s.prototype.indexOf=function(O,x,P){return N(this,O,x,P,!0)},s.prototype.lastIndexOf=function(O,x,P){return N(this,O,x,P,!1)};function y(k,O,x,P){x=Number(x)||0;const Z=k.length-x;P?(P=Number(P),P>Z&&(P=Z)):P=Z;const ne=O.length;P>ne/2&&(P=ne/2);let se;for(se=0;se<P;++se){const _t=parseInt(O.substr(se*2,2),16);if(ti(_t))return se;k[x+se]=_t}return se}function A(k,O,x,P){return jn(Le(O,k.length-x),k,x,P)}function R(k,O,x,P){return jn(mi(O),k,x,P)}function D(k,O,x,P){return jn(yt(O),k,x,P)}function M(k,O,x,P){return jn(Ot(O,k.length-x),k,x,P)}s.prototype.write=function(O,x,P,Z){if(x===void 0)Z="utf8",P=this.length,x=0;else if(P===void 0&&typeof x=="string")Z=x,P=this.length,x=0;else if(isFinite(x))x=x>>>0,isFinite(P)?(P=P>>>0,Z===void 0&&(Z="utf8")):(Z=P,P=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ne=this.length-x;if((P===void 0||P>ne)&&(P=ne),O.length>0&&(P<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");Z||(Z="utf8");let se=!1;for(;;)switch(Z){case"hex":return y(this,O,x,P);case"utf8":case"utf-8":return A(this,O,x,P);case"ascii":case"latin1":case"binary":return R(this,O,x,P);case"base64":return D(this,O,x,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,O,x,P);default:if(se)throw new TypeError("Unknown encoding: "+Z);Z=(""+Z).toLowerCase(),se=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(k,O,x){return O===0&&x===k.length?t.fromByteArray(k):t.fromByteArray(k.slice(O,x))}function F(k,O,x){x=Math.min(k.length,x);const P=[];let Z=O;for(;Z<x;){const ne=k[Z];let se=null,_t=ne>239?4:ne>223?3:ne>191?2:1;if(Z+_t<=x){let Jt,Wt,rn,Gt;switch(_t){case 1:ne<128&&(se=ne);break;case 2:Jt=k[Z+1],(Jt&192)===128&&(Gt=(ne&31)<<6|Jt&63,Gt>127&&(se=Gt));break;case 3:Jt=k[Z+1],Wt=k[Z+2],(Jt&192)===128&&(Wt&192)===128&&(Gt=(ne&15)<<12|(Jt&63)<<6|Wt&63,Gt>2047&&(Gt<55296||Gt>57343)&&(se=Gt));break;case 4:Jt=k[Z+1],Wt=k[Z+2],rn=k[Z+3],(Jt&192)===128&&(Wt&192)===128&&(rn&192)===128&&(Gt=(ne&15)<<18|(Jt&63)<<12|(Wt&63)<<6|rn&63,Gt>65535&&Gt<1114112&&(se=Gt))}}se===null?(se=65533,_t=1):se>65535&&(se-=65536,P.push(se>>>10&1023|55296),se=56320|se&1023),P.push(se),Z+=_t}return $(P)}const q=4096;function $(k){const O=k.length;if(O<=q)return String.fromCharCode.apply(String,k);let x="",P=0;for(;P<O;)x+=String.fromCharCode.apply(String,k.slice(P,P+=q));return x}function Y(k,O,x){let P="";x=Math.min(k.length,x);for(let Z=O;Z<x;++Z)P+=String.fromCharCode(k[Z]&127);return P}function X(k,O,x){let P="";x=Math.min(k.length,x);for(let Z=O;Z<x;++Z)P+=String.fromCharCode(k[Z]);return P}function J(k,O,x){const P=k.length;(!O||O<0)&&(O=0),(!x||x<0||x>P)&&(x=P);let Z="";for(let ne=O;ne<x;++ne)Z+=Xi[k[ne]];return Z}function B(k,O,x){const P=k.slice(O,x);let Z="";for(let ne=0;ne<P.length-1;ne+=2)Z+=String.fromCharCode(P[ne]+P[ne+1]*256);return Z}s.prototype.slice=function(O,x){const P=this.length;O=~~O,x=x===void 0?P:~~x,O<0?(O+=P,O<0&&(O=0)):O>P&&(O=P),x<0?(x+=P,x<0&&(x=0)):x>P&&(x=P),x<O&&(x=O);const Z=this.subarray(O,x);return Object.setPrototypeOf(Z,s.prototype),Z};function w(k,O,x){if(k%1!==0||k<0)throw new RangeError("offset is not uint");if(k+O>x)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(O,x,P){O=O>>>0,x=x>>>0,P||w(O,x,this.length);let Z=this[O],ne=1,se=0;for(;++se<x&&(ne*=256);)Z+=this[O+se]*ne;return Z},s.prototype.readUintBE=s.prototype.readUIntBE=function(O,x,P){O=O>>>0,x=x>>>0,P||w(O,x,this.length);let Z=this[O+--x],ne=1;for(;x>0&&(ne*=256);)Z+=this[O+--x]*ne;return Z},s.prototype.readUint8=s.prototype.readUInt8=function(O,x){return O=O>>>0,x||w(O,1,this.length),this[O]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(O,x){return O=O>>>0,x||w(O,2,this.length),this[O]|this[O+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(O,x){return O=O>>>0,x||w(O,2,this.length),this[O]<<8|this[O+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(O,x){return O=O>>>0,x||w(O,4,this.length),(this[O]|this[O+1]<<8|this[O+2]<<16)+this[O+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(O,x){return O=O>>>0,x||w(O,4,this.length),this[O]*16777216+(this[O+1]<<16|this[O+2]<<8|this[O+3])},s.prototype.readBigUInt64LE=Ce(function(O){O=O>>>0,Re(O,"offset");const x=this[O],P=this[O+7];(x===void 0||P===void 0)&&De(O,this.length-8);const Z=x+this[++O]*2**8+this[++O]*2**16+this[++O]*2**24,ne=this[++O]+this[++O]*2**8+this[++O]*2**16+P*2**24;return BigInt(Z)+(BigInt(ne)<<BigInt(32))}),s.prototype.readBigUInt64BE=Ce(function(O){O=O>>>0,Re(O,"offset");const x=this[O],P=this[O+7];(x===void 0||P===void 0)&&De(O,this.length-8);const Z=x*2**24+this[++O]*2**16+this[++O]*2**8+this[++O],ne=this[++O]*2**24+this[++O]*2**16+this[++O]*2**8+P;return(BigInt(Z)<<BigInt(32))+BigInt(ne)}),s.prototype.readIntLE=function(O,x,P){O=O>>>0,x=x>>>0,P||w(O,x,this.length);let Z=this[O],ne=1,se=0;for(;++se<x&&(ne*=256);)Z+=this[O+se]*ne;return ne*=128,Z>=ne&&(Z-=Math.pow(2,8*x)),Z},s.prototype.readIntBE=function(O,x,P){O=O>>>0,x=x>>>0,P||w(O,x,this.length);let Z=x,ne=1,se=this[O+--Z];for(;Z>0&&(ne*=256);)se+=this[O+--Z]*ne;return ne*=128,se>=ne&&(se-=Math.pow(2,8*x)),se},s.prototype.readInt8=function(O,x){return O=O>>>0,x||w(O,1,this.length),this[O]&128?(255-this[O]+1)*-1:this[O]},s.prototype.readInt16LE=function(O,x){O=O>>>0,x||w(O,2,this.length);const P=this[O]|this[O+1]<<8;return P&32768?P|4294901760:P},s.prototype.readInt16BE=function(O,x){O=O>>>0,x||w(O,2,this.length);const P=this[O+1]|this[O]<<8;return P&32768?P|4294901760:P},s.prototype.readInt32LE=function(O,x){return O=O>>>0,x||w(O,4,this.length),this[O]|this[O+1]<<8|this[O+2]<<16|this[O+3]<<24},s.prototype.readInt32BE=function(O,x){return O=O>>>0,x||w(O,4,this.length),this[O]<<24|this[O+1]<<16|this[O+2]<<8|this[O+3]},s.prototype.readBigInt64LE=Ce(function(O){O=O>>>0,Re(O,"offset");const x=this[O],P=this[O+7];(x===void 0||P===void 0)&&De(O,this.length-8);const Z=this[O+4]+this[O+5]*2**8+this[O+6]*2**16+(P<<24);return(BigInt(Z)<<BigInt(32))+BigInt(x+this[++O]*2**8+this[++O]*2**16+this[++O]*2**24)}),s.prototype.readBigInt64BE=Ce(function(O){O=O>>>0,Re(O,"offset");const x=this[O],P=this[O+7];(x===void 0||P===void 0)&&De(O,this.length-8);const Z=(x<<24)+this[++O]*2**16+this[++O]*2**8+this[++O];return(BigInt(Z)<<BigInt(32))+BigInt(this[++O]*2**24+this[++O]*2**16+this[++O]*2**8+P)}),s.prototype.readFloatLE=function(O,x){return O=O>>>0,x||w(O,4,this.length),n.read(this,O,!0,23,4)},s.prototype.readFloatBE=function(O,x){return O=O>>>0,x||w(O,4,this.length),n.read(this,O,!1,23,4)},s.prototype.readDoubleLE=function(O,x){return O=O>>>0,x||w(O,8,this.length),n.read(this,O,!0,52,8)},s.prototype.readDoubleBE=function(O,x){return O=O>>>0,x||w(O,8,this.length),n.read(this,O,!1,52,8)};function I(k,O,x,P,Z,ne){if(!s.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(O>Z||O<ne)throw new RangeError('"value" argument is out of bounds');if(x+P>k.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(O,x,P,Z){if(O=+O,x=x>>>0,P=P>>>0,!Z){const _t=Math.pow(2,8*P)-1;I(this,O,x,P,_t,0)}let ne=1,se=0;for(this[x]=O&255;++se<P&&(ne*=256);)this[x+se]=O/ne&255;return x+P},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(O,x,P,Z){if(O=+O,x=x>>>0,P=P>>>0,!Z){const _t=Math.pow(2,8*P)-1;I(this,O,x,P,_t,0)}let ne=P-1,se=1;for(this[x+ne]=O&255;--ne>=0&&(se*=256);)this[x+ne]=O/se&255;return x+P},s.prototype.writeUint8=s.prototype.writeUInt8=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,1,255,0),this[x]=O&255,x+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,2,65535,0),this[x]=O&255,this[x+1]=O>>>8,x+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,2,65535,0),this[x]=O>>>8,this[x+1]=O&255,x+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,4,4294967295,0),this[x+3]=O>>>24,this[x+2]=O>>>16,this[x+1]=O>>>8,this[x]=O&255,x+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,4,4294967295,0),this[x]=O>>>24,this[x+1]=O>>>16,this[x+2]=O>>>8,this[x+3]=O&255,x+4};function U(k,O,x,P,Z){_e(O,P,Z,k,x,7);let ne=Number(O&BigInt(4294967295));k[x++]=ne,ne=ne>>8,k[x++]=ne,ne=ne>>8,k[x++]=ne,ne=ne>>8,k[x++]=ne;let se=Number(O>>BigInt(32)&BigInt(4294967295));return k[x++]=se,se=se>>8,k[x++]=se,se=se>>8,k[x++]=se,se=se>>8,k[x++]=se,x}function z(k,O,x,P,Z){_e(O,P,Z,k,x,7);let ne=Number(O&BigInt(4294967295));k[x+7]=ne,ne=ne>>8,k[x+6]=ne,ne=ne>>8,k[x+5]=ne,ne=ne>>8,k[x+4]=ne;let se=Number(O>>BigInt(32)&BigInt(4294967295));return k[x+3]=se,se=se>>8,k[x+2]=se,se=se>>8,k[x+1]=se,se=se>>8,k[x]=se,x+8}s.prototype.writeBigUInt64LE=Ce(function(O,x=0){return U(this,O,x,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Ce(function(O,x=0){return z(this,O,x,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(O,x,P,Z){if(O=+O,x=x>>>0,!Z){const Jt=Math.pow(2,8*P-1);I(this,O,x,P,Jt-1,-Jt)}let ne=0,se=1,_t=0;for(this[x]=O&255;++ne<P&&(se*=256);)O<0&&_t===0&&this[x+ne-1]!==0&&(_t=1),this[x+ne]=(O/se>>0)-_t&255;return x+P},s.prototype.writeIntBE=function(O,x,P,Z){if(O=+O,x=x>>>0,!Z){const Jt=Math.pow(2,8*P-1);I(this,O,x,P,Jt-1,-Jt)}let ne=P-1,se=1,_t=0;for(this[x+ne]=O&255;--ne>=0&&(se*=256);)O<0&&_t===0&&this[x+ne+1]!==0&&(_t=1),this[x+ne]=(O/se>>0)-_t&255;return x+P},s.prototype.writeInt8=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,1,127,-128),O<0&&(O=255+O+1),this[x]=O&255,x+1},s.prototype.writeInt16LE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,2,32767,-32768),this[x]=O&255,this[x+1]=O>>>8,x+2},s.prototype.writeInt16BE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,2,32767,-32768),this[x]=O>>>8,this[x+1]=O&255,x+2},s.prototype.writeInt32LE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,4,2147483647,-2147483648),this[x]=O&255,this[x+1]=O>>>8,this[x+2]=O>>>16,this[x+3]=O>>>24,x+4},s.prototype.writeInt32BE=function(O,x,P){return O=+O,x=x>>>0,P||I(this,O,x,4,2147483647,-2147483648),O<0&&(O=4294967295+O+1),this[x]=O>>>24,this[x+1]=O>>>16,this[x+2]=O>>>8,this[x+3]=O&255,x+4},s.prototype.writeBigInt64LE=Ce(function(O,x=0){return U(this,O,x,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Ce(function(O,x=0){return z(this,O,x,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ee(k,O,x,P,Z,ne){if(x+P>k.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("Index out of range")}function ae(k,O,x,P,Z){return O=+O,x=x>>>0,Z||ee(k,O,x,4),n.write(k,O,x,P,23,4),x+4}s.prototype.writeFloatLE=function(O,x,P){return ae(this,O,x,!0,P)},s.prototype.writeFloatBE=function(O,x,P){return ae(this,O,x,!1,P)};function te(k,O,x,P,Z){return O=+O,x=x>>>0,Z||ee(k,O,x,8),n.write(k,O,x,P,52,8),x+8}s.prototype.writeDoubleLE=function(O,x,P){return te(this,O,x,!0,P)},s.prototype.writeDoubleBE=function(O,x,P){return te(this,O,x,!1,P)},s.prototype.copy=function(O,x,P,Z){if(!s.isBuffer(O))throw new TypeError("argument should be a Buffer");if(P||(P=0),!Z&&Z!==0&&(Z=this.length),x>=O.length&&(x=O.length),x||(x=0),Z>0&&Z<P&&(Z=P),Z===P||O.length===0||this.length===0)return 0;if(x<0)throw new RangeError("targetStart out of bounds");if(P<0||P>=this.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("sourceEnd out of bounds");Z>this.length&&(Z=this.length),O.length-x<Z-P&&(Z=O.length-x+P);const ne=Z-P;return this===O&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(x,P,Z):Uint8Array.prototype.set.call(O,this.subarray(P,Z),x),ne},s.prototype.fill=function(O,x,P,Z){if(typeof O=="string"){if(typeof x=="string"?(Z=x,x=0,P=this.length):typeof P=="string"&&(Z=P,P=this.length),Z!==void 0&&typeof Z!="string")throw new TypeError("encoding must be a string");if(typeof Z=="string"&&!s.isEncoding(Z))throw new TypeError("Unknown encoding: "+Z);if(O.length===1){const se=O.charCodeAt(0);(Z==="utf8"&&se<128||Z==="latin1")&&(O=se)}}else typeof O=="number"?O=O&255:typeof O=="boolean"&&(O=Number(O));if(x<0||this.length<x||this.length<P)throw new RangeError("Out of range index");if(P<=x)return this;x=x>>>0,P=P===void 0?this.length:P>>>0,O||(O=0);let ne;if(typeof O=="number")for(ne=x;ne<P;++ne)this[ne]=O;else{const se=s.isBuffer(O)?O:s.from(O,Z),_t=se.length;if(_t===0)throw new TypeError('The value "'+O+'" is invalid for argument "value"');for(ne=0;ne<P-x;++ne)this[ne+x]=se[ne%_t]}return this};const me={};function he(k,O,x){me[k]=class extends x{constructor(){super(),Object.defineProperty(this,"message",{value:O.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${k}]`,this.stack,delete this.name}get code(){return k}set code(Z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Z,writable:!0})}toString(){return`${this.name} [${k}]: ${this.message}`}}}he("ERR_BUFFER_OUT_OF_BOUNDS",function(k){return k?`${k} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),he("ERR_INVALID_ARG_TYPE",function(k,O){return`The "${k}" argument must be of type number. Received type ${typeof O}`},TypeError),he("ERR_OUT_OF_RANGE",function(k,O,x){let P=`The value of "${k}" is out of range.`,Z=x;return Number.isInteger(x)&&Math.abs(x)>2**32?Z=Ve(String(x)):typeof x=="bigint"&&(Z=String(x),(x>BigInt(2)**BigInt(32)||x<-(BigInt(2)**BigInt(32)))&&(Z=Ve(Z)),Z+="n"),P+=` It must be ${O}. Received ${Z}`,P},RangeError);function Ve(k){let O="",x=k.length;const P=k[0]==="-"?1:0;for(;x>=P+4;x-=3)O=`_${k.slice(x-3,x)}${O}`;return`${k.slice(0,x)}${O}`}function ze(k,O,x){Re(O,"offset"),(k[O]===void 0||k[O+x]===void 0)&&De(O,k.length-(x+1))}function _e(k,O,x,P,Z,ne){if(k>x||k<O){const se=typeof O=="bigint"?"n":"";let _t;throw ne>3?O===0||O===BigInt(0)?_t=`>= 0${se} and < 2${se} ** ${(ne+1)*8}${se}`:_t=`>= -(2${se} ** ${(ne+1)*8-1}${se}) and < 2 ** ${(ne+1)*8-1}${se}`:_t=`>= ${O}${se} and <= ${x}${se}`,new me.ERR_OUT_OF_RANGE("value",_t,k)}ze(P,Z,ne)}function Re(k,O){if(typeof k!="number")throw new me.ERR_INVALID_ARG_TYPE(O,"number",k)}function De(k,O,x){throw Math.floor(k)!==k?(Re(k,x),new me.ERR_OUT_OF_RANGE(x||"offset","an integer",k)):O<0?new me.ERR_BUFFER_OUT_OF_BOUNDS:new me.ERR_OUT_OF_RANGE(x||"offset",`>= ${x?1:0} and <= ${O}`,k)}const Vt=/[^+/0-9A-Za-z-_]/g;function Zt(k){if(k=k.split("=")[0],k=k.trim().replace(Vt,""),k.length<2)return"";for(;k.length%4!==0;)k=k+"=";return k}function Le(k,O){O=O||1/0;let x;const P=k.length;let Z=null;const ne=[];for(let se=0;se<P;++se){if(x=k.charCodeAt(se),x>55295&&x<57344){if(!Z){if(x>56319){(O-=3)>-1&&ne.push(239,191,189);continue}else if(se+1===P){(O-=3)>-1&&ne.push(239,191,189);continue}Z=x;continue}if(x<56320){(O-=3)>-1&&ne.push(239,191,189),Z=x;continue}x=(Z-55296<<10|x-56320)+65536}else Z&&(O-=3)>-1&&ne.push(239,191,189);if(Z=null,x<128){if((O-=1)<0)break;ne.push(x)}else if(x<2048){if((O-=2)<0)break;ne.push(x>>6|192,x&63|128)}else if(x<65536){if((O-=3)<0)break;ne.push(x>>12|224,x>>6&63|128,x&63|128)}else if(x<1114112){if((O-=4)<0)break;ne.push(x>>18|240,x>>12&63|128,x>>6&63|128,x&63|128)}else throw new Error("Invalid code point")}return ne}function mi(k){const O=[];for(let x=0;x<k.length;++x)O.push(k.charCodeAt(x)&255);return O}function Ot(k,O){let x,P,Z;const ne=[];for(let se=0;se<k.length&&!((O-=2)<0);++se)x=k.charCodeAt(se),P=x>>8,Z=x%256,ne.push(Z),ne.push(P);return ne}function yt(k){return t.toByteArray(Zt(k))}function jn(k,O,x,P){let Z;for(Z=0;Z<P&&!(Z+x>=O.length||Z>=k.length);++Z)O[Z+x]=k[Z];return Z}function xe(k,O){return k instanceof O||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===O.name}function ti(k){return k!==k}const Xi=function(){const k="0123456789abcdef",O=new Array(256);for(let x=0;x<16;++x){const P=x*16;for(let Z=0;Z<16;++Z)O[P+Z]=k[x]+k[Z]}return O}();function Ce(k){return typeof BigInt=="undefined"?$e:k}function $e(){throw new Error("BigInt not supported")}})(DS);function UP(e){return Array.isArray?Array.isArray(e):cm(e)==="[object Array]"}di.isArray=UP;function GP(e){return typeof e=="boolean"}di.isBoolean=GP;function zP(e){return e===null}di.isNull=zP;function YP(e){return e==null}di.isNullOrUndefined=YP;function HP(e){return typeof e=="number"}di.isNumber=HP;function VP(e){return typeof e=="string"}di.isString=VP;function WP(e){return typeof e=="symbol"}di.isSymbol=WP;function jP(e){return e===void 0}di.isUndefined=jP;function qP(e){return cm(e)==="[object RegExp]"}di.isRegExp=qP;function KP(e){return typeof e=="object"&&e!==null}di.isObject=KP;function QP(e){return cm(e)==="[object Date]"}di.isDate=QP;function XP(e){return cm(e)==="[object Error]"||e instanceof Error}di.isError=XP;function ZP(e){return typeof e=="function"}di.isFunction=ZP;function JP(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}di.isPrimitive=JP;di.isBuffer=DS.Buffer.isBuffer;function cm(e){return Object.prototype.toString.call(e)}const kS=32,Ws=7,L0=256,F0=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9];let Ke;const P0=e=>e<1e5?e<100?e<10?0:1:e<1e4?e<1e3?2:3:4:e<1e7?e<1e6?5:6:e<1e9?e<1e8?7:8:9;function B0(e,t){if(e===t)return 0;if(~~e===e&&~~t===t){if(e===0||t===0)return e<t?-1:1;if(e<0||t<0){if(t>=0)return-1;if(e>=0)return 1;e=-e,t=-t}const o=P0(e),r=P0(t);let a=0;return o<r?(e*=F0[r-o-1],t/=10,a=-1):o>r&&(t*=F0[o-r-1],e/=10,a=1),e===t?a:e<t?-1:1}const n=String(e),i=String(t);return n===i?0:n<i?-1:1}function eB(e){let t=0;for(;e>=kS;)t|=e&1,e>>=1;return e+t}function $0(e,t,n,i){let o=t+1;if(o===n)return 1;if(i(e[o++],e[t])<0){for(;o<n&&i(e[o],e[o-1])<0;)o++;U0(e,t,o),U0(Ke,t,o)}else for(;o<n&&i(e[o],e[o-1])>=0;)o++;return o-t}function U0(e,t,n){for(n--;t<n;){const i=e[t];e[t++]=e[n],e[n--]=i}}function G0(e,t,n,i,o){for(i===t&&i++;i<n;i++){const r=e[i],a=Ke[i];let s=t,c=i;for(;s<c;){const _=s+c>>>1;o(r,e[_])<0?c=_:s=_+1}let l=i-s;switch(l){case 3:e[s+3]=e[s+2],Ke[s+3]=Ke[s+2];case 2:e[s+2]=e[s+1],Ke[s+2]=Ke[s+1];case 1:e[s+1]=e[s],Ke[s+1]=Ke[s];break;default:for(;l>0;)e[s+l]=e[s+l-1],Ke[s+l]=Ke[s+l-1],l--}e[s]=r,Ke[s]=a}}function Qm(e,t,n,i,o,r){let a=0,s=0,c=1;if(r(e,t[n+o])>0){for(s=i-o;c<s&&r(e,t[n+o+c])>0;)a=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),a+=o,c+=o}else{for(s=o+1;c<s&&r(e,t[n+o-c])<=0;)a=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s);const l=a;a=o-c,c=o-l}for(a++;a<c;){const l=a+(c-a>>>1);r(e,t[n+l])>0?a=l+1:c=l}return c}function Xm(e,t,n,i,o,r){let a=0,s=0,c=1;if(r(e,t[n+o])<0){for(s=o+1;c<s&&r(e,t[n+o-c])<0;)a=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s);const l=a;a=o-c,c=o-l}else{for(s=i-o;c<s&&r(e,t[n+o+c])>=0;)a=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),a+=o,c+=o}for(a++;a<c;){const l=a+(c-a>>>1);r(e,t[n+l])<0?c=l:a=l+1}return c}class tB{constructor(t,n){this.array=t,this.compare=n;const{length:i}=t;this.length=i,this.minGallop=Ws,this.tmpStorageLength=i<2*L0?i>>>1:L0,this.tmp=new Array(this.tmpStorageLength),this.tmpIndex=new Array(this.tmpStorageLength),this.stackLength=i<120?5:i<1542?10:i<119151?19:40,this.runStart=new Array(this.stackLength),this.runLength=new Array(this.stackLength),this.stackSize=0}pushRun(t,n){this.runStart[this.stackSize]=t,this.runLength[this.stackSize]=n,this.stackSize+=1}mergeRuns(){for(;this.stackSize>1;){let t=this.stackSize-2;if(t>=1&&this.runLength[t-1]<=this.runLength[t]+this.runLength[t+1]||t>=2&&this.runLength[t-2]<=this.runLength[t]+this.runLength[t-1])this.runLength[t-1]<this.runLength[t+1]&&t--;else if(this.runLength[t]>this.runLength[t+1])break;this.mergeAt(t)}}forceMergeRuns(){for(;this.stackSize>1;){let t=this.stackSize-2;t>0&&this.runLength[t-1]<this.runLength[t+1]&&t--,this.mergeAt(t)}}mergeAt(t){const{compare:n}=this,{array:i}=this;let o=this.runStart[t],r=this.runLength[t];const a=this.runStart[t+1];let s=this.runLength[t+1];this.runLength[t]=r+s,t===this.stackSize-3&&(this.runStart[t+1]=this.runStart[t+2],this.runLength[t+1]=this.runLength[t+2]),this.stackSize--;const c=Xm(i[a],i,o,r,0,n);o+=c,r-=c,r!==0&&(s=Qm(i[o+r-1],i,a,s,s-1,n),s!==0&&(r<=s?this.mergeLow(o,r,a,s):this.mergeHigh(o,r,a,s)))}mergeLow(t,n,i,o){const{compare:r}=this,{array:a}=this,{tmp:s}=this,{tmpIndex:c}=this;let l=0;for(l=0;l<n;l++)s[l]=a[t+l],c[l]=Ke[t+l];let _=0,d=i,u=t;if(a[u]=a[d],Ke[u]=Ke[d],u++,d++,--o===0){for(l=0;l<n;l++)a[u+l]=s[_+l],Ke[u+l]=c[_+l];return}if(n===1){for(l=0;l<o;l++)a[u+l]=a[d+l],Ke[u+l]=Ke[d+l];a[u+o]=s[_],Ke[u+o]=c[_];return}let{minGallop:m}=this;for(;;){let f=0,p=0,h=!1;do if(r(a[d],s[_])<0){if(a[u]=a[d],Ke[u]=Ke[d],u++,d++,p++,f=0,--o===0){h=!0;break}}else if(a[u]=s[_],Ke[u]=c[_],u++,_++,f++,p=0,--n===1){h=!0;break}while((f|p)<m);if(h)break;do{if(f=Xm(a[d],s,_,n,0,r),f!==0){for(l=0;l<f;l++)a[u+l]=s[_+l],Ke[u+l]=c[_+l];if(u+=f,_+=f,n-=f,n<=1){h=!0;break}}if(a[u]=a[d],Ke[u]=Ke[d],u++,d++,--o===0){h=!0;break}if(p=Qm(s[_],a,d,o,0,r),p!==0){for(l=0;l<p;l++)a[u+l]=a[d+l],Ke[u+l]=Ke[d+l];if(u+=p,d+=p,o-=p,o===0){h=!0;break}}if(a[u]=s[_],Ke[u]=c[_],u++,_++,--n===1){h=!0;break}m--}while(f>=Ws||p>=Ws);if(h)break;m<0&&(m=0),m+=2}if(this.minGallop=m,m<1&&(this.minGallop=1),n===1){for(l=0;l<o;l++)a[u+l]=a[d+l],Ke[u+l]=Ke[d+l];a[u+o]=s[_],Ke[u+o]=c[_]}else{if(n===0)throw new Error("mergeLow preconditions were not respected");for(l=0;l<n;l++)a[u+l]=s[_+l],Ke[u+l]=c[_+l]}}mergeHigh(t,n,i,o){const{compare:r}=this,{array:a}=this,{tmp:s}=this,{tmpIndex:c}=this;let l=0;for(l=0;l<o;l++)s[l]=a[i+l],c[l]=Ke[i+l];let _=t+n-1,d=o-1,u=i+o-1,m=0,f=0;if(a[u]=a[_],Ke[u]=Ke[_],u--,_--,--n===0){for(m=u-(o-1),l=0;l<o;l++)a[m+l]=s[l],Ke[m+l]=c[l];return}if(o===1){for(u-=n,_-=n,f=u+1,m=_+1,l=n-1;l>=0;l--)a[f+l]=a[m+l],Ke[f+l]=Ke[m+l];a[u]=s[d],Ke[u]=c[d];return}let{minGallop:p}=this;for(;;){let h=0,b=0,g=!1;do if(r(s[d],a[_])<0){if(a[u]=a[_],Ke[u]=Ke[_],u--,_--,h++,b=0,--n===0){g=!0;break}}else if(a[u]=s[d],Ke[u]=c[d],u--,d--,b++,h=0,--o===1){g=!0;break}while((h|b)<p);if(g)break;do{if(h=n-Xm(s[d],a,t,n,n-1,r),h!==0){for(u-=h,_-=h,n-=h,f=u+1,m=_+1,l=h-1;l>=0;l--)a[f+l]=a[m+l],Ke[f+l]=Ke[m+l];if(n===0){g=!0;break}}if(a[u]=s[d],Ke[u]=c[d],u--,d--,--o===1){g=!0;break}if(b=o-Qm(a[_],s,0,o,o-1,r),b!==0){for(u-=b,d-=b,o-=b,f=u+1,m=d+1,l=0;l<b;l++)a[f+l]=s[m+l],Ke[f+l]=c[m+l];if(o<=1){g=!0;break}}if(a[u]=a[_],Ke[u]=Ke[_],u--,_--,--n===0){g=!0;break}p--}while(h>=Ws||b>=Ws);if(g)break;p<0&&(p=0),p+=2}if(this.minGallop=p,p<1&&(this.minGallop=1),o===1){for(u-=n,_-=n,f=u+1,m=_+1,l=n-1;l>=0;l--)a[f+l]=a[m+l],Ke[f+l]=Ke[m+l];a[u]=s[d],Ke[u]=c[d]}else{if(o===0)throw new Error("mergeHigh preconditions were not respected");for(m=u-(o-1),l=0;l<o;l++)a[m+l]=s[l],Ke[m+l]=c[l]}}}function nB(e,t,n,i){if(!Array.isArray(e))throw new TypeError(`The "array" argument must be an array. Received ${e}`);Ke=[];const{length:o}=e;let r=0;for(;r<o;)Ke[r]=r++;t?typeof t!="function"&&(i=n,n=t,t=B0):t=B0,n||(n=0),i||(i=o);let a=i-n;if(a<2)return Ke;let s=0;if(a<kS)return s=$0(e,n,i,t),G0(e,n,i,n+s,t),Ke;const c=new tB(e,t),l=eB(a);do{if(s=$0(e,n,i,t),s<l){let _=a;_>l&&(_=l),G0(e,n,n+_,n+s,t),s=_}c.pushRun(n,s),c.mergeRuns(),a-=s,n+=s}while(a!==0);return c.forceMergeRuns(),Ke}var iB={sort:nB};const rB=Object.prototype.hasOwnProperty;var oB=(e,t)=>rB.call(e,t);const Lf=oB,{isObject:z0,isArray:aB}=di,Ff="before",MS="after-prop",LS="after-colon",FS="after-value",PS="after",BS="before-all",$S="after-all",sB="[",lB="]",cB="{",dB="}",uB=",",_B="",mB="-",Pf=[Ff,MS,LS,FS,PS],pB=[Ff,BS,$S].map(Symbol.for),US=":",Y0=void 0,Dl=(e,t)=>Symbol.for(e+US+t),dm=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),qp=(e,t,n,i,o,r)=>{const a=Dl(o,i);if(!Lf(t,a))return;const s=n===i?a:Dl(o,n);dm(e,s,t[a]),r&&delete t[a]},GS=(e,t,n,i,o)=>{Pf.forEach(r=>{qp(e,t,n,i,r,o)})},fB=(e,t,n)=>{t!==n&&Pf.forEach(i=>{const o=Dl(i,n);if(!Lf(e,o)){qp(e,e,n,t,i,!0);return}const r=e[o];delete e[o],qp(e,e,n,t,i,!0),dm(e,Dl(i,t),r)})},Zm=(e,t)=>{pB.forEach(n=>{const i=t[n];i&&dm(e,n,i)})},hB=(e,t,n)=>(n.forEach(i=>{!Lf(t,i)||(e[i]=t[i],GS(e,t,i,i))}),e);var um={SYMBOL_PREFIXES:Pf,PREFIX_BEFORE:Ff,PREFIX_AFTER_PROP:MS,PREFIX_AFTER_COLON:LS,PREFIX_AFTER_VALUE:FS,PREFIX_AFTER:PS,PREFIX_BEFORE_ALL:BS,PREFIX_AFTER_ALL:$S,BRACKET_OPEN:sB,BRACKET_CLOSE:lB,CURLY_BRACKET_OPEN:cB,CURLY_BRACKET_CLOSE:dB,COLON:US,COMMA:uB,MINUS:mB,EMPTY:_B,UNDEFINED:Y0,symbol:Dl,define:dm,copy_comments:GS,swap_comments:fB,assign_non_prop_comments:Zm,assign(e,t,n){if(!z0(e))throw new TypeError("Cannot convert undefined or null to object");if(!z0(t))return e;if(n===Y0)n=Object.keys(t),Zm(e,t);else if(aB(n))n.length===0&&Zm(e,t);else throw new TypeError("keys must be array or undefined");return hB(e,t,n)}};const{isArray:gB}=di,{sort:bB}=iB,{SYMBOL_PREFIXES:EB,UNDEFINED:H0,symbol:vB,copy_comments:SB,swap_comments:zS}=um,yB=e=>{const{length:t}=e;let n=0;const i=t/2;for(;n<i;n++)zS(e,n,t-n-1)},V0=(e,t,n,i,o)=>{SB(e,t,n+i,n,o)},Ka=(e,t,n,i,o,r)=>{if(o>0){let s=i;for(;s-- >0;)V0(e,t,n+s,o,r);return}let a=0;for(;a<i;){const s=a++;V0(e,t,n+s,o,r)}},W0=(e,t)=>{EB.forEach(n=>{const i=vB(n,t);delete e[i]})},NB=(e,t)=>{let n=t;for(;n in e;)n=e[n];return n};class Zc extends Array{splice(...t){const{length:n}=this,i=super.splice(...t);let[o,r,...a]=t;o<0&&(o+=n),arguments.length===1?r=n-o:r=Math.min(n-o,r);const{length:s}=a,c=s-r,l=o+r,_=n-l;return Ka(this,this,l,_,c,!0),i}slice(...t){const{length:n}=this,i=super.slice(...t);if(!i.length)return new Zc;let[o,r]=t;return r===H0?r=n:r<0&&(r+=n),o<0?o+=n:o===H0&&(o=0),Ka(i,this,o,r-o,-o),i}unshift(...t){const{length:n}=this,i=super.unshift(...t),{length:o}=t;return o>0&&Ka(this,this,0,n,o,!0),i}shift(){const t=super.shift(),{length:n}=this;return W0(this,0),Ka(this,this,1,n,-1,!0),t}reverse(){return super.reverse(),yB(this),this}pop(){const t=super.pop();return W0(this,this.length),t}concat(...t){let{length:n}=this;const i=super.concat(...t);return t.length&&(Ka(i,this,0,this.length,0),t.forEach(o=>{const r=n;n+=gB(o)?o.length:1,o instanceof Zc&&Ka(i,o,0,o.length,r)})),i}sort(...t){const n=bB(this,...t.slice(0,1)),i=Object.create(null);return n.forEach((o,r)=>{if(o===r)return;const a=NB(i,o);a!==r&&(i[r]=a,zS(this,r,a))}),this}}var YS={CommentArray:Zc};const CB=xS.exports,{CommentArray:AB}=YS,{PREFIX_BEFORE:Jc,PREFIX_AFTER_PROP:OB,PREFIX_AFTER_COLON:TB,PREFIX_AFTER_VALUE:HS,PREFIX_AFTER:Bf,PREFIX_BEFORE_ALL:wB,PREFIX_AFTER_ALL:RB,BRACKET_OPEN:xB,BRACKET_CLOSE:j0,CURLY_BRACKET_OPEN:DB,CURLY_BRACKET_CLOSE:q0,COLON:VS,COMMA:WS,MINUS:K0,EMPTY:IB,UNDEFINED:_m,define:$f,assign_non_prop_comments:kB}=um,jS=e=>CB.tokenize(e,{comment:!0,loc:!0}),Uf=[];let ra=null,Dr=null;const Gf=[];let oa,qS=!1,KS=!1,Il=null,kl=null,fi=null,QS,ed=null;const XS=()=>{Gf.length=Uf.length=0,kl=null,oa=_m},MB=()=>{XS(),Il.length=0,Dr=ra=Il=kl=fi=ed=null},zf=e=>Symbol.for(oa!==_m?e+VS+oa:e),Yf=(e,t)=>ed?ed(e,t):t,ZS=()=>{const e=new SyntaxError(`Unexpected token ${fi.value.slice(0,1)}`);throw Object.assign(e,fi.loc.start),e},JS=()=>{const e=new SyntaxError("Unexpected end of JSON input");throw Object.assign(e,kl?kl.loc.end:{line:1,column:0}),e},ir=()=>{const e=Il[++QS];KS=fi&&e&&fi.loc.end.line===e.loc.start.line||!1,kl=fi,fi=e},Kp=()=>(fi||JS(),fi.type==="Punctuator"?fi.value:fi.type),La=e=>Kp()===e,Lc=e=>{La(e)||ZS()},Hf=e=>{Uf.push(ra),ra=e},Vf=()=>{ra=Uf.pop()},ey=()=>{if(!Dr)return;const e=[];for(const n of Dr)if(n.inline)e.push(n);else break;const{length:t}=e;!t||(t===Dr.length?Dr=null:Dr.splice(0,t),$f(ra,zf(Bf),e))},Yo=e=>{!Dr||($f(ra,zf(e),Dr),Dr=null)},Ir=e=>{const t=[];for(;fi&&(La("LineComment")||La("BlockComment"));){const n=qe(H({},fi),{inline:KS});t.push(n),ir()}if(!qS&&!!t.length){if(e){$f(ra,zf(e),t);return}Dr=t}},td=(e,t)=>{t&&Gf.push(oa),oa=e},ty=()=>{oa=Gf.pop()},LB=()=>{const e={};Hf(e),td(_m,!0);let t=!1,n;for(Ir();!La(q0)&&!(t&&(Yo(HS),Lc(WS),ir(),Ir(),ey(),La(q0)));)t=!0,Lc("String"),n=JSON.parse(fi.value),td(n),Yo(Jc),ir(),Ir(OB),Lc(VS),ir(),Ir(TB),e[n]=Yf(n,Wf()),Ir();return t&&Yo(Bf),ir(),oa=void 0,t||Yo(Jc),Vf(),ty(),e},FB=()=>{const e=new AB;Hf(e),td(_m,!0);let t=!1,n=0;for(Ir();!La(j0)&&!(t&&(Yo(HS),Lc(WS),ir(),Ir(),ey(),La(j0)));)t=!0,td(n),Yo(Jc),e[n]=Yf(n,Wf()),n++,Ir();return t&&Yo(Bf),ir(),oa=void 0,t||Yo(Jc),Vf(),ty(),e};function Wf(){let e=Kp();if(e===DB)return ir(),LB();if(e===xB)return ir(),FB();let t=IB;e===K0&&(ir(),e=Kp(),t=K0);let n;switch(e){case"String":case"Boolean":case"Null":case"Numeric":return n=fi.value,ir(),JSON.parse(t+n)}}const PB=e=>Object(e)===e,BB=(e,t,n)=>{XS(),Il=jS(e),ed=t,qS=n,Il.length||JS(),QS=-1,ir(),Hf({}),Ir(wB);let i=Wf();return Ir(RB),fi&&ZS(),!n&&i!==null&&(PB(i)||(i=new Object(i)),kB(i,ra)),Vf(),i=Yf("",i),MB(),i};var $B={parse:BB,tokenize:jS};/*!
|
|
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
|
*
|
|
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*/var Xr="",Jm,UB=GB;function GB(e,t){if(typeof e!="string")throw new TypeError("expected a string");if(t===1)return e;if(t===2)return e+e;var n=e.length*t;if(Jm!==e||typeof Jm=="undefined")Jm=e,Xr="";else if(Xr.length>=n)return Xr.substr(0,n);for(;n>Xr.length&&t>1;)t&1&&(Xr+=e),t>>=1,e+=e;return Xr+=e,Xr=Xr.substr(0,n),Xr}const{isArray:jf,isObject:ny,isFunction:Qp,isNumber:zB,isString:YB}=di,HB=UB,{PREFIX_BEFORE_ALL:VB,PREFIX_BEFORE:iy,PREFIX_AFTER_PROP:WB,PREFIX_AFTER_COLON:jB,PREFIX_AFTER_VALUE:qB,PREFIX_AFTER:qf,PREFIX_AFTER_ALL:KB,BRACKET_OPEN:QB,BRACKET_CLOSE:XB,CURLY_BRACKET_OPEN:ZB,CURLY_BRACKET_CLOSE:JB,COLON:e$,COMMA:ry,EMPTY:Qi,UNDEFINED:t$}=um,ep=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Kf=" ",Ta=`
|
|
`,oy="null",ay=e=>`${iy}:${e}`,n$=e=>`${WB}:${e}`,i$=e=>`${jB}:${e}`,sy=e=>`${qB}:${e}`,ly=e=>`${qf}:${e}`,r$={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},o$=e=>(ep.lastIndex=0,ep.test(e)?e.replace(ep,t=>{const n=r$[t];return typeof n=="string"?n:t}):e),cy=e=>`"${o$(e)}"`,a$=(e,t)=>t?`//${e}`:`/*${e}*/`,zi=(e,t,n,i)=>{const o=e[Symbol.for(t)];if(!o||!o.length)return Qi;let r=!1;const a=o.reduce((s,{inline:c,type:l,value:_})=>{const d=c?Kf:Ta+n;return r=l==="LineComment",s+d+a$(_,r)},Qi);return i||r?a+Ta+n:a};let ys=null,Ql=Qi;const s$=()=>{ys=null,Ql=Qi},Ml=(e,t,n)=>e?t?e+t.trim()+Ta+n:e.trimRight()+Ta+n:t?t.trimRight()+Ta+n:Qi,dy=(e,t,n)=>{const i=zi(t,iy,n+Ql,!0);return Ml(i,e,n)},l$=(e,t)=>{const n=t+Ql,{length:i}=e;let o=Qi,r=Qi;for(let a=0;a<i;a++)a!==0&&(o+=ry),o+=Ml(r,zi(e,ay(a),n),n)||Ta+n,o+=Qf(a,e,n)||oy,o+=zi(e,sy(a),n),r=zi(e,ly(a),n);return o+=Ml(r,zi(e,qf,n),n),QB+dy(o,e,t)+XB},c$=(e,t)=>{if(!e)return"null";const n=t+Ql;let i=Qi,o=Qi,r=!0;const a=jf(ys)?ys:Object.keys(e),s=c=>{const l=Qf(c,e,n);if(l===t$)return;r||(i+=ry),r=!1,i+=Ml(o,zi(e,ay(c),n),n)||Ta+n,i+=cy(c)+zi(e,n$(c),n)+e$+zi(e,i$(c),n)+Kf+l+zi(e,sy(c),n),o=zi(e,ly(c),n)};return a.forEach(s),i+=Ml(o,zi(e,qf,n),n),ZB+dy(i,e,t)+JB};function Qf(e,t,n){let i=t[e];switch(ny(i)&&Qp(i.toJSON)&&(i=i.toJSON(e)),Qp(ys)&&(i=ys.call(t,e,i)),typeof i){case"string":return cy(i);case"number":return Number.isFinite(i)?String(i):oy;case"boolean":case"null":return String(i);case"object":return jf(i)?l$(i,n):c$(i,n)}}const d$=e=>YB(e)?e:zB(e)?HB(Kf,e):Qi,{toString:u$}=Object.prototype,_$=["[object Number]","[object String]","[object Boolean]"],m$=e=>{if(typeof e!="object")return!1;const t=u$.call(e);return _$.includes(t)};var p$=(e,t,n)=>{const i=d$(n);if(!i)return JSON.stringify(e,t);!Qp(t)&&!jf(t)&&(t=null),ys=t,Ql=i;const o=m$(e)?JSON.stringify(e):Qf("",{"":e},Qi);return s$(),ny(e)?zi(e,VB,Qi).trimLeft()+o+zi(e,KB,Qi).trimRight():o};const{parse:f$,tokenize:h$}=$B,g$=p$,{CommentArray:b$}=YS,{assign:E$}=um;var Q0={parse:f$,stringify:g$,tokenize:h$,CommentArray:b$,assign:E$};function Fc(e,t){return e.schema.hook(v$,new j.ModelPath(e),e.data,{blockStates:t})}const v$={base({},e,t){return t},choice({switchNode:e},t,n,i){return e.hook(this,t,n,i)},list({children:e},t,n,i){if(!Array.isArray(n))return n;const o=n.map((r,a)=>e.hook(this,t.push(a),r.node,i));for(const r of Object.getOwnPropertySymbols(n))o[r]=n[r];return o},map({children:e,config:t},n,i,o){var s,c;if(i===void 0)return;const r=((s=t.validation)==null?void 0:s.validator)==="block_state_map"?(c=o.blockStates)==null?void 0:c[j.relativePath(n,t.validation.params.id).get()]:null,a={};Object.keys(i).forEach(l=>{var _;r&&!Object.keys((_=r.properties)!=null?_:{}).includes(l)||(a[l]=e.hook(this,n.push(l),i[l],o))});for(const l of Object.getOwnPropertySymbols(i))a[l]=i[l];return a},object({getActiveFields:e},t,n,i){if(n==null||typeof n!="object")return n;const o={},r=e(t);Object.keys(r).filter(a=>r[a].enabled(t)).forEach(a=>{const s=r[a].hook(this,t.push(a),n[a],i);s!=null&&(o[a]=s)});for(const a of Object.getOwnPropertySymbols(n))o[a]=n[a];return o}},tp={"2_spaces":2,"4_spaces":4,tabs:" ",minified:void 0},np={json:{parse:Q0.parse,stringify:(e,t)=>Q0.stringify(e,null,t)+`
|
|
`},yaml:{parse:Ep.load,stringify:(e,t)=>Ep.dump(e,{flowLevel:t===void 0?0:-1,indent:typeof t=="string"?4:t})}};function S$({name:e,model:t,blockStates:n,doCopy:i,doDownload:o,doImport:r,copySuccess:a,onError:s}){const{locale:c}=An(),[l,_]=we(si.getIndent()),[d,u]=we(si.getFormat()),[m,f]=we(si.getHighlighting()),p=an(null),h=an(),b=an(),g=an(),v=an(),E=li((y,A)=>{const R=Fc(y,A);return np[d].stringify(R,tp[l])},[l,d]);ct(()=>{h.current=()=>{if(!(!t||!n))try{const y=E(t,n);v.current.setValue(y)}catch(y){y instanceof Error?(y.message=`Error getting JSON output: ${y.message}`,s(y)):s(`Error getting JSON output: ${or(y)}`),console.error(y),v.current.setValue("")}},b.current=()=>{const y=v.current.getValue();if(y.length!==0)try{const A=np[d].parse(y);t==null||t.reset(j.DataModel.wrapLists(A),!1)}catch(A){A instanceof Error?(A.message=`Error importing: ${A.message}`,s(A)):s(`Error importing: ${or(A)}`),console.error(A)}}},[t,n,l,d,m]),ct(()=>{if(m){const y=DP.edit("editor");y.setOptions({fontSize:14,showFoldWidgets:!1,highlightSelectedWord:!1}),y.$blockScrolling=1/0,y.on("blur",A=>b.current(A)),y.getSession().setMode("ace/mode/json"),v.current={getValue(){return y.getSession().getValue()},setValue(A){y.getSession().setValue(A)},configure(A,R){y.setOption("useSoftTabs",A!=="tabs"),y.setOption("tabSize",A==="tabs"?4:tp[A]),y.getSession().setMode(`ace/mode/${R}`)},select(){y.selectAll()}}}else v.current={getValue(){return g.current.value},setValue(y){g.current.value=y},configure(){},select(){}}},[m]),hd(t,()=>{h.current()}),ct(()=>{t&&h.current()},[t]),ct(()=>{v.current.configure(l,d),h.current()},[l,d,m]),ct(()=>{i&&t&&n&&navigator.clipboard.writeText(E(t,n)).then(()=>{a()})},[i]),ct(()=>{if(o&&t&&n&&p.current){const y=encodeURIComponent(E(t,n));p.current.setAttribute("href",`data:text/json;charset=utf-8,${y}`),p.current.setAttribute("download",`${e}.${d}`),p.current.click()}},[o]),ct(()=>{r&&v.current&&(v.current.setValue(""),v.current.select())},[r]);const S=y=>{si.setIndent(y),_(y)},N=y=>{si.setFormat(y),u(y)},C=y=>{si.setHighlighting(y),f(y)};return T(vt,null,T("div",{class:"controls source-controls"},T(Ri,{icon:"gear",tooltip:c("output_settings"),"data-cy":"source-controls"},Object.entries(tp).map(([y])=>T(tt,{label:c(`indentation.${y}`),active:l===y,onClick:()=>S(y)})),T("hr",null),Object.keys(np).map(y=>T(tt,{label:c(`format.${y}`),active:d===y,onClick:()=>N(y)})),T("hr",null),T(tt,{icon:m?"square_fill":"square",label:c("highlighting"),onClick:()=>C(!m)}))),m?T("pre",{id:"editor",class:"source"}):T("textarea",{ref:g,class:"source",spellcheck:!1,autocorrect:"off",onBlur:b.current}),T("a",{ref:p,style:"display: none;"}))}function uy(e,t){for(var n in t)e[n]=t[n];return e}function Xp(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function Zp(e){this.props=e}function _y(e,t){function n(o){var r=this.props.ref,a=r==o.ref;return!a&&r&&(r.call?r(null):r.current=null),t?!t(this.props,o)||!a:Xp(this.props,o)}function i(o){return this.shouldComponentUpdate=n,T(e,o)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(Zp.prototype=new fr).isPureReactComponent=!0,Zp.prototype.shouldComponentUpdate=function(e,t){return Xp(this.props,e)||Xp(this.state,t)};var X0=Qe.__b;Qe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),X0&&X0(e)};var y$=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function N$(e){function t(n,i){var o=uy({},n);return delete o.ref,e(o,(i=n.ref||i)&&(typeof i!="object"||"current"in i)?i:null)}return t.$$typeof=y$,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Z0=function(e,t){return e==null?null:hr(hr(e).map(t))},C$={map:Z0,forEach:Z0,count:function(e){return e?hr(e).length:0},only:function(e){var t=hr(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:hr},A$=Qe.__e;Qe.__e=function(e,t,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}A$(e,t,n)};var J0=Qe.unmount;function Pc(){this.__u=0,this.t=null,this.__b=null}function my(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function O$(e){var t,n,i;function o(r){if(t||(t=e()).then(function(a){n=a.default||a},function(a){i=a}),i)throw i;if(!n)throw t;return T(n,r)}return o.displayName="Lazy",o.__f=!0,o}function el(){this.u=null,this.o=null}Qe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),J0&&J0(e)},(Pc.prototype=new fr).__c=function(e,t){var n=t.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var o=my(i.__v),r=!1,a=function(){r||(r=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--i.__u){if(i.state.__e){var l=i.state.__e;i.__v.__k[0]=function d(u,m,f){return u&&(u.__v=null,u.__k=u.__k&&u.__k.map(function(p){return d(p,m,f)}),u.__c&&u.__c.__P===m&&(u.__e&&f.insertBefore(u.__e,u.__d),u.__c.__e=!0,u.__c.__P=f)),u}(l,l.__c.__P,l.__c.__O)}var _;for(i.setState({__e:i.__b=null});_=i.t.pop();)_.forceUpdate()}},c=t.__h===!0;i.__u++||c||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(a,a)},Pc.prototype.componentWillUnmount=function(){this.t=[]},Pc.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function r(a,s,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(l){typeof l.__c=="function"&&l.__c()}),a.__c.__H=null),(a=uy({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=s),a.__c=null),a.__k=a.__k&&a.__k.map(function(l){return r(l,s,c)})),a}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&T(vt,null,e.fallback);return o&&(o.__h=null),[T(vt,null,t.__e?null:e.children),o]};var eb=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function T$(e){return this.getChildContext=function(){return e.context},e.children}function w$(e){var t=this,n=e.i;t.componentWillUnmount=function(){ds(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(i){this.childNodes.push(i),t.i.appendChild(i)},insertBefore:function(i,o){this.childNodes.push(i),t.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),t.i.removeChild(i)}}),ds(T(T$,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function R$(e,t){return T(w$,{__v:e,i:t})}(el.prototype=new fr).__e=function(e){var t=this,n=my(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),eb(t,e,i)):o()};n?n(r):r()}},el.prototype.render=function(e){this.u=null,this.o=new Map;var t=hr(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},el.prototype.componentDidUpdate=el.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){eb(e,n,t)})};var py=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,x$=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,D$=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function I$(e,t,n){return t.__k==null&&(t.textContent=""),ds(e,t),typeof n=="function"&&n(),e?e.__c:null}function k$(e,t,n){return Hb(e,t),typeof n=="function"&&n(),e?e.__c:null}fr.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(fr.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var tb=Qe.event;function M$(){}function L$(){return this.cancelBubble}function F$(){return this.defaultPrevented}Qe.event=function(e){return tb&&(e=tb(e)),e.persist=M$,e.isPropagationStopped=L$,e.isDefaultPrevented=F$,e.nativeEvent=e};var fy,nb={configurable:!0,get:function(){return this.class}},ib=Qe.vnode;Qe.vnode=function(e){var t=e.type,n=e.props,i=n;if(typeof t=="string"){for(var o in i={},n){var r=n[o];o==="value"&&"defaultValue"in n&&r==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&r===!0?r="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!D$(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():x$.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():r===null&&(r=void 0),i[o]=r)}t=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=hr(n.children).forEach(function(a){a.props.selected=i.value.indexOf(a.props.value)!=-1})),t=="select"&&i.defaultValue!=null&&(i.value=hr(n.children).forEach(function(a){a.props.selected=i.multiple?i.defaultValue.indexOf(a.props.value)!=-1:i.defaultValue==a.props.value})),e.props=i}t&&n.class!=n.className&&(nb.enumerable="className"in n,n.className!=null&&(i.class=n.className),Object.defineProperty(i,"className",nb)),e.$$typeof=py,ib&&ib(e)};var rb=Qe.__r;Qe.__r=function(e){rb&&rb(e),fy=e.__c};var P$={ReactCurrentDispatcher:{current:{readContext:function(e){return fy.__n[e.__c].props.value}}}};typeof performance=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function B$(e){return T.bind(null,e)}function hy(e){return!!e&&e.$$typeof===py}function $$(e){return hy(e)?Vb.apply(null,arguments):e}function U$(e){return!!e.__k&&(ds(null,e),!0)}function G$(e){return e&&(e.base||e.nodeType===1&&e)||null}var z$=function(e,t){return e(t)},Jp={useState:we,useReducer:Zb,useEffect:ct,useLayoutEffect:Jb,useRef:an,useImperativeHandle:TC,useMemo:bn,useCallback:li,useContext:Os,useDebugValue:wC,version:"16.8.0",Children:C$,render:I$,hydrate:k$,unmountComponentAtNode:U$,createPortal:R$,createElement:T,createContext:Cs,createFactory:B$,cloneElement:$$,createRef:dC,Fragment:vt,isValidElement:hy,findDOMNode:G$,Component:fr,PureComponent:Zp,memo:_y,forwardRef:N$,unstable_batchedUpdates:z$,StrictMode:vt,Suspense:Pc,SuspenseList:el,lazy:O$,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:P$};class gy extends j.DataModel{constructor(t,n,i,o){super(t),this.mapper=n,this.getter=i,this.setter=o}map(t){return this.mapper(t)}get(t){return this.getter(t)}set(t,n,i){return this.setter(t,n,i)}}const Y$=["loot_table.type","loot_entry.type","function.function","condition.condition","criterion.trigger","recipe.type","dimension.generator.type","dimension.generator.biome_source.type","dimension.generator.biome_source.preset","carver.type","feature.type","decorator.type","feature.tree.minimum_size.type","block_state_provider.type","trunk_placer.type","foliage_placer.type","tree_decorator.type","int_provider.type","float_provider.type","height_provider.type","structure_feature.type","surface_builder.type","processor.processor_type","rule_test.predicate_type","pos_rule_test.predicate_type","template_element.element_type","block_placer.type","block_predicate.type","material_rule.type","material_condition.type","structure_placement.type","density_function.type","root_placer.type","entity.type_specific.cat.variant","entity.type_specific.frog.variant"],H$=["number_provider.type","score_provider.type","nbt_provider.type","int_provider.type","float_provider.type","height_provider.type"],V$=["feature.config","decorator.config","int_provider.value","float_provider.value","block_state_provider.simple_state_provider.state","block_state_provider.rotated_block_provider.state","block_state_provider.weighted_state_provider.entries.entry.data","rule_test.block_state","structure_feature.config","surface_builder.config","template_pool.elements.entry.element","decorator.block_survives_filter.state","material_rule.block.result_state"],W$=["loot_entry.type","function.function","condition.condition","criterion.trigger","dimension.generator.type","dimension.generator.biome_source.type","feature.type","decorator.type","block_state_provider.type","feature.tree.minimum_size.type","trunk_placer.type","foliage_placer.type","tree_decorator.type","block_placer.type","rule_test.predicate_type","processor.processor_type","template_element.element_type","nbt_operation.op","number_provider.value","score_provider.name","score_provider.target","nbt_provider.source","nbt_provider.target","generator_biome.biome","block_predicate.type","material_rule.type","material_condition.type","density_function.type","root_placer.type","entity.type_specific.type"],j$=["function.set_nbt.tag","advancement.display.icon.nbt","text_component_object.nbt","entity.nbt","block.nbt","item.nbt"],q$=["generator_biome.parameters.temperature","generator_biome.parameters.humidity","generator_biome.parameters.continentalness","generator_biome.parameters.erosion","generator_biome.parameters.depth","generator_biome.parameters.weirdness","feature.end_spike.crystal_beam_target","feature.end_gateway.exit","decorator.block_filter.offset","block_predicate.matching_blocks.offset","block_predicate.matching_fluids.offset","model_element.from","model_element.to","model_element.rotation.origin","model_element.faces.uv","item_transform.rotation","item_transform.translation","item_transform.scale","generator_structure.random_spread.locate_offset"],ob=["noise_settings.surface_rule","noise_settings.noise.terrain_shaper"],K$=["density_function.argument","density_function.argument1","density_function.argument2","density_function.input","density_function.when_in_range","density_function.when_out_of_range"],Q$=e=>Xt.generators.find(t=>t.id===e.replace(/^\$/,"")),X$=new j.DataModel(j.MapNode(j.StringNode(),j.StringNode()),{historyMax:0});function Z$({model:e,lang:t,version:n,blockStates:i}){var c;const o=new j.ModelPath(e),[r,a,s]=e.schema.hook(by,o,fd(e.data),t,n,i,{});return(c=a==null?void 0:a.props)!=null&&c.children.some(l=>l)?T("div",{class:`node ${e.schema.type(o)}-node`,"data-category":e.schema.category(o)},T("div",{class:"node-header"},r,a),T("div",{class:"node-body"},s)):s}const by={base(){return[null,null,null]},boolean(e,t,n,i,o,r,a){return[null,T(J$,H({},qe(H({},e),{path:t,value:n,lang:i,version:o,states:r,ctx:a}))),null]},choice({choices:e,config:t,switchNode:n},i,o,r,a,s,c){const l=n.activeCase(i,!0),_=t!=null&&t.context?new j.ModelPath(i.getModel(),new j.Path(i.getArray(),[t.context])):i,[d,u,m]=l.node.hook(this,_,o,r,a,s,c);if(e.length===1)return[d,u,m];const f=t!=null&&t.choiceContext?new j.Path([],[t.choiceContext]):t!=null&&t.context?new j.Path([],[t.context]):i,p=b=>{var S;const g=(S=e.find(N=>N.type===b))!=null?S:l,v=g.node.default(),E=g.change?g.change(j.DataModel.unwrapLists(o)):t.choiceContext==="feature"&&(v==null?void 0:v.type)==="minecraft:decorated"?v.config.feature:v;i.model.set(i,j.DataModel.wrapLists(E))},h=T("select",{value:l.type,onChange:b=>p(b.target.value)},e.map(b=>T("option",{value:b.type},nd(r,f.contextPush(b.type)))));return[d,T(vt,null,h,u),m]},list({children:e,config:t},n,i,o,r,a,s){const{expand:c,collapse:l,isToggled:_}=ip(),[d,u]=we(50),m=n.getContext().join(".");if(q$.includes(m)){const g=T(vt,null,[...Array(t.maxLength)].map((E,S)=>T(tl,{lang:o,path:n.modelPush(S)})),T("div",{class:"fixed-list"})),v=T(vt,null,[...Array(t.maxLength)].map((E,S)=>{var C;return e.hook(this,n.modelPush(S),(C=i==null?void 0:i[S])==null?void 0:C.node,o,r,a,s)[1]}));return[g,v,null]}const f=()=>{Array.isArray(i)||(i=[]);const g=j.DataModel.wrapLists(e.default());n.model.set(n,[{node:g,id:Oa()},...i])},p=()=>{Array.isArray(i)||(i=[]);const g=j.DataModel.wrapLists(e.default());n.model.set(n,[...i,{node:g,id:Oa()}])},h=T("button",{class:"add tooltipped tip-se","aria-label":Ht(o,"add_top"),onClick:f},At.plus_circle),b=T(vt,null,i&&Array.isArray(i)&&i.map(({node:g,id:v},E)=>{if(E===d)return T("div",{class:"node node-header"},T("label",null,Ht(o,"entries_hidden",`${i.length-d}`)),T("button",{onClick:()=>u(Math.min(d+50,i.length))},Ht(o,"entries_hidden.more","50")),T("button",{onClick:()=>u(i.length)},Ht(o,"entries_hidden.all")));if(E>d)return null;const S=n.push(E).contextPush("entry"),N=e.type(S)==="object",C=_(v);if(N&&(C===!1||C===void 0&&i.length>20))return T("div",{class:"node node-header","data-category":e.category(S)},T(tl,{lang:o,path:S,nested:!0}),T("button",{class:"toggle tooltipped tip-se","aria-label":`${Ht(o,"expand")}
|
|
${Ht(o,"expand_all","Ctrl")}`,onClick:c(v)},At.chevron_right),T("label",null,nd(o,S,`${E}`)),T(ab,{key:v,path:S,value:g,schema:e}));const y=()=>S.set(void 0),A=()=>{const M=[...n.get()];[M[E-1],M[E]]=[M[E],M[E-1]],n.model.set(n,M)},R=()=>{const M=[...n.get()];[M[E+1],M[E]]=[M[E],M[E+1]],n.model.set(n,M)};return T(rp,{key:v,path:S,schema:e,value:g,lang:o,version:r,states:a,actions:[{icon:"duplicate",label:"duplicate",onSelect:()=>{const M=[...n.get()];M.splice(E,0,{id:Oa(),node:fd(g)}),n.model.set(n,M)}}],ctx:qe(H({},s),{index:(E===0?1:0)+(E===i.length-1?2:0)})},N&&T("button",{class:"toggle tooltipped tip-se","aria-label":`${Ht(o,"collapse")}
|
|
${Ht(o,"collapse_all","Ctrl")}`,onClick:l(v)},At.chevron_down),T("button",{class:"remove tooltipped tip-se","aria-label":Ht(o,"remove"),onClick:y},At.trashcan),i.length>1&&T("div",{class:"node-move"},T("button",{class:"move tooltipped tip-se","aria-label":Ht(o,"move_up"),onClick:A,disabled:E===0},At.chevron_up),T("button",{class:"move tooltipped tip-se","aria-label":Ht(o,"move_down"),onClick:R,disabled:E===i.length-1},At.chevron_down)))}),i&&i.length>0&&i.length<=d&&T("div",{class:"node node-header"},T("button",{class:"add tooltipped tip-se","aria-label":Ht(o,"add_bottom"),onClick:p},At.plus_circle)));return[null,h,b]},map({children:e,keys:t,config:n},i,o,r,a,s,c){var g,v,E,S,N;const{expand:l,collapse:_,isToggled:d}=ip(),u=new j.ModelPath(X$,new j.Path([i5(i.toString())])),m=()=>{const C=u.get();i.model.set(i.push(C),j.DataModel.wrapLists(e.default()))},f=((g=n.validation)==null?void 0:g.validator)==="block_state_map"?s==null?void 0:s[j.relativePath(i,n.validation.params.id).get()]:null,p=f!=null&&f.properties?j.StringNode(null,{enum:Object.keys((v=f.properties)!=null?v:{})}):t;if(f&&i.last()==="Properties"){typeof o!="object"&&(o={});const C=Object.entries((E=f.properties)!=null?E:{}).map(([y,A])=>[y,j.StringNode(null,{enum:A})]);return Object.entries((S=f.properties)!=null?S:{}).forEach(([y,A])=>{typeof o[y]!="string"?i.model.errors.add(i.push(y),"error.expected_string"):A.includes(o[y])||i.model.errors.add(i.push(y),"error.invalid_enum_option",o[y])}),j.ObjectNode(Object.fromEntries(C)).hook(this,i,o,r,a,s,c)}const h=T(vt,null,p.hook(this,u,(N=u.get())!=null?N:"",r,a,s,c)[1],T("button",{class:"add tooltipped tip-se","aria-label":Ht(r,"add"),onClick:m},At.plus_circle)),b=T(vt,null,typeof o=="object"&&Object.entries(o).map(([C,y])=>{var F,q,$,Y;const A=i.modelPush(C),R=e.type(A)==="object",D=d(C);if(R&&(D===!1||D===void 0&&o.length>20))return T("div",{class:"node node-header","data-category":e.category(A)},T(tl,{lang:r,path:A,nested:!0}),T("button",{class:"toggle tooltipped tip-se","aria-label":`${Ht(r,"expand")}
|
|
${Ht(r,"expand_all","Ctrl")}`,onClick:l(C)},At.chevron_right),T("label",null,C),T(ab,{key:C,path:A,value:y,schema:e}));const M=f?j.StringNode(null,{enum:(q=(F=f.properties)==null?void 0:F[C])!=null?q:[]}):e;(($=f==null?void 0:f.properties)==null?void 0:$[C])&&typeof y=="string"&&!((Y=f.properties)!=null&&Y[C].includes(y))&&i.model.errors.add(A,"error.invalid_enum_option",y);const L=()=>A.set(void 0);return T(rp,{key:C,schema:M,path:A,value:y,lang:r,version:a,states:s,ctx:c,label:C},R&&T("button",{class:"toggle tooltipped tip-se","aria-label":`${Ht(r,"collapse")}
|
|
${Ht(r,"collapse_all","Ctrl")}`,onClick:_(C)},At.chevron_down),T("button",{class:"remove tooltipped tip-se","aria-label":Ht(r,"remove"),onClick:L},At.trashcan))}));return[null,h,b]},number(e,t,n,i,o,r,a){return[null,T(e5,H({},qe(H({},e),{path:t,value:n,lang:i,version:o,states:r,ctx:a}))),null]},object({node:e,config:t,getActiveFields:n,getChildModelPath:i},o,r,a,s,c,l){var g;const{expand:_,collapse:d,isToggled:u}=ip();if(o.getArray().length==0&&r5(t.context,r)){const{wrapper:v,fields:E}=o5(n(o),o,r);r=v.data,n=()=>E,i=(S,N)=>new j.ModelPath(v,new j.Path(S.getArray(),["feature"])).push(N)}let m=null,f=null;if(e.optional())if(r===void 0){const v=()=>o.set(j.DataModel.wrapLists(e.default()));f=T("button",{class:"collapse closed tooltipped tip-se","aria-label":Ht(a,"expand"),onClick:v},At.plus_circle)}else{const v=()=>o.set(void 0);f=T("button",{class:"collapse open tooltipped tip-se","aria-label":Ht(a,"remove"),onClick:v},At.trashcan)}const p=o.getContext().join(".");if(K$.includes(p)||ob.includes(p)){const v=u(""),E=ob.includes(p)?v:!v;if(m=T(vt,null,T("button",{class:"toggle tooltipped tip-se","aria-label":Ht(a,E?"collapse":"expand"),onClick:v?d(""):_("")},E?At.chevron_down:At.chevron_right)),!E)return[m,f,null]}const h=typeof r=="object"&&r!==null&&((g=e.default())==null?void 0:g.pools)?qe(H({},l),{loot:r==null?void 0:r.type}):l,b=T(vt,null,typeof r=="object"&&r!==null&&!(e.optional()&&r===void 0)&&Object.entries(n(o)).filter(([v,E])=>E.enabled(o)).map(([v,E])=>{const S=i(o,v),N=S.getContext().join(".");if(H$.includes(N))return null;const[C,y,A]=E.hook(this,S,r[v],a,s,c,h),R=E.type(S)==="object"&&V$.includes(N),D=W$.includes(N);return R||D?(m=T(vt,null,m,T(tl,{lang:a,path:S}),T(Ey,{lang:a,path:S}),C),f=T(vt,null,f,y),R?A:null):T(rp,{key:v,schema:E,path:S,value:r[v],lang:a,version:s,states:c,ctx:h})}));return[m,f,b]},string(e,t,n,i,o,r,a){return[null,T(t5,H({},qe(H({},e),{path:t,value:n,lang:i,version:o,states:r,ctx:a}))),null]}};function ab({path:e,value:t}){var i,o,r,a,s;switch(e.getContext().join(".")){case"loot_table.pools.entry":return T("label",null,(o=(i=t==null?void 0:t.entries)==null?void 0:i.length)!=null?o:0," entries");case"function.set_contents.entries.entry":case"loot_pool.entries.entry":return T("label",null,(s=(r=t==null?void 0:t.name)==null?void 0:r.replace(/^minecraft:/,""))!=null?s:(a=t==null?void 0:t.type)==null?void 0:a.replace(/^minecraft:/,""))}for(const c of Object.values(t!=null?t:{}))if(typeof c=="string")return T("label",null,c.replace(/^minecraft:/,""));return null}function ip(){const[e,t]=we(new Map),[n,i]=we(void 0);return{expand:s=>c=>{c.ctrlKey?(t(new Map),i(!0)):t(l=>new Map(l.set(s,!0)))},collapse:s=>c=>{c.ctrlKey?(t(new Map),i(!1)):t(l=>new Map(l.set(s,!1)))},isToggled:s=>{var c;return e instanceof Map?(c=e.get(s))!=null?c:n:!1}}}function J$({path:e,node:t,value:n,lang:i}){const o=r=>{e.model.set(e,t.optional()&&n===r?void 0:r)};return T(vt,null,T("button",{class:n===!1?"selected":"",onClick:()=>o(!1)},Ht(i,"false")),T("button",{class:n===!0?"selected":"",onClick:()=>o(!0)},Ht(i,"true")))}function e5({path:e,config:t,integer:n,value:i,lang:o}){var s;const r=c=>{const l=c.target.value,_=n?parseInt(l):parseFloat(l);e.model.set(e,_)},a=c=>{const l=c.target.value,_=parseInt(l.slice(1),16);e.model.set(e,_)};return T(vt,null,T("input",{type:"text",value:i!=null?i:"",onBlur:r,onKeyDown:c=>{c.key==="Enter"&&r(c)}}),(t==null?void 0:t.color)&&T("input",{type:"color",value:"#"+((s=i==null?void 0:i.toString(16).padStart(6,"0"))!=null?s:"000000"),onChange:a}),["dimension.generator.seed","dimension.generator.biome_source.seed","world_settings.seed","structure_placement.salt"].includes(e.getContext().join("."))&&T("button",{onClick:()=>YE(e.model),class:"tooltipped tip-se","aria-label":Ht(o,"generate_new_seed")},At.sync))}function t5({path:e,getValues:t,config:n,node:i,value:o,lang:r,version:a,states:s}){var u;const c=m=>{m.stopPropagation();const f=m.target.value;f!==o&&e.model.set(e,f.length===0?void 0:f)},l=t(),_=e.getContext().join("."),d=!js(n)&&(n==null?void 0:n.validator)==="resource"&&typeof n.params.pool=="string"?n.params.pool:void 0;if(j$.includes(_))return T("textarea",{value:o!=null?o:"",onBlur:c});if(js(n)&&!n.additional||Y$.includes(_)){let m=new j.Path([]);return js(n)&&typeof n.enum=="string"?m=m.contextPush(n.enum):d?m=m.contextPush(d):js(n)&&(m=e),T("select",{value:o!=null?o:"",onChange:c},i.optional()&&T("option",{value:""},Ht(r,"unset")),l.map(f=>T("option",{value:f},nd(r,m.contextPush(f.replace(/^minecraft:/,""))))))}else if(!js(n)&&(n==null?void 0:n.validator)==="block_state_key"){const m=s==null?void 0:s[j.relativePath(e,n.params.id).get()],f=Object.keys((u=m==null?void 0:m.properties)!=null?u:{});return T("select",{value:o!=null?o:"",onChange:c},f.map(p=>T("option",null,p)))}else{const m=Oa(),f=d?Q$(d):void 0;return T(vt,null,T("input",{value:o!=null?o:"",onBlur:c,onKeyDown:p=>{p.key==="Enter"&&c(p)},list:l.length>0?m:""}),l.length>0&&T("datalist",{id:m},l.map(p=>T("option",{value:p}))),f&&l.includes(o)&&o.startsWith("minecraft:")&&T("a",{href:`/${f.url}/?version=${a}&preset=${o.replace(/^minecraft:/,"")}`,class:"tooltipped tip-se","aria-label":Ht(r,"follow_reference")},At.link_external))}}function n5({label:e,schema:t,path:n,value:i,lang:o,version:r,states:a,ctx:s,actions:c,children:l}){var E;const _=t.type(n),d=t.category(n),u=n.getContext().join("."),[m,f]=mf(),p=S=>{S.preventDefault(),f()},h=qe(H({},s),{depth:((E=s.depth)!=null?E:0)+1});delete h.index;const[b,g,v]=t.hook(by,n,i,o,r,a,h);return T("div",{class:`node ${_}-node`,"data-category":d},T("div",{class:"node-header",onContextMenu:p},T(tl,{lang:o,path:n}),T(Ey,{lang:o,path:n}),l,b,T("label",null,e!=null?e:nd(o,n,`${n.last()}`),m&&T("div",{class:"node-menu"},c==null?void 0:c.map(S=>{var N;return T("div",{key:S.label,class:"menu-item"},T(tt,{icon:S.icon,tooltip:Ht(o,S.label),tooltipLoc:"se",onClick:()=>S.onSelect()}),T("span",null,(N=S.description)!=null?N:Ht(o,S.label)))}),T("div",{class:"menu-item"},T(tt,{icon:"clippy",tooltip:Ht(o,"copy_context"),tooltipLoc:"se",onClick:()=>navigator.clipboard.writeText(u)}),T("span",null,u)))),g),v&&T("div",{class:"node-body"},v))}const rp=_y(n5,(e,t)=>e.schema===t.schema&&e.lang===t.lang&&e.path.equals(t.path)&&xa(e.ctx,t.ctx)&&xa(e.value,t.value));function js(e){return!!(e!=null&&e.enum)}function i5(e){var t=0,n,i;for(n=0;n<e.length;n++)i=e.charCodeAt(n),t=(t<<5)-t+i,t|=0;return t}function nd(e,t,...n){const i=t.getContext();for(let o=0;o<i.length;o+=1){const r=i.slice(o).join("."),a=Ht(e,r,...n);if(r!==a)return a}return i[i.length-1]}function tl({lang:e,path:t,nested:n}){var r;t.model instanceof gy&&(t=t.model.map(t).withModel(t.model));const i=n?t.model.errors.getAll().filter(a=>a.path.startsWith(t)):t.model.errors.get(t,!0);if(i.length===0)return null;const o=Ht(e,i[0].error,...(r=i[0].params)!=null?r:[]);return vy("node-error","issue_opened",o)}function Ey({lang:e,path:t}){const n=t.contextPush("help").getContext().join("."),i=Ht(e,n);return i===n?null:vy("node-help","info",i)}const vy=(e,t,n)=>{const[i,o]=mf();return T("div",{class:`node-icon ${e}${i?" show":""}`,onClick:o},At[t],T("span",{class:"icon-popup"},n))};function r5(e,t){var n;return e==="feature"&&((n=t==null?void 0:t.type)==null?void 0:n.replace(/^minecraft:/,""))==="decorated"&&Pa(t==null?void 0:t.config)}function o5(e,t,n){const i=[],o=nl(n,i),r={type:e.type,config:j.ObjectNode({decorators:j.ListNode(Nv),feature:Cv},{context:"feature.decorated"})},a=j.ObjectNode(r,{context:"feature"}),s=new j.Path(["config","feature"]),c=new j.Path(["config","decorators"]),l=t.getModel(),_=new gy(a,d=>{if(d.startsWith(s))return new j.Path([...[...Array(i.length-1)].flatMap(()=>["config","feature"]),...d.modelArr]);if(d.startsWith(c)){if(d.modelArr.length===2)return new j.Path([]);const u=d.modelArr[2];if(typeof u=="number")return new j.Path([...[...Array(u)].flatMap(()=>["config","feature"]),"config","decorator",...d.modelArr.slice(3)])}return d},d=>{if(d.equals(c)){const u=[];return nl(l.data,u),u}return l.get(_.map(d))},(d,u,m)=>{if(d.startsWith(s)){const f=[];nl(l.data,f);const p=new j.Path([...[...Array(f.length-1)].flatMap(()=>["config","feature"]),...d.modelArr]);return l.set(p,u,m)}else if(d.startsWith(c)){const f=d.modelArr[2];if(d.modelArr.length===2){const p=_.get(s);return l.set(new j.Path,ef(p,u),m)}else if(typeof f=="number")if(d.modelArr.length===3&&u===void 0){const p=_.get(s),h=[];nl(l.data,h),h.splice(f,1);const b=ef(p,h);return l.set(new j.Path,b,m)}else{const p=new j.Path([...[...Array(f)].flatMap(()=>["config","feature"]),"config","decorator",...d.modelArr.slice(3)]);return l.set(p,u,m)}}l.set(d,u,m)});return _.data={type:l.data.type,config:{decorators:i,feature:o}},_.errors=l.errors,{fields:r,wrapper:_}}function nl(e,t){var n,i;return((n=e==null?void 0:e.type)==null?void 0:n.replace(/^minecraft:/,""))!=="decorated"||!Pa(e==null?void 0:e.config)?e:(t.push({id:t.length,node:e.config.decorator}),nl((i=e.config.feature)!=null?i:"",t))}function ef(e,t){return t.length===0?e:{type:"minecraft:decorated",config:{decorator:t.shift().node,feature:ef(e,t)}}}function a5({version:e,model:t,blockStates:n,onError:i}){const{lang:o}=An();if(!t||!n||o==="none")return T(vt,null);const[r]=eE(s=>{i(`Error rendering the tree: ${s.message}`),console.error(s)});if(r)return T(vt,null);const[,a]=we(0);return hd(t,()=>{a(s=>s+1)}),T("div",{class:"tree","data-cy":"tree"},T(Z$,{model:t,lang:o,version:e,blockStates:n}))}var s5=Object.defineProperty,l5=Object.defineProperties,c5=Object.getOwnPropertyDescriptors,sb=Object.getOwnPropertySymbols,d5=Object.prototype.hasOwnProperty,u5=Object.prototype.propertyIsEnumerable,lb=(e,t,n)=>t in e?s5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sy=(e,t)=>{for(var n in t||(t={}))d5.call(t,n)&&lb(e,n,t[n]);if(sb)for(var n of sb(t))u5.call(t,n)&&lb(e,n,t[n]);return e};const cb="Please consider reporting this error at https://github.com/laymonage/giscus/issues/new.";function pc(e){return`[giscus] An error occurred. Error message: "${e}".`}function db(e){const t=document.querySelector(`meta[property='og:${e}'],meta[name='${e}']`);return t?t.content:""}function _5(){const e=document.getElementById("giscus-css")||document.createElement("style");e.id="giscus-css",e.textContent=`
|
|
.giscus, .giscus-frame {
|
|
width: 100%;
|
|
}
|
|
.giscus-frame {
|
|
border: none;
|
|
color-scheme: normal;
|
|
}
|
|
`,document.head.prepend(e)}function m5(e){const[t,n]=we(""),i=function({repo:a,repoId:s,category:c="",categoryId:l="",mapping:_,term:d="",theme:u="light",reactionsEnabled:m="1",emitMetadata:f="0",inputPosition:p="bottom",lang:h="en",session:b,origin:g}){const v=new URL(location.href);v.searchParams.delete("giscus");const E=v.toString(),S={origin:g=g||E,session:b,theme:u,reactionsEnabled:m,emitMetadata:f,inputPosition:p,repo:a,repoId:s,category:c,categoryId:l,description:db("description")};switch(_){case"url":S.term=E;break;case"title":S.term=document.title;break;case"og:title":S.term=db("title");break;case"specific":S.term=d;break;case"number":S.number=d;break;case"pathname":default:S.term=location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}return`https://giscus.app/${h}/widget?${new URLSearchParams(S)}`}((o=Sy({},e),l5(o,c5({session:t}))));var o;const r=an(null);return ct(()=>{const a=location.href,s=new URL(a),c=localStorage.getItem("giscus-session"),l=s.searchParams.get("giscus")||"";if(l)return localStorage.setItem("giscus-session",JSON.stringify(l)),n(l),s.searchParams.delete("giscus"),void history.replaceState(void 0,document.title,s.toString());if(c)try{n(JSON.parse(c||"")||"")}catch(_){n(""),localStorage.removeItem("giscus-session"),console.warn(`${pc(_==null?void 0:_.message)} Session has been cleared.`)}},[]),ct(_5,[]),ct(()=>{const a=function(s,c=null){return function(l){if(l.origin!=="https://giscus.app")return;const{data:_}=l;if(typeof _!="object"||!_.giscus||(c&&_.giscus.resizeHeight&&(c.style.height=`${_.giscus.resizeHeight}px`),!_.giscus.error))return;const d=_.giscus.error;if(d.includes("Bad credentials")||d.includes("Invalid state value")){if(localStorage.getItem("giscus-session")!==null)return localStorage.removeItem("giscus-session"),s(),void console.warn(`${pc(d)} Session has been cleared.`);console.error(`${pc(d)} No session is stored initially. ${cb}`)}d.includes("Discussion not found")?console.warn(`[giscus] ${d}. A new discussion will be created if a comment/reaction is submitted.`):console.error(`${pc(d)} ${cb}`)}}(()=>n(""),r.current);return window.addEventListener("message",a),()=>window.removeEventListener("message",a)},[]),Jp.createElement("div",{className:"giscus"},Jp.createElement("iframe",{className:"giscus-frame",title:"Comments",scrolling:"no",src:i,ref:r}))}function p5(e){const[t,n]=we(!1);return ct(()=>n(!0),[]),t?Jp.createElement(m5,Sy({},e)):null}function Xf({term:e}){const{actualTheme:t}=kv(),n=t==="light"?"-burn":"",i=`${location.protocol}//${location.host}/assets/giscus${n}.css`;return T(p5,{repo:"misode/misode.github.io",repoId:"MDEwOlJlcG9zaXRvcnkxOTIyNTQyMzA=",category:"Site",categoryId:"DIC_kwDOC3WRFs4COB8r",mapping:e?"specific":"pathname",term:e,reactionsEnabled:"1",emitMetadata:"0",inputPosition:"top",theme:i,lang:"en"})}function yy(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ks=yy();function f5(e){ks=e}const h5=/[&<>"']/,g5=/[&<>"']/g,b5=/[<>"']|&(?!#?\w+;)/,E5=/[<>"']|&(?!#?\w+;)/g,v5={"&":"&","<":"<",">":">",'"':""","'":"'"},ub=e=>v5[e];function ai(e,t){if(t){if(h5.test(e))return e.replace(g5,ub)}else if(b5.test(e))return e.replace(E5,ub);return e}const S5=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Ny(e){return e.replace(S5,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const y5=/(^|[^\[])\^/g;function cn(e,t){e=e.source||e,t=t||"";const n={replace:(i,o)=>(o=o.source||o,o=o.replace(y5,"$1"),e=e.replace(i,o),n),getRegex:()=>new RegExp(e,t)};return n}const N5=/[^\w:]/g,C5=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _b(e,t,n){if(e){let i;try{i=decodeURIComponent(Ny(n)).replace(N5,"").toLowerCase()}catch{return null}if(i.indexOf("javascript:")===0||i.indexOf("vbscript:")===0||i.indexOf("data:")===0)return null}t&&!C5.test(n)&&(n=w5(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const fc={},A5=/^[^:]+:\/*[^/]*$/,O5=/^([^:]+:)[\s\S]*$/,T5=/^([^:]+:\/*[^/]*)[\s\S]*$/;function w5(e,t){fc[" "+e]||(A5.test(e)?fc[" "+e]=e+"/":fc[" "+e]=Bc(e,"/",!0)),e=fc[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace(O5,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(T5,"$1")+t:e+t}const id={exec:function(){}};function yr(e){let t=1,n,i;for(;t<arguments.length;t++){n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}function mb(e,t){const n=e.replace(/\|/g,(r,a,s)=>{let c=!1,l=a;for(;--l>=0&&s[l]==="\\";)c=!c;return c?"|":" |"}),i=n.split(/ \|/);let o=0;if(i[0].trim()||i.shift(),i[i.length-1].trim()||i.pop(),i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;o<i.length;o++)i[o]=i[o].trim().replace(/\\\|/g,"|");return i}function Bc(e,t,n){const i=e.length;if(i===0)return"";let o=0;for(;o<i;){const r=e.charAt(i-o-1);if(r===t&&!n)o++;else if(r!==t&&n)o++;else break}return e.substr(0,i-o)}function R5(e,t){if(e.indexOf(t[1])===-1)return-1;const n=e.length;let i=0,o=0;for(;o<n;o++)if(e[o]==="\\")o++;else if(e[o]===t[0])i++;else if(e[o]===t[1]&&(i--,i<0))return o;return-1}function Cy(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function pb(e,t){if(t<1)return"";let n="";for(;t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function fb(e,t,n,i){const o=t.href,r=t.title?ai(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){i.state.inLink=!0;const s={type:"link",raw:n,href:o,title:r,text:a,tokens:i.inlineTokens(a,[])};return i.state.inLink=!1,s}else return{type:"image",raw:n,href:o,title:r,text:ai(a)}}function x5(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const i=n[1];return t.split(`
|
|
`).map(o=>{const r=o.match(/^\s+/);if(r===null)return o;const[a]=r;return a.length>=i.length?o.slice(i.length):o}).join(`
|
|
`)}class Zf{constructor(t){this.options=t||ks}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const i=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Bc(i,`
|
|
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const i=n[0],o=x5(i,n[3]||"");return{type:"code",raw:i,lang:n[2]?n[2].trim():n[2],text:o}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let i=n[2].trim();if(/#$/.test(i)){const r=Bc(i,"#");(this.options.pedantic||!r||/ $/.test(r))&&(i=r.trim())}const o={type:"heading",raw:n[0],depth:n[1].length,text:i,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const i=n[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(i,[]),text:i}}}list(t){let n=this.rules.block.list.exec(t);if(n){let i,o,r,a,s,c,l,_,d,u,m,f,p=n[1].trim();const h=p.length>1,b={type:"list",raw:"",ordered:h,start:h?+p.slice(0,-1):"",loose:!1,items:[]};p=h?`\\d{1,9}\\${p.slice(-1)}`:`\\${p}`,this.options.pedantic&&(p=h?p:"[*+-]");const g=new RegExp(`^( {0,3}${p})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(f=!1,!(!(n=g.exec(t))||this.rules.block.hr.test(t)));){if(i=n[0],t=t.substring(i.length),_=n[2].split(`
|
|
`,1)[0],d=t.split(`
|
|
`,1)[0],this.options.pedantic?(a=2,m=_.trimLeft()):(a=n[2].search(/[^ ]/),a=a>4?1:a,m=_.slice(a),a+=n[1].length),c=!1,!_&&/^ *$/.test(d)&&(i+=d+`
|
|
`,t=t.substring(d.length+1),f=!0),!f){const E=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;t&&(u=t.split(`
|
|
`,1)[0],_=u,this.options.pedantic&&(_=_.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!E.test(_));){if(_.search(/[^ ]/)>=a||!_.trim())m+=`
|
|
`+_.slice(a);else if(!c)m+=`
|
|
`+_;else break;!c&&!_.trim()&&(c=!0),i+=u+`
|
|
`,t=t.substring(u.length+1)}}b.loose||(l?b.loose=!0:/\n *\n *$/.test(i)&&(l=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(m),o&&(r=o[0]!=="[ ] ",m=m.replace(/^\[[ xX]\] +/,""))),b.items.push({type:"list_item",raw:i,task:!!o,checked:r,loose:!1,text:m}),b.raw+=i}b.items[b.items.length-1].raw=i.trimRight(),b.items[b.items.length-1].text=m.trimRight(),b.raw=b.raw.trimRight();const v=b.items.length;for(s=0;s<v;s++){this.lexer.state.top=!1,b.items[s].tokens=this.lexer.blockTokens(b.items[s].text,[]);const E=b.items[s].tokens.filter(N=>N.type==="space"),S=E.every(N=>{const C=N.raw.split("");let y=0;for(const A of C)if(A===`
|
|
`&&(y+=1),y>1)return!0;return!1});!b.loose&&E.length&&S&&(b.loose=!0,b.items[s].loose=!0)}return b}}html(t){const n=this.rules.block.html.exec(t);if(n){const i={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};return this.options.sanitize&&(i.type="paragraph",i.text=this.options.sanitizer?this.options.sanitizer(n[0]):ai(n[0]),i.tokens=[],this.lexer.inline(i.text,i.tokens)),i}}def(t){const n=this.rules.block.def.exec(t);if(n){n[3]&&(n[3]=n[3].substring(1,n[3].length-1));const i=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:i,raw:n[0],href:n[2],title:n[3]}}}table(t){const n=this.rules.block.table.exec(t);if(n){const i={type:"table",header:mb(n[1]).map(o=>({text:o})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]?n[3].replace(/\n[ \t]*$/,"").split(`
|
|
`):[]};if(i.header.length===i.align.length){i.raw=n[0];let o=i.align.length,r,a,s,c;for(r=0;r<o;r++)/^ *-+: *$/.test(i.align[r])?i.align[r]="right":/^ *:-+: *$/.test(i.align[r])?i.align[r]="center":/^ *:-+ *$/.test(i.align[r])?i.align[r]="left":i.align[r]=null;for(o=i.rows.length,r=0;r<o;r++)i.rows[r]=mb(i.rows[r],i.header.length).map(l=>({text:l}));for(o=i.header.length,a=0;a<o;a++)i.header[a].tokens=[],this.lexer.inlineTokens(i.header[a].text,i.header[a].tokens);for(o=i.rows.length,a=0;a<o;a++)for(c=i.rows[a],s=0;s<c.length;s++)c[s].tokens=[],this.lexer.inlineTokens(c[s].text,c[s].tokens);return i}}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n){const i={type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:[]};return this.lexer.inline(i.text,i.tokens),i}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const i={type:"paragraph",raw:n[0],text:n[1].charAt(n[1].length-1)===`
|
|
`?n[1].slice(0,-1):n[1],tokens:[]};return this.lexer.inline(i.text,i.tokens),i}}text(t){const n=this.rules.block.text.exec(t);if(n){const i={type:"text",raw:n[0],text:n[0],tokens:[]};return this.lexer.inline(i.text,i.tokens),i}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:ai(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):ai(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const i=n[2].trim();if(!this.options.pedantic&&/^</.test(i)){if(!/>$/.test(i))return;const a=Bc(i.slice(0,-1),"\\");if((i.length-a.length)%2===0)return}else{const a=R5(n[2],"()");if(a>-1){const c=(n[0].indexOf("!")===0?5:4)+n[1].length+a;n[2]=n[2].substring(0,a),n[0]=n[0].substring(0,c).trim(),n[3]=""}}let o=n[2],r="";if(this.options.pedantic){const a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);a&&(o=a[1],r=a[3])}else r=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^</.test(o)&&(this.options.pedantic&&!/>$/.test(i)?o=o.slice(1):o=o.slice(1,-1)),fb(n,{href:o&&o.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let i;if((i=this.rules.inline.reflink.exec(t))||(i=this.rules.inline.nolink.exec(t))){let o=(i[2]||i[1]).replace(/\s+/g," ");if(o=n[o.toLowerCase()],!o||!o.href){const r=i[0].charAt(0);return{type:"text",raw:r,text:r}}return fb(i,o,i[0],this.lexer)}}emStrong(t,n,i=""){let o=this.rules.inline.emStrong.lDelim.exec(t);if(!o||o[3]&&i.match(/[\p{L}\p{N}]/u))return;const r=o[1]||o[2]||"";if(!r||r&&(i===""||this.rules.inline.punctuation.exec(i))){const a=o[0].length-1;let s,c,l=a,_=0;const d=o[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,n=n.slice(-1*t.length+a);(o=d.exec(n))!=null;){if(s=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!s)continue;if(c=s.length,o[3]||o[4]){l+=c;continue}else if((o[5]||o[6])&&a%3&&!((a+c)%3)){_+=c;continue}if(l-=c,l>0)continue;if(c=Math.min(c,c+l+_),Math.min(a,c)%2){const m=t.slice(1,a+o.index+c);return{type:"em",raw:t.slice(0,a+o.index+c+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}const u=t.slice(2,a+o.index+c-1);return{type:"strong",raw:t.slice(0,a+o.index+c+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let i=n[2].replace(/\n/g," ");const o=/[^ ]/.test(i),r=/^ /.test(i)&&/ $/.test(i);return o&&r&&(i=i.substring(1,i.length-1)),i=ai(i,!0),{type:"codespan",raw:n[0],text:i}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}autolink(t,n){const i=this.rules.inline.autolink.exec(t);if(i){let o,r;return i[2]==="@"?(o=ai(this.options.mangle?n(i[1]):i[1]),r="mailto:"+o):(o=ai(i[1]),r=o),{type:"link",raw:i[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}url(t,n){let i;if(i=this.rules.inline.url.exec(t)){let o,r;if(i[2]==="@")o=ai(this.options.mangle?n(i[0]):i[0]),r="mailto:"+o;else{let a;do a=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0];while(a!==i[0]);o=ai(i[0]),i[1]==="www."?r="http://"+o:r=o}return{type:"link",raw:i[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t,n){const i=this.rules.inline.text.exec(t);if(i){let o;return this.lexer.state.inRawBlock?o=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ai(i[0]):i[0]:o=ai(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:o}}}}const Ze={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:id,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Ze._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Ze._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Ze.def=cn(Ze.def).replace("label",Ze._label).replace("title",Ze._title).getRegex();Ze.bullet=/(?:[*+-]|\d{1,9}[.)])/;Ze.listItemStart=cn(/^( *)(bull) */).replace("bull",Ze.bullet).getRegex();Ze.list=cn(Ze.list).replace(/bull/g,Ze.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ze.def.source+")").getRegex();Ze._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Ze._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;Ze.html=cn(Ze.html,"i").replace("comment",Ze._comment).replace("tag",Ze._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Ze.paragraph=cn(Ze._paragraph).replace("hr",Ze.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ze._tag).getRegex();Ze.blockquote=cn(Ze.blockquote).replace("paragraph",Ze.paragraph).getRegex();Ze.normal=yr({},Ze);Ze.gfm=yr({},Ze.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});Ze.gfm.table=cn(Ze.gfm.table).replace("hr",Ze.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ze._tag).getRegex();Ze.gfm.paragraph=cn(Ze._paragraph).replace("hr",Ze.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ze.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ze._tag).getRegex();Ze.pedantic=yr({},Ze.normal,{html:cn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ze._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:id,paragraph:cn(Ze.normal._paragraph).replace("hr",Ze.hr).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",Ze.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const Me={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:id,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:id,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Me._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";Me.punctuation=cn(Me.punctuation).replace(/punctuation/g,Me._punctuation).getRegex();Me.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Me.escapedEmSt=/\\\*|\\_/g;Me._comment=cn(Ze._comment).replace("(?:-->|$)","-->").getRegex();Me.emStrong.lDelim=cn(Me.emStrong.lDelim).replace(/punct/g,Me._punctuation).getRegex();Me.emStrong.rDelimAst=cn(Me.emStrong.rDelimAst,"g").replace(/punct/g,Me._punctuation).getRegex();Me.emStrong.rDelimUnd=cn(Me.emStrong.rDelimUnd,"g").replace(/punct/g,Me._punctuation).getRegex();Me._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Me._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Me._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Me.autolink=cn(Me.autolink).replace("scheme",Me._scheme).replace("email",Me._email).getRegex();Me._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Me.tag=cn(Me.tag).replace("comment",Me._comment).replace("attribute",Me._attribute).getRegex();Me._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Me._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Me._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Me.link=cn(Me.link).replace("label",Me._label).replace("href",Me._href).replace("title",Me._title).getRegex();Me.reflink=cn(Me.reflink).replace("label",Me._label).replace("ref",Ze._label).getRegex();Me.nolink=cn(Me.nolink).replace("ref",Ze._label).getRegex();Me.reflinkSearch=cn(Me.reflinkSearch,"g").replace("reflink",Me.reflink).replace("nolink",Me.nolink).getRegex();Me.normal=yr({},Me);Me.pedantic=yr({},Me.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:cn(/^!?\[(label)\]\((.*?)\)/).replace("label",Me._label).getRegex(),reflink:cn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Me._label).getRegex()});Me.gfm=yr({},Me.normal,{escape:cn(Me.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});Me.gfm.url=cn(Me.gfm.url,"i").replace("email",Me.gfm._extended_email).getRegex();Me.breaks=yr({},Me.gfm,{br:cn(Me.br).replace("{2,}","*").getRegex(),text:cn(Me.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function D5(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function hb(e){let t="",n,i;const o=e.length;for(n=0;n<o;n++)i=e.charCodeAt(n),Math.random()>.5&&(i="x"+i.toString(16)),t+="&#"+i+";";return t}class Eo{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||ks,this.options.tokenizer=this.options.tokenizer||new Zf,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:Ze.normal,inline:Me.normal};this.options.pedantic?(n.block=Ze.pedantic,n.inline=Me.pedantic):this.options.gfm&&(n.block=Ze.gfm,this.options.breaks?n.inline=Me.breaks:n.inline=Me.gfm),this.tokenizer.rules=n}static get rules(){return{block:Ze,inline:Me}}static lex(t,n){return new Eo(n).lex(t)}static lexInline(t,n){return new Eo(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
`).replace(/\t/g," "),this.blockTokens(t,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(t,n=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let i,o,r,a;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(i=s.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&n.length>0?n[n.length-1].raw+=`
|
|
`:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
|
|
`+i.raw,o.text+=`
|
|
`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
|
|
`+i.raw,o.text+=`
|
|
`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(r=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const c=t.slice(1);let l;this.options.extensions.startBlock.forEach(function(_){l=_.call({lexer:this},c),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(r=t.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(r))){o=n[n.length-1],a&&o.type==="paragraph"?(o.raw+=`
|
|
`+i.raw,o.text+=`
|
|
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i),a=r.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&o.type==="text"?(o.raw+=`
|
|
`+i.raw,o.text+=`
|
|
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(t){const s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,n}inline(t,n){this.inlineQueue.push({src:t,tokens:n})}inlineTokens(t,n=[]){let i,o,r,a=t,s,c,l;if(this.tokens.links){const _=Object.keys(this.tokens.links);if(_.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)_.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+pb("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)a=a.slice(0,s.index)+"["+pb("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.escapedEmSt.exec(a))!=null;)a=a.slice(0,s.index)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(c||(l=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(_=>(i=_.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.escape(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.tag(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&i.type==="text"&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(i=this.tokenizer.link(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(i.raw.length),o=n[n.length-1],o&&i.type==="text"&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(i=this.tokenizer.emStrong(t,a,l)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.codespan(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.br(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.del(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.autolink(t,hb)){t=t.substring(i.raw.length),n.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(t,hb))){t=t.substring(i.raw.length),n.push(i);continue}if(r=t,this.options.extensions&&this.options.extensions.startInline){let _=1/0;const d=t.slice(1);let u;this.options.extensions.startInline.forEach(function(m){u=m.call({lexer:this},d),typeof u=="number"&&u>=0&&(_=Math.min(_,u))}),_<1/0&&_>=0&&(r=t.substring(0,_+1))}if(i=this.tokenizer.inlineText(r,D5)){t=t.substring(i.raw.length),i.raw.slice(-1)!=="_"&&(l=i.raw.slice(-1)),c=!0,o=n[n.length-1],o&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(t){const _="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(_);break}else throw new Error(_)}}return n}}class Jf{constructor(t){this.options=t||ks}code(t,n,i){const o=(n||"").match(/\S*/)[0];if(this.options.highlight){const r=this.options.highlight(t,o);r!=null&&r!==t&&(i=!0,t=r)}return t=t.replace(/\n$/,"")+`
|
|
`,o?'<pre><code class="'+this.options.langPrefix+ai(o,!0)+'">'+(i?t:ai(t,!0))+`</code></pre>
|
|
`:"<pre><code>"+(i?t:ai(t,!0))+`</code></pre>
|
|
`}blockquote(t){return`<blockquote>
|
|
`+t+`</blockquote>
|
|
`}html(t){return t}heading(t,n,i,o){return this.options.headerIds?"<h"+n+' id="'+this.options.headerPrefix+o.slug(i)+'">'+t+"</h"+n+`>
|
|
`:"<h"+n+">"+t+"</h"+n+`>
|
|
`}hr(){return this.options.xhtml?`<hr/>
|
|
`:`<hr>
|
|
`}list(t,n,i){const o=n?"ol":"ul",r=n&&i!==1?' start="'+i+'"':"";return"<"+o+r+`>
|
|
`+t+"</"+o+`>
|
|
`}listitem(t){return"<li>"+t+`</li>
|
|
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return"<p>"+t+`</p>
|
|
`}table(t,n){return n&&(n="<tbody>"+n+"</tbody>"),`<table>
|
|
<thead>
|
|
`+t+`</thead>
|
|
`+n+`</table>
|
|
`}tablerow(t){return`<tr>
|
|
`+t+`</tr>
|
|
`}tablecell(t,n){const i=n.header?"th":"td";return(n.align?"<"+i+' align="'+n.align+'">':"<"+i+">")+t+"</"+i+`>
|
|
`}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,n,i){if(t=_b(this.options.sanitize,this.options.baseUrl,t),t===null)return i;let o='<a href="'+ai(t)+'"';return n&&(o+=' title="'+n+'"'),o+=">"+i+"</a>",o}image(t,n,i){if(t=_b(this.options.sanitize,this.options.baseUrl,t),t===null)return i;let o='<img src="'+t+'" alt="'+i+'"';return n&&(o+=' title="'+n+'"'),o+=this.options.xhtml?"/>":">",o}text(t){return t}}class Ay{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,i){return""+i}image(t,n,i){return""+i}br(){return""}}class Oy{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let i=t,o=0;if(this.seen.hasOwnProperty(i)){o=this.seen[t];do o++,i=t+"-"+o;while(this.seen.hasOwnProperty(i))}return n||(this.seen[t]=o,this.seen[i]=0),i}slug(t,n={}){const i=this.serialize(t);return this.getNextSafeSlug(i,n.dryrun)}}class vo{constructor(t){this.options=t||ks,this.options.renderer=this.options.renderer||new Jf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ay,this.slugger=new Oy}static parse(t,n){return new vo(n).parse(t)}static parseInline(t,n){return new vo(n).parseInline(t)}parse(t,n=!0){let i="",o,r,a,s,c,l,_,d,u,m,f,p,h,b,g,v,E,S,N;const C=t.length;for(o=0;o<C;o++){if(m=t[o],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[m.type]&&(N=this.options.extensions.renderers[m.type].call({parser:this},m),N!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(m.type))){i+=N||"";continue}switch(m.type){case"space":continue;case"hr":{i+=this.renderer.hr();continue}case"heading":{i+=this.renderer.heading(this.parseInline(m.tokens),m.depth,Ny(this.parseInline(m.tokens,this.textRenderer)),this.slugger);continue}case"code":{i+=this.renderer.code(m.text,m.lang,m.escaped);continue}case"table":{for(d="",_="",s=m.header.length,r=0;r<s;r++)_+=this.renderer.tablecell(this.parseInline(m.header[r].tokens),{header:!0,align:m.align[r]});for(d+=this.renderer.tablerow(_),u="",s=m.rows.length,r=0;r<s;r++){for(l=m.rows[r],_="",c=l.length,a=0;a<c;a++)_+=this.renderer.tablecell(this.parseInline(l[a].tokens),{header:!1,align:m.align[a]});u+=this.renderer.tablerow(_)}i+=this.renderer.table(d,u);continue}case"blockquote":{u=this.parse(m.tokens),i+=this.renderer.blockquote(u);continue}case"list":{for(f=m.ordered,p=m.start,h=m.loose,s=m.items.length,u="",r=0;r<s;r++)g=m.items[r],v=g.checked,E=g.task,b="",g.task&&(S=this.renderer.checkbox(v),h?g.tokens.length>0&&g.tokens[0].type==="paragraph"?(g.tokens[0].text=S+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&g.tokens[0].tokens[0].type==="text"&&(g.tokens[0].tokens[0].text=S+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:S}):b+=S),b+=this.parse(g.tokens,h),u+=this.renderer.listitem(b,E,v);i+=this.renderer.list(u,f,p);continue}case"html":{i+=this.renderer.html(m.text);continue}case"paragraph":{i+=this.renderer.paragraph(this.parseInline(m.tokens));continue}case"text":{for(u=m.tokens?this.parseInline(m.tokens):m.text;o+1<C&&t[o+1].type==="text";)m=t[++o],u+=`
|
|
`+(m.tokens?this.parseInline(m.tokens):m.text);i+=n?this.renderer.paragraph(u):u;continue}default:{const y='Token with "'+m.type+'" type was not found.';if(this.options.silent){console.error(y);return}else throw new Error(y)}}}return i}parseInline(t,n){n=n||this.renderer;let i="",o,r,a;const s=t.length;for(o=0;o<s;o++){if(r=t[o],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(a=this.options.extensions.renderers[r.type].call({parser:this},r),a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))){i+=a||"";continue}switch(r.type){case"escape":{i+=n.text(r.text);break}case"html":{i+=n.html(r.text);break}case"link":{i+=n.link(r.href,r.title,this.parseInline(r.tokens,n));break}case"image":{i+=n.image(r.href,r.title,r.text);break}case"strong":{i+=n.strong(this.parseInline(r.tokens,n));break}case"em":{i+=n.em(this.parseInline(r.tokens,n));break}case"codespan":{i+=n.codespan(r.text);break}case"br":{i+=n.br();break}case"del":{i+=n.del(this.parseInline(r.tokens,n));break}case"text":{i+=n.text(r.text);break}default:{const c='Token with "'+r.type+'" type was not found.';if(this.options.silent){console.error(c);return}else throw new Error(c)}}}return i}}function Et(e,t,n){if(typeof e=="undefined"||e===null)throw new Error("marked(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(typeof t=="function"&&(n=t,t=null),t=yr({},Et.defaults,t||{}),Cy(t),n){const i=t.highlight;let o;try{o=Eo.lex(e,t)}catch(s){return n(s)}const r=function(s){let c;if(!s)try{t.walkTokens&&Et.walkTokens(o,t.walkTokens),c=vo.parse(o,t)}catch(l){s=l}return t.highlight=i,s?n(s):n(null,c)};if(!i||i.length<3||(delete t.highlight,!o.length))return r();let a=0;Et.walkTokens(o,function(s){s.type==="code"&&(a++,setTimeout(()=>{i(s.text,s.lang,function(c,l){if(c)return r(c);l!=null&&l!==s.text&&(s.text=l,s.escaped=!0),a--,a===0&&r()})},0))}),a===0&&r();return}try{const i=Eo.lex(e,t);return t.walkTokens&&Et.walkTokens(i,t.walkTokens),vo.parse(i,t)}catch(i){if(i.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ai(i.message+"",!0)+"</pre>";throw i}}Et.options=Et.setOptions=function(e){return yr(Et.defaults,e),f5(Et.defaults),Et};Et.getDefaults=yy;Et.defaults=ks;Et.use=function(...e){const t=yr({},...e),n=Et.defaults.extensions||{renderers:{},childTokens:{}};let i;e.forEach(o=>{if(o.extensions&&(i=!0,o.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const a=n.renderers?n.renderers[r.name]:null;a?n.renderers[r.name]=function(...s){let c=r.renderer.apply(this,s);return c===!1&&(c=a.apply(this,s)),c}:n.renderers[r.name]=r.renderer}if(r.tokenizer){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");n[r.level]?n[r.level].unshift(r.tokenizer):n[r.level]=[r.tokenizer],r.start&&(r.level==="block"?n.startBlock?n.startBlock.push(r.start):n.startBlock=[r.start]:r.level==="inline"&&(n.startInline?n.startInline.push(r.start):n.startInline=[r.start]))}r.childTokens&&(n.childTokens[r.name]=r.childTokens)})),o.renderer){const r=Et.defaults.renderer||new Jf;for(const a in o.renderer){const s=r[a];r[a]=(...c)=>{let l=o.renderer[a].apply(r,c);return l===!1&&(l=s.apply(r,c)),l}}t.renderer=r}if(o.tokenizer){const r=Et.defaults.tokenizer||new Zf;for(const a in o.tokenizer){const s=r[a];r[a]=(...c)=>{let l=o.tokenizer[a].apply(r,c);return l===!1&&(l=s.apply(r,c)),l}}t.tokenizer=r}if(o.walkTokens){const r=Et.defaults.walkTokens;t.walkTokens=function(a){o.walkTokens.call(this,a),r&&r.call(this,a)}}i&&(t.extensions=n),Et.setOptions(t)})};Et.walkTokens=function(e,t){for(const n of e)switch(t.call(Et,n),n.type){case"table":{for(const i of n.header)Et.walkTokens(i.tokens,t);for(const i of n.rows)for(const o of i)Et.walkTokens(o.tokens,t);break}case"list":{Et.walkTokens(n.items,t);break}default:Et.defaults.extensions&&Et.defaults.extensions.childTokens&&Et.defaults.extensions.childTokens[n.type]?Et.defaults.extensions.childTokens[n.type].forEach(function(i){Et.walkTokens(n[i],t)}):n.tokens&&Et.walkTokens(n.tokens,t)}};Et.parseInline=function(e,t){if(typeof e=="undefined"||e===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=yr({},Et.defaults,t||{}),Cy(t);try{const n=Eo.lexInline(e,t);return t.walkTokens&&Et.walkTokens(n,t.walkTokens),vo.parseInline(n,t)}catch(n){if(n.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ai(n.message+"",!0)+"</pre>";throw n}};Et.Parser=vo;Et.parser=vo.parse;Et.Renderer=Jf;Et.TextRenderer=Ay;Et.Lexer=Eo;Et.lexer=Eo.lex;Et.Tokenizer=Zf;Et.Slugger=Oy;Et.parse=Et;vo.parse;Eo.lex;function I5({change:e,activeTags:t,toggleTag:n}){return T("div",{class:"changelog-entry"},T("div",{class:"changelog-version"},T(gb,H({},e.version)),T(gb,H({},e.group))),T("div",{class:"changelog-tags"},e.tags.map(i=>T(Xl,{label:i,onClick:n?()=>n(i):void 0,active:t==null?void 0:t.includes(i)}))),T("div",{class:"changelog-content",dangerouslySetInnerHTML:{__html:Et(e.content)}}))}function gb({id:e,article:t}){return t===null?T("span",null,e):T("a",{href:`https://www.minecraft.net/en-us/article/${t}`,target:"_blank"},e)}function Xl({label:e,active:t,onClick:n}){const i=e==="breaking"?5:HE(e)%360;return T("div",{class:`changelog-tag${t?" active":""}${n?" clickable":""}`,style:`--tint: ${i}`,onClick:n},e==="breaking"&&At.alert,e)}function Ty({changes:e,defaultOrder:t}){const{locale:n}=An(),[i,o]=we(""),[r,a]=we([]),s=u=>{r.includes(u)?a(r.filter(m=>m!==u)):a([...r,u])},c=bn(()=>{const u=i.split(" ").map(m=>m.trim().toLowerCase()).filter(m=>m.length>0);return u.length===0&&r.length===0?e:e==null?void 0:e.filter(m=>{if(!r.every(p=>m.tags.includes(p)))return!1;const f=m.tags.join(" ")+" "+m.content.toLowerCase();return u.every(p=>p.startsWith("!")?p.length===1||!f.includes(p.slice(1)):f.includes(p))})},[e,i,r]),[l,_]=we(t==="desc"),d=bn(()=>c==null?void 0:c.sort((u,m)=>l?m.order-u.order:u.order-m.order),[c,l]);return T(vt,null,T("div",{class:"changelog-query"},T(Da,{class:"btn btn-input changelog-search",list:"sound-list",placeholder:n("changelog.search"),value:i,onChange:o}),T(tt,{icon:l?"sort_desc":"sort_asc",label:l?"Newest first":"Oldest first",onClick:()=>_(!l)})),r.length>0&&T("div",{class:"changelog-tags"},r.map(u=>T(Xl,{label:u,onClick:()=>a(r.filter(m=>m!==u))}))),T("div",{class:"changelog-list"},d===void 0?T("span",{class:"note"},n("loading")):d.length===0?T("span",{class:"note"},n("changelog.no_results")):d.map(u=>T(I5,{change:u,activeTags:r,toggleTag:s}))))}function k5({version:e}){const{locale:t}=An(),[n,i]=we("changelog"),[o,r]=we(void 0);ct(()=>{KE().then(s=>r(s.map(c=>qe(H({},c),{tags:c.tags.filter(l=>l!==c.group.id)})))).catch(s=>console.error(s))},[]);const a=bn(()=>o==null?void 0:o.filter(s=>s.version.id===e.id||s.group.id===e.id),[e.id,o]);return T(vt,null,T("div",{class:"version-detail"},T("h2",null,e.name),T("div",{class:"version-info"},T(oo,{label:t("versions.released"),value:wy(e)}),T(oo,{label:t("versions.release_target"),value:e.release_target,link:e.id!==e.release_target?`/versions/?id=${e.release_target}`:void 0}),T(oo,{label:t("versions.data_version"),value:e.data_version}),T(oo,{label:t("versions.protocol_version"),value:e.protocol_version}),T(oo,{label:t("versions.data_pack_format"),value:e.data_pack_version}),T(oo,{label:t("versions.resource_pack_format"),value:e.resource_pack_version})),T("div",{class:"version-tabs"},T("span",{class:n==="changelog"?"selected":"",onClick:()=>i("changelog")},t("versions.technical_changes")),T("span",{class:n==="discussion"?"selected":"",onClick:()=>i("discussion")},t("versions.discussion"))),T("div",{class:"version-tab"},n==="changelog"&&T(Ty,{changes:a,defaultOrder:"asc"}),n==="discussion"&&T(Xf,{term:`version/${e.id}`}))))}function wy(e){return new Date(e.release_time).toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"})}function M5({version:e,link:t}){const{locale:n}=An();return T("a",{class:"version-entry",href:t},T("span",{class:"version-id"},e.id),T(oo,{label:n("versions.released"),value:wy(e),compact:!0}),T(oo,{label:n("versions.data_version"),value:e.data_version,optional:!0}),T(oo,{label:n("versions.pack_format"),value:e.data_pack_version,optional:!0}))}function L5({versions:e,link:t}){const{locale:n}=An(),[i,o]=we(!0),[r,a]=we(""),s=bn(()=>e.filter(c=>c.type==="snapshot"&&!i?!1:c.id.includes(r)),[e,i,r]);return T(vt,null,T("div",{class:"versions-controls"},T(Da,{class:"btn btn-input version-search",placeholder:n("versions.search"),value:r,onChange:a}),T(a1,{label:"Include snapshots",value:i,onChange:o})),T("div",{class:"version-list"},s.map(c=>T(M5,{version:c,link:t==null?void 0:t(c.id)})),s.length===0&&T("span",null,n("versions.no_results"))))}function oo({label:e,value:t,link:n,compact:i,optional:o}){return T("div",{class:`version-metadata${o?" version-metadata-hide":""}`},T("span",{class:i?"version-metadata-hide":void 0},e,": "),T("span",{class:"version-metadata-value"},t),n&&T("a",{href:n,class:"version-metadata-link"},At.link_external))}function F5({title:e,link:t,versions:n,tags:i,activeTags:o,toggleTag:r}){const a=s=>c=>{r&&r(s),c.preventDefault(),c.stopImmediatePropagation()};return T("a",{class:"guide-card",href:t},T("span",{class:"guide-versions"},n.join(" \u2022 ")),T("h3",null,e),T("div",{class:"guide-tags"},i.sort().map(s=>T(Xl,{label:s,onClick:a(s),active:o==null?void 0:o.includes(s)}))))}const bb={system:"device_desktop",dark:"moon",light:"sun"};function P5(){const{lang:e,locale:t,changeLanguage:n}=An(),{theme:i,changeTheme:o}=kv(),{version:r}=xs(),{title:a}=br(),s=VE(us());return T("header",null,T("div",{class:"title"},T(Xb,{class:"home-link",href:"/","aria-label":t("home"),"data-cy":"home-link"},Ry.home),T("h1",null,a),s&&T(Ri,{icon:"chevron_down",tooltip:t("switch_generator"),"data-cy":"generator-switcher"},Xt.generators.filter(c=>c.category===(s==null?void 0:s.category)&&xi(r,c.minVersion)).map(c=>T(tt,{label:t(c.id),active:c.id===s.id,onClick:()=>Qo(bo(c.url))})))),T("nav",null,T("ul",null,T("li",{"data-cy":"language-switcher"},T(Ri,{icon:"globe",tooltip:t("language")},Xt.languages.map(({code:c,name:l})=>T(tt,{label:l,active:c===e,onClick:()=>n(c)})))),T("li",{"data-cy":"theme-switcher"},T(Ri,{icon:bb[i],tooltip:t("theme")},Object.entries(bb).map(([c,l])=>T(tt,{icon:l,label:t(`theme.${c}`),active:c===i,onClick:()=>o(c)})))),T("li",{class:"dimmed"},T("a",{href:"https://github.com/misode/misode.github.io",target:"_blank",rel:"noreferrer",class:"tooltipped tip-sw","aria-label":t("github")},At.mark_github)))))}const Ry={home:T("svg",{width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T("rect",{width:"26",height:"6",rx:"3",fill:"#7CB45C"}),T("rect",{x:"8",width:"18",height:"6",rx:"3",fill:"#4BA041"}),T("rect",{y:"11",width:"32",height:"6",rx:"3",fill:"#AAA8A8"}),T("rect",{x:"11",y:"11",width:"21",height:"6",rx:"3",fill:"#91908F"}),T("rect",{x:"11",y:"22",width:"21",height:"6",rx:"3",fill:"#70B5C3"}),T("rect",{x:"17",y:"22",width:"15",height:"6",rx:"3",fill:"#4D989B"})),report:T("svg",{width:"30",height:"36",viewBox:"0 0 30 36",xmlns:"http://www.w3.org/2000/svg"},T("path",{d:"M0 16C0 13.7909 1.79086 12 4 12V12C6.20914 12 8 13.7909 8 16V32C8 34.2091 6.20914 36 4 36V36C1.79086 36 0 34.2091 0 32V16Z",fill:"#6ACC5D"}),T("path",{d:"M11 4C11 1.79086 12.7909 0 15 0V0C17.2091 0 19 1.79086 19 4V32C19 34.2091 17.2091 36 15 36V36C12.7909 36 11 34.2091 11 32V4Z",fill:"#FF4C4C"}),T("path",{d:"M22 10C22 7.79086 23.7909 6 26 6V6C28.2091 6 30 7.79086 30 10V32C30 34.2091 28.2091 36 26 36V36C23.7909 36 22 34.2091 22 32V10Z",fill:"#E5B442"}),T("path",{d:"M0 23C0 20.7909 1.79086 19 4 19V19C6.20914 19 8 20.7909 8 23V32C8 34.2091 6.20914 36 4 36V36C1.79086 36 0 34.2091 0 32V23Z",fill:"#2BAD1D"}),T("path",{d:"M11 15C11 12.7909 12.7909 11 15 11V11C17.2091 11 19 12.7909 19 15V32C19 34.2091 17.2091 36 15 36V36C12.7909 36 11 34.2091 11 32V15Z",fill:"#C10B0B"}),T("path",{d:"M22 19C22 16.7909 23.7909 15 26 15V15C28.2091 15 30 16.7909 30 19V32C30 34.2091 28.2091 36 26 36V36C23.7909 36 22 34.2091 22 32V19Z",fill:"#CC8E00"})),sounds:T("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},T("circle",{cx:"10",cy:"10",r:"10",fill:"#451475"}),T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.5 10C3.5 8.27609 4.18482 6.62279 5.40381 5.40381C6.62279 4.18482 8.27609 3.5 10 3.5C11.7239 3.5 13.3772 4.18482 14.5962 5.40381C15.8152 6.62279 16.5 8.27609 16.5 10C16.5 11.7239 15.8152 13.3772 14.5962 14.5962C13.3772 15.8152 11.7239 16.5 10 16.5C8.27609 16.5 6.62279 15.8152 5.40381 14.5962C4.18482 13.3772 3.5 11.7239 3.5 10V10ZM10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2V2ZM8.379 7.227C8.34101 7.20412 8.29762 7.19175 8.25327 7.19117C8.20892 7.19059 8.16522 7.20181 8.12664 7.2237C8.08807 7.24558 8.05601 7.27733 8.03375 7.3157C8.0115 7.35406 7.99985 7.39765 8 7.442V12.559C8.00003 12.6033 8.0118 12.6467 8.03413 12.685C8.05646 12.7232 8.08854 12.7548 8.12708 12.7765C8.16563 12.7983 8.20926 12.8095 8.25352 12.8088C8.29778 12.8082 8.34108 12.7958 8.379 12.773L12.643 10.214C12.6798 10.1917 12.7103 10.1604 12.7315 10.1229C12.7526 10.0854 12.7638 10.043 12.7638 10C12.7638 9.95695 12.7526 9.91463 12.7315 9.87714C12.7103 9.83965 12.6798 9.80825 12.643 9.786L8.379 7.227Z",fill:"#C5A5E6"}))};var xy={};/*!
|
|
* howler.js v2.2.3
|
|
* howlerjs.com
|
|
*
|
|
* (c) 2013-2020, James Simpson of GoldFire Studios
|
|
* goldfirestudios.com
|
|
*
|
|
* MIT License
|
|
*/(function(e){(function(){var t=function(){this.init()};t.prototype={init:function(){var d=this||n;return d._counter=1e3,d._html5AudioPool=[],d.html5PoolSize=10,d._codecs={},d._howls=[],d._muted=!1,d._volume=1,d._canPlayEvent="canplaythrough",d._navigator=typeof window!="undefined"&&window.navigator?window.navigator:null,d.masterGain=null,d.noAudio=!1,d.usingWebAudio=!0,d.autoSuspend=!0,d.ctx=null,d.autoUnlock=!0,d._setup(),d},volume:function(d){var u=this||n;if(d=parseFloat(d),u.ctx||_(),typeof d!="undefined"&&d>=0&&d<=1){if(u._volume=d,u._muted)return u;u.usingWebAudio&&u.masterGain.gain.setValueAtTime(d,n.ctx.currentTime);for(var m=0;m<u._howls.length;m++)if(!u._howls[m]._webAudio)for(var f=u._howls[m]._getSoundIds(),p=0;p<f.length;p++){var h=u._howls[m]._soundById(f[p]);h&&h._node&&(h._node.volume=h._volume*d)}return u}return u._volume},mute:function(d){var u=this||n;u.ctx||_(),u._muted=d,u.usingWebAudio&&u.masterGain.gain.setValueAtTime(d?0:u._volume,n.ctx.currentTime);for(var m=0;m<u._howls.length;m++)if(!u._howls[m]._webAudio)for(var f=u._howls[m]._getSoundIds(),p=0;p<f.length;p++){var h=u._howls[m]._soundById(f[p]);h&&h._node&&(h._node.muted=d?!0:h._muted)}return u},stop:function(){for(var d=this||n,u=0;u<d._howls.length;u++)d._howls[u].stop();return d},unload:function(){for(var d=this||n,u=d._howls.length-1;u>=0;u--)d._howls[u].unload();return d.usingWebAudio&&d.ctx&&typeof d.ctx.close!="undefined"&&(d.ctx.close(),d.ctx=null,_()),d},codecs:function(d){return(this||n)._codecs[d.replace(/^x-/,"")]},_setup:function(){var d=this||n;if(d.state=d.ctx&&d.ctx.state||"suspended",d._autoSuspend(),!d.usingWebAudio)if(typeof Audio!="undefined")try{var u=new Audio;typeof u.oncanplaythrough=="undefined"&&(d._canPlayEvent="canplay")}catch{d.noAudio=!0}else d.noAudio=!0;try{var u=new Audio;u.muted&&(d.noAudio=!0)}catch{}return d.noAudio||d._setupCodecs(),d},_setupCodecs:function(){var d=this||n,u=null;try{u=typeof Audio!="undefined"?new Audio:null}catch{return d}if(!u||typeof u.canPlayType!="function")return d;var m=u.canPlayType("audio/mpeg;").replace(/^no$/,""),f=d._navigator?d._navigator.userAgent:"",p=f.match(/OPR\/([0-6].)/g),h=p&&parseInt(p[0].split("/")[1],10)<33,b=f.indexOf("Safari")!==-1&&f.indexOf("Chrome")===-1,g=f.match(/Version\/(.*?) /),v=b&&g&&parseInt(g[1],10)<15;return d._codecs={mp3:!!(!h&&(m||u.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!m,opus:!!u.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!u.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!u.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(u.canPlayType('audio/wav; codecs="1"')||u.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!u.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!u.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(u.canPlayType("audio/x-m4a;")||u.canPlayType("audio/m4a;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(u.canPlayType("audio/x-m4b;")||u.canPlayType("audio/m4b;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(u.canPlayType("audio/x-mp4;")||u.canPlayType("audio/mp4;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!v&&u.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!v&&u.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!u.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(u.canPlayType("audio/x-flac;")||u.canPlayType("audio/flac;")).replace(/^no$/,"")},d},_unlockAudio:function(){var d=this||n;if(!(d._audioUnlocked||!d.ctx)){d._audioUnlocked=!1,d.autoUnlock=!1,!d._mobileUnloaded&&d.ctx.sampleRate!==44100&&(d._mobileUnloaded=!0,d.unload()),d._scratchBuffer=d.ctx.createBuffer(1,1,22050);var u=function(m){for(;d._html5AudioPool.length<d.html5PoolSize;)try{var f=new Audio;f._unlocked=!0,d._releaseHtml5Audio(f)}catch{d.noAudio=!0;break}for(var p=0;p<d._howls.length;p++)if(!d._howls[p]._webAudio)for(var h=d._howls[p]._getSoundIds(),b=0;b<h.length;b++){var g=d._howls[p]._soundById(h[b]);g&&g._node&&!g._node._unlocked&&(g._node._unlocked=!0,g._node.load())}d._autoResume();var v=d.ctx.createBufferSource();v.buffer=d._scratchBuffer,v.connect(d.ctx.destination),typeof v.start=="undefined"?v.noteOn(0):v.start(0),typeof d.ctx.resume=="function"&&d.ctx.resume(),v.onended=function(){v.disconnect(0),d._audioUnlocked=!0,document.removeEventListener("touchstart",u,!0),document.removeEventListener("touchend",u,!0),document.removeEventListener("click",u,!0),document.removeEventListener("keydown",u,!0);for(var E=0;E<d._howls.length;E++)d._howls[E]._emit("unlock")}};return document.addEventListener("touchstart",u,!0),document.addEventListener("touchend",u,!0),document.addEventListener("click",u,!0),document.addEventListener("keydown",u,!0),d}},_obtainHtml5Audio:function(){var d=this||n;if(d._html5AudioPool.length)return d._html5AudioPool.pop();var u=new Audio().play();return u&&typeof Promise!="undefined"&&(u instanceof Promise||typeof u.then=="function")&&u.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(d){var u=this||n;return d._unlocked&&u._html5AudioPool.push(d),u},_autoSuspend:function(){var d=this;if(!(!d.autoSuspend||!d.ctx||typeof d.ctx.suspend=="undefined"||!n.usingWebAudio)){for(var u=0;u<d._howls.length;u++)if(d._howls[u]._webAudio){for(var m=0;m<d._howls[u]._sounds.length;m++)if(!d._howls[u]._sounds[m]._paused)return d}return d._suspendTimer&&clearTimeout(d._suspendTimer),d._suspendTimer=setTimeout(function(){if(!!d.autoSuspend){d._suspendTimer=null,d.state="suspending";var f=function(){d.state="suspended",d._resumeAfterSuspend&&(delete d._resumeAfterSuspend,d._autoResume())};d.ctx.suspend().then(f,f)}},3e4),d}},_autoResume:function(){var d=this;if(!(!d.ctx||typeof d.ctx.resume=="undefined"||!n.usingWebAudio))return d.state==="running"&&d.ctx.state!=="interrupted"&&d._suspendTimer?(clearTimeout(d._suspendTimer),d._suspendTimer=null):d.state==="suspended"||d.state==="running"&&d.ctx.state==="interrupted"?(d.ctx.resume().then(function(){d.state="running";for(var u=0;u<d._howls.length;u++)d._howls[u]._emit("resume")}),d._suspendTimer&&(clearTimeout(d._suspendTimer),d._suspendTimer=null)):d.state==="suspending"&&(d._resumeAfterSuspend=!0),d}};var n=new t,i=function(d){var u=this;if(!d.src||d.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}u.init(d)};i.prototype={init:function(d){var u=this;return n.ctx||_(),u._autoplay=d.autoplay||!1,u._format=typeof d.format!="string"?d.format:[d.format],u._html5=d.html5||!1,u._muted=d.mute||!1,u._loop=d.loop||!1,u._pool=d.pool||5,u._preload=typeof d.preload=="boolean"||d.preload==="metadata"?d.preload:!0,u._rate=d.rate||1,u._sprite=d.sprite||{},u._src=typeof d.src!="string"?d.src:[d.src],u._volume=d.volume!==void 0?d.volume:1,u._xhr={method:d.xhr&&d.xhr.method?d.xhr.method:"GET",headers:d.xhr&&d.xhr.headers?d.xhr.headers:null,withCredentials:d.xhr&&d.xhr.withCredentials?d.xhr.withCredentials:!1},u._duration=0,u._state="unloaded",u._sounds=[],u._endTimers={},u._queue=[],u._playLock=!1,u._onend=d.onend?[{fn:d.onend}]:[],u._onfade=d.onfade?[{fn:d.onfade}]:[],u._onload=d.onload?[{fn:d.onload}]:[],u._onloaderror=d.onloaderror?[{fn:d.onloaderror}]:[],u._onplayerror=d.onplayerror?[{fn:d.onplayerror}]:[],u._onpause=d.onpause?[{fn:d.onpause}]:[],u._onplay=d.onplay?[{fn:d.onplay}]:[],u._onstop=d.onstop?[{fn:d.onstop}]:[],u._onmute=d.onmute?[{fn:d.onmute}]:[],u._onvolume=d.onvolume?[{fn:d.onvolume}]:[],u._onrate=d.onrate?[{fn:d.onrate}]:[],u._onseek=d.onseek?[{fn:d.onseek}]:[],u._onunlock=d.onunlock?[{fn:d.onunlock}]:[],u._onresume=[],u._webAudio=n.usingWebAudio&&!u._html5,typeof n.ctx!="undefined"&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(u),u._autoplay&&u._queue.push({event:"play",action:function(){u.play()}}),u._preload&&u._preload!=="none"&&u.load(),u},load:function(){var d=this,u=null;if(n.noAudio){d._emit("loaderror",null,"No audio support.");return}typeof d._src=="string"&&(d._src=[d._src]);for(var m=0;m<d._src.length;m++){var f,p;if(d._format&&d._format[m])f=d._format[m];else{if(p=d._src[m],typeof p!="string"){d._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}f=/^data:audio\/([^;,]+);/i.exec(p),f||(f=/\.([^.]+)$/.exec(p.split("?",1)[0])),f&&(f=f[1].toLowerCase())}if(f||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),f&&n.codecs(f)){u=d._src[m];break}}if(!u){d._emit("loaderror",null,"No codec support for selected audio sources.");return}return d._src=u,d._state="loading",window.location.protocol==="https:"&&u.slice(0,5)==="http:"&&(d._html5=!0,d._webAudio=!1),new o(d),d._webAudio&&a(d),d},play:function(d,u){var m=this,f=null;if(typeof d=="number")f=d,d=null;else{if(typeof d=="string"&&m._state==="loaded"&&!m._sprite[d])return null;if(typeof d=="undefined"&&(d="__default",!m._playLock)){for(var p=0,h=0;h<m._sounds.length;h++)m._sounds[h]._paused&&!m._sounds[h]._ended&&(p++,f=m._sounds[h]._id);p===1?d=null:f=null}}var b=f?m._soundById(f):m._inactiveSound();if(!b)return null;if(f&&!d&&(d=b._sprite||"__default"),m._state!=="loaded"){b._sprite=d,b._ended=!1;var g=b._id;return m._queue.push({event:"play",action:function(){m.play(g)}}),g}if(f&&!b._paused)return u||m._loadQueue("play"),b._id;m._webAudio&&n._autoResume();var v=Math.max(0,b._seek>0?b._seek:m._sprite[d][0]/1e3),E=Math.max(0,(m._sprite[d][0]+m._sprite[d][1])/1e3-v),S=E*1e3/Math.abs(b._rate),N=m._sprite[d][0]/1e3,C=(m._sprite[d][0]+m._sprite[d][1])/1e3;b._sprite=d,b._ended=!1;var y=function(){b._paused=!1,b._seek=v,b._start=N,b._stop=C,b._loop=!!(b._loop||m._sprite[d][2])};if(v>=C){m._ended(b);return}var A=b._node;if(m._webAudio){var R=function(){m._playLock=!1,y(),m._refreshBuffer(b);var F=b._muted||m._muted?0:b._volume;A.gain.setValueAtTime(F,n.ctx.currentTime),b._playStart=n.ctx.currentTime,typeof A.bufferSource.start=="undefined"?b._loop?A.bufferSource.noteGrainOn(0,v,86400):A.bufferSource.noteGrainOn(0,v,E):b._loop?A.bufferSource.start(0,v,86400):A.bufferSource.start(0,v,E),S!==1/0&&(m._endTimers[b._id]=setTimeout(m._ended.bind(m,b),S)),u||setTimeout(function(){m._emit("play",b._id),m._loadQueue()},0)};n.state==="running"&&n.ctx.state!=="interrupted"?R():(m._playLock=!0,m.once("resume",R),m._clearTimer(b._id))}else{var D=function(){A.currentTime=v,A.muted=b._muted||m._muted||n._muted||A.muted,A.volume=b._volume*n.volume(),A.playbackRate=b._rate;try{var F=A.play();if(F&&typeof Promise!="undefined"&&(F instanceof Promise||typeof F.then=="function")?(m._playLock=!0,y(),F.then(function(){m._playLock=!1,A._unlocked=!0,u?m._loadQueue():m._emit("play",b._id)}).catch(function(){m._playLock=!1,m._emit("playerror",b._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),b._ended=!0,b._paused=!0})):u||(m._playLock=!1,y(),m._emit("play",b._id)),A.playbackRate=b._rate,A.paused){m._emit("playerror",b._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}d!=="__default"||b._loop?m._endTimers[b._id]=setTimeout(m._ended.bind(m,b),S):(m._endTimers[b._id]=function(){m._ended(b),A.removeEventListener("ended",m._endTimers[b._id],!1)},A.addEventListener("ended",m._endTimers[b._id],!1))}catch(q){m._emit("playerror",b._id,q)}};A.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(A.src=m._src,A.load());var M=window&&window.ejecta||!A.readyState&&n._navigator.isCocoonJS;if(A.readyState>=3||M)D();else{m._playLock=!0,m._state="loading";var L=function(){m._state="loaded",D(),A.removeEventListener(n._canPlayEvent,L,!1)};A.addEventListener(n._canPlayEvent,L,!1),m._clearTimer(b._id)}}return b._id},pause:function(d){var u=this;if(u._state!=="loaded"||u._playLock)return u._queue.push({event:"pause",action:function(){u.pause(d)}}),u;for(var m=u._getSoundIds(d),f=0;f<m.length;f++){u._clearTimer(m[f]);var p=u._soundById(m[f]);if(p&&!p._paused&&(p._seek=u.seek(m[f]),p._rateSeek=0,p._paused=!0,u._stopFade(m[f]),p._node))if(u._webAudio){if(!p._node.bufferSource)continue;typeof p._node.bufferSource.stop=="undefined"?p._node.bufferSource.noteOff(0):p._node.bufferSource.stop(0),u._cleanBuffer(p._node)}else(!isNaN(p._node.duration)||p._node.duration===1/0)&&p._node.pause();arguments[1]||u._emit("pause",p?p._id:null)}return u},stop:function(d,u){var m=this;if(m._state!=="loaded"||m._playLock)return m._queue.push({event:"stop",action:function(){m.stop(d)}}),m;for(var f=m._getSoundIds(d),p=0;p<f.length;p++){m._clearTimer(f[p]);var h=m._soundById(f[p]);h&&(h._seek=h._start||0,h._rateSeek=0,h._paused=!0,h._ended=!0,m._stopFade(f[p]),h._node&&(m._webAudio?h._node.bufferSource&&(typeof h._node.bufferSource.stop=="undefined"?h._node.bufferSource.noteOff(0):h._node.bufferSource.stop(0),m._cleanBuffer(h._node)):(!isNaN(h._node.duration)||h._node.duration===1/0)&&(h._node.currentTime=h._start||0,h._node.pause(),h._node.duration===1/0&&m._clearSound(h._node))),u||m._emit("stop",h._id))}return m},mute:function(d,u){var m=this;if(m._state!=="loaded"||m._playLock)return m._queue.push({event:"mute",action:function(){m.mute(d,u)}}),m;if(typeof u=="undefined")if(typeof d=="boolean")m._muted=d;else return m._muted;for(var f=m._getSoundIds(u),p=0;p<f.length;p++){var h=m._soundById(f[p]);h&&(h._muted=d,h._interval&&m._stopFade(h._id),m._webAudio&&h._node?h._node.gain.setValueAtTime(d?0:h._volume,n.ctx.currentTime):h._node&&(h._node.muted=n._muted?!0:d),m._emit("mute",h._id))}return m},volume:function(){var d=this,u=arguments,m,f;if(u.length===0)return d._volume;if(u.length===1||u.length===2&&typeof u[1]=="undefined"){var p=d._getSoundIds(),h=p.indexOf(u[0]);h>=0?f=parseInt(u[0],10):m=parseFloat(u[0])}else u.length>=2&&(m=parseFloat(u[0]),f=parseInt(u[1],10));var b;if(typeof m!="undefined"&&m>=0&&m<=1){if(d._state!=="loaded"||d._playLock)return d._queue.push({event:"volume",action:function(){d.volume.apply(d,u)}}),d;typeof f=="undefined"&&(d._volume=m),f=d._getSoundIds(f);for(var g=0;g<f.length;g++)b=d._soundById(f[g]),b&&(b._volume=m,u[2]||d._stopFade(f[g]),d._webAudio&&b._node&&!b._muted?b._node.gain.setValueAtTime(m,n.ctx.currentTime):b._node&&!b._muted&&(b._node.volume=m*n.volume()),d._emit("volume",b._id))}else return b=f?d._soundById(f):d._sounds[0],b?b._volume:0;return d},fade:function(d,u,m,f){var p=this;if(p._state!=="loaded"||p._playLock)return p._queue.push({event:"fade",action:function(){p.fade(d,u,m,f)}}),p;d=Math.min(Math.max(0,parseFloat(d)),1),u=Math.min(Math.max(0,parseFloat(u)),1),m=parseFloat(m),p.volume(d,f);for(var h=p._getSoundIds(f),b=0;b<h.length;b++){var g=p._soundById(h[b]);if(g){if(f||p._stopFade(h[b]),p._webAudio&&!g._muted){var v=n.ctx.currentTime,E=v+m/1e3;g._volume=d,g._node.gain.setValueAtTime(d,v),g._node.gain.linearRampToValueAtTime(u,E)}p._startFadeInterval(g,d,u,m,h[b],typeof f=="undefined")}}return p},_startFadeInterval:function(d,u,m,f,p,h){var b=this,g=u,v=m-u,E=Math.abs(v/.01),S=Math.max(4,E>0?f/E:f),N=Date.now();d._fadeTo=m,d._interval=setInterval(function(){var C=(Date.now()-N)/f;N=Date.now(),g+=v*C,g=Math.round(g*100)/100,v<0?g=Math.max(m,g):g=Math.min(m,g),b._webAudio?d._volume=g:b.volume(g,d._id,!0),h&&(b._volume=g),(m<u&&g<=m||m>u&&g>=m)&&(clearInterval(d._interval),d._interval=null,d._fadeTo=null,b.volume(m,d._id),b._emit("fade",d._id))},S)},_stopFade:function(d){var u=this,m=u._soundById(d);return m&&m._interval&&(u._webAudio&&m._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(m._interval),m._interval=null,u.volume(m._fadeTo,d),m._fadeTo=null,u._emit("fade",d)),u},loop:function(){var d=this,u=arguments,m,f,p;if(u.length===0)return d._loop;if(u.length===1)if(typeof u[0]=="boolean")m=u[0],d._loop=m;else return p=d._soundById(parseInt(u[0],10)),p?p._loop:!1;else u.length===2&&(m=u[0],f=parseInt(u[1],10));for(var h=d._getSoundIds(f),b=0;b<h.length;b++)p=d._soundById(h[b]),p&&(p._loop=m,d._webAudio&&p._node&&p._node.bufferSource&&(p._node.bufferSource.loop=m,m&&(p._node.bufferSource.loopStart=p._start||0,p._node.bufferSource.loopEnd=p._stop,d.playing(h[b])&&(d.pause(h[b],!0),d.play(h[b],!0)))));return d},rate:function(){var d=this,u=arguments,m,f;if(u.length===0)f=d._sounds[0]._id;else if(u.length===1){var p=d._getSoundIds(),h=p.indexOf(u[0]);h>=0?f=parseInt(u[0],10):m=parseFloat(u[0])}else u.length===2&&(m=parseFloat(u[0]),f=parseInt(u[1],10));var b;if(typeof m=="number"){if(d._state!=="loaded"||d._playLock)return d._queue.push({event:"rate",action:function(){d.rate.apply(d,u)}}),d;typeof f=="undefined"&&(d._rate=m),f=d._getSoundIds(f);for(var g=0;g<f.length;g++)if(b=d._soundById(f[g]),b){d.playing(f[g])&&(b._rateSeek=d.seek(f[g]),b._playStart=d._webAudio?n.ctx.currentTime:b._playStart),b._rate=m,d._webAudio&&b._node&&b._node.bufferSource?b._node.bufferSource.playbackRate.setValueAtTime(m,n.ctx.currentTime):b._node&&(b._node.playbackRate=m);var v=d.seek(f[g]),E=(d._sprite[b._sprite][0]+d._sprite[b._sprite][1])/1e3-v,S=E*1e3/Math.abs(b._rate);(d._endTimers[f[g]]||!b._paused)&&(d._clearTimer(f[g]),d._endTimers[f[g]]=setTimeout(d._ended.bind(d,b),S)),d._emit("rate",b._id)}}else return b=d._soundById(f),b?b._rate:d._rate;return d},seek:function(){var d=this,u=arguments,m,f;if(u.length===0)d._sounds.length&&(f=d._sounds[0]._id);else if(u.length===1){var p=d._getSoundIds(),h=p.indexOf(u[0]);h>=0?f=parseInt(u[0],10):d._sounds.length&&(f=d._sounds[0]._id,m=parseFloat(u[0]))}else u.length===2&&(m=parseFloat(u[0]),f=parseInt(u[1],10));if(typeof f=="undefined")return 0;if(typeof m=="number"&&(d._state!=="loaded"||d._playLock))return d._queue.push({event:"seek",action:function(){d.seek.apply(d,u)}}),d;var b=d._soundById(f);if(b)if(typeof m=="number"&&m>=0){var g=d.playing(f);g&&d.pause(f,!0),b._seek=m,b._ended=!1,d._clearTimer(f),!d._webAudio&&b._node&&!isNaN(b._node.duration)&&(b._node.currentTime=m);var v=function(){g&&d.play(f,!0),d._emit("seek",f)};if(g&&!d._webAudio){var E=function(){d._playLock?setTimeout(E,0):v()};setTimeout(E,0)}else v()}else if(d._webAudio){var S=d.playing(f)?n.ctx.currentTime-b._playStart:0,N=b._rateSeek?b._rateSeek-b._seek:0;return b._seek+(N+S*Math.abs(b._rate))}else return b._node.currentTime;return d},playing:function(d){var u=this;if(typeof d=="number"){var m=u._soundById(d);return m?!m._paused:!1}for(var f=0;f<u._sounds.length;f++)if(!u._sounds[f]._paused)return!0;return!1},duration:function(d){var u=this,m=u._duration,f=u._soundById(d);return f&&(m=u._sprite[f._sprite][1]/1e3),m},state:function(){return this._state},unload:function(){for(var d=this,u=d._sounds,m=0;m<u.length;m++)u[m]._paused||d.stop(u[m]._id),d._webAudio||(d._clearSound(u[m]._node),u[m]._node.removeEventListener("error",u[m]._errorFn,!1),u[m]._node.removeEventListener(n._canPlayEvent,u[m]._loadFn,!1),u[m]._node.removeEventListener("ended",u[m]._endFn,!1),n._releaseHtml5Audio(u[m]._node)),delete u[m]._node,d._clearTimer(u[m]._id);var f=n._howls.indexOf(d);f>=0&&n._howls.splice(f,1);var p=!0;for(m=0;m<n._howls.length;m++)if(n._howls[m]._src===d._src||d._src.indexOf(n._howls[m]._src)>=0){p=!1;break}return r&&p&&delete r[d._src],n.noAudio=!1,d._state="unloaded",d._sounds=[],d=null,null},on:function(d,u,m,f){var p=this,h=p["_on"+d];return typeof u=="function"&&h.push(f?{id:m,fn:u,once:f}:{id:m,fn:u}),p},off:function(d,u,m){var f=this,p=f["_on"+d],h=0;if(typeof u=="number"&&(m=u,u=null),u||m)for(h=0;h<p.length;h++){var b=m===p[h].id;if(u===p[h].fn&&b||!u&&b){p.splice(h,1);break}}else if(d)f["_on"+d]=[];else{var g=Object.keys(f);for(h=0;h<g.length;h++)g[h].indexOf("_on")===0&&Array.isArray(f[g[h]])&&(f[g[h]]=[])}return f},once:function(d,u,m){var f=this;return f.on(d,u,m,1),f},_emit:function(d,u,m){for(var f=this,p=f["_on"+d],h=p.length-1;h>=0;h--)(!p[h].id||p[h].id===u||d==="load")&&(setTimeout(function(b){b.call(this,u,m)}.bind(f,p[h].fn),0),p[h].once&&f.off(d,p[h].fn,p[h].id));return f._loadQueue(d),f},_loadQueue:function(d){var u=this;if(u._queue.length>0){var m=u._queue[0];m.event===d&&(u._queue.shift(),u._loadQueue()),d||m.action()}return u},_ended:function(d){var u=this,m=d._sprite;if(!u._webAudio&&d._node&&!d._node.paused&&!d._node.ended&&d._node.currentTime<d._stop)return setTimeout(u._ended.bind(u,d),100),u;var f=!!(d._loop||u._sprite[m][2]);if(u._emit("end",d._id),!u._webAudio&&f&&u.stop(d._id,!0).play(d._id),u._webAudio&&f){u._emit("play",d._id),d._seek=d._start||0,d._rateSeek=0,d._playStart=n.ctx.currentTime;var p=(d._stop-d._start)*1e3/Math.abs(d._rate);u._endTimers[d._id]=setTimeout(u._ended.bind(u,d),p)}return u._webAudio&&!f&&(d._paused=!0,d._ended=!0,d._seek=d._start||0,d._rateSeek=0,u._clearTimer(d._id),u._cleanBuffer(d._node),n._autoSuspend()),!u._webAudio&&!f&&u.stop(d._id,!0),u},_clearTimer:function(d){var u=this;if(u._endTimers[d]){if(typeof u._endTimers[d]!="function")clearTimeout(u._endTimers[d]);else{var m=u._soundById(d);m&&m._node&&m._node.removeEventListener("ended",u._endTimers[d],!1)}delete u._endTimers[d]}return u},_soundById:function(d){for(var u=this,m=0;m<u._sounds.length;m++)if(d===u._sounds[m]._id)return u._sounds[m];return null},_inactiveSound:function(){var d=this;d._drain();for(var u=0;u<d._sounds.length;u++)if(d._sounds[u]._ended)return d._sounds[u].reset();return new o(d)},_drain:function(){var d=this,u=d._pool,m=0,f=0;if(!(d._sounds.length<u)){for(f=0;f<d._sounds.length;f++)d._sounds[f]._ended&&m++;for(f=d._sounds.length-1;f>=0;f--){if(m<=u)return;d._sounds[f]._ended&&(d._webAudio&&d._sounds[f]._node&&d._sounds[f]._node.disconnect(0),d._sounds.splice(f,1),m--)}}},_getSoundIds:function(d){var u=this;if(typeof d=="undefined"){for(var m=[],f=0;f<u._sounds.length;f++)m.push(u._sounds[f]._id);return m}else return[d]},_refreshBuffer:function(d){var u=this;return d._node.bufferSource=n.ctx.createBufferSource(),d._node.bufferSource.buffer=r[u._src],d._panner?d._node.bufferSource.connect(d._panner):d._node.bufferSource.connect(d._node),d._node.bufferSource.loop=d._loop,d._loop&&(d._node.bufferSource.loopStart=d._start||0,d._node.bufferSource.loopEnd=d._stop||0),d._node.bufferSource.playbackRate.setValueAtTime(d._rate,n.ctx.currentTime),u},_cleanBuffer:function(d){var u=this,m=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(n._scratchBuffer&&d.bufferSource&&(d.bufferSource.onended=null,d.bufferSource.disconnect(0),m))try{d.bufferSource.buffer=n._scratchBuffer}catch{}return d.bufferSource=null,u},_clearSound:function(d){var u=/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent);u||(d.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var o=function(d){this._parent=d,this.init()};o.prototype={init:function(){var d=this,u=d._parent;return d._muted=u._muted,d._loop=u._loop,d._volume=u._volume,d._rate=u._rate,d._seek=0,d._paused=!0,d._ended=!0,d._sprite="__default",d._id=++n._counter,u._sounds.push(d),d.create(),d},create:function(){var d=this,u=d._parent,m=n._muted||d._muted||d._parent._muted?0:d._volume;return u._webAudio?(d._node=typeof n.ctx.createGain=="undefined"?n.ctx.createGainNode():n.ctx.createGain(),d._node.gain.setValueAtTime(m,n.ctx.currentTime),d._node.paused=!0,d._node.connect(n.masterGain)):n.noAudio||(d._node=n._obtainHtml5Audio(),d._errorFn=d._errorListener.bind(d),d._node.addEventListener("error",d._errorFn,!1),d._loadFn=d._loadListener.bind(d),d._node.addEventListener(n._canPlayEvent,d._loadFn,!1),d._endFn=d._endListener.bind(d),d._node.addEventListener("ended",d._endFn,!1),d._node.src=u._src,d._node.preload=u._preload===!0?"auto":u._preload,d._node.volume=m*n.volume(),d._node.load()),d},reset:function(){var d=this,u=d._parent;return d._muted=u._muted,d._loop=u._loop,d._volume=u._volume,d._rate=u._rate,d._seek=0,d._rateSeek=0,d._paused=!0,d._ended=!0,d._sprite="__default",d._id=++n._counter,d},_errorListener:function(){var d=this;d._parent._emit("loaderror",d._id,d._node.error?d._node.error.code:0),d._node.removeEventListener("error",d._errorFn,!1)},_loadListener:function(){var d=this,u=d._parent;u._duration=Math.ceil(d._node.duration*10)/10,Object.keys(u._sprite).length===0&&(u._sprite={__default:[0,u._duration*1e3]}),u._state!=="loaded"&&(u._state="loaded",u._emit("load"),u._loadQueue()),d._node.removeEventListener(n._canPlayEvent,d._loadFn,!1)},_endListener:function(){var d=this,u=d._parent;u._duration===1/0&&(u._duration=Math.ceil(d._node.duration*10)/10,u._sprite.__default[1]===1/0&&(u._sprite.__default[1]=u._duration*1e3),u._ended(d)),d._node.removeEventListener("ended",d._endFn,!1)}};var r={},a=function(d){var u=d._src;if(r[u]){d._duration=r[u].duration,l(d);return}if(/^data:[^;]+;base64,/.test(u)){for(var m=atob(u.split(",")[1]),f=new Uint8Array(m.length),p=0;p<m.length;++p)f[p]=m.charCodeAt(p);c(f.buffer,d)}else{var h=new XMLHttpRequest;h.open(d._xhr.method,u,!0),h.withCredentials=d._xhr.withCredentials,h.responseType="arraybuffer",d._xhr.headers&&Object.keys(d._xhr.headers).forEach(function(b){h.setRequestHeader(b,d._xhr.headers[b])}),h.onload=function(){var b=(h.status+"")[0];if(b!=="0"&&b!=="2"&&b!=="3"){d._emit("loaderror",null,"Failed loading audio file with status: "+h.status+".");return}c(h.response,d)},h.onerror=function(){d._webAudio&&(d._html5=!0,d._webAudio=!1,d._sounds=[],delete r[u],d.load())},s(h)}},s=function(d){try{d.send()}catch{d.onerror()}},c=function(d,u){var m=function(){u._emit("loaderror",null,"Decoding audio data failed.")},f=function(p){p&&u._sounds.length>0?(r[u._src]=p,l(u,p)):m()};typeof Promise!="undefined"&&n.ctx.decodeAudioData.length===1?n.ctx.decodeAudioData(d).then(f).catch(m):n.ctx.decodeAudioData(d,f,m)},l=function(d,u){u&&!d._duration&&(d._duration=u.duration),Object.keys(d._sprite).length===0&&(d._sprite={__default:[0,d._duration*1e3]}),d._state!=="loaded"&&(d._state="loaded",d._emit("load"),d._loadQueue())},_=function(){if(!!n.usingWebAudio){try{typeof AudioContext!="undefined"?n.ctx=new AudioContext:typeof webkitAudioContext!="undefined"?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch{n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var d=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),u=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),m=u?parseInt(u[1],10):null;if(d&&m&&m<9){var f=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!f&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=typeof n.ctx.createGain=="undefined"?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:n._volume,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};e.Howler=n,e.Howl=i,typeof ut!="undefined"?(ut.HowlerGlobal=t,ut.Howler=n,ut.Howl=i,ut.Sound=o):typeof window!="undefined"&&(window.HowlerGlobal=t,window.Howler=n,window.Howl=i,window.Sound=o)})();/*!
|
|
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
|
|
*
|
|
* howler.js v2.2.3
|
|
* howlerjs.com
|
|
*
|
|
* (c) 2013-2020, James Simpson of GoldFire Studios
|
|
* goldfirestudios.com
|
|
*
|
|
* MIT License
|
|
*/(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(n){var i=this;if(!i.ctx||!i.ctx.listener)return i;for(var o=i._howls.length-1;o>=0;o--)i._howls[o].stereo(n);return i},HowlerGlobal.prototype.pos=function(n,i,o){var r=this;if(!r.ctx||!r.ctx.listener)return r;if(i=typeof i!="number"?r._pos[1]:i,o=typeof o!="number"?r._pos[2]:o,typeof n=="number")r._pos=[n,i,o],typeof r.ctx.listener.positionX!="undefined"?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]);else return r._pos;return r},HowlerGlobal.prototype.orientation=function(n,i,o,r,a,s){var c=this;if(!c.ctx||!c.ctx.listener)return c;var l=c._orientation;if(i=typeof i!="number"?l[1]:i,o=typeof o!="number"?l[2]:o,r=typeof r!="number"?l[3]:r,a=typeof a!="number"?l[4]:a,s=typeof s!="number"?l[5]:s,typeof n=="number")c._orientation=[n,i,o,r,a,s],typeof c.ctx.listener.forwardX!="undefined"?(c.ctx.listener.forwardX.setTargetAtTime(n,Howler.ctx.currentTime,.1),c.ctx.listener.forwardY.setTargetAtTime(i,Howler.ctx.currentTime,.1),c.ctx.listener.forwardZ.setTargetAtTime(o,Howler.ctx.currentTime,.1),c.ctx.listener.upX.setTargetAtTime(r,Howler.ctx.currentTime,.1),c.ctx.listener.upY.setTargetAtTime(a,Howler.ctx.currentTime,.1),c.ctx.listener.upZ.setTargetAtTime(s,Howler.ctx.currentTime,.1)):c.ctx.listener.setOrientation(n,i,o,r,a,s);else return l;return c},Howl.prototype.init=function(n){return function(i){var o=this;return o._orientation=i.orientation||[1,0,0],o._stereo=i.stereo||null,o._pos=i.pos||null,o._pannerAttr={coneInnerAngle:typeof i.coneInnerAngle!="undefined"?i.coneInnerAngle:360,coneOuterAngle:typeof i.coneOuterAngle!="undefined"?i.coneOuterAngle:360,coneOuterGain:typeof i.coneOuterGain!="undefined"?i.coneOuterGain:0,distanceModel:typeof i.distanceModel!="undefined"?i.distanceModel:"inverse",maxDistance:typeof i.maxDistance!="undefined"?i.maxDistance:1e4,panningModel:typeof i.panningModel!="undefined"?i.panningModel:"HRTF",refDistance:typeof i.refDistance!="undefined"?i.refDistance:1,rolloffFactor:typeof i.rolloffFactor!="undefined"?i.rolloffFactor:1},o._onstereo=i.onstereo?[{fn:i.onstereo}]:[],o._onpos=i.onpos?[{fn:i.onpos}]:[],o._onorientation=i.onorientation?[{fn:i.onorientation}]:[],n.call(this,i)}}(Howl.prototype.init),Howl.prototype.stereo=function(n,i){var o=this;if(!o._webAudio)return o;if(o._state!=="loaded")return o._queue.push({event:"stereo",action:function(){o.stereo(n,i)}}),o;var r=typeof Howler.ctx.createStereoPanner=="undefined"?"spatial":"stereo";if(typeof i=="undefined")if(typeof n=="number")o._stereo=n,o._pos=[n,0,0];else return o._stereo;for(var a=o._getSoundIds(i),s=0;s<a.length;s++){var c=o._soundById(a[s]);if(c)if(typeof n=="number")c._stereo=n,c._pos=[n,0,0],c._node&&(c._pannerAttr.panningModel="equalpower",(!c._panner||!c._panner.pan)&&t(c,r),r==="spatial"?typeof c._panner.positionX!="undefined"?(c._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),c._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),c._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):c._panner.setPosition(n,0,0):c._panner.pan.setValueAtTime(n,Howler.ctx.currentTime)),o._emit("stereo",c._id);else return c._stereo}return o},Howl.prototype.pos=function(n,i,o,r){var a=this;if(!a._webAudio)return a;if(a._state!=="loaded")return a._queue.push({event:"pos",action:function(){a.pos(n,i,o,r)}}),a;if(i=typeof i!="number"?0:i,o=typeof o!="number"?-.5:o,typeof r=="undefined")if(typeof n=="number")a._pos=[n,i,o];else return a._pos;for(var s=a._getSoundIds(r),c=0;c<s.length;c++){var l=a._soundById(s[c]);if(l)if(typeof n=="number")l._pos=[n,i,o],l._node&&((!l._panner||l._panner.pan)&&t(l,"spatial"),typeof l._panner.positionX!="undefined"?(l._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(i,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(o,Howler.ctx.currentTime)):l._panner.setPosition(n,i,o)),a._emit("pos",l._id);else return l._pos}return a},Howl.prototype.orientation=function(n,i,o,r){var a=this;if(!a._webAudio)return a;if(a._state!=="loaded")return a._queue.push({event:"orientation",action:function(){a.orientation(n,i,o,r)}}),a;if(i=typeof i!="number"?a._orientation[1]:i,o=typeof o!="number"?a._orientation[2]:o,typeof r=="undefined")if(typeof n=="number")a._orientation=[n,i,o];else return a._orientation;for(var s=a._getSoundIds(r),c=0;c<s.length;c++){var l=a._soundById(s[c]);if(l)if(typeof n=="number")l._orientation=[n,i,o],l._node&&(l._panner||(l._pos||(l._pos=a._pos||[0,0,-.5]),t(l,"spatial")),typeof l._panner.orientationX!="undefined"?(l._panner.orientationX.setValueAtTime(n,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(i,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(o,Howler.ctx.currentTime)):l._panner.setOrientation(n,i,o)),a._emit("orientation",l._id);else return l._orientation}return a},Howl.prototype.pannerAttr=function(){var n=this,i=arguments,o,r,a;if(!n._webAudio)return n;if(i.length===0)return n._pannerAttr;if(i.length===1)if(typeof i[0]=="object")o=i[0],typeof r=="undefined"&&(o.pannerAttr||(o.pannerAttr={coneInnerAngle:o.coneInnerAngle,coneOuterAngle:o.coneOuterAngle,coneOuterGain:o.coneOuterGain,distanceModel:o.distanceModel,maxDistance:o.maxDistance,refDistance:o.refDistance,rolloffFactor:o.rolloffFactor,panningModel:o.panningModel}),n._pannerAttr={coneInnerAngle:typeof o.pannerAttr.coneInnerAngle!="undefined"?o.pannerAttr.coneInnerAngle:n._coneInnerAngle,coneOuterAngle:typeof o.pannerAttr.coneOuterAngle!="undefined"?o.pannerAttr.coneOuterAngle:n._coneOuterAngle,coneOuterGain:typeof o.pannerAttr.coneOuterGain!="undefined"?o.pannerAttr.coneOuterGain:n._coneOuterGain,distanceModel:typeof o.pannerAttr.distanceModel!="undefined"?o.pannerAttr.distanceModel:n._distanceModel,maxDistance:typeof o.pannerAttr.maxDistance!="undefined"?o.pannerAttr.maxDistance:n._maxDistance,refDistance:typeof o.pannerAttr.refDistance!="undefined"?o.pannerAttr.refDistance:n._refDistance,rolloffFactor:typeof o.pannerAttr.rolloffFactor!="undefined"?o.pannerAttr.rolloffFactor:n._rolloffFactor,panningModel:typeof o.pannerAttr.panningModel!="undefined"?o.pannerAttr.panningModel:n._panningModel});else return a=n._soundById(parseInt(i[0],10)),a?a._pannerAttr:n._pannerAttr;else i.length===2&&(o=i[0],r=parseInt(i[1],10));for(var s=n._getSoundIds(r),c=0;c<s.length;c++)if(a=n._soundById(s[c]),a){var l=a._pannerAttr;l={coneInnerAngle:typeof o.coneInnerAngle!="undefined"?o.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:typeof o.coneOuterAngle!="undefined"?o.coneOuterAngle:l.coneOuterAngle,coneOuterGain:typeof o.coneOuterGain!="undefined"?o.coneOuterGain:l.coneOuterGain,distanceModel:typeof o.distanceModel!="undefined"?o.distanceModel:l.distanceModel,maxDistance:typeof o.maxDistance!="undefined"?o.maxDistance:l.maxDistance,refDistance:typeof o.refDistance!="undefined"?o.refDistance:l.refDistance,rolloffFactor:typeof o.rolloffFactor!="undefined"?o.rolloffFactor:l.rolloffFactor,panningModel:typeof o.panningModel!="undefined"?o.panningModel:l.panningModel};var _=a._panner;_?(_.coneInnerAngle=l.coneInnerAngle,_.coneOuterAngle=l.coneOuterAngle,_.coneOuterGain=l.coneOuterGain,_.distanceModel=l.distanceModel,_.maxDistance=l.maxDistance,_.refDistance=l.refDistance,_.rolloffFactor=l.rolloffFactor,_.panningModel=l.panningModel):(a._pos||(a._pos=n._pos||[0,0,-.5]),t(a,"spatial"))}return n},Sound.prototype.init=function(n){return function(){var i=this,o=i._parent;i._orientation=o._orientation,i._stereo=o._stereo,i._pos=o._pos,i._pannerAttr=o._pannerAttr,n.call(this),i._stereo?o.stereo(i._stereo):i._pos&&o.pos(i._pos[0],i._pos[1],i._pos[2],i._id)}}(Sound.prototype.init),Sound.prototype.reset=function(n){return function(){var i=this,o=i._parent;return i._orientation=o._orientation,i._stereo=o._stereo,i._pos=o._pos,i._pannerAttr=o._pannerAttr,i._stereo?o.stereo(i._stereo):i._pos?o.pos(i._pos[0],i._pos[1],i._pos[2],i._id):i._panner&&(i._panner.disconnect(0),i._panner=void 0,o._refreshBuffer(i)),n.call(this)}}(Sound.prototype.reset);var t=function(n,i){i=i||"spatial",i==="spatial"?(n._panner=Howler.ctx.createPanner(),n._panner.coneInnerAngle=n._pannerAttr.coneInnerAngle,n._panner.coneOuterAngle=n._pannerAttr.coneOuterAngle,n._panner.coneOuterGain=n._pannerAttr.coneOuterGain,n._panner.distanceModel=n._pannerAttr.distanceModel,n._panner.maxDistance=n._pannerAttr.maxDistance,n._panner.refDistance=n._pannerAttr.refDistance,n._panner.rolloffFactor=n._pannerAttr.rolloffFactor,n._panner.panningModel=n._pannerAttr.panningModel,typeof n._panner.positionX!="undefined"?(n._panner.positionX.setValueAtTime(n._pos[0],Howler.ctx.currentTime),n._panner.positionY.setValueAtTime(n._pos[1],Howler.ctx.currentTime),n._panner.positionZ.setValueAtTime(n._pos[2],Howler.ctx.currentTime)):n._panner.setPosition(n._pos[0],n._pos[1],n._pos[2]),typeof n._panner.orientationX!="undefined"?(n._panner.orientationX.setValueAtTime(n._orientation[0],Howler.ctx.currentTime),n._panner.orientationY.setValueAtTime(n._orientation[1],Howler.ctx.currentTime),n._panner.orientationZ.setValueAtTime(n._orientation[2],Howler.ctx.currentTime)):n._panner.setOrientation(n._orientation[0],n._orientation[1],n._orientation[2])):(n._panner=Howler.ctx.createStereoPanner(),n._panner.pan.setValueAtTime(n._stereo,Howler.ctx.currentTime)),n._panner.connect(n._node),n._paused||n._parent.pause(n._id,!0).play(n._id,!0)}})()})(xy);function B5({sounds:e,sound:t,delay:n,pitch:i,volume:o,onEdit:r,onDelete:a,delayedPlay:s}){const{locale:c}=An(),{version:l}=xs(),[_,d]=we(!0),[u,m]=we(!1),[f,p]=we(!1),h=an([]),b=`playsound minecraft:${t} master @s ~ ~ ~ ${o} ${i}`;ct(()=>{var A,R,D;const y=e[t];p(((R=(A=y==null?void 0:y.sounds)==null?void 0:A.length)!=null?R:0)===0),h.current.forEach(M=>M.stop()),h.current=((D=y==null?void 0:y.sounds)!=null?D:[]).map(M=>{const L=typeof M=="string"?M:M.name,F=h1(l,L),q=new xy.Howl({src:[F],format:["ogg"],volume:o,rate:i});q.on("end",()=>{m(!1)});const $=()=>{_&&h.current.every(Y=>Y.state()==="loaded")&&d(!1)};return q.state()==="loaded"?setTimeout(()=>$()):q.on("load",()=>{$()}),q}),d(!0)},[t,e]),ct(()=>{h.current.forEach(y=>y.rate(i))},[i]),ct(()=>{h.current.forEach(y=>y.volume(o))},[o]);const g=()=>{if(_||f)return;v();const y=Math.floor(Math.random()*h.current.length);h.current[y].play(),m(!0)},v=()=>{h.current.forEach(y=>y.stop())};ct(()=>{s&&setTimeout(()=>g(),n*50)},[s]),ct(()=>()=>v(),[]);const[E,S]=we(!1),N=an(void 0),C=()=>{navigator.clipboard.writeText(b),S(!0),N.current!==void 0&&clearTimeout(N.current),N.current=setTimeout(()=>{S(!1)},2e3)};return T("div",{class:`sound-config${_?" loading":u?" playing":""}${f?" invalid":""}`},T(tt,{class:"play",icon:f?"alert":_?"sync":"play",label:c("sounds.play"),onClick:g,tooltip:c(f?"sounds.unknown_sound":_?"sounds.loading_sound":"sounds.play_sound"),tooltipLoc:"se"}),T(Da,{class:"btn btn-input sound",list:"sound-list",spellcheck:!1,value:t,onChange:y=>r({sound:y})}),T("label",{class:"delay-label"},c("sounds.delay"),": "),T(s1,{class:"btn btn-input delay",min:0,value:n,onChange:y=>r({delay:y})}),T("label",{class:"pitch-label"},c("sounds.pitch"),": "),T(Zh,{class:"pitch tooltipped tip-s",min:.5,max:2,step:.01,"aria-label":i.toFixed(2),style:`--x: ${(i-.5)*(100/1.5)}%`,value:i,onChange:y=>r({pitch:y})}),T("label",{class:"volume-label"},c("sounds.volume"),": "),T(Zh,{class:"volume tooltipped tip-s",min:0,max:1,step:.01,"aria-label":o.toFixed(2),style:`--x: ${o*100}%`,value:o,onChange:y=>r({volume:y})}),T(tt,{class:`copy${E?" active":""}`,icon:E?"check":"terminal",label:c("copy"),tooltip:c(E?"copied":"sounds.copy_command"),onClick:C}),T(tt,{class:"remove",icon:"trashcan",tooltip:c("sounds.remove_sound"),onClick:()=>{a(),v()}}))}function er({title:e,desc:t,link:n,icon:i,children:o}){const r=T(vt,null,T("div",{class:"tool-head"},i&&Ry[i],T("div",null,T("h3",null,e),T("p",null,t))),o&&T("div",{class:"tool-body"},o));return n?T("a",{class:"tool-card",href:n},r):T("div",{class:"tool-card"},r)}const Eb="/";function Dy({entries:e,onSelect:t,indent:n}){const i=bn(()=>{var l;const c={};for(const _ of e){const d=_.indexOf(Eb);if(d>=0){const u=_.slice(0,d);((l=c[u])!=null?l:c[u]=[]).push(_.slice(d+1))}}return Object.entries(c)},e),o=bn(()=>e.filter(c=>!c.includes(Eb)),e),[r,a]=we(new Set),s=c=>{r.has(c)?r.delete(c):r.add(c),a(new Set(r))};return T("div",{class:"tree-view",style:`--indent: ${n!=null?n:0};`},i.map(([c,l])=>T("div",null,T(vb,{icon:r.has(c)?"chevron_right":"chevron_down",key:c,label:c,onClick:()=>s(c)}),!r.has(c)&&T(Dy,{entries:l,onSelect:_=>t(`${c}/${_}`),indent:(n!=null?n:0)+1}))),o.map(c=>T(vb,{icon:"file",key:c,label:c,onClick:()=>t(c)})))}function vb({icon:e,label:t,onClick:n}){return T("div",{class:"entry",onClick:n},At[e],t)}function Sb({category:e}){const{locale:t}=An();return br(t("title.generator_category",t(e))),T("main",null,T("div",{class:"category"},Xt.generators.filter(n=>n.category===e).map(n=>T(er,{title:t(n.id),link:bo(n.url)}))))}function $5({}){const{locale:e}=An(),[t,n]=we(null);br(e("title.changelog"));const[i,o]=we([]);return ct(()=>{KE().then(r=>o(r)).catch(r=>{console.error(r),n(r)})},[]),T("main",null,T(Bl,{type:"text",id:"changelog"}),t&&T(os,{error:t,onDismiss:()=>n(null)}),T("div",{class:"changelog"},T(Ty,{changes:i,defaultOrder:"desc"})))}function U5({}){var Gt;const{locale:e}=An(),{version:t,changeVersion:n,changeTargetVersion:i}=xs(),{project:o,file:r,updateFile:a,openFile:s,closeFile:c}=Dv(),[l,_]=we(null),[d,u]=eE();if(d)return d.message=`Something went wrong rendering the generator: ${d.message}`,T("main",null,T(os,{error:d,onDismiss:u}));const m=VE(us());if(!m)return T("main",null,T(os,{error:`Cannot find generator "${us()}"`}));const f=bn(()=>Xt.versions.filter(Ie=>xi(Ie.id,m.minVersion,m.maxVersion)).map(Ie=>Ie.id).reverse(),[m.minVersion,m.maxVersion]);br(e("title.generator",e(m.id)),f),xi(t,m.minVersion)||_(`The minimum version for this generator is ${m.minVersion}`),xi(t,void 0,m.maxVersion)||_(`This generator is not available in versions above ${m.maxVersion}`);const[p,h]=hl("preset"),[b,g]=hl(vp),v=an(!1);ct(()=>{C&&p?he(p).then(Ie=>{v.current=!0,C.reset(j.DataModel.wrapLists(Ie),!1),g(void 0)}):C&&b&&Eg(b).then(Ie=>E(C,Ie))},[p,b]);const E=(Ie,en)=>{if(en.version&&en.version!==t&&n(en.version,!1),en.type&&en.type!==m.id){const Br=Xt.generators.find(ie=>ie.id===en.type);Br&&Qo(`${bo(Br.url)}?${vp}=${en.id}`)}en.show_preview&&!se&&(_t(!0),yt(!1)),Ie.reset(j.DataModel.wrapLists(en.data),!1)},S=bn(()=>si.getBackup(m.id),[m.id]),N=()=>{S!==void 0&&(C==null||C.reset(j.DataModel.wrapLists(S),!1))},[C,y]=we(null),[A,R]=we(null);ct(()=>{_(null),y(null),pM(t).then(Ie=>R(Ie)),_M(t,m.id).then(async Ie=>{if(zn.setGenerator(m.id),p){const en=await he(p);Ie.reset(j.DataModel.wrapLists(en),!1)}else if(b){const en=await Eg(b);E(Ie,en)}y(Ie)}).catch(Ie=>{console.error(Ie),_(Ie)})},[t,m.id]);const[D,M]=we(!1);hd(C,()=>{v.current||(h(void 0,!0),g(void 0,!0)),v.current=!1,si.setBackup(m.id,j.DataModel.unwrapLists(C==null?void 0:C.data)),_(null),M(!0)},[m.id,h,g]);const[L,F]=we(""),[q,$]=Ks(),[Y,X]=Ks(),J=()=>{if(L!==(r==null?void 0:r.id)&&L&&C&&A){const Ie=Fc(C,A);a(m.id,r==null?void 0:r.id,{id:L,data:Ie})?$():(X(),r&&F(r==null?void 0:r.id))}else r&&F(r==null?void 0:r.id)},B=()=>{r&&a(m.id,r.id,{})};ct(()=>{r&&F(r.id)},[r]),ct(()=>{var Ie;C&&(F((Ie=r==null?void 0:r.id)!=null?Ie:""),r&&m.id===r.type&&C.reset(j.DataModel.wrapLists(r.data)),M(!1))},[r,C]);const w=()=>{zn.generatorEvent("reset"),C==null||C.reset(j.DataModel.wrapLists(C.schema.default()),!0)},I=Ie=>{Ie.stopPropagation(),zn.generatorEvent("undo","Menu"),C==null||C.undo()},U=Ie=>{Ie.stopPropagation(),zn.generatorEvent("redo","Menu"),C==null||C.redo()},z=Ie=>{Ie.ctrlKey&&Ie.key==="z"?(zn.generatorEvent("undo","Hotkey"),C==null||C.undo()):Ie.ctrlKey&&Ie.key==="y"&&(zn.generatorEvent("redo","Hotkey"),C==null||C.redo())},ee=Ie=>{if(Ie.ctrlKey&&Ie.key==="s"&&(Ie.preventDefault(),C&&A&&r)){zn.generatorEvent("save","Hotkey");const en=Fc(C,A);a(m.id,r==null?void 0:r.id,{id:r==null?void 0:r.id,data:en}),M(!1),$()}};ct(()=>(document.addEventListener("keyup",z),document.addEventListener("keydown",ee),()=>{document.removeEventListener("keyup",z),document.removeEventListener("keydown",ee)}),[C,A,r]);const[ae,te]=we([]);ct(()=>{mM(t).then(Ie=>{te(Ie.get(m.id).map(en=>en.slice(10)))}).catch(Ie=>{console.error(Ie),_(Ie)})},[t,m.id]);const me=Ie=>{zn.generatorEvent("load-preset",Ie),g(void 0,!0),i(t,!0),h(Ie)},he=async Ie=>{var en,Br,ie;try{const re=await XE(t,(en=m.path)!=null?en:m.id,Ie),be=C==null?void 0:C.get(new j.Path(["generator","seed"]));return((Br=re==null?void 0:re.generator)==null?void 0:Br.seed)!==void 0&&be!==void 0&&(re.generator.seed=be,((ie=re.generator.biome_source)==null?void 0:ie.seed)!==void 0&&(re.generator.biome_source.seed=be)),re}catch{_(`Cannot load preset ${Ie} in ${t}`),h(void 0,!0)}},Ve=Ie=>{g(void 0,!0),n(Ie)},[ze,_e]=we(void 0),[Re,De]=we(!1),[Vt,Zt]=Ks({cooldown:3e3}),Le=()=>{if(Re){De(!1);return}if(p)_e(`${location.origin}/${m.url}/?version=${t}&preset=${p}`),De(!0),mi();else if(C&&A){const Ie=Fc(C,A);xa(Ie,C.schema.default())?(_e(`${location.origin}/${m.url}/?version=${t}`),De(!0)):hM(m.id,t,Ie,se).then(en=>{_e(en),De(!0)}).catch(en=>{en instanceof Error&&_(en)})}},mi=()=>{navigator.clipboard.writeText(ze!=null?ze:""),Zt()};ct(()=>{Vt||(_e(void 0),De(!1))},[Vt]);const[Ot,yt]=we(window.innerWidth>820),[jn,xe]=we(0),[ti,Xi]=we(0),[Ce,$e]=we(0),k=()=>{zn.generatorEvent("copy"),xe(jn+1)},O=()=>{zn.generatorEvent("download"),Xi(ti+1)},x=()=>{zn.generatorEvent("import"),yt(!0),$e(Ce+1)},P=()=>{zn.generatorEvent("toggle-output",Ot?"hidden":"visible"),yt(!Ot),xe(0),Xi(0),$e(0)},[Z,ne]=Ks(),[se,_t]=we(!1),Jt=RP.includes(m.id)&&!(m.id==="worldgen/configured_feature"&&xi(t,"1.18"));se&&!Jt&&_t(!1);let Wt=2;Jt&&(Wt+=1),Ot&&(Wt+=2);const rn=()=>{zn.generatorEvent("toggle-preview",se?"hidden":"visible"),_t(!se),!se&&Ot&&yt(!1)};return T(vt,null,T("main",{class:se?"has-preview":""},T(Bl,{id:"data-pack-generator",type:"text"}),T("div",{class:"controls"},T("div",{class:`project-controls ${r&&"has-file"}`},T("div",{class:"btn-row"},T(Ri,{icon:"repo",label:o.name,relative:!1},T(tt,{icon:"arrow_left",label:e("project.go_to"),onClick:()=>Qo("/project")}),r&&T(tt,{icon:"file",label:e("project.new_file"),onClick:c}),S!==void 0&&T(tt,{icon:"history",label:e("restore_backup"),onClick:N}),T(Jh,{searchPlaceholder:e(o.name==="Drafts"?"project.search_drafts":"project.search"),noResults:e("project.no_files"),values:o.files.filter(Ie=>Ie.type===m.id).map(Ie=>Ie.id),onSelect:Ie=>s(m.id,Ie)})),T(Da,{class:"btn btn-input",placeholder:e("project.unsaved_file"),value:L,onChange:F,onEnter:J,onBlur:J}),r&&T(tt,{icon:"trashcan",tooltip:e("project.delete_file"),onClick:B})),D?T("div",{class:"status-icon"},At.dot_fill):q?T("div",{class:"status-icon active"},At.check):Y&&T("div",{class:"status-icon danger"},At.x)),T("div",{class:"generator-controls"},T(tt,{icon:"upload",label:e("import"),onClick:x}),T(Ri,{icon:"archive",label:e("presets"),relative:!1},T(Jh,{searchPlaceholder:e("search"),noResults:e("no_presets"),values:ae,onSelect:me})),T(Ri,{icon:"tag",label:t,tooltip:e("switch_version"),"data-cy":"version-switcher"},f.map(Ie=>T(tt,{label:Ie,active:Ie===t,onClick:()=>Ve(Ie)}))),T(Ri,{icon:"kebab_horizontal",tooltip:e("more")},T(tt,{icon:"history",label:e("reset"),onClick:w}),T(tt,{icon:"arrow_left",label:e("undo"),onClick:I}),T(tt,{icon:"arrow_right",label:e("redo"),onClick:U})))),l&&T(os,{error:l,onDismiss:()=>_(null)}),T(a5,{model:C,version:t,blockStates:A,onError:_})),T("div",{class:"popup-actions",style:`--offset: -${8+Wt*50}px;`},T("div",{class:`popup-action action-preview${Jt?" shown":""} tooltipped tip-nw`,"aria-label":e(se?"hide_preview":"show_preview"),onClick:rn},se?At.x_circle:At.play),T("div",{class:"popup-action action-share shown tooltipped tip-nw","aria-label":e("share"),onClick:Le},At.link),T("div",{class:`popup-action action-download${Ot?" shown":""} tooltipped tip-nw`,"aria-label":e("download"),onClick:O},At.download),T("div",{class:`popup-action action-copy${Ot?" shown":""}${Z?" active":""} tooltipped tip-nw`,"aria-label":e(Z?"copied":"copy"),onClick:k},Z?At.check:At.clippy),T("div",{class:"popup-action action-code shown tooltipped tip-nw","aria-label":e(Ot?"hide_output":"show_output"),onClick:P},Ot?At.chevron_right:At.code)),T("div",{class:`popup-preview${se?" shown":""}`},T(xP,{model:C,version:t,id:m.id,shown:se,onError:_})),T("div",{class:`popup-source${Ot?" shown":""}`},T(S$,{model:C,blockStates:A,doCopy:jn,doDownload:ti,doImport:Ce,name:(Gt=m.schema)!=null?Gt:"data",copySuccess:ne,onError:_})),T("div",{class:`popup-share${Re?" shown":""}`},T(Da,{value:ze,readonly:!0}),T(tt,{icon:Vt?"check":"clippy",onClick:mi,tooltip:e(Vt?"copied":"copy_share"),tooltipLoc:"nw",active:Vt,showTooltip:Vt})))}var eh={exports:{}};function th(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];typeof n=="object"&&!Object.isFrozen(n)&&th(n)}),e}eh.exports=th;eh.exports.default=th;var G5=eh.exports;class yb{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Iy(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Ho(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach(function(i){for(const o in i)n[o]=i[o]}),n}const z5="</span>",Nb=e=>!!e.kind,Y5=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((i,o)=>`${i}${"_".repeat(o+1)}`)].join(" ")}return`${t}${e}`};class H5{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Iy(t)}openNode(t){if(!Nb(t))return;let n=t.kind;t.sublanguage?n=`language-${n}`:n=Y5(n,{prefix:this.classPrefix}),this.span(n)}closeNode(t){!Nb(t)||(this.buffer+=z5)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class nh{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(i=>this._walk(t,i)),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=>{nh._collapse(n)})))}}class V5 extends nh{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 i=t.root;i.kind=n,i.sublanguage=!0,this.add(i)}toHTML(){return new H5(this,this.options).value()}finalize(){return!0}}function Ll(e){return e?typeof e=="string"?e:e.source:null}function ky(e){return $a("(?=",e,")")}function W5(e){return $a("(?:",e,")*")}function j5(e){return $a("(?:",e,")?")}function $a(...e){return e.map(n=>Ll(n)).join("")}function q5(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ih(...e){const t=q5(e);return"("+(t.capture?"":"?:")+e.map(i=>Ll(i)).join("|")+")"}function My(e){return new RegExp(e.toString()+"|").exec("").length-1}function K5(e,t){const n=e&&e.exec(t);return n&&n.index===0}const Q5=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function rh(e,{joinWith:t}){let n=0;return e.map(i=>{n+=1;const o=n;let r=Ll(i),a="";for(;r.length>0;){const s=Q5.exec(r);if(!s){a+=r;break}a+=r.substring(0,s.index),r=r.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+o):(a+=s[0],s[0]==="("&&n++)}return a}).map(i=>`(${i})`).join(t)}const X5=/\b\B/,Ly="[a-zA-Z]\\w*",oh="[a-zA-Z_]\\w*",Fy="\\b\\d+(\\.\\d+)?",Py="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",By="\\b(0b[01]+)",Z5="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",J5=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=$a(t,/.*\b/,e.binary,/\b.*/)),Ho({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,i)=>{n.index!==0&&i.ignoreMatch()}},e)},Fl={begin:"\\\\[\\s\\S]",relevance:0},e3={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Fl]},t3={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Fl]},n3={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/},mm=function(e,t,n={}){const i=Ho({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=ih("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:$a(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},i3=mm("//","$"),r3=mm("/\\*","\\*/"),o3=mm("#","$"),a3={scope:"number",begin:Fy,relevance:0},s3={scope:"number",begin:Py,relevance:0},l3={scope:"number",begin:By,relevance:0},c3={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Fl,{begin:/\[/,end:/\]/,relevance:0,contains:[Fl]}]}]},d3={scope:"title",begin:Ly,relevance:0},u3={scope:"title",begin:oh,relevance:0},_3={begin:"\\.\\s*"+oh,relevance:0},m3=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 hc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:X5,IDENT_RE:Ly,UNDERSCORE_IDENT_RE:oh,NUMBER_RE:Fy,C_NUMBER_RE:Py,BINARY_NUMBER_RE:By,RE_STARTERS_RE:Z5,SHEBANG:J5,BACKSLASH_ESCAPE:Fl,APOS_STRING_MODE:e3,QUOTE_STRING_MODE:t3,PHRASAL_WORDS_MODE:n3,COMMENT:mm,C_LINE_COMMENT_MODE:i3,C_BLOCK_COMMENT_MODE:r3,HASH_COMMENT_MODE:o3,NUMBER_MODE:a3,C_NUMBER_MODE:s3,BINARY_NUMBER_MODE:l3,REGEXP_MODE:c3,TITLE_MODE:d3,UNDERSCORE_TITLE_MODE:u3,METHOD_GUARD:_3,END_SAME_AS_BEGIN:m3});function p3(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function f3(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function h3(e,t){!t||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=p3,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function g3(e,t){!Array.isArray(e.illegal)||(e.illegal=ih(...e.illegal))}function b3(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 E3(e,t){e.relevance===void 0&&(e.relevance=1)}const v3=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(i=>{delete e[i]}),e.keywords=n.keywords,e.begin=$a(n.beforeMatch,ky(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},S3=["of","and","for","in","not","or","if","then","parent","list","value"],y3="keyword";function $y(e,t,n=y3){const i=Object.create(null);return typeof e=="string"?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach(function(r){Object.assign(i,$y(e[r],t,r))}),i;function o(r,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const c=s.split("|");i[c[0]]=[r,N3(c[0],c[1])]})}}function N3(e,t){return t?Number(t):C3(e)?0:1}function C3(e){return S3.includes(e.toLowerCase())}const Cb={},wa=e=>{console.error(e)},Ab=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Qa=(e,t)=>{Cb[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Cb[`${e}/${t}`]=!0)},rd=new Error;function Uy(e,t,{key:n}){let i=0;const o=e[n],r={},a={};for(let s=1;s<=t.length;s++)a[s+i]=o[s],r[s+i]=!0,i+=My(t[s-1]);e[n]=a,e[n]._emit=r,e[n]._multi=!0}function A3(e){if(!!Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw wa("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),rd;if(typeof e.beginScope!="object"||e.beginScope===null)throw wa("beginScope must be object"),rd;Uy(e,e.begin,{key:"beginScope"}),e.begin=rh(e.begin,{joinWith:""})}}function O3(e){if(!!Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw wa("skip, excludeEnd, returnEnd not compatible with endScope: {}"),rd;if(typeof e.endScope!="object"||e.endScope===null)throw wa("endScope must be object"),rd;Uy(e,e.end,{key:"endScope"}),e.end=rh(e.end,{joinWith:""})}}function T3(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function w3(e){T3(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),A3(e),O3(e)}function R3(e){function t(a,s){return new RegExp(Ll(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,s]),this.matchAt+=My(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(c=>c[1]);this.matcherRe=t(rh(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(s);if(!c)return null;const l=c.findIndex((d,u)=>u>0&&d!==void 0),_=this.matchIndexes[l];return c.splice(0,l),Object.assign(c,_)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const c=new n;return this.rules.slice(s).forEach(([l,_])=>c.addRule(l,_)),c.compile(),this.multiRegexes[s]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,c){this.rules.push([s,c]),c.type==="begin"&&this.count++}exec(s){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let l=c.exec(s);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const _=this.getMatcher(0);_.lastIndex=this.lastIndex+1,l=_.exec(s)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function o(a){const s=new i;return a.contains.forEach(c=>s.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function r(a,s){const c=a;if(a.isCompiled)return c;[f3,b3,w3,v3].forEach(_=>_(a,s)),e.compilerExtensions.forEach(_=>_(a,s)),a.__beforeBegin=null,[h3,g3,E3].forEach(_=>_(a,s)),a.isCompiled=!0;let l=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=$y(a.keywords,e.case_insensitive)),c.keywordPatternRe=t(l,!0),s&&(a.begin||(a.begin=/\B|\b/),c.beginRe=t(c.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=t(c.end)),c.terminatorEnd=Ll(c.end)||"",a.endsWithParent&&s.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(c.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(_){return x3(_==="self"?a:_)})),a.contains.forEach(function(_){r(_,c)}),a.starts&&r(a.starts,s),c.matcher=o(c),c}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=Ho(e.classNameAliases||{}),r(e)}function Gy(e){return e?e.endsWithParent||Gy(e.starts):!1}function x3(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ho(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Gy(e)?Ho(e,{starts:e.starts?Ho(e.starts):null}):Object.isFrozen(e)?Ho(e):e}var D3="11.5.1";class I3 extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const op=Iy,Ob=Ho,Tb=Symbol("nomatch"),k3=7,M3=function(e){const t=Object.create(null),n=Object.create(null),i=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:V5};function c($){return s.noHighlightRe.test($)}function l($){let Y=$.className+" ";Y+=$.parentNode?$.parentNode.className:"";const X=s.languageDetectRe.exec(Y);if(X){const J=A(X[1]);return J||(Ab(r.replace("{}",X[1])),Ab("Falling back to no-highlight mode for this block.",$)),J?X[1]:"no-highlight"}return Y.split(/\s+/).find(J=>c(J)||A(J))}function _($,Y,X){let J="",B="";typeof Y=="object"?(J=$,X=Y.ignoreIllegals,B=Y.language):(Qa("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qa("10.7.0",`Please use highlight(code, options) instead.
|
|
https://github.com/highlightjs/highlight.js/issues/2277`),B=$,J=Y),X===void 0&&(X=!0);const w={code:J,language:B};F("before:highlight",w);const I=w.result?w.result:d(w.language,w.code,X);return I.code=w.code,F("after:highlight",I),I}function d($,Y,X,J){const B=Object.create(null);function w(Ce,$e){return Ce.keywords[$e]}function I(){if(!Le.keywords){Ot.addText(yt);return}let Ce=0;Le.keywordPatternRe.lastIndex=0;let $e=Le.keywordPatternRe.exec(yt),k="";for(;$e;){k+=yt.substring(Ce,$e.index);const O=De.case_insensitive?$e[0].toLowerCase():$e[0],x=w(Le,O);if(x){const[P,Z]=x;if(Ot.addText(k),k="",B[O]=(B[O]||0)+1,B[O]<=k3&&(jn+=Z),P.startsWith("_"))k+=$e[0];else{const ne=De.classNameAliases[P]||P;Ot.addKeyword($e[0],ne)}}else k+=$e[0];Ce=Le.keywordPatternRe.lastIndex,$e=Le.keywordPatternRe.exec(yt)}k+=yt.substr(Ce),Ot.addText(k)}function U(){if(yt==="")return;let Ce=null;if(typeof Le.subLanguage=="string"){if(!t[Le.subLanguage]){Ot.addText(yt);return}Ce=d(Le.subLanguage,yt,!0,mi[Le.subLanguage]),mi[Le.subLanguage]=Ce._top}else Ce=m(yt,Le.subLanguage.length?Le.subLanguage:null);Le.relevance>0&&(jn+=Ce.relevance),Ot.addSublanguage(Ce._emitter,Ce.language)}function z(){Le.subLanguage!=null?U():I(),yt=""}function ee(Ce,$e){let k=1;const O=$e.length-1;for(;k<=O;){if(!Ce._emit[k]){k++;continue}const x=De.classNameAliases[Ce[k]]||Ce[k],P=$e[k];x?Ot.addKeyword(P,x):(yt=P,I(),yt=""),k++}}function ae(Ce,$e){return Ce.scope&&typeof Ce.scope=="string"&&Ot.openNode(De.classNameAliases[Ce.scope]||Ce.scope),Ce.beginScope&&(Ce.beginScope._wrap?(Ot.addKeyword(yt,De.classNameAliases[Ce.beginScope._wrap]||Ce.beginScope._wrap),yt=""):Ce.beginScope._multi&&(ee(Ce.beginScope,$e),yt="")),Le=Object.create(Ce,{parent:{value:Le}}),Le}function te(Ce,$e,k){let O=K5(Ce.endRe,k);if(O){if(Ce["on:end"]){const x=new yb(Ce);Ce["on:end"]($e,x),x.isMatchIgnored&&(O=!1)}if(O){for(;Ce.endsParent&&Ce.parent;)Ce=Ce.parent;return Ce}}if(Ce.endsWithParent)return te(Ce.parent,$e,k)}function me(Ce){return Le.matcher.regexIndex===0?(yt+=Ce[0],1):(Xi=!0,0)}function he(Ce){const $e=Ce[0],k=Ce.rule,O=new yb(k),x=[k.__beforeBegin,k["on:begin"]];for(const P of x)if(!!P&&(P(Ce,O),O.isMatchIgnored))return me($e);return k.skip?yt+=$e:(k.excludeBegin&&(yt+=$e),z(),!k.returnBegin&&!k.excludeBegin&&(yt=$e)),ae(k,Ce),k.returnBegin?0:$e.length}function Ve(Ce){const $e=Ce[0],k=Y.substr(Ce.index),O=te(Le,Ce,k);if(!O)return Tb;const x=Le;Le.endScope&&Le.endScope._wrap?(z(),Ot.addKeyword($e,Le.endScope._wrap)):Le.endScope&&Le.endScope._multi?(z(),ee(Le.endScope,Ce)):x.skip?yt+=$e:(x.returnEnd||x.excludeEnd||(yt+=$e),z(),x.excludeEnd&&(yt=$e));do Le.scope&&Ot.closeNode(),!Le.skip&&!Le.subLanguage&&(jn+=Le.relevance),Le=Le.parent;while(Le!==O.parent);return O.starts&&ae(O.starts,Ce),x.returnEnd?0:$e.length}function ze(){const Ce=[];for(let $e=Le;$e!==De;$e=$e.parent)$e.scope&&Ce.unshift($e.scope);Ce.forEach($e=>Ot.openNode($e))}let _e={};function Re(Ce,$e){const k=$e&&$e[0];if(yt+=Ce,k==null)return z(),0;if(_e.type==="begin"&&$e.type==="end"&&_e.index===$e.index&&k===""){if(yt+=Y.slice($e.index,$e.index+1),!o){const O=new Error(`0 width match regex (${$})`);throw O.languageName=$,O.badRule=_e.rule,O}return 1}if(_e=$e,$e.type==="begin")return he($e);if($e.type==="illegal"&&!X){const O=new Error('Illegal lexeme "'+k+'" for mode "'+(Le.scope||"<unnamed>")+'"');throw O.mode=Le,O}else if($e.type==="end"){const O=Ve($e);if(O!==Tb)return O}if($e.type==="illegal"&&k==="")return 1;if(ti>1e5&&ti>$e.index*3)throw new Error("potential infinite loop, way more iterations than matches");return yt+=k,k.length}const De=A($);if(!De)throw wa(r.replace("{}",$)),new Error('Unknown language: "'+$+'"');const Vt=R3(De);let Zt="",Le=J||Vt;const mi={},Ot=new s.__emitter(s);ze();let yt="",jn=0,xe=0,ti=0,Xi=!1;try{for(Le.matcher.considerAll();;){ti++,Xi?Xi=!1:Le.matcher.considerAll(),Le.matcher.lastIndex=xe;const Ce=Le.matcher.exec(Y);if(!Ce)break;const $e=Y.substring(xe,Ce.index),k=Re($e,Ce);xe=Ce.index+k}return Re(Y.substr(xe)),Ot.closeAllNodes(),Ot.finalize(),Zt=Ot.toHTML(),{language:$,value:Zt,relevance:jn,illegal:!1,_emitter:Ot,_top:Le}}catch(Ce){if(Ce.message&&Ce.message.includes("Illegal"))return{language:$,value:op(Y),illegal:!0,relevance:0,_illegalBy:{message:Ce.message,index:xe,context:Y.slice(xe-100,xe+100),mode:Ce.mode,resultSoFar:Zt},_emitter:Ot};if(o)return{language:$,value:op(Y),illegal:!1,relevance:0,errorRaised:Ce,_emitter:Ot,_top:Le};throw Ce}}function u($){const Y={value:op($),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return Y._emitter.addText($),Y}function m($,Y){Y=Y||s.languages||Object.keys(t);const X=u($),J=Y.filter(A).filter(D).map(z=>d(z,$,!1));J.unshift(X);const B=J.sort((z,ee)=>{if(z.relevance!==ee.relevance)return ee.relevance-z.relevance;if(z.language&&ee.language){if(A(z.language).supersetOf===ee.language)return 1;if(A(ee.language).supersetOf===z.language)return-1}return 0}),[w,I]=B,U=w;return U.secondBest=I,U}function f($,Y,X){const J=Y&&n[Y]||X;$.classList.add("hljs"),$.classList.add(`language-${J}`)}function p($){let Y=null;const X=l($);if(c(X))return;if(F("before:highlightElement",{el:$,language:X}),$.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn($)),s.throwUnescapedHTML))throw new I3("One of your code blocks includes unescaped HTML.",$.innerHTML);Y=$;const J=Y.textContent,B=X?_(J,{language:X,ignoreIllegals:!0}):m(J);$.innerHTML=B.value,f($,X,B.language),$.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&($.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),F("after:highlightElement",{el:$,result:B,text:J})}function h($){s=Ob(s,$)}const b=()=>{E(),Qa("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function g(){E(),Qa("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function E(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(s.cssSelector).forEach(p)}function S(){v&&E()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",S,!1);function N($,Y){let X=null;try{X=Y(e)}catch(J){if(wa("Language definition for '{}' could not be registered.".replace("{}",$)),o)wa(J);else throw J;X=a}X.name||(X.name=$),t[$]=X,X.rawDefinition=Y.bind(null,e),X.aliases&&R(X.aliases,{languageName:$})}function C($){delete t[$];for(const Y of Object.keys(n))n[Y]===$&&delete n[Y]}function y(){return Object.keys(t)}function A($){return $=($||"").toLowerCase(),t[$]||t[n[$]]}function R($,{languageName:Y}){typeof $=="string"&&($=[$]),$.forEach(X=>{n[X.toLowerCase()]=Y})}function D($){const Y=A($);return Y&&!Y.disableAutodetect}function M($){$["before:highlightBlock"]&&!$["before:highlightElement"]&&($["before:highlightElement"]=Y=>{$["before:highlightBlock"](Object.assign({block:Y.el},Y))}),$["after:highlightBlock"]&&!$["after:highlightElement"]&&($["after:highlightElement"]=Y=>{$["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function L($){M($),i.push($)}function F($,Y){const X=$;i.forEach(function(J){J[X]&&J[X](Y)})}function q($){return Qa("10.7.0","highlightBlock will be removed entirely in v12.0"),Qa("10.7.0","Please use highlightElement now."),p($)}Object.assign(e,{highlight:_,highlightAuto:m,highlightAll:E,highlightElement:p,highlightBlock:q,configure:h,initHighlighting:b,initHighlightingOnLoad:g,registerLanguage:N,unregisterLanguage:C,listLanguages:y,getLanguage:A,registerAliases:R,autoDetection:D,inherit:Ob,addPlugin:L}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=D3,e.regex={concat:$a,lookahead:ky,either:ih,optional:j5,anyNumberOfTimes:W5};for(const $ in hc)typeof hc[$]=="object"&&G5(hc[$]);return Object.assign(e,hc),e};var Pl=M3({}),L3=Pl;Pl.HighlightJS=Pl;Pl.default=Pl;function F3(e){const t="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]+",o="\u0434\u0430\u043B\u0435\u0435 "+"\u0432\u043E\u0437\u0432\u0440\u0430\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C\u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0434\u043B\u044F \u0435\u0441\u043B\u0438 \u0438 \u0438\u0437 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u0438\u043D\u0430\u0447\u0435\u0435\u0441\u043B\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043F\u044B\u0442\u043A\u0438 \u043A\u043E\u043D\u0435\u0446\u0446\u0438\u043A\u043B\u0430 \u043D\u0435 \u043D\u043E\u0432\u044B\u0439 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043F\u0435\u0440\u0435\u043C \u043F\u043E \u043F\u043E\u043A\u0430 \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0442\u043E\u0433\u0434\u0430 \u0446\u0438\u043A\u043B \u044D\u043A\u0441\u043F\u043E\u0440\u0442 ",s="\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0438\u0437\u0444\u0430\u0439\u043B\u0430 "+"\u0432\u0435\u0431\u043A\u043B\u0438\u0435\u043D\u0442 \u0432\u043C\u0435\u0441\u0442\u043E \u0432\u043D\u0435\u0448\u043D\u0435\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043A\u043B\u0438\u0435\u043D\u0442 \u043A\u043E\u043D\u0435\u0446\u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043B\u0438\u0435\u043D\u0442 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0441\u043B\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0431\u044B\u0447\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043D\u043A\u0438\u0439\u043A\u043B\u0438\u0435\u043D\u0442 ",c="\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u0430\u043D\u0438\u0446 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u043E\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 ",l="ansitooem oemtoansi \u0432\u0432\u0435\u0441\u0442\u0438\u0432\u0438\u0434\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0438\u043E\u0434 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0434\u0430\u0442\u0430\u0433\u043E\u0434 \u0434\u0430\u0442\u0430\u043C\u0435\u0441\u044F\u0446 \u0434\u0430\u0442\u0430\u0447\u0438\u0441\u043B\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0438\u0431 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u0434\u0441\u0438\u043C\u0432 \u043A\u043E\u043D\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043A\u043E\u043D\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u043D\u0435\u0434\u0435\u043B\u0438 \u043B\u043E\u0433 \u043B\u043E\u043310 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043D\u0430\u0431\u043E\u0440\u0430\u043F\u0440\u0430\u0432 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0432\u0438\u0434 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0441\u0447\u0435\u0442 \u043D\u0430\u0439\u0442\u0438\u0441\u0441\u044B\u043B\u043A\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043D\u0430\u0447\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u0433\u043E\u0434\u0430 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u043D\u0435\u0434\u0435\u043B\u0438\u0433\u043E\u0434\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u044F\u0437\u044B\u043A \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043E\u043A\u043D\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434\u0441\u0442\u0440 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u0442\u0443\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0430 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u043F\u0438\u0441\u044C \u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043F\u043E \u0441\u0438\u043C\u0432 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430 \u0441\u0442\u0440\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0447\u0435\u0442\u043F\u043E\u043A\u043E\u0434\u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0435\u0432\u0440\u0435\u043C\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0442\u0440 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043D\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043F\u043E \u0444\u0438\u043A\u0441\u0448\u0430\u0431\u043B\u043E\u043D \u0448\u0430\u0431\u043B\u043E\u043D ",_="acos asin atan base64\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 base64\u0441\u0442\u0440\u043E\u043A\u0430 cos exp log log10 pow sin sqrt tan xml\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 xml\u0441\u0442\u0440\u043E\u043A\u0430 xml\u0442\u0438\u043F xml\u0442\u0438\u043F\u0437\u043D\u0447 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0435\u043E\u043A\u043D\u043E \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u043B\u0435\u0432\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u0434\u0430\u0442\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0447\u0438\u0441\u043B\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C\u0447\u0442\u0435\u043D\u0438\u044Fxml \u0432\u043E\u043F\u0440\u043E\u0441 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u0433 \u0432\u044B\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0443\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u043F\u0440\u0430\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u0433\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B\u0432\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u0430\u0442\u0430 \u0434\u0435\u043D\u044C \u0434\u0435\u043D\u044C\u0433\u043E\u0434\u0430 \u0434\u0435\u043D\u044C\u043D\u0435\u0434\u0435\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C\u043C\u0435\u0441\u044F\u0446 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0437\u0430\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cjson \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cxml \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u0437\u0430\u043F\u0438\u0441\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u0437\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0444\u0430\u0439\u043B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u0438\u0437xml\u0442\u0438\u043F\u0430 \u0438\u043C\u043F\u043E\u0440\u0442\u043C\u043E\u0434\u0435\u043B\u0438xdto \u0438\u043C\u044F\u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0430 \u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0433\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043A\u043E\u0434\u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043A\u043E\u043D\u0435\u0446\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u0434\u043D\u044F \u043A\u043E\u043D\u0435\u0446\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0438\u043D\u0443\u0442\u044B \u043A\u043E\u043D\u0435\u0446\u043D\u0435\u0434\u0435\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u0447\u0430\u0441\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0444\u0430\u0439\u043B \u043A\u0440\u0430\u0442\u043A\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043B\u0435\u0432 \u043C\u0430\u043A\u0441 \u043C\u0435\u0441\u0442\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u043C\u0435\u0441\u044F\u0446 \u043C\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430 \u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043D\u0430\u0439\u0442\u0438 \u043D\u0430\u0439\u0442\u0438\u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u043D\u0430\u0439\u0442\u0438\u043E\u043A\u043D\u043E\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435\u043D\u0430\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u0441\u0441\u044B\u043B\u043A\u0430\u043C \u043D\u0430\u0439\u0442\u0438\u0444\u0430\u0439\u043B\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u0434\u043D\u044F \u043D\u0430\u0447\u0430\u043B\u043E\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0447\u0430\u0441\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0443\u0441\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0438\u0441\u043A\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0435\u0434\u0435\u043B\u044F\u0433\u043E\u0434\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u043E\u043C\u0435\u0440\u0441\u0435\u0430\u043D\u0441\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u043E\u043C\u0435\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u0440\u0435\u0433 \u043D\u0441\u0442\u0440 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044E\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043E\u043A\u0440 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C\u043E\u0431\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0438\u043D\u0434\u0435\u043A\u0441\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0435\u0440\u0435\u0439\u0442\u0438\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0434\u0430\u0442\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0447\u0438\u0441\u043B\u0430 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u043E\u043F\u0440\u043E\u0441 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043D\u0430\u043A\u0430\u0440\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Ccom\u043E\u0431\u044A\u0435\u043A\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Cxml\u0442\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0430\u0434\u0440\u0435\u0441\u043F\u043E\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043A\u043E\u0434\u044B\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0447\u0430\u0441\u043E\u0432\u044B\u0435\u043F\u043E\u044F\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u044D\u043A\u0440\u0430\u043D\u043E\u0432\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0430\u0434\u0440\u0435\u0441\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0438\u0439\u043C\u0430\u043A\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0443\u044E\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043A\u043D\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u0443\u044E\u043E\u0442\u043C\u0435\u0442\u043A\u0443\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445\u0441\u0441\u044B\u043B\u043E\u043A \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0435\u0430\u043D\u0441\u044B\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0443\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0441\u0435\u0430\u043D\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u043E\u0441 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0432\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0430\u0432 \u043F\u0440\u0430\u0432\u043E\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u0434\u0430\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0430\u0432\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u044F\u0441\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043A\u0440\u0430\u0442\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C\u0432\u044B\u0437\u043E\u0432 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cjson \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cxml \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u043F\u0443\u0441\u0442\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0440\u0430\u0431\u043E\u0447\u0438\u0439\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u0440\u0430\u0437\u043E\u0440\u0432\u0430\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0440\u043E\u043B\u044C\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0430 \u0441\u0438\u0433\u043D\u0430\u043B \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u043B\u0435\u0442\u043D\u0435\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0431\u0443\u0444\u0435\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043A\u0430\u0442\u0430\u043B\u043E\u0433 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u0444\u0430\u0431\u0440\u0438\u043A\u0443xdto \u0441\u043E\u043A\u0440\u043B \u0441\u043E\u043A\u0440\u043B\u043F \u0441\u043E\u043A\u0440\u043F \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0440\u0435\u0434 \u0441\u0442\u0440\u0434\u043B\u0438\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043D\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F\u0441 \u0441\u0442\u0440\u043E\u043A\u0430 \u0441\u0442\u0440\u043E\u043A\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0441\u0442\u0440\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u0442\u0440\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0442\u0440\u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430\u0441\u0435\u0430\u043D\u0441\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u0432\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0442\u0438\u043F \u0442\u0438\u043F\u0437\u043D\u0447 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F\u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0442\u0440\u0435\u0433 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0444\u043E\u0440\u043C\u0430\u0442 \u0446\u0435\u043B \u0447\u0430\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0447\u0438\u0441\u043B\u043E \u0447\u0438\u0441\u043B\u043E\u043F\u0440\u043E\u043F\u0438\u0441\u044C\u044E \u044D\u0442\u043E\u0430\u0434\u0440\u0435\u0441\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 ",d="ws\u0441\u0441\u044B\u043B\u043A\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043C\u0430\u043A\u0435\u0442\u043E\u0432\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u0441\u0442\u0438\u043B\u0435\u0439 \u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0442\u0447\u0435\u0442\u044B \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0441\u0442\u0438\u043B\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0436\u0443\u0440\u043D\u0430\u043B\u044B\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0439\u0434\u0430\u0442\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0438\u043E\u0442\u0431\u043E\u0440\u0430 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u043E\u0442\u0447\u0435\u0442\u044B \u043F\u0430\u043D\u0435\u043B\u044C\u0437\u0430\u0434\u0430\u0447\u043E\u0441 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u043F\u043B\u0430\u043D\u044B\u043E\u0431\u043C\u0435\u043D\u0430 \u043F\u043B\u0430\u043D\u044B\u0441\u0447\u0435\u0442\u043E\u0432 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0440\u0430\u0431\u043E\u0447\u0430\u044F\u0434\u0430\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0433\u0435\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043F\u043E\u0447\u0442\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0435\u043F\u043E\u0442\u043E\u043A\u0438 \u0444\u043E\u043D\u043E\u0432\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043E\u0431\u0449\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445\u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A ",u=c+l+_+d,m="web\u0446\u0432\u0435\u0442\u0430 windows\u0446\u0432\u0435\u0442\u0430 windows\u0448\u0440\u0438\u0444\u0442\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0440\u0430\u043C\u043A\u0438\u0441\u0442\u0438\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0446\u0432\u0435\u0442\u0430\u0441\u0442\u0438\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u044B\u0441\u0442\u0438\u043B\u044F ",f="\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F\u0432\u0444\u043E\u0440\u043C\u0435 \u0430\u0432\u0442\u043E\u0440\u0430\u0437\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0438\u0439 \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0438\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0432\u044B\u0441\u043E\u0442\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0434\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044F \u0432\u0438\u0434\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u0432\u0438\u0434\u043F\u043E\u043B\u044F\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0444\u043B\u0430\u0436\u043A\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043D\u0430\u043F\u0443\u0437\u044B\u0440\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B \u0433\u0440\u0443\u043F\u043F\u044B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043C\u0435\u0436\u0434\u0443\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438\u0444\u043E\u0440\u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u044B\u0432\u043E\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043E\u0441\u044B\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u043E\u0447\u043A\u0438\u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043E\u0441\u0438\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043E\u043C\u0430\u043D\u0434 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u0441\u0435\u0440\u0438\u0439 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0434\u0435\u0440\u0435\u0432\u0430 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043D\u043E\u043F\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438\u0432\u044B\u0431\u043E\u0440\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u043E\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F\u043F\u0440\u0438\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0438\u043F\u043E\u043B\u043E\u0441\u044B\u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0444\u0438\u0433\u0443\u0440\u044B\u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0430\u043B\u0438\u0442\u0440\u0430\u0446\u0432\u0435\u0442\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0438\u0441\u043A\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043E\u043F\u043E\u0440\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u0448\u043A\u0430\u043B\u044B\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u043E\u0438\u0441\u043A\u043E\u043C \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439\u0433\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0441\u0435\u0440\u0438\u0439\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0437\u043C\u0435\u0440\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0432\u0432\u043E\u0434\u0430\u0441\u0442\u0440\u043E\u043A\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0431\u043E\u0440\u0430\u043D\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u0442\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u043F\u0435\u0447\u0430\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0440\u0435\u0436\u0438\u043C\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u043A\u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u043E\u043A\u043D\u0430\u0444\u043E\u0440\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0435\u0440\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438\u0441\u0435\u0442\u043A\u0438\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 \u0440\u0435\u0436\u0438\u043C\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043A\u043E\u043B\u043E\u043D\u043A\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0441\u043F\u0438\u0441\u043A\u0430\u0437\u0430\u0434\u0430\u0447 \u0441\u043A\u0432\u043E\u0437\u043D\u043E\u0435\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0433\u0440\u0443\u043F\u043F\u0430\u043A\u043E\u043C\u0430\u043D\u0434 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0435\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0442\u0438\u043B\u044C\u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0442\u0438\u043F\u0430\u043F\u043F\u0440\u043E\u043A\u0441\u0438\u043C\u0430\u0446\u0438\u0438\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0442\u0438\u043F\u0438\u043C\u043F\u043E\u0440\u0442\u0430\u0441\u0435\u0440\u0438\u0439\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0438\u0438\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u0447\u043D\u043E\u0433\u043E\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0448\u043A\u0430\u043B\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0438\u0441\u043A\u0430\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u0440\u043E\u0435\u043A\u0446\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u043C\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u043E\u0441\u0435\u0440\u0438\u044F\u043C\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u0442\u0438\u043F\u0441\u0442\u043E\u0440\u043E\u043D\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0448\u043A\u0430\u043B\u044B\u0440\u0430\u0434\u0430\u0440\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0430\u043A\u0442\u043E\u0440\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0438\u0433\u0443\u0440\u0430\u043A\u043D\u043E\u043F\u043A\u0438 \u0444\u0438\u0433\u0443\u0440\u044B\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u043D\u044F\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0448\u0438\u0440\u0438\u043D\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B ",p="\u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0442\u043E\u0447\u043A\u0438\u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u0436\u0438\u043C\u0430\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0440\u0435\u0437\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u0432\u0440\u0435\u043C\u044F \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",h="\u0430\u0432\u0442\u043E\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u043D\u043E\u043C\u0435\u0440\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 ",b="\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043B\u043E\u043D\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u0441\u0442\u0440\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u0447\u0442\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0434\u0432\u0443\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0435\u0439\u043F\u0435\u0447\u0430\u0442\u0438 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u044F\u0447\u0435\u0439\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043B\u0438\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0443\u0437\u043E\u0440\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u043E\u0447\u043D\u043E\u0441\u0442\u044C\u043F\u0435\u0447\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446 ",g="\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430 ",v="\u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",E="\u043E\u0431\u0445\u043E\u0434\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0437\u0430\u043F\u0438\u0441\u0438\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",S="\u0432\u0438\u0434\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0442\u043E\u0433\u043E\u0432 ",N="\u0434\u043E\u0441\u0442\u0443\u043F\u043A\u0444\u0430\u0439\u043B\u0443 \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u0430\u0439\u043B\u0430 ",C="\u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",y="\u0432\u0438\u0434\u0434\u0430\u043D\u043D\u044B\u0445\u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043C\u0435\u0442\u043E\u0434\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0447\u0438\u0441\u043B\u043E\u0432\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0434\u0435\u0440\u0435\u0432\u043E\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044F \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0430\u044F\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u043C\u043E\u0434\u0435\u043B\u0438\u043F\u0440\u043E\u0433\u043D\u043E\u0437\u0430 \u0442\u0438\u043F\u043C\u0435\u0440\u044B\u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u043F\u043E\u043B\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u0440\u043E\u0449\u0435\u043D\u0438\u044F\u0434\u0435\u0440\u0435\u0432\u0430\u0440\u0435\u0448\u0435\u043D\u0438\u0439 ",A="ws\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442xpathxs \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u0430\u0442\u044Bjson \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u0432\u0438\u0434\u0444\u0430\u0441\u0435\u0442\u0430xdto \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Fdom \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u0445\u0435\u043C\u044Bxs \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Dxs \u043C\u0435\u0442\u043E\u0434\u043D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044Fxs \u043C\u043E\u0434\u0435\u043B\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430xml \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u043E\u0442\u0431\u043E\u0440\u0430\u0443\u0437\u043B\u043E\u0432dom \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0441\u0442\u0440\u043E\u043Ajson \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435dom \u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u0442\u0438\u043F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xml \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fjson \u0442\u0438\u043F\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043Exml \u0442\u0438\u043F\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044Bxs \u0442\u0438\u043F\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438xml \u0442\u0438\u043F\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430domxpath \u0442\u0438\u043F\u0443\u0437\u043B\u0430dom \u0442\u0438\u043F\u0443\u0437\u043B\u0430xml \u0444\u043E\u0440\u043C\u0430xml \u0444\u043E\u0440\u043C\u0430\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044Fxs \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u0430\u0442\u044Bjson \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432json ",R="\u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u0435\u0439\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0441\u043A\u043E\u0433\u043E\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0432\u044B\u0432\u043E\u0434\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u043F\u043E\u043B\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u043D\u0430\u0431\u043E\u0440\u043E\u0432\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0443\u0441\u043B\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ",D="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043D\u0435ascii\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0442\u0435\u043A\u0441\u0442\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0440\u0430\u0437\u0431\u043E\u0440\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F ",M="\u0440\u0435\u0436\u0438\u043C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 ",L="\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0442\u0438\u043F\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 ",F="\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0438\u043C\u0435\u043D\u0444\u0430\u0439\u043B\u043E\u0432\u0432zip\u0444\u0430\u0439\u043B\u0435 \u043C\u0435\u0442\u043E\u0434\u0441\u0436\u0430\u0442\u0438\u044Fzip \u043C\u0435\u0442\u043E\u0434\u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u0438\u044Fzip \u0440\u0435\u0436\u0438\u043C\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439\u0444\u0430\u0439\u043B\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u043F\u043E\u0434\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439zip \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0441\u0436\u0430\u0442\u0438\u044Fzip ",q="\u0437\u0432\u0443\u043A\u043E\u0432\u043E\u0435\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u043A\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u043F\u043E\u0442\u043E\u043A\u0435 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0431\u0430\u0439\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0444\u043E\u043D\u043E\u0432\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u043F\u043E\u0434\u043F\u0438\u0441\u0447\u0438\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044Fftp ",$="\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0440\u044F\u0434\u043A\u0430\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043C\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",Y="http\u043C\u0435\u0442\u043E\u0434 \u0430\u0432\u0442\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0430\u0432\u0442\u043E\u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E\u044F\u0437\u044B\u043A\u0430 \u0432\u0438\u0434\u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u0438\u0434\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0434\u0435\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u0430\u0437\u044B\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E\u0432\u044B\u0431\u043E\u0440\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0437\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0435\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043B\u0430\u043D\u0430\u043E\u0431\u043C\u0435\u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0433\u0440\u0430\u043D\u0438\u0446\u044B\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u043D\u043E\u0441\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u0430 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0445\u0432\u044B\u0437\u043E\u0432\u043E\u0432\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B\u0438\u0432\u043D\u0435\u0448\u043D\u0438\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439 ",X="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0444\u043E\u0440\u043C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0439\u0434\u0430\u0442\u044B\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u0438\u0434\u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0438\u0434\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0432\u0438\u0434\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0432\u0438\u0434\u0440\u0430\u043C\u043A\u0438 \u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0446\u0432\u0435\u0442\u0430 \u0432\u0438\u0434\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0430\u044F\u0434\u043B\u0438\u043D\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u0437\u043D\u0430\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435byteordermark \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u043A\u043E\u0434\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u0434\u0438\u0430\u043B\u043E\u0433\u0430 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430xbase \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u0440\u0430\u0437\u0434\u0435\u043B\u043E\u0432 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u043E\u043F\u0440\u043E\u0441 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u043E\u0440\u043C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430windows \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0442\u0438\u043F\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u043A\u043B\u0430\u0432\u0438\u0448\u0438enter \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438\u043E\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0437\u043E\u043B\u044F\u0446\u0438\u0438\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0439 \u0445\u0435\u0448\u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0430\u0441\u0442\u0438\u0434\u0430\u0442\u044B",J=m+f+p+h+b+g+v+E+S+N+C+y+A+R+D+M+L+F+q+$+Y+X,I="com\u043E\u0431\u044A\u0435\u043A\u0442 ftp\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 http\u0437\u0430\u043F\u0440\u043E\u0441 http\u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0442\u0432\u0435\u0442 http\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 ws\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ws\u043F\u0440\u043E\u043A\u0441\u0438 xbase \u0430\u043D\u0430\u043B\u0438\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u043D\u043D\u043E\u0442\u0430\u0446\u0438\u044Fxs \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u0444\u0435\u0440\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435xs \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0445\u0447\u0438\u0441\u0435\u043B \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435\u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0440\u0443\u043F\u043F\u0430\u043C\u043E\u0434\u0435\u043B\u0438xs \u0434\u0430\u043D\u043D\u044B\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0433\u0430\u043D\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0446\u0432\u0435\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442dom \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442html \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044Fxs \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u044Cdom \u0437\u0430\u043F\u0438\u0441\u044Cfastinfoset \u0437\u0430\u043F\u0438\u0441\u044Chtml \u0437\u0430\u043F\u0438\u0441\u044Cjson \u0437\u0430\u043F\u0438\u0441\u044Cxml \u0437\u0430\u043F\u0438\u0441\u044Czip\u0444\u0430\u0439\u043B\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0442\u0435\u043A\u0441\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0443\u0437\u043B\u043E\u0432dom \u0437\u0430\u043F\u0440\u043E\u0441 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435openssl \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u0435\u0439\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043C\u043F\u043E\u0440\u0442xs \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u0430 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439\u043F\u0440\u043E\u0444\u0438\u043B\u044C \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u0440\u043E\u043A\u0441\u0438 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u0434\u043B\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044Fxs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0442\u0435\u0440\u0430\u0442\u043E\u0440\u0443\u0437\u043B\u043E\u0432dom \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0430\u0442\u044B \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0447\u0438\u0441\u043B\u0430 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043C\u0430\u043A\u0435\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0444\u043E\u0440\u043C\u0430\u0442\u043D\u043E\u0439\u0441\u0442\u0440\u043E\u043A\u0438 \u043B\u0438\u043D\u0438\u044F \u043C\u0430\u043A\u0435\u0442\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u0441\u043A\u0430xs \u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u043D\u0430\u0431\u043E\u0440\u0441\u0445\u0435\u043Cxml \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438json \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u0445\u043E\u0434\u0434\u0435\u0440\u0435\u0432\u0430dom \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u043D\u043E\u0442\u0430\u0446\u0438\u0438xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430xs \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0434\u043E\u0441\u0442\u0443\u043F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043E\u0442\u043A\u0430\u0437\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043C\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0442\u0438\u043F\u043E\u0432 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043E\u0432xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430dom \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044Fxpathxs \u043E\u0442\u0431\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u043A\u0435\u0442\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438json \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438xml \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0447\u0442\u0435\u043D\u0438\u044Fxml \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435xs \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u043F\u043E\u043B\u0435\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Cdom \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0441\u0445\u0435\u043Cxml \u043F\u043E\u0442\u043E\u043A \u043F\u043E\u0442\u043E\u043A\u0432\u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u043E\u0447\u0442\u0430 \u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435xsl \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043A\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443xml \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0437\u044B\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Ddom \u0440\u0430\u043C\u043A\u0430 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0435\u0438\u043C\u044Fxml \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0447\u0442\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0432\u043E\u0434\u043D\u0430\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u0444\u0430\u0439\u043B \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432\u0444\u0430\u0439\u043B \u0441\u0436\u0430\u0442\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435\u043A\u043B\u0430\u0432\u0438\u0448 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0439\u043F\u0435\u0440\u0438\u043E\u0434 \u0441\u0445\u0435\u043C\u0430xml \u0441\u0445\u0435\u043C\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445xml \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0439\u043F\u043E\u0442\u043E\u043A \u0444\u0430\u0441\u0435\u0442\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432\u0434\u0440\u043E\u0431\u043D\u043E\u0439\u0447\u0430\u0441\u0442\u0438xs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0440\u0430\u0437\u0446\u0430xs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0449\u0435\u0433\u043E\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432xs \u0444\u0430\u0441\u0435\u0442\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u0444\u0438\u043B\u044C\u0442\u0440\u0443\u0437\u043B\u043E\u0432dom \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442xs \u0445\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442 \u0447\u0442\u0435\u043D\u0438\u0435fastinfoset \u0447\u0442\u0435\u043D\u0438\u0435html \u0447\u0442\u0435\u043D\u0438\u0435json \u0447\u0442\u0435\u043D\u0438\u0435xml \u0447\u0442\u0435\u043D\u0438\u0435zip\u0444\u0430\u0439\u043B\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0447\u0442\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0443\u0437\u043B\u043E\u0432dom \u0448\u0440\u0438\u0444\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 "+"comsafearray \u0434\u0435\u0440\u0435\u0432\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u043F\u0438\u0441\u043E\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u043C\u0430\u0441\u0441\u0438\u0432 ",U="null \u0438\u0441\u0442\u0438\u043D\u0430 \u043B\u043E\u0436\u044C \u043D\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E",z=e.inherit(e.NUMBER_MODE),ee={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},ae={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},te=e.inherit(e.C_LINE_COMMENT_MODE),me={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:o+s},contains:[te]},he={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ve={className:"function",variants:[{begin:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430|\u0444\u0443\u043D\u043A\u0446\u0438\u044F",end:"\\)",keywords:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F"},{begin:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B|\u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438",keywords:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"\u0437\u043D\u0430\u0447",literal:U},contains:[z,ee,ae]},te]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:o,built_in:u,class:J,type:I,literal:U},contains:[me,Ve,te,he,z,ee,ae]}}var P3=F3;function B3(e){const t=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=e.COMMENT(/;/,/$/),r={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},l={scope:"attribute",match:t.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},l,o,r,a,s,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}var $3=B3;function U3(e){const t=e.regex,n=["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.concat(/"/,t.either(...n)),end:/"/,keywords:n,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}]}}var G3=U3;function z3(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=t.concat(n,t.concat("(\\.",n,")*")),o=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,r={className:"rest_arg",begin:/[.]{3}/,end:n,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:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r]},{begin:t.concat(/:\s*/,o)}]},e.METHOD_GUARD],illegal:/#/}}var Y3=z3;function H3(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,i=t+"(\\."+t+")?("+n+")?",o="\\w+",r=t+"#"+o+"(\\."+o+")?#("+n+")?",a="\\b("+r+"|"+i+")",s="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,l=e.COMMENT("--","$"),_={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:s,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:[l,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+s},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{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:[l,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},_,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},_]}}var V3=H3;function W3(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[i],n.contains=[i],{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:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.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_]+"}]}]}]},t,n,{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?)?)"}]}}var j3=W3;function q3(e){const t={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},o={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,o,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["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",t]},i,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}var K3=q3;function Q3(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},o=e.COMMENT(/--/,/$/),r=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",o]}),a=[o,r,e.HASH_COMMENT_MODE],s=[/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/],c=[/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|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...a],illegal:/\/\/|->|=>|\[\[/}}var X3=Q3;function Z3(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={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","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},o={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},a={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,r]};r.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,o,e.REGEXP_MODE];const s=r.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}var J3=Z3;function eU(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="<[^<>]+>",a="(?!struct)("+i+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional(r)+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},m=t.optional(o)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],p=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:p,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},S={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},N=[S,d,s,n,e.C_BLOCK_COMMENT_MODE,_,l],C={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:N.concat([{begin:/\(/,end:/\)/,keywords:E,contains:N.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:E,relevance:0},{begin:m,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,_]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,_,s,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,_,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(C,y,S,N,[d,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function tU(e){const t={type:["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"],_hints:["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"]},n=eU(e),i=n.keywords;return i.type=[...i.type,...t.type],i.literal=[...i.literal,...t.literal],i.built_in=[...i.built_in,...t.built_in],i._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}var nU=tU;function iU(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.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)"},t,e.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}]}}var rU=iU;function oU(e){const t=e.regex,n=t.concat(/[A-Z_]/,t.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),i=/[A-Za-z0-9._:-]+/,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(r,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:i,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[o]},{begin:/'/,end:/'/,contains:[o]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[r,c,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[r,a,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var aU=oU;function sU(e){const t=e.regex,n={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.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],r=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\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}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.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},s,a,...i,...o,...r,{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},n,{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}]}}var lU=sU;function cU(e){const t=e.regex,n=["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:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}var dU=cU;function uU(e){const t={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:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.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*,"}]}}var _U=uU;function mU(e){const t="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",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",o="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",r={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},l={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,r]},_={className:"symbol",begin:"@[A-z0-9_]+"},d={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,s,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:o,literal:i},contains:[r,a,s,c,l,_,d]}}var pU=mU;function fU(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.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:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}var hU=fU;function gU(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.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:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[t,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}var bU=gU;function EU(e){const t=e.UNDERSCORE_IDENT_RE,r={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"]},a={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r};return{name:"X++",aliases:["x++"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}var vU=EU;function SU(e){const t=e.regex,n={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,o]};o.contains.push(a);const s={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},_=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=e.SHEBANG({binary:`(${_.join("|")})`,relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],f=["true","false"],p={match:/(\/[a-z._-]+)+/},h=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],g=["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"],v=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:f,built_in:[...h,...b,"set","shopt",...g,...v]},contains:[d,e.SHEBANG(),u,l,e.HASH_COMMENT_MODE,r,p,a,s,c,n]}}var yU=SU;function NU(e){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:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.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})"}]}}var CU=NU;function AU(e){return{name:"Backus\u2013Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}var OU=AU;function TU(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}var wU=TU;function RU(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="<[^<>]+>",a="("+i+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional(r)+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},m=t.optional(o)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",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"},b=[d,s,n,e.C_BLOCK_COMMENT_MODE,_,l],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:b.concat([{begin:/\(/,end:/\)/,keywords:h,contains:b.concat(["self"]),relevance:0}]),relevance:0},v={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:h,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,_,s,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,_,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(g,v,b,[d,{begin:e.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:d,strings:l,keywords:h}}}var xU=RU;function DU(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",o=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},l={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[r,a,e.NUMBER_MODE]},...o]},_=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],d={match:[/OBJECT/,/\s+/,t.either(..._),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},r,a,s,c,e.NUMBER_MODE,d,l]}}var IU=DU;function kU(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],o={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap\u2019n Proto",aliases:["capnp"],keywords:{keyword:t,type:n,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},o]}}var MU=kU;function LU(e){const t=["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"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],o={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},r=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[o]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return o.contains=r,{name:"Ceylon",keywords:{keyword:t.concat(n),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(r)}}var FU=LU;function PU(e){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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}var BU=PU;function $U(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",o={$pattern:n,built_in:i+" 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"},r={begin:n,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),_={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b(true|false|nil)\b/},m={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},f={className:"symbol",begin:"[:]{1,2}"+n},p={begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},b={keywords:o,className:"name",begin:n,relevance:0,starts:h},g=[_,p,s,c,l,d,f,m,a,u,r],v={beginKeywords:i,keywords:{$pattern:n,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(g)};return p.contains=[v,b,h],h.contains=g,m.contains=g,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[_,p,s,c,l,d,f,m,a,u]}}var UU=$U;function GU(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}var zU=GU;function YU(e){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:/\}/},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}var HU=YU;const VU=["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"],WU=["true","false","null","undefined","NaN","Infinity"],jU=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],qU=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],KU=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],QU=[].concat(KU,jU,qU);function XU(e){const t=["npm","print"],n=["yes","no","on","off"],i=["then","unless","until","loop","by","when","and","or","is","isnt","not"],o=["var","const","let","function","static"],r=f=>p=>!f.includes(p),a={keyword:VU.concat(i).filter(r(o)),literal:WU.concat(n),built_in:QU.concat(t)},s="[A-Za-z$_][0-9A-Za-z$_]*",c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[c,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];c.contains=l;const _=e.inherit(e.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",u={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(l)}]},m={variants:[{match:[/class\s+/,s,/\s+extends\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:a,illegal:/\/\*/,contains:[...l,e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[_,u]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[u]}]},m,{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}var ZU=XU;function JU(e){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:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}var e6=JU;function t6(e){return{name:"Cach\xE9 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}]}]},e.C_LINE_COMMENT_MODE,e.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)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}var n6=t6;function i6(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="<[^<>]+>",a="(?!struct)("+i+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional(r)+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},m=t.optional(o)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],p=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:p,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},S={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},N=[S,d,s,n,e.C_BLOCK_COMMENT_MODE,_,l],C={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:N.concat([{begin:/\(/,end:/\)/,keywords:E,contains:N.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:E,relevance:0},{begin:m,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,_]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,_,s,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,_,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(C,y,S,N,[d,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var r6=i6;function o6(e){const t="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",i="property rsc_defaults op_defaults",o="params meta operations op rule attributes utilization",r="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 \\",a="number string",s="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:o+" "+r+" "+a,literal:s},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:i,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.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:"</?",end:"/?>",relevance:0}]}}var a6=o6;function s6(e){const t="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",o="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",r="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:i,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"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},l={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function _(b,g){const v=[{begin:b,end:g}];return v[0].contains=v,v}const d={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:_("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:_("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:_(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:_("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},u={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:_("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:_("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:_(/\{/,/\}/)},{begin:"%q<",end:">",contains:_("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},m={begin:"(?!%\\})("+e.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:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},f={className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:_("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:_("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:_(/\{/,/\}/)},{begin:"%r<",end:">",contains:_("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},p={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},h=[l,d,u,f,m,p,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:o,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:o,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[d,{begin:o}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return s.contains=h,l.contains=h.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:h}}var l6=s6;function c6(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],o=["abstract","as","base","break","case","catch","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"],r=["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"],a={keyword:o.concat(r),built_in:t,literal:i},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={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},l={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},_=e.inherit(l,{illegal:/\n/}),d={className:"subst",begin:/\{/,end:/\}/,keywords:a},u=e.inherit(d,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},d]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]});d.contains=[f,m,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],u.contains=[p,m,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const h={variants:[f,m,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},g=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",v={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},h,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+g+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[h,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}var d6=c6;function u6(e){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","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}var _6=u6;const m6=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|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},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),p6=["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"],f6=["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"],h6=["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"],g6=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],b6=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","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-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-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","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","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-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","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-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function E6(e){const t=e.regex,n=m6(e),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},o="and or not only",r=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,i,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+h6.join("|")+")"},{begin:":(:)?("+g6.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+b6.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.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}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:r},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:f6.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+p6.join("|")+")\\b"}]}}var v6=E6;function S6(e){const t={$pattern:e.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"},n="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",o="0[bB][01_]+",r="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+r,s="([eE][+-]?"+i+")",c="("+i+"(\\.\\d*|"+s+")|\\d+\\."+i+"|\\."+n+s+"?)",l="(0[xX]("+r+"\\."+r+"|\\.?"+r+")[pP][+-]?"+i+")",_="("+n+"|"+o+"|"+a+")",d="("+l+"|"+c+")",u=`\\\\(['"\\?\\\\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,};`,m={className:"number",begin:"\\b"+_+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},f={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+_+"(i|[fF]i|Li))",relevance:0},p={className:"string",begin:"'("+u+"|.)",end:"'",illegal:"."},b={className:"string",begin:'"',contains:[{begin:u,relevance:0}],end:'"[cwd]?'},g={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},v={className:"string",begin:"`",end:"`[cwd]?"},E={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},S={className:"string",begin:'q"\\{',end:'\\}"'},N={className:"meta",begin:"^#!",end:"$",relevance:5},C={className:"meta",begin:"#(line)",end:"$",relevance:5},y={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},A=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,A,E,b,g,v,S,f,m,p,N,C,y]}}var y6=S6;function N6(e){const t=e.regex,n={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}]},r={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{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}]},l={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},_={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]},d=e.inherit(l,{contains:[]}),u=e.inherit(_,{contains:[]});l.contains.push(u),_.contains.push(d);let m=[n,c];return[l,_,d,u].forEach(h=>{h.contains=h.contains.concat(m)}),m=m.concat(l,_),{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}]}]},n,r,l,_,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},o,i,c,a]}}var C6=N6;function A6(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,i];const o=["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"],r=o.map(c=>`${c}?`),s={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:o.concat(r).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/};return{name:"Dart",keywords:s,contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}var O6=A6;function T6(e){const t=["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"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},r={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},s={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[o,a,i].concat(n)},i].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[o,a,e.NUMBER_MODE,r,s,c,i].concat(n)}}var w6=T6;function R6(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var x6=R6;function D6(e){const t={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:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.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:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}var I6=D6;function k6(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["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:[e.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"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}var M6=k6;function L6(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}var F6=L6;function P6(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}var B6=P6;function $6(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}var U6=$6;function G6(e){const t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},n={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},i={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[e.inherit(t,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"variable",begin:/&[a-z\d_]*\b/},r={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,o]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},l={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},_={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},d={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},u={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[l,o,r,a,c,d,_,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,i,u,{begin:e.IDENT_RE+"::",keywords:""}]}}var z6=G6;function Y6(e){const t="if eq ne lt lte gt gte select default math sep";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:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}var H6=Y6;function V6(e){const t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},o={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,n,o]}}var W6=V6;function j6(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},_={match:/\\[\s\S]/,scope:"char.escape",relevance:0},d=`[/|([{<"']`,u=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],m=S=>({scope:"char.escape",begin:t.concat(/\\/,S),relevance:0}),f={className:"string",begin:"~[a-z](?="+d+")",contains:u.map(S=>e.inherit(S,{contains:[m(S.end),_,s]}))},p={className:"string",begin:"~[A-Z](?="+d+")",contains:u.map(S=>e.inherit(S,{contains:[m(S.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+d+")",contains:u.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[m(S.end),_,s]}))},{begin:"~R(?="+d+")",contains:u.map(S=>e.inherit(S,{end:t.concat(S.end,/[uismxfU]{0,7}/),contains:[m(S.end)]}))}]},b={className:"string",contains:[e.BACKSLASH_ESCAPE,s],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:/"/}]},g={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},v=e.inherit(g,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),E=[b,h,p,f,e.HASH_COMMENT_MODE,v,g,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[b,{begin:i}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return s.contains=E,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:E}}var q6=j6;function K6(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},o={begin:/\{/,end:/\}/,contains:i.contains},r={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:[i,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,i,o,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},r,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}var Q6=K6;function X6(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(i,/(::\w+)*/),r={"variable.constant":["__FILE__","__LINE__"],"variable.language":["self","super"],keyword:["alias","and","attr_accessor","attr_reader","attr_writer","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","include","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield"],built_in:["proc","lambda"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],l={className:"subst",begin:/#\{/,end:/\}/,keywords:r},_={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{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:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d="[1-9](_?[0-9])*|0",u="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${u}))?([eE][+-]?(${u})|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"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:r}]},v=[_,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},{relevance:0,match:[o,/\.new[ (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[_,{begin:n}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:r},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],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(s,c),relevance:0}].concat(s,c);l.contains=v,f.contains=v;const E="[>?]>",S="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",N="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",C=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta.prompt",begin:"^("+E+"|"+S+"|"+N+")(?=[ ])",starts:{end:"$",keywords:r,contains:v}}];return c.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:r,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(C).concat(c).concat(v)}}var Z6=X6;function J6(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}var e7=J6;function t7(e){const t=e.regex;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.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([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}]}}var n7=t7;function i7(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",i={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"},o=e.COMMENT("%","$"),r={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},l={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},_={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},u={beginKeywords:"fun receive if try case",end:"end",keywords:i};u.contains=[o,a,e.inherit(e.APOS_STRING_MODE,{className:""}),u,s,e.QUOTE_STRING_MODE,r,c,l,_,d];const m=[o,a,u,s,e.QUOTE_STRING_MODE,r,c,l,_,d];s.contains[1].contains=m,c.contains=m,d.contains[1].contains=m;const f=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],p={className:"params",begin:"\\(",end:"\\)",contains:m};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[p,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:i,contains:m}},o,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:f.map(h=>`${h}|1.5`).join(" ")},contains:[p]},r,e.QUOTE_STRING_MODE,d,l,_,c,{begin:/\.$/}]}}var r7=i7;function o7(e){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},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}var a7=o7;function s7(e){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}}var l7=s7;function c7(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},o={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:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,n,o,e.C_NUMBER_MODE]}}var d7=c7;function u7(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},o=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,o)},{begin:t.concat(/\b\d+/,r,o)},{begin:t.concat(/\.\d+/,r,o)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{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"],literal:[".False.",".True."],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:[c,s,{begin:/^C\s*=(?!=)/,relevance:0},i,a]}}var _7=u7;function m7(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function zy(e){return e?typeof e=="string"?e:e.source:null}function qs(e){return ur("(?=",e,")")}function ur(...e){return e.map(n=>zy(n)).join("")}function p7(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Ea(...e){const t=p7(e);return"("+(t.capture?"":"?:")+e.map(i=>zy(i)).join("|")+")"}function f7(e){const t=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},i=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],o=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],r=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],a=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],c={keyword:t,literal:o,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":r},_={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},d=/[a-zA-Z_](\w|')*/,u={scope:"variable",begin:/``/,end:/``/},m=/\B('|\^)/,f={scope:"symbol",variants:[{match:ur(m,/``.*?``/)},{match:ur(m,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:X}){let J;X?J="!%&*+-/<=>@^|~?":J="!%&*+-/<>@^|~?";const B=Array.from(J),w=ur("[",...B.map(m7),"]"),I=Ea(w,/\./),U=ur(I,qs(I)),z=Ea(ur(U,I,"*"),ur(w,"+"));return{scope:"operator",match:Ea(z,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=p({includeEqual:!0}),b=p({includeEqual:!1}),g=function(X,J){return{begin:ur(X,qs(ur(/\s*/,Ea(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:J,end:qs(Ea(/\n/,/=/)),relevance:0,keywords:e.inherit(c,{type:a}),contains:[_,f,e.inherit(u,{scope:null}),b]}},v=g(/:/,"operator"),E=g(/\bof\b/,"keyword"),S={begin:[/(^|\s+)/,/type/,/\s+/,d],beginScope:{2:"keyword",4:"title.class"},end:qs(/\(|=|$/),keywords:c,contains:[_,e.inherit(u,{scope:null}),f,{scope:"operator",match:/<|>/},v]},N={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},C={begin:[/^\s*/,ur(/#/,Ea(...i)),/\b/],beginScope:{2:"meta"},end:qs(/\s|$/)},y={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},A={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},D={scope:"string",begin:/"""/,end:/"""/,relevance:2},M={scope:"subst",begin:/\{/,end:/\}/,keywords:c},L={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,M]},F={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,M]},q={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},M],relevance:2},$={scope:"string",match:ur(/'/,Ea(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return M.contains=[F,L,R,A,$,n,_,u,v,N,C,y,f,h],{name:"F#",aliases:["fs","f#"],keywords:c,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[q,F,L,D,R,A,$]},_,u,S,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[u,D,R,A,$,y]},E,v,N,C,y,f,h]}}var h7=f7;function g7(e){const t=e.regex,n={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"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},o={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},r={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[r,a,{className:"comment",begin:t.concat(s,t.anyNumberOfTimes(t.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,o]},e.C_NUMBER_MODE,o]}}var b7=g7;function E7(e){const t={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"},n=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{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:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},o={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},r=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,o]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(u,m,f){const p=e.inherit({className:"function",beginKeywords:u,end:m,excludeEnd:!0,contains:[].concat(r)},f||{});return p.contains.push(a),p.contains.push(e.C_NUMBER_MODE),p.contains.push(e.C_BLOCK_COMMENT_MODE),p.contains.push(n),p},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},l={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},_={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,c,_,l,"self"]};return _.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,l,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},_,o]}}var v7=E7;function S7(e){const t="[A-Z_][A-Z0-9_.]*",n="%",i={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},o={className:"meta",begin:"([O])([0-9]+)"},r=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),r,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.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:[r],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:n},o].concat(a)}}var y7=S7;function N7(e){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:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}var C7=N7;function A7(e){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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}var O7=A7;function T7(e){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:["true","false","all","noone","undefined","pointer_invalid","pointer_null"],symbol:["other","global","local","path_action_stop","path_action_restart","path_action_continue","path_action_reverse","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"],"variable.language":["self","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|0","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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}var w7=T7;function R7(e){const r={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","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:r,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:r,illegal:/["']/}]}]}}var x7=R7;function D7(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}var I7=D7;function k7(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}var M7=k7;function L7(e){const t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}var F7=L7;function ap(e,t={}){return t.variants=e,t}function P7(e){const t=e.regex,n="[A-Za-z0-9_$]+",i=ap([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),o={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},r=ap([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),a=ap([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"}),s={match:[/(class|interface|trait|enum|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["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:[e.SHEBANG({binary:"groovy",relevance:10}),i,a,o,r,s,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[i,a,o,r,"self"]},{className:"symbol",begin:"^[ ]*"+t.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}var B7=P7;function $7(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{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+"},e.APOS_STRING_MODE,e.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},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}var U7=$7;function G7(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["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"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},o=/""|"[^"]+"/,r=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,l=t.either(o,r,a,s),_=t.concat(t.optional(/\.|\.\/|\//),l,t.anyNumberOfTimes(t.concat(c,l))),d=t.concat("(",a,"|",s,")(?==)"),u={begin:_},m=e.inherit(u,{keywords:i}),f={begin:/\(/,end:/\)/},p={className:"attr",begin:d,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,m,f]}}},h={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},b={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,h,p,m,f],returnEnd:!0},g=e.inherit(u,{className:"name",keywords:n,starts:e.inherit(b,{end:/\)/})});f.contains=[g];const v=e.inherit(u,{keywords:n,className:"name",starts:e.inherit(b,{end:/\}\}/})}),E=e.inherit(u,{keywords:n,className:"name"}),S=e.inherit(u,{className:"name",keywords:n,starts:e.inherit(b,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[v],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[v]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[E]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[S]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[S]}]}}var z7=G7;function Y7(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"meta",begin:/\{-#/,end:/#-\}/},i={className:"meta",begin:"^#",end:"$"},o={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[n,i,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]},a={begin:/\{/,end:/\}/,contains:r.contains},s="([0-9]_*)+",c="([0-9a-fA-F]_*)+",l="([01]_*)+",_="([0-7]_*)+",d={className:"number",relevance:0,variants:[{match:`\\b(${s})(\\.(${s}))?([eE][+-]?(${s}))?\\b`},{match:`\\b0[xX]_*(${c})(\\.(${c}))?([pP][+-]?(${s}))?\\b`},{match:`\\b0[oO](${_})\\b`},{match:`\\b0[bB](${l})\\b`}]};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:[r,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[r,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[o,r,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,o,r,a,t]},{beginKeywords:"default",end:"$",contains:[o,r,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[o,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,i,e.QUOTE_STRING_MODE,d,o,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}var H7=Y7;function V7(e){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:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{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:[e.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},e.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:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}var W7=V7;function j7(e){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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{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:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}var q7=j7;function K7(e){const t=e.regex,n="HTTP/(2|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,o={className:"attribute",begin:t.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},r=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},e.inherit(o,{relevance:0})]}}var Q7=K7;function X7(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",i={$pattern:n,built_in:"!= % %= & &= * ** **= *= *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 | |= ~"},o="[-+]?\\d+(\\.\\d+)?",r={begin:n,relevance:0},a={className:"number",begin:o,relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},_={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},d={className:"comment",begin:"\\^"+n},u=e.COMMENT("\\^\\{","\\}"),m={className:"symbol",begin:"[:]{1,2}"+n},f={begin:"\\(",end:"\\)"},p={endsWithParent:!0,relevance:0},h={className:"name",relevance:0,keywords:i,begin:n,starts:p},b=[f,s,d,u,c,m,_,a,l,r];return f.contains=[e.COMMENT("comment",""),h,p],p.contains=b,_.contains=b,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),f,s,d,u,c,m,_,a,l]}}var Z7=X7;function J7(e){const t="\\[",n="\\]";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:t,end:n}]},{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:t,end:n,contains:["self"]}]}}var e4=J7;function t4(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[i,r,o,a,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,_=/'[^']*'/,d=t.either(c,l,_),u=t.concat(d,"(\\s*\\.\\s*",d,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:u,className:"attr",starts:{end:/$/,contains:[i,s,r,o,a,n]}}]}}var n4=t4;function i4(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\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:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),r]}}var r4=i4;function o4(e){const t="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_!][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*",n="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*",i="and \u0438 else \u0438\u043D\u0430\u0447\u0435 endexcept endfinally endforeach \u043A\u043E\u043D\u0435\u0446\u0432\u0441\u0435 endif \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 endwhile \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043A\u0430 except exitfor finally foreach \u0432\u0441\u0435 if \u0435\u0441\u043B\u0438 in \u0432 not \u043D\u0435 or \u0438\u043B\u0438 try while \u043F\u043E\u043A\u0430 ",o="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 ",r="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",s="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",l="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 ",d="smHidden smMaximized smMinimized smNormal wmNo wmYes ",u="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",m="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",f="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 ",p="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 ",h="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 ",b="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",g="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 ",v="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 ",E="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 ",S="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",N="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",C="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",y="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\u0415 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 ",A="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",R="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 ",D="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",M="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 ",L="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",F="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 ",q="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 ",Y="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 ",X="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",J="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",B="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",w="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",I="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 ",U="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",z=o+r+a+s+c+l+_+d+u+m+f+p+h+b+g+v+E+S+N+C+y+A+R+D+M+L+F+q+$+Y+X+J+B+w+I+U,ee="atUser atGroup atRole ",ae="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",te="apBegin apEnd ",me="alLeft alRight ",he="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ve="cirCommon cirRevoked ",ze="ctSignature ctEncode ctSignatureEncode ",_e="clbUnchecked clbChecked clbGrayed ",Re="ceISB ceAlways ceNever ",De="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Vt="cfInternal cfDisplay ",Zt="ciUnspecified ciWrite ciRead ",Le="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",mi="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 ",Ot="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",yt="cltInternal cltPrimary cltGUI ",jn="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 ",xe="dssEdit dssInsert dssBrowse dssInActive ",ti="dftDate dftShortDate dftDateTime dftTimeStamp ",Xi="dotDays dotHours dotMinutes dotSeconds ",Ce="dtkndLocal dtkndUTC ",$e="arNone arView arEdit arFull ",k="ddaView ddaEdit ",O="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 ",x="ecotFile ecotProcess ",P="eaGet eaCopy eaCreate eaCreateStandardRoute ",Z="edltAll edltNothing edltQuery ",ne="essmText essmCard ",se="esvtLast esvtLastActive esvtSpecified ",_t="edsfExecutive edsfArchive ",Jt="edstSQLServer edstFile ",Wt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",rn="vsDefault vsDesign vsActive vsObsolete ",Gt="etNone etCertificate etPassword etCertificatePassword ",Ie="ecException ecWarning ecInformation ",en="estAll estApprovingOnly ",Br="evtLast evtLastActive evtQuery ",ie="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",re="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",be="grhAuto grhX1 grhX2 grhX3 ",Nt="hltText hltRTF hltHTML ",gi="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",Ms="im8bGrayscale im24bRGB im1bMonochrome ",pm="itBMP itJPEG itWMF itPNG ",aN="ikhInformation ikhWarning ikhError ikhNoIcon ",sN="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 ",lN="isShow isHide isByUserSettings ",cN="jkJob jkNotice jkControlJob ",dN="jtInner jtLeft jtRight jtFull jtCross ",uN="lbpAbove lbpBelow lbpLeft lbpRight ",_N="eltPerConnection eltPerUser ",mN="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",pN="sfsItalic sfsStrikeout sfsNormal ",fN="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",hN="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",gN="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",bN="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",EN="rdWindow rdFile rdPrinter ",vN="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",SN="reOnChange reOnChangeValues ",yN="ttGlobal ttLocal ttUser ttSystem ",NN="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",CN="smSelect smLike smCard ",AN="stNone stAuthenticating stApproving ",ON="sctString sctStream ",TN="sstAnsiSort sstNaturalSort ",wN="svtEqual svtContain ",RN="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",xN="tarAbortByUser tarAbortByWorkflowException ",DN="tvtAllWords tvtExactPhrase tvtAnyWord ",IN="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",kN="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",MN="btAnd btDetailAnd btOr btNotOr btOnly ",LN="vmView vmSelect vmNavigation ",FN="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",PN="wfatPrevious wfatNext wfatCancel wfatFinish ",BN="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",$N="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",UN="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",GN="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",zN="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",YN="waAll waPerformers waManual ",HN="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",VN="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 ",WN="wiLow wiNormal wiHigh ",jN="wrtSoft wrtHard ",qN="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",KN="wtmFull wtmFromCurrent wtmOnlyCurrent ",QN=ee+ae+te+me+he+Ve+ze+_e+Re+De+Vt+Zt+Le+mi+Ot+yt+jn+xe+ti+Xi+Ce+$e+k+O+x+P+Z+ne+se+_t+Jt+Wt+rn+Gt+Ie+en+Br+ie+re+be+Nt+gi+Ms+pm+aN+sN+lN+cN+dN+uN+_N+mN+pN+fN+hN+gN+bN+EN+vN+SN+yN+NN+CN+AN+ON+TN+wN+RN+xN+DN+IN+kN+MN+LN+FN+PN+BN+$N+UN+GN+zN+YN+HN+VN+WN+jN+qN+KN,XN="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 \u0410\u043D\u0430\u043B\u0438\u0437 \u0411\u0430\u0437\u0430\u0414\u0430\u043D\u043D\u044B\u0445 \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0418\u043D\u0444\u043E \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0412\u0432\u043E\u0434 \u0412\u0432\u043E\u0434\u041C\u0435\u043D\u044E \u0412\u0435\u0434\u0421 \u0412\u0435\u0434\u0421\u043F\u0440 \u0412\u0435\u0440\u0445\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0412\u043D\u0435\u0448\u041F\u0440\u043E\u0433\u0440 \u0412\u043E\u0441\u0441\u0442 \u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F\u041F\u0430\u043F\u043A\u0430 \u0412\u0440\u0435\u043C\u044F \u0412\u044B\u0431\u043E\u0440SQL \u0412\u044B\u0431\u0440\u0430\u0442\u044C\u0417\u0430\u043F\u0438\u0441\u044C \u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C\u0421\u0442\u0440 \u0412\u044B\u0437\u0432\u0430\u0442\u044C \u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0412\u044B\u043F\u041F\u0440\u043E\u0433\u0440 \u0413\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0439\u0424\u0430\u0439\u043B \u0413\u0440\u0443\u043F\u043F\u0430\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F\u0421\u0435\u0440\u0432 \u0414\u0435\u043D\u044C\u041D\u0435\u0434\u0435\u043B\u0438 \u0414\u0438\u0430\u043B\u043E\u0433\u0414\u0430\u041D\u0435\u0442 \u0414\u043B\u0438\u043D\u0430\u0421\u0442\u0440 \u0414\u043E\u0431\u041F\u043E\u0434\u0441\u0442\u0440 \u0415\u041F\u0443\u0441\u0442\u043E \u0415\u0441\u043B\u0438\u0422\u043E \u0415\u0427\u0438\u0441\u043B\u043E \u0417\u0430\u043C\u041F\u043E\u0434\u0441\u0442\u0440 \u0417\u0430\u043F\u0438\u0441\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0417\u043D\u0430\u0447\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u0414\u0422\u0438\u043F\u0421\u043F\u0440 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0414\u0438\u0441\u043A \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0418\u043C\u044F\u0424\u0430\u0439\u043B\u0430 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u041F\u0443\u0442\u044C \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0418\u0437\u043C\u0414\u0430\u0442 \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C\u0420\u0430\u0437\u043C\u0435\u0440\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u043C\u044F\u041E\u0440\u0433 \u0418\u043C\u044F\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u043D\u0434\u0435\u043A\u0441 \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0428\u0430\u0433 \u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439\u0420\u0435\u0436\u0438\u043C \u0418\u0442\u043E\u0433\u0422\u0431\u043B\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0412\u0435\u0434\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0421\u043F\u0440\u041F\u043E\u0418\u0414 \u041A\u043E\u0434\u041F\u043EAnalit \u041A\u043E\u0434\u0421\u0438\u043C\u0432\u043E\u043B\u0430 \u041A\u043E\u0434\u0421\u043F\u0440 \u041A\u043E\u043B\u041F\u043E\u0434\u0441\u0442\u0440 \u041A\u043E\u043B\u041F\u0440\u043E\u043F \u041A\u043E\u043D\u041C\u0435\u0441 \u041A\u043E\u043D\u0441\u0442 \u041A\u043E\u043D\u0441\u0442\u0415\u0441\u0442\u044C \u041A\u043E\u043D\u0441\u0442\u0417\u043D\u0430\u0447 \u041A\u043E\u043D\u0422\u0440\u0430\u043D \u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041A\u043E\u043F\u0438\u044F\u0421\u0442\u0440 \u041A\u041F\u0435\u0440\u0438\u043E\u0434 \u041A\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u043A\u0441 \u041C\u0430\u043A\u0441\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u0441\u0441\u0438\u0432 \u041C\u0435\u043D\u044E \u041C\u0435\u043D\u044E\u0420\u0430\u0441\u0448 \u041C\u0438\u043D \u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u041D\u0430\u0439\u0442\u0438\u0420\u0430\u0441\u0448 \u041D\u0430\u0438\u043C\u0412\u0438\u0434\u0421\u043F\u0440 \u041D\u0430\u0438\u043C\u041F\u043EAnalit \u041D\u0430\u0438\u043C\u0421\u043F\u0440 \u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0421\u0442\u0440\u043E\u043A \u041D\u0430\u0447\u041C\u0435\u0441 \u041D\u0430\u0447\u0422\u0440\u0430\u043D \u041D\u0438\u0436\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u041D\u043E\u043C\u0435\u0440\u0421\u043F\u0440 \u041D\u041F\u0435\u0440\u0438\u043E\u0434 \u041E\u043A\u043D\u043E \u041E\u043A\u0440 \u041E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0435 \u041E\u0442\u043B\u0418\u043D\u0444\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u041E\u0442\u043B\u0418\u043D\u0444\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u041E\u0442\u0447\u0435\u0442 \u041E\u0442\u0447\u0435\u0442\u0410\u043D\u0430\u043B \u041E\u0442\u0447\u0435\u0442\u0418\u043D\u0442 \u041F\u0430\u043F\u043A\u0430\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u041F\u0430\u0443\u0437\u0430 \u041F\u0412\u044B\u0431\u043E\u0440SQL \u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u0421\u0442\u0440 \u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0418\u0414\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u0414 \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u043C\u044F \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0421\u0442\u0430\u0442\u0443\u0441 \u041F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0417\u043D\u0430\u0447 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u0423\u0441\u043B\u043E\u0432\u0438\u0435 \u0420\u0430\u0437\u0431\u0421\u0442\u0440 \u0420\u0430\u0437\u043D\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0414\u0430\u0442 \u0420\u0430\u0437\u043D\u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0420\u0430\u0431\u0412\u0440\u0435\u043C\u044F \u0420\u0435\u0433\u0423\u0441\u0442\u0412\u0440\u0435\u043C \u0420\u0435\u0433\u0423\u0441\u0442\u0414\u0430\u0442 \u0420\u0435\u0433\u0423\u0441\u0442\u0427\u0441\u043B \u0420\u0435\u0434\u0422\u0435\u043A\u0441\u0442 \u0420\u0435\u0435\u0441\u0442\u0440\u0417\u0430\u043F\u0438\u0441\u044C \u0420\u0435\u0435\u0441\u0442\u0440\u0421\u043F\u0438\u0441\u043E\u043A\u0418\u043C\u0435\u043D\u041F\u0430\u0440\u0430\u043C \u0420\u0435\u0435\u0441\u0442\u0440\u0427\u0442\u0435\u043D\u0438\u0435 \u0420\u0435\u043A\u0432\u0421\u043F\u0440 \u0420\u0435\u043A\u0432\u0421\u043F\u0440\u041F\u0440 \u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0421\u0435\u0439\u0447\u0430\u0441 \u0421\u0435\u0440\u0432\u0435\u0440 \u0421\u0435\u0440\u0432\u0435\u0440\u041F\u0440\u043E\u0446\u0435\u0441\u0441\u0418\u0414 \u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0421\u0436\u041F\u0440\u043E\u0431 \u0421\u0438\u043C\u0432\u043E\u043B \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0414\u0438\u0440\u0435\u043A\u0442\u0443\u043C\u041A\u043E\u0434 \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u041A\u043E\u0434 \u0421\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u0418\u0437\u0414\u0432\u0443\u0445\u0421\u043F\u0438\u0441\u043A\u043E\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u041F\u0430\u043F\u043A\u0438 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u041E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0417\u0430\u043F\u0440\u043E\u0441 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041A\u044D\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041C\u0430\u0441\u0441\u0438\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0431\u044A\u0435\u043A\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0442\u0447\u0435\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041F\u0430\u043F\u043A\u0443 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0442\u0440\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u043E\u0437\u0434\u0421\u043F\u0440 \u0421\u043E\u0441\u0442\u0421\u043F\u0440 \u0421\u043E\u0445\u0440 \u0421\u043E\u0445\u0440\u0421\u043F\u0440 \u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0438\u0441\u0442\u0435\u043C \u0421\u043F\u0440 \u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u0418\u0437\u043C\u041D\u0430\u0431\u0414\u0430\u043D \u0421\u043F\u0440\u041A\u043E\u0434 \u0421\u043F\u0440\u041D\u043E\u043C\u0435\u0440 \u0421\u043F\u0440\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u041F\u0430\u0440\u0430\u043C \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0417\u043D\u0430\u0447 \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0418\u043C\u044F \u0421\u043F\u0440\u0420\u0435\u043A\u0432 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0412\u0432\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041D\u043E\u0432\u044B\u0435 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0420\u0435\u0436\u0438\u043C \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0422\u0438\u043F\u0422\u0435\u043A\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0421\u043F\u0440\u0421\u043E\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u0422\u0431\u043B\u0418\u0442\u043E\u0433 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041A\u043E\u043B \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0430\u043A\u0441 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0438\u043D \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041F\u0440\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043B\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043E\u0437\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0423\u0434 \u0421\u043F\u0440\u0422\u0435\u043A\u041F\u0440\u0435\u0434\u0441\u0442 \u0421\u043F\u0440\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C\u0421\u0442\u0440 \u0421\u0442\u0440\u0412\u0435\u0440\u0445\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u041D\u0438\u0436\u043D\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0421\u0443\u043C\u041F\u0440\u043E\u043F \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439\u041F\u0430\u0440\u0430\u043C \u0422\u0435\u043A\u0412\u0435\u0440\u0441\u0438\u044F \u0422\u0435\u043A\u041E\u0440\u0433 \u0422\u043E\u0447\u043D \u0422\u0440\u0430\u043D \u0422\u0440\u0430\u043D\u0441\u043B\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044F \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0422\u0430\u0431\u043B\u0438\u0446\u0443 \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u0423\u0434\u0421\u043F\u0440 \u0423\u0434\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0423\u0441\u0442 \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438\u041A\u043E\u043D\u0441\u0442\u0430\u043D\u0442 \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0417\u0430\u043D\u044F\u0442 \u0424\u0430\u0439\u043B\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0418\u0441\u043A\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041C\u043E\u0436\u043D\u043E\u0427\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0424\u0430\u0439\u043B\u0420\u0430\u0437\u043C\u0435\u0440 \u0424\u0430\u0439\u043B\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0441\u044B\u043B\u043A\u0430\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0424\u043C\u0442SQL\u0414\u0430\u0442 \u0424\u043C\u0442\u0414\u0430\u0442 \u0424\u043C\u0442\u0421\u0442\u0440 \u0424\u043C\u0442\u0427\u0441\u043B \u0424\u043E\u0440\u043C\u0430\u0442 \u0426\u041C\u0430\u0441\u0441\u0438\u0432\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0426\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u0420\u0435\u043A\u0432\u0438\u0437\u0438\u0442 \u0426\u041F\u043E\u0434\u0441\u0442\u0440 ",ZN="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 \u0412\u044B\u0437\u043E\u0432\u0421\u043F\u043E\u0441\u043E\u0431 \u0418\u043C\u044F\u041E\u0442\u0447\u0435\u0442\u0430 \u0420\u0435\u043A\u0432\u0417\u043D\u0430\u0447 ",JN="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 ",eC=z+QN,tC=ZN,nC="null true false nil ",sh={className:"number",begin:e.NUMBER_RE,relevance:0},lh={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},ch={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},iC={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ch]},rC={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,ch]},dh={variants:[iC,rC]},Zl={$pattern:t,keyword:i,built_in:eC,class:tC,literal:nC},fm={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Zl,relevance:0},uh={className:"type",begin:":[ \\t]*("+JN.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},_h={className:"variable",keywords:Zl,begin:t,relevance:0,contains:[uh,fm]},mh=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Zl,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:mh,end:"\\)$",returnBegin:!0,keywords:Zl,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:XN},begin:mh,end:"\\(",returnBegin:!0,excludeEnd:!0},fm,_h,lh,sh,dh]},uh,fm,_h,lh,sh,dh]}}var a4=o4,Za="[0-9](_*[0-9])*",gc=`\\.(${Za})`,bc="[0-9a-fA-F](_*[0-9a-fA-F])*",wb={className:"number",variants:[{begin:`(\\b(${Za})((${gc})|\\.)?|(${gc}))[eE][+-]?(${Za})[fFdD]?\\b`},{begin:`\\b(${Za})((${gc})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${gc})[fFdD]?\\b`},{begin:`\\b(${Za})[fFdD]\\b`},{begin:`\\b0[xX]((${bc})\\.?|(${bc})?\\.(${bc}))[pP][+-]?(${Za})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${bc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Yy(e,t,n){return n===-1?"":e.replace(t,i=>Yy(e,t,n-1))}function s4(e){const t=e.regex,n="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",i=n+Yy("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),c={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},l={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},_={className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:c,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:c,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,wb,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},wb,l]}}var l4=s4;const Rb="[A-Za-z$_][0-9A-Za-z$_]*",c4=["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"],d4=["true","false","null","undefined","NaN","Infinity"],Hy=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Vy=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Wy=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],u4=["arguments","this","super","console","window","document","localStorage","module","global"],_4=[].concat(Wy,Hy,Vy);function m4(e){const t=e.regex,n=(Y,{after:X})=>{const J="</"+Y[0].slice(1);return Y.input.indexOf(J,X)!==-1},i=Rb,o={begin:"<>",end:"</>"},r=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,X)=>{const J=Y[0].length+Y.index,B=Y.input[J];if(B==="<"||B===","){X.ignoreMatch();return}B===">"&&(n(Y,{after:J})||X.ignoreMatch());let w;if((w=Y.input.substr(J).match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},s={$pattern:Rb,keyword:c4,literal:d4,built_in:_4,"variable.language":u4},c="[0-9](_?[0-9])*",l=`\\.(${c})`,_="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${_})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${_})\\b((${l})\\b|\\.)?|(${l})\\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},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},h=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),b={className:"comment",variants:[h,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,p,d];u.contains=g.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(g)});const v=[].concat(b,u.contains),E=v.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(v)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},N={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,t.concat(i,"(",t.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Hy,...Vy]}},y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},A={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function D(Y){return t.concat("(?!",Y.join("|"),")")}const M={match:t.concat(/\b/,D([...Wy,"super"]),i,t.lookahead(/\(/)),className:"title.function",relevance:0},L={begin:t.concat(/\./,t.lookahead(t.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",$={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),y,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,p,b,d,C,{className:"attr",begin:i+t.lookahead(":"),relevance:0},$,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[b,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:r},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},A,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},M,R,N,F,{match:/\$[(.]/}]}}var p4=m4;function f4(e){const n={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},o={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},r={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:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,r,i,o,n]}}var h4=f4;function g4(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},i={beginKeywords:["true","false","null"].join(" ")};return{name:"JSON",contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var b4=g4;function E4(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r={$pattern:t,keyword:["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"],literal:["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","\u03C0","\u212F"],built_in:["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"]},a={keywords:r,illegal:/<\//},s={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},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},l={className:"subst",begin:/\$\(/,end:/\)/,keywords:r},_={className:"variable",begin:"\\$"+t},d={className:"string",contains:[e.BACKSLASH_ESCAPE,l,_],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},u={className:"string",contains:[e.BACKSLASH_ESCAPE,l,_],begin:"`",end:"`"},m={className:"meta",begin:"@"+t},f={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[s,c,d,u,m,f,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],l.contains=a.contains,a}var v4=E4;function S4(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}var y4=S4,Ja="[0-9](_*[0-9])*",Ec=`\\.(${Ja})`,vc="[0-9a-fA-F](_*[0-9a-fA-F])*",N4={className:"number",variants:[{begin:`(\\b(${Ja})((${Ec})|\\.)?|(${Ec}))[eE][+-]?(${Ja})[fFdD]?\\b`},{begin:`\\b(${Ja})((${Ec})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Ec})[fFdD]?\\b`},{begin:`\\b(${Ja})[fFdD]\\b`},{begin:`\\b0[xX]((${vc})\\.?|(${vc})?\\.(${vc}))[pP][+-]?(${Ja})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${vc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function C4(e){const t={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"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},o={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},r={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[r,o]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,r,o]}]};o.contains.push(a);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"})]}]},l=N4,_=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=d;return u.variants[1].contains=[d],d.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,_,n,i,s,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,_],relevance:0},e.C_LINE_COMMENT_MODE,_,s,c,a,e.C_NUMBER_MODE]},_]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},s,c]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
`},l]}}var A4=C4;function O4(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",i="\\]|\\?>",o={$pattern:t+"|&[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"},r=e.COMMENT("<!--","-->",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[r]}},s={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+t+"'"},l=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:o,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[r]}},a,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:o,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[r]}},a,s].concat(l)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(l)}}var T4=O4;function w4(e){const n=e.regex.either(...["(?: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(R=>R+"(?![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(R=>R+"(?![a-zA-Z:_])").join("|")),o=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],r=[{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]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:i},{endsParent:!0,variants:r},{endsParent:!0,relevance:0,variants:o}]},s={className:"params",relevance:0,begin:/#+\d?/},c={variants:r},l={className:"built_in",relevance:0,begin:/[$&^_]/},_={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},d=e.COMMENT("%","$",{relevance:0}),u=[a,s,c,l,_,d],m={begin:/\{/,end:/\}/,relevance:0,contains:["self",...u]},f=e.inherit(m,{relevance:0,endsParent:!0,contains:[m,...u]}),p={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[m,...u]},h={begin:/\s+/,relevance:0},b=[f],g=[p],v=function(R,D){return{contains:[h],starts:{relevance:0,contains:R,starts:D}}},E=function(R,D){return{begin:"\\\\"+R+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+R},relevance:0,contains:[h],starts:D}},S=function(R,D){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+R+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},v(b,D))},N=(R="string")=>e.END_SAME_AS_BEGIN({className:R,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),C=function(R){return{className:"string",end:"(?=\\\\end\\{"+R+"\\})"}},y=(R="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:R,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),A=[...["verb","lstinline"].map(R=>E(R,{contains:[N()]})),E("mint",v(b,{contains:[N()]})),E("mintinline",v(b,{contains:[y(),N()]})),E("url",{contains:[y("link"),y("link")]}),E("hyperref",{contains:[y("link")]}),E("href",v(g,{contains:[y("link")]})),...[].concat(...["","\\*"].map(R=>[S("verbatim"+R,C("verbatim"+R)),S("filecontents"+R,v(b,C("filecontents"+R))),...["","B","L"].map(D=>S(D+"Verbatim"+R,v(g,C(D+"Verbatim"+R))))])),S("minted",v(g,v(b,C("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...A,...u]}}var R4=w4;function x4(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}var D4=x4;function I4(e){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]*"}]}]}]}}var k4=I4;const M4=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|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},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),L4=["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"],F4=["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"],jy=["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"],qy=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],P4=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","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-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-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","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","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-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","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-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),B4=jy.concat(qy);function $4(e){const t=M4(e),n=B4,i="and or not only",o="[\\w-]+",r="("+o+"|@\\{"+o+"\\})",a=[],s=[],c=function(v){return{className:"string",begin:"~?"+v+".*?"+v}},l=function(v,E,S){return{className:v,begin:E,relevance:S}},_={$pattern:/[a-z-]+/,keyword:i,attribute:F4.join(" ")},d={begin:"\\(",end:"\\)",contains:s,keywords:_,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c("'"),c('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,d,l("variable","@@?"+o,10),l("variable","@\\{"+o+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:o+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT);const u=s.concat({begin:/\{/,end:/\}/,contains:a}),m={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},f={begin:r+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+P4.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},p={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:_,returnEnd:!0,contains:s,relevance:0}},h={className:"variable",variants:[{begin:"@"+o+"\\s*:",relevance:15},{begin:"@"+o}],starts:{end:"[;}]",returnEnd:!0,contains:u}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,l("keyword","all\\b"),l("variable","@\\{"+o+"\\}"),{begin:"\\b("+L4.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",r,0),l("selector-id","#"+r),l("selector-class","\\."+r,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+jy.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+qy.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},t.FUNCTION_DISPATCH]},g={begin:o+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[b]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,h,g,f,b),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}var U4=$4;function G4(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",o={className:"literal",begin:"\\b(t{1}|nil)\\b"},r={className:"number",variants:[{begin:i,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)\\("+i+" +"+i,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},l={className:"symbol",begin:"[:&]"+t},_={begin:t,relevance:0},d={begin:n},m={contains:[r,a,c,l,{begin:"\\(",end:"\\)",contains:["self",o,a,r,_]},_],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},f={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},p={begin:"\\(\\s*",end:"\\)"},h={endsWithParent:!0,relevance:0};return p.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},h],h.contains=[m,f,p,o,r,a,s,c,l,d,_],{name:"Lisp",illegal:/\S/,contains:[r,e.SHEBANG(),o,a,s,m,f,p,_]}}var z4=G4;function Y4(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),o=e.inherit(e.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:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[o,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(n),illegal:";$|^\\[|^=|&|\\{"}}var H4=Y4;const V4=["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"],W4=["true","false","null","undefined","NaN","Infinity"],j4=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],q4=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],K4=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Q4=[].concat(K4,j4,q4);function X4(e){const t=["npm","print"],n=["yes","no","on","off","it","that","void"],i=["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"],o={keyword:V4.concat(i),literal:W4.concat(n),built_in:Q4.concat(t)},r="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=e.inherit(e.TITLE_MODE,{begin:r}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:o},l=[e.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:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,c]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,c]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+r},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=l;const _={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(l)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},u={variants:[{match:[/class\s+/,r,/\s+extends\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"LiveScript",aliases:["ls"],keywords:o,illegal:/\/\*/,contains:l.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,d,{className:"function",contains:[a,_],returnBegin:!0,variants:[{begin:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+r+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},u,{begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}var Z4=X4;function J4(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},o={className:"operator",relevance:0,begin:/=/},r={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},l={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)},{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,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},l,r,o,c,s,a]}}var e8=J4;function t8(e){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},o={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"}]},r={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:[n,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{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"}]},r,o,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}var n8=t8;function i8(e){const t="\\[=*\\[",n="\\]=*\\]",i={begin:t,end:n,contains:["self"]},o=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.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:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[i],relevance:5}])}}var r8=i8;function o8(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},i={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},r={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,i,o,r,a]}}var a8=o8;const s8=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function l8(e){const t=e.regex,n=/([2-9]|[1-2]\d|[3][0-5])\^\^/,i=/(\w*\.\w+|\w+\.\w*|\w+)/,o=/(\d*\.\d+|\d+\.\d*|\d+)/,r=t.either(t.concat(n,i),o),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,s=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,c=t.either(a,s),l=/\*\^[+-]?\d+/,_=t.concat(r,t.optional(c),t.optional(l)),d={className:"number",relevance:0,begin:_},u=/[a-zA-Z$][a-zA-Z0-9$]*/,m=new Set(s8),f={variants:[{className:"builtin-symbol",begin:u,"on:begin":(S,N)=>{m.has(S[0])||N.ignoreMatch()}},{className:"symbol",relevance:0,begin:u}]},p={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},h={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},b={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},g={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},v={className:"brace",relevance:0,begin:/[[\](){}]/},E={className:"message-name",relevance:0,begin:t.concat("::",u)};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:[e.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),b,g,E,f,p,e.QUOTE_STRING_MODE,d,h,v]}}var c8=l8;function d8(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};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:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}var u8=d8;function _8(e){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"]},e.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:/@/}}var m8=_8;function p8(e){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:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}var f8=p8;function h8(e){const t={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},n=e.COMMENT("%","$"),i={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},o=e.inherit(e.APOS_STRING_MODE,{relevance:0}),r=e.inherit(e.QUOTE_STRING_MODE,{relevance:0}),a={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return r.contains=r.contains.slice(),r.contains.push(a),{name:"Mercury",aliases:["m","moo"],keywords:t,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,o,r,{begin:/:-/},{begin:/\.$/}]}}var g8=h8;function b8(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.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"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.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:/\//}}var E8=b8;function v8(e){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:[e.COMMENT("::","$")]}}var S8=v8;function y8(e){const t=e.regex,n=["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"],i=/[dualxmsipngr]{0,12}/,o={$pattern:/[\w.]+/,keyword:n.join(" ")},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:o},a={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,r,s],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],_=(m,f,p="\\1")=>{const h=p==="\\1"?p:t.concat(p,f);return t.concat(t.concat("(?:",m,")"),f,/(?:\\.|[^\\\/])*?/,h,/(?:\\.|[^\\\/])*?/,p,i)},d=(m,f,p)=>t.concat(t.concat("(?:",m,")"),f,/(?:\\.|[^\\\/])*?/,p,i),u=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,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:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.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:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:_("s|tr|y",t.either(...l,{capture:!0}))},{begin:_("s|tr|y","\\(","\\)")},{begin:_("s|tr|y","\\[","\\]")},{begin:_("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=u,a.contains=u,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:u}}var N8=y8;function C8(e){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}]}}var A8=C8;function O8(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};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","and","or","shl","shr","mod"],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"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}var T8=O8;function w8(e){const t={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"},n="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:t},o=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=o;const r=e.inherit(e.TITLE_MODE,{begin:n}),a="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[r,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}var R8=w8;function x8(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,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:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}var D8=x8;function I8(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},o={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),o,i,t,n]}}var k8=I8;function M8(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},o={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,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:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.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:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:o.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:o}],relevance:0}],illegal:"[^\\s\\}\\{]"}}var L8=M8;function F8(e){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","guarded","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","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["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"],built_in:["stdin","stdout","stderr","result"]},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:/"""/},e.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))?/}]},e.HASH_COMMENT_MODE]}}var P8=F8;function B8(e){const t={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"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},r=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i];return n.contains=r,{name:"Nix",aliases:["nixos"],keywords:t,contains:r}}var $8=B8;function U8(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var G8=U8;function z8(e){const t=e.regex,n=["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"],i=["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"],o=["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","uninstfinalize","verbose","warning"],r={className:"variable.constant",begin:t.concat(/\$/,t.either(...n))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},l={className:"params",begin:t.either(...i)},_={className:"keyword",begin:t.concat(/!/,t.either(...o))},d={className:"char.escape",begin:/\$(\\[nrt]|\$)/},u={className:"title.function",begin:/\w+::\w+/},m={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[d,r,a,s,c]},f=["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","GetWinVer","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|0","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"],p=["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"],h={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},g={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:f,literal:p},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),g,h,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},m,_,a,s,c,l,u,e.NUMBER_MODE]}}var Y8=z8;function H8(e){const t={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+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","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:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}var V8=H8;function W8(e){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},e.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},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.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:/->/}]}}var j8=W8;function q8(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",i,o,t,n]},s={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,r,o,t,s,c]}}var K8=q8;function Q8(e){const t={$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"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),o={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},r={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[o,r]},n,i]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,i,e.C_LINE_COMMENT_MODE,o,r,e.NUMBER_MODE,a,s]}}var X8=Q8;function Z8(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{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]+"},e.C_NUMBER_MODE]}}var J8=Z8;function eG(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={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:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}var tG=eG;function nG(e){const t=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",o="<<\\s*"+n+"\\s*>>",r="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 ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="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 ",c="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 ",l=c.trim().split(" ").map(function(p){return p.split("|")[0]}).join("|"),_="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="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 ",u="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 ",f="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(p){return p.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:r+s+a,built_in:_+d+u},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:e.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("+f+")\\s*\\("},{begin:"\\.("+l+")\\b"},{begin:"\\b("+l+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+l+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:o,relevance:10}]}}var iG=nG;function rG(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),r={scope:"variable",match:"\\$+"+i},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),_=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),d=`[
|
|
]`,u={scope:"string",variants:[l,c,_]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},f=["false","null","true"],p=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__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","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],h=["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","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],g={keyword:p,literal:(M=>{const L=[];return M.forEach(F=>{L.push(F),F.toLowerCase()===F?L.push(F.toUpperCase()):L.push(F.toLowerCase())}),L})(f),built_in:h},v=M=>M.map(L=>L.replace(/\|\d+$/,"")),E={variants:[{match:[/new/,t.concat(d,"+"),t.concat("(?!",v(h).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},S=t.concat(i,"\\b(?!\\()"),N={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},y={relevance:0,begin:/\(/,end:/\)/,keywords:g,contains:[C,r,N,e.C_BLOCK_COMMENT_MODE,u,m,E]},A={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",v(p).join("\\b|"),"|",v(h).join("\\b|"),"\\b)"),i,t.concat(d,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[y]};y.contains.push(A);const R=[C,N,e.C_BLOCK_COMMENT_MODE,u,m,E],D={begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...R]},...R,{scope:"meta",match:o}]};return{case_insensitive:!1,keywords:g,contains:[D,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},r,A,N,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",r,N,e.C_BLOCK_COMMENT_MODE,u,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},u,m]}}var oG=rG;function aG(e){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},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}var sG=aG;function lG(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var cG=lG;function dG(e){const t={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"},n={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},o={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},r={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[r,n,i,o,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}var uG=dG;function _G(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="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",i="-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",o={$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"},r=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},l={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},_={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},u=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),m={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},f={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},p={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:r,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},h={begin:/using\s/,end:/$/,returnBegin:!0,contains:[l,_,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},b={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},g={className:"selector-tag",begin:/@\B/,relevance:0},v={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(o.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},E=[v,u,a,e.NUMBER_MODE,l,_,m,s,c,g],S={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",E,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return v.contains.unshift(S),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:o,contains:E.concat(f,p,h,b,S)}}var mG=_G;function pG(e){const t=e.regex,n=["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"],i=e.IDENT_RE,o={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,i,t.lookahead(/\s*\(/)),className:"title.function"}]},r={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,i],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],l=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...l],type:c},contains:[s,r,o,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}var fG=pG;function hG(e){return{name:"Python profiler",contains:[e.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:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}var gG=hG;function bG(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},o={begin:/\[/,end:/\]/},r={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},_=[t,n,i,{begin:/:-/},o,r,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,s,c,e.C_NUMBER_MODE];return i.contains=_,o.contains=_,{name:"Prolog",contains:_.concat([{begin:/\.$/}])}}var EG=bG;function vG(e){const t="[ \\t\\f]*",n="[ \\t\\f]+",i=t+"[:=]"+t,o=n,r="("+i+"|"+o+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:r,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+i},{begin:a+o}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:s},{className:"attr",begin:a+t+"$"}]}}var SG=vG;function yG(e){const t=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",keywords:{keyword:t,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}var NG=yG;function CG(e){const t={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"},n=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",o=e.inherit(e.TITLE_MODE,{begin:i}),r={className:"variable",begin:"\\$"+i},a={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,r,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[o,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},r]}],relevance:0}]}}var AG=CG;function OG(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={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:[e.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*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}var TG=OG;function wG(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["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"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,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"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},_={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,_,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,_,l]},{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:[e.BACKSLASH_ESCAPE,_,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,_,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",m=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,f=`\\b|${i.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${m}))[eE][+-]?(${u})[jJ]?(?=${f})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${f})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${f})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${f})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${f})`},{begin:`\\b(${u})[jJ](?=${f})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:s,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:s,contains:["self",c,p,d,e.HASH_COMMENT_MODE]}]};return l.contains=[d,p,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|->|\?)|=>/,contains:[c,p,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},d,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,b,d]}]}}var RG=wG;function xG(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var DG=xG;function IG(e){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:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}var kG=IG;function MG(e){const t=e.regex,n={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}},r={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},s={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:t.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},r,o,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,s,c],illegal:/#/}}var LG=MG;function FG(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,r=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,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"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[r,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:r},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var PG=FG;function BG(e){function t(S){return S.map(function(N){return N.split("").map(function(C){return"\\"+C}).join("")}).join("|")}const n="~?[a-z$_][0-9a-zA-Z$_]*",i="`?[A-Z$_][0-9a-zA-Z$_]*",o="'?[a-z$_][0-9a-z$_]*",r="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+o+"\\s*(,"+o+"\\s*)*)?\\))?",a=n+"("+r+"){0,2}",s="("+t(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",c="\\s+"+s+"\\s+",l={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"},_="\\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_]+)?)?)",d={className:"number",relevance:0,variants:[{begin:_},{begin:"\\(-"+_+"\\)"}]},u={className:"operator",relevance:0,begin:s},m=[{className:"identifier",relevance:0,begin:n},u,d],f=[e.QUOTE_STRING_MODE,u,{className:"module",begin:"\\b"+i,returnBegin:!0,relevance:0,end:".",contains:[{className:"identifier",begin:i,relevance:0}]}],p=[{className:"module",begin:"\\b"+i,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:i,relevance:0}]}],h={begin:n,end:"(,|\\n|\\))",relevance:0,contains:[u,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:p}]},b={className:"function",relevance:0,keywords:l,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+n+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:n},{begin:a},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[h]}]},{begin:"\\(\\.\\s"+n+"\\)\\s*=>"}]};f.push(b);const g={className:"constructor",begin:i+"\\(",end:"\\)",illegal:"\\n",keywords:l,contains:[e.QUOTE_STRING_MODE,u,{className:"params",begin:"\\b"+n}]},v={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:l,end:"=>",relevance:0,contains:[g,u,{relevance:0,className:"constructor",begin:i}]},E={className:"module-access",keywords:l,returnBegin:!0,variants:[{begin:"\\b("+i+"\\.)+"+n},{begin:"\\b("+i+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[b,{begin:"\\(",end:"\\)",relevance:0,skip:!0}].concat(f)},{begin:"\\b("+i+"\\.)+\\{",end:/\}/}],contains:f};return p.push(E),{name:"ReasonML",aliases:["re"],keywords:l,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:m},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:m},g,{className:"operator",begin:c,illegal:"-->",relevance:0},d,e.C_LINE_COMMENT_MODE,v,b,{className:"module-def",begin:"\\bmodule\\s+"+n+"\\s+"+i+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:l,relevance:0,contains:[{className:"module",relevance:0,begin:i},{begin:/\{/,end:/\}/,relevance:0,skip:!0}].concat(f)},E]}}var $G=BG;function UG(e){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:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}var GG=UG;function zG(e){const t="[a-zA-Z-_][^\\n{]+\\{",n={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+t,end:/\}/,keywords:"facet",contains:[n,e.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+t,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",n,e.HASH_COMMENT_MODE]},{begin:"^"+t,end:/\}/,contains:[n,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}var YG=zG;function HG(e){const t="foreach do while for if from to step else on-error and or not in",n="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",i="add remove enable disable set get print export edit find run debug error info warning",o="true false yes no nothing nil null",r="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",a={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},c={className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:o,keyword:t+" :"+t.split(" ").join(" :")+" :"+n.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),s,c,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,c,a,{className:"literal",begin:"\\b("+o.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+r.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}var VG=HG;function WG(e){const t=["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"],n=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],o={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:t,type:n},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},o,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}var jG=WG;function qG(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}var KG=qG;function QG(e){const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},i="([ui](8|16|32|64|128|size)|f(32|64))?",o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],r=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bin!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],s=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:s,keyword:o,literal:r,built_in:a},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+i},{begin:"\\b0o([0-7_]+)"+i},{begin:"\\b0x([A-Fa-f0-9_]+)"+i},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+i}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a}},{className:"punctuation",begin:"->"},n]}}var XG=QG;function ZG(e){const t=e.regex,n=["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|0","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"],i=["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"],o=["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"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:n},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...o)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}var JG=ZG;function e9(e){const t=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},o={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},a]},c={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[a]},l={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},_=[{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}}],d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],u={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,r,c,s,e.C_NUMBER_MODE,l,_,...d,u,n]}}var t9=e9;function n9(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",i=n+"[+\\-]"+n+"i",o={$pattern:t,built_in:"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-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? 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-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? 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?"},r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:t,relevance:0},_={className:"symbol",begin:"'"+t},d={endsWithParent:!0,relevance:0},u={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",r,s,a,l,_]}]},m={className:"name",relevance:0,begin:t,keywords:o},p={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[m,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},m,d]};return d.contains=[r,a,s,l,_,u,p].concat(c),{name:"Scheme",illegal:/\S/,contains:[e.SHEBANG(),a,s,_,u,p].concat(c)}}var i9=n9;function r9(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.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:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}var o9=r9;const a9=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|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},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),s9=["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"],l9=["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"],c9=["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"],d9=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],u9=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","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-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-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","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","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-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","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-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function _9(e){const t=a9(e),n=d9,i=c9,o="@[a-z-]+",r="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+s9.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+u9.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:[t.BLOCK_COMMENT,s,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:l9.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}var m9=_9;function p9(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var f9=p9;function h9(e){const t=["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"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.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("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
|
|
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}var g9=h9;function b9(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},i={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,i,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,i]}]}}var E9=b9;function v9(e){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},e.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']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.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:/[-=]>/}]}}var S9=v9;function y9(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z]\w+_fnc_\w+/},i={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},o=["case","catch","default","do","else","exit","exitWith","for","forEach","from","if","private","switch","then","throw","to","try","waitUntil","while","with"],r=["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"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","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","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiarySubjects","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","apertureParams","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","batteryChargeRTD","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","break","breakOut","breakTo","breakWith","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","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","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","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","continue","continueWith","controlsGroupCtrl","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTarget","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","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","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetURL","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","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","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","daytime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTarget","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQSScripts","diag_captureFrameToFile","diag_captureSlowFrame","diag_deltaTime","diag_drawMode","diag_enable","diag_enabled","diag_fps","diag_fpsMin","diag_frameNo","diag_list","diag_mergeConfigFile","diag_scope","diag_activeSQFScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_codePerformance","diag_dumpCalltraceToLog","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_exportConfig","diag_exportTerrainSVG","diag_lightNewLoad","diag_localized","diag_log","diag_logSlowFrame","diag_recordTurretLimits","diag_resetShapes","diag_setLightNew","diag_tickTime","diag_toggle","dialog","diaryRecordNull","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","elevatePeriscope","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","endLoadingScreen","endMission","enemy","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","exportLandscapeXYZ","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeLook","friendly","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getContainerMaxLoad","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEnvSoundController","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOrDefault","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerUIDOld","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeightASL","getText","getTextRaw","getTextWidth","getTotalDLCUsageTime","getTrimOffsetRTD","getUnitLoadout","getUnitTrait","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTIPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWorld","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","hideBehindScripted","hideBody","hideObject","hideObjectGlobal","hideSelection","hierarchyObjectsCount","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","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isHideBehindScripted","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSensorTargetConfirmed","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","keys","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","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","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","local","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","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","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionName","missionNameSource","missionNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTarget","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","object","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGear","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openDSInterface","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","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","processInitCommands","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","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","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeClothing","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","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","ropeSegments","ropeSetCargoMass","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","setAPURTD","setArmoryPoints","setAttributes","setAutonomous","setBatteryChargeRTD","setBatteryRTD","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraEffect","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTI","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","setCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRPMRTD","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","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","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","setStarterRTD","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setText","setThrottleRTD","setTimeMultiplier","setTitleEffect","setToneMapping","setToneMappingParams","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setType","setUnconscious","setUnitAbility","setUnitCombatMode","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","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","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","sideEmpty","sideEnemy","sideFriendly","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulSetHumidity","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","step","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","throttleRTD","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","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","waypointLoiterAltitude","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","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{className:"string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:o,built_in:a,literal:r},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,n,i,s],illegal:/#|^\$ /}}var N9=y9;function C9(e){const t=e.regex,n=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},o={begin:/"/,end:/"/,contains:[{begin:/""/}]},r=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["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"],c=["add","asc","collation","desc","final","first","last","view"],l=["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"],_=["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"],d=["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"],u=["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"],m=_,f=[...l,...c].filter(v=>!_.includes(v)),p={className:"variable",begin:/@[a-z0-9]+/},h={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:t.concat(/\b/,t.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function g(v,{exceptions:E,when:S}={}){const N=S;return E=E||[],v.map(C=>C.match(/\|\d+$/)||E.includes(C)?C:N(C)?`${C}|0`:C)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:g(f,{when:v=>v.length<3}),literal:r,type:s,built_in:d},contains:[{begin:t.either(...u),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:f.concat(u),literal:r,type:s}},{className:"type",begin:t.either(...a)},b,p,i,o,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,h]}}var A9=C9;function O9(e){const t=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],i=["for","in","if","else","while","break","continue","return"],o=["array","complex","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"],r=["Phi","Phi_approx","abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","binomial_coefficient_log","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","conj","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","distance","dot_product","dot_self","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","expm1","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_lp","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","int_step","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_cloglog","inv_logit","inv_sqrt","inv_square","inverse","inverse_spd","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","logit","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","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","multiply_log","multiply_lower_tri_self_transpose","negative_infinity","norm","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","polar","positive_infinity","pow","print","prod","proj","qr_Q","qr_R","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","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","multinomial_logit","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","student_t","uniform","von_mises","weibull","wiener","wishart"],s=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},l=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:n,type:o,keyword:i,built_in:r},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,s,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...l),/\s*=/),keywords:l},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}var T9=O9;function w9(e){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_]+\}?/,relevance:0},{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)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}var R9=w9;function x9(e){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},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}var D9=x9;const I9=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|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},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),k9=["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"],M9=["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"],L9=["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"],F9=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],P9=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","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-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-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","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","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-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","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-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function B9(e){const t=I9(e),n="and or not only",i={className:"variable",begin:"\\$"+e.IDENT_RE},o=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],r="(?=[.\\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:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+r,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+r,className:"selector-id"},{begin:"\\b("+k9.join("|")+")"+r,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+L9.join("|")+")"+r},{className:"selector-pseudo",begin:"&?:(:)?("+F9.join("|")+")"+r},t.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:M9.join(" ")},contains:[t.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+o.join("|")+"))\\b"},i,t.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:[t.HEXCOLOR,i,e.APOS_STRING_MODE,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE]}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+P9.join("|")+")\\b",starts:{end:/;|$/,contains:[t.HEXCOLOR,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,t.CSS_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t.IMPORTANT],illegal:/\./,relevance:0}},t.FUNCTION_DISPATCH]}}var $9=B9;function U9(e){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:"}]}]}}var G9=U9;function Ky(e){return e?typeof e=="string"?e:e.source:null}function Sc(e){return hn("(?=",e,")")}function hn(...e){return e.map(n=>Ky(n)).join("")}function z9(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Ti(...e){const t=z9(e);return"("+(t.capture?"":"?:")+e.map(i=>Ky(i)).join("|")+")"}const ah=e=>hn(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Y9=["Protocol","Type"].map(ah),xb=["init","self"].map(ah),H9=["Any","Self"],sp=["actor","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","isolated","nonisolated","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"],Db=["false","nil","true"],V9=["assignment","associativity","higherThan","left","lowerThan","none","right"],W9=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Ib=["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"],Qy=Ti(/[/=\-+!*%<>&|^~?]/,/[\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]/),Xy=Ti(Qy,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),lp=hn(Qy,Xy,"*"),Zy=Ti(/[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]/),od=Ti(Zy,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),eo=hn(Zy,od,"*"),cp=hn(/[A-Z]/,od,"*"),j9=["autoclosure",hn(/convention\(/,Ti("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",hn(/objc\(/,eo,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],q9=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function K9(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),i=[e.C_LINE_COMMENT_MODE,n],o={match:[/\./,Ti(...Y9,...xb)],className:{2:"keyword"}},r={match:hn(/\./,Ti(...sp)),relevance:0},a=sp.filter(he=>typeof he=="string").concat(["_|0"]),s=sp.filter(he=>typeof he!="string").concat(H9).map(ah),c={variants:[{className:"keyword",match:Ti(...s,...xb)}]},l={$pattern:Ti(/\b\w+/,/#\w+/),keyword:a.concat(W9),literal:Db},_=[o,r,c],d={match:hn(/\./,Ti(...Ib)),relevance:0},u={className:"built_in",match:hn(/\b/,Ti(...Ib),/(?=\()/)},m=[d,u],f={match:/->/,relevance:0},p={className:"operator",relevance:0,variants:[{match:lp},{match:`\\.(\\.|${Xy})+`}]},h=[f,p],b="([0-9]_*)+",g="([0-9a-fA-F]_*)+",v={className:"number",relevance:0,variants:[{match:`\\b(${b})(\\.(${b}))?([eE][+-]?(${b}))?\\b`},{match:`\\b0x(${g})(\\.(${g}))?([pP][+-]?(${b}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},E=(he="")=>({className:"subst",variants:[{match:hn(/\\/,he,/[0\\tnr"']/)},{match:hn(/\\/,he,/u\{[0-9a-fA-F]{1,8}\}/)}]}),S=(he="")=>({className:"subst",match:hn(/\\/,he,/[\t ]*(?:[\r\n]|\r\n)/)}),N=(he="")=>({className:"subst",label:"interpol",begin:hn(/\\/,he,/\(/),end:/\)/}),C=(he="")=>({begin:hn(he,/"""/),end:hn(/"""/,he),contains:[E(he),S(he),N(he)]}),y=(he="")=>({begin:hn(he,/"/),end:hn(/"/,he),contains:[E(he),N(he)]}),A={className:"string",variants:[C(),C("#"),C("##"),C("###"),y(),y("#"),y("##"),y("###")]},R={match:hn(/`/,eo,/`/)},D={className:"variable",match:/\$\d+/},M={className:"variable",match:`\\$${od}+`},L=[R,D,M],F={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:q9,contains:[...h,v,A]}]}},q={className:"keyword",match:hn(/@/,Ti(...j9))},$={className:"meta",match:hn(/@/,eo)},Y=[F,q,$],X={match:Sc(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:hn(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,od,"+")},{className:"type",match:cp,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:hn(/\s+&\s+/,Sc(cp)),relevance:0}]},J={begin:/</,end:/>/,keywords:l,contains:[...i,..._,...Y,f,X]};X.contains.push(J);const B={match:hn(eo,/\s*:/),keywords:"_|0",relevance:0},w={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",B,...i,..._,...m,...h,v,A,...L,...Y,X]},I={begin:/</,end:/>/,contains:[...i,X]},U={begin:Ti(Sc(hn(eo,/\s*:/)),Sc(hn(eo,/\s+/,eo,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:eo}]},z={begin:/\(/,end:/\)/,keywords:l,contains:[U,...i,..._,...h,v,A,...Y,X,w],endsParent:!0,illegal:/["']/},ee={match:[/func/,/\s+/,Ti(R.match,eo,lp)],className:{1:"keyword",3:"title.function"},contains:[I,z,t],illegal:[/\[/,/%/]},ae={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[I,z,t],illegal:/\[|%/},te={match:[/operator/,/\s+/,lp],className:{1:"keyword",3:"title"}},me={begin:[/precedencegroup/,/\s+/,cp],className:{1:"keyword",3:"title"},contains:[X],keywords:[...V9,...Db],end:/}/};for(const he of A.variants){const Ve=he.contains.find(_e=>_e.label==="interpol");Ve.keywords=l;const ze=[..._,...m,...h,v,A,...L];Ve.contains=[...ze,{begin:/\(/,end:/\)/,contains:["self",...ze]}]}return{name:"Swift",keywords:l,contains:[...i,ee,ae,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),..._]},te,me,{beginKeywords:"import",end:/$/,contains:[...i],relevance:0},..._,...m,...h,v,A,...L,...Y,X,w]}}var Q9=K9;function X9(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}var Z9=X9;function J9(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,o]},a=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",l="(\\.[0-9]*)?",_="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",d={className:"number",begin:"\\b"+s+c+l+_+"\\b"},u={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},m={begin:/\{/,end:/\}/,contains:[u],illegal:"\\n",relevance:0},f={begin:"\\[",end:"\\]",contains:[u],illegal:"\\n",relevance:0},p=[i,{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+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},d,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,f,r],h=[...p];return h.pop(),h.push(a),u.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:p}}var ez=J9;function tz(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.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"}]}]}}var nz=tz;function iz(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,i={className:"number",variants:[e.BINARY_NUMBER_MODE,e.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:[e.COMMENT(";[ \\t]*#","$"),e.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:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[i]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i]}}var rz=iz;function oz(e){const t=["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"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}var az=oz;function sz(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},i={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",t,n]},o={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};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:[i,o,{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},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}var lz=sz;function cz(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],i=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let o=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];o=o.concat(o.map(f=>`end${f}`));const r={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r,a]},c={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[s]},l={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:i}]},_=(f,{relevance:p})=>({beginScope:{1:"template-tag",3:"name"},relevance:p||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...f)],end:/%\}/,keywords:"in",contains:[l,c,r,a]}),d=/[a-z_]+/,u=_(o,{relevance:2}),m=_([d],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),u,m,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",l,c,r,a]}]}}var dz=cz;const ad="[A-Za-z$_][0-9A-Za-z$_]*",Jy=["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"],eN=["true","false","null","undefined","NaN","Infinity"],tN=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],nN=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],iN=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],rN=["arguments","this","super","console","window","document","localStorage","module","global"],oN=[].concat(iN,tN,nN);function uz(e){const t=e.regex,n=(Y,{after:X})=>{const J="</"+Y[0].slice(1);return Y.input.indexOf(J,X)!==-1},i=ad,o={begin:"<>",end:"</>"},r=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,X)=>{const J=Y[0].length+Y.index,B=Y.input[J];if(B==="<"||B===","){X.ignoreMatch();return}B===">"&&(n(Y,{after:J})||X.ignoreMatch());let w;if((w=Y.input.substr(J).match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},s={$pattern:ad,keyword:Jy,literal:eN,built_in:oN,"variable.language":rN},c="[0-9](_?[0-9])*",l=`\\.(${c})`,_="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${_})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${_})\\b((${l})\\b|\\.)?|(${l})\\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},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},h=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),b={className:"comment",variants:[h,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,p,d];u.contains=g.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(g)});const v=[].concat(b,u.contains),E=v.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(v)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},N={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,t.concat(i,"(",t.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...tN,...nN]}},y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},A={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function D(Y){return t.concat("(?!",Y.join("|"),")")}const M={match:t.concat(/\b/,D([...iN,"super"]),i,t.lookahead(/\(/)),className:"title.function",relevance:0},L={begin:t.concat(/\./,t.lookahead(t.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",$={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),y,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,f,p,b,d,C,{className:"attr",begin:i+t.lookahead(":"),relevance:0},$,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[b,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:r},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},A,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},M,R,N,F,{match:/\$[(.]/}]}}function _z(e){const t=uz(e),n=ad,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},r={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[t.exports.CLASS_REFERENCE]},a={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},s=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],c={$pattern:ad,keyword:Jy.concat(s),literal:eN,built_in:oN.concat(i),"variable.language":rN},l={className:"meta",begin:"@"+n},_=(u,m,f)=>{const p=u.contains.findIndex(h=>h.label===m);if(p===-1)throw new Error("can not find mode to replace");u.contains.splice(p,1,f)};Object.assign(t.keywords,c),t.exports.PARAMS_CONTAINS.push(l),t.contains=t.contains.concat([l,o,r]),_(t,"shebang",e.SHEBANG()),_(t,"use_strict",a);const d=t.contains.find(u=>u.label==="func.def");return d.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx"]}),t}var mz=_z;function pz(e){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:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}var fz=pz;function hz(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,o),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(r,o),/ +/,t.either(a,s),/ *#/)}]},l={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])|[%&])?/}]},_={className:"label",begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),u=e.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:[n,i,c,l,_,d,u,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[u]}]}}var gz=hz;function bz(e){const t=e.regex,n=["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"],i=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],o={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};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:i,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[o,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}var Ez=bz;function vz(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}var Sz=vz;function yz(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\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"]},i=["__FILE__","__LINE__"],o=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...i))},{scope:"meta",begin:t.concat(/`/,t.either(...o)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:o}]}}var Nz=yz;function Cz(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,i=t+"(\\."+t+")?("+n+")?",o="\\w+",r=t+"#"+o+"(\\."+o+")?#("+n+")?",a="\\b("+r+"|"+i+")";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:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}var Az=Cz;function Oz(e){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:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}var Tz=Oz;function wz(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],o={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},r={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\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/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},r,a,o,e.QUOTE_STRING_MODE,c,l,s]}}var Rz=wz;function xz(e){const t=e.regex,n=/[a-zA-Z]\w*/,i=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],o=["true","false","null"],r=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],s=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},l={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...s)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},_={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},d={relevance:0,match:t.either(...s),className:"operator"},u={className:"string",begin:/"""/,end:/"""/},m={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},f={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},p={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},h=e.C_NUMBER_MODE,b={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},g=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),v={scope:"subst",begin:/%\(/,end:/\)/,contains:[h,p,c,f,d]},E={scope:"string",begin:/"/,end:/"/,contains:[v,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};v.contains.push(E);const S=[...i,...r,...o],N={relevance:0,match:t.concat("\\b(?!",S.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:i,"variable.language":r,literal:o},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:o},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},h,E,u,g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,_,b,l,c,d,f,m,N]}}var Dz=xz;function Iz(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.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:[e.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"}]},e.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_-]+/}]}}var kz=Iz;function Mz(e){const t=["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"],n=["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"],i=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],r={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(i)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},s={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},l={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},_={beginKeywords:"import",end:"$",keywords:r,contains:[a]},d={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:r}})]};return{name:"XL",aliases:["tao"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,s,c,d,_,l,e.NUMBER_MODE]}}var Lz=Mz;function Fz(e){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:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}var Pz=Fz;function Bz(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},o="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:o,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:o,contains:["self",e.C_BLOCK_COMMENT_MODE,t,i]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,i]}}var $z=Bz,Q=L3;Q.registerLanguage("1c",P3);Q.registerLanguage("abnf",$3);Q.registerLanguage("accesslog",G3);Q.registerLanguage("actionscript",Y3);Q.registerLanguage("ada",V3);Q.registerLanguage("angelscript",j3);Q.registerLanguage("apache",K3);Q.registerLanguage("applescript",X3);Q.registerLanguage("arcade",J3);Q.registerLanguage("arduino",nU);Q.registerLanguage("armasm",rU);Q.registerLanguage("xml",aU);Q.registerLanguage("asciidoc",lU);Q.registerLanguage("aspectj",dU);Q.registerLanguage("autohotkey",_U);Q.registerLanguage("autoit",pU);Q.registerLanguage("avrasm",hU);Q.registerLanguage("awk",bU);Q.registerLanguage("axapta",vU);Q.registerLanguage("bash",yU);Q.registerLanguage("basic",CU);Q.registerLanguage("bnf",OU);Q.registerLanguage("brainfuck",wU);Q.registerLanguage("c",xU);Q.registerLanguage("cal",IU);Q.registerLanguage("capnproto",MU);Q.registerLanguage("ceylon",FU);Q.registerLanguage("clean",BU);Q.registerLanguage("clojure",UU);Q.registerLanguage("clojure-repl",zU);Q.registerLanguage("cmake",HU);Q.registerLanguage("coffeescript",ZU);Q.registerLanguage("coq",e6);Q.registerLanguage("cos",n6);Q.registerLanguage("cpp",r6);Q.registerLanguage("crmsh",a6);Q.registerLanguage("crystal",l6);Q.registerLanguage("csharp",d6);Q.registerLanguage("csp",_6);Q.registerLanguage("css",v6);Q.registerLanguage("d",y6);Q.registerLanguage("markdown",C6);Q.registerLanguage("dart",O6);Q.registerLanguage("delphi",w6);Q.registerLanguage("diff",x6);Q.registerLanguage("django",I6);Q.registerLanguage("dns",M6);Q.registerLanguage("dockerfile",F6);Q.registerLanguage("dos",B6);Q.registerLanguage("dsconfig",U6);Q.registerLanguage("dts",z6);Q.registerLanguage("dust",H6);Q.registerLanguage("ebnf",W6);Q.registerLanguage("elixir",q6);Q.registerLanguage("elm",Q6);Q.registerLanguage("ruby",Z6);Q.registerLanguage("erb",e7);Q.registerLanguage("erlang-repl",n7);Q.registerLanguage("erlang",r7);Q.registerLanguage("excel",a7);Q.registerLanguage("fix",l7);Q.registerLanguage("flix",d7);Q.registerLanguage("fortran",_7);Q.registerLanguage("fsharp",h7);Q.registerLanguage("gams",b7);Q.registerLanguage("gauss",v7);Q.registerLanguage("gcode",y7);Q.registerLanguage("gherkin",C7);Q.registerLanguage("glsl",O7);Q.registerLanguage("gml",w7);Q.registerLanguage("go",x7);Q.registerLanguage("golo",I7);Q.registerLanguage("gradle",M7);Q.registerLanguage("graphql",F7);Q.registerLanguage("groovy",B7);Q.registerLanguage("haml",U7);Q.registerLanguage("handlebars",z7);Q.registerLanguage("haskell",H7);Q.registerLanguage("haxe",W7);Q.registerLanguage("hsp",q7);Q.registerLanguage("http",Q7);Q.registerLanguage("hy",Z7);Q.registerLanguage("inform7",e4);Q.registerLanguage("ini",n4);Q.registerLanguage("irpf90",r4);Q.registerLanguage("isbl",a4);Q.registerLanguage("java",l4);Q.registerLanguage("javascript",p4);Q.registerLanguage("jboss-cli",h4);Q.registerLanguage("json",b4);Q.registerLanguage("julia",v4);Q.registerLanguage("julia-repl",y4);Q.registerLanguage("kotlin",A4);Q.registerLanguage("lasso",T4);Q.registerLanguage("latex",R4);Q.registerLanguage("ldif",D4);Q.registerLanguage("leaf",k4);Q.registerLanguage("less",U4);Q.registerLanguage("lisp",z4);Q.registerLanguage("livecodeserver",H4);Q.registerLanguage("livescript",Z4);Q.registerLanguage("llvm",e8);Q.registerLanguage("lsl",n8);Q.registerLanguage("lua",r8);Q.registerLanguage("makefile",a8);Q.registerLanguage("mathematica",c8);Q.registerLanguage("matlab",u8);Q.registerLanguage("maxima",m8);Q.registerLanguage("mel",f8);Q.registerLanguage("mercury",g8);Q.registerLanguage("mipsasm",E8);Q.registerLanguage("mizar",S8);Q.registerLanguage("perl",N8);Q.registerLanguage("mojolicious",A8);Q.registerLanguage("monkey",T8);Q.registerLanguage("moonscript",R8);Q.registerLanguage("n1ql",D8);Q.registerLanguage("nestedtext",k8);Q.registerLanguage("nginx",L8);Q.registerLanguage("nim",P8);Q.registerLanguage("nix",$8);Q.registerLanguage("node-repl",G8);Q.registerLanguage("nsis",Y8);Q.registerLanguage("objectivec",V8);Q.registerLanguage("ocaml",j8);Q.registerLanguage("openscad",K8);Q.registerLanguage("oxygene",X8);Q.registerLanguage("parser3",J8);Q.registerLanguage("pf",tG);Q.registerLanguage("pgsql",iG);Q.registerLanguage("php",oG);Q.registerLanguage("php-template",sG);Q.registerLanguage("plaintext",cG);Q.registerLanguage("pony",uG);Q.registerLanguage("powershell",mG);Q.registerLanguage("processing",fG);Q.registerLanguage("profile",gG);Q.registerLanguage("prolog",EG);Q.registerLanguage("properties",SG);Q.registerLanguage("protobuf",NG);Q.registerLanguage("puppet",AG);Q.registerLanguage("purebasic",TG);Q.registerLanguage("python",RG);Q.registerLanguage("python-repl",DG);Q.registerLanguage("q",kG);Q.registerLanguage("qml",LG);Q.registerLanguage("r",PG);Q.registerLanguage("reasonml",$G);Q.registerLanguage("rib",GG);Q.registerLanguage("roboconf",YG);Q.registerLanguage("routeros",VG);Q.registerLanguage("rsl",jG);Q.registerLanguage("ruleslanguage",KG);Q.registerLanguage("rust",XG);Q.registerLanguage("sas",JG);Q.registerLanguage("scala",t9);Q.registerLanguage("scheme",i9);Q.registerLanguage("scilab",o9);Q.registerLanguage("scss",m9);Q.registerLanguage("shell",f9);Q.registerLanguage("smali",g9);Q.registerLanguage("smalltalk",E9);Q.registerLanguage("sml",S9);Q.registerLanguage("sqf",N9);Q.registerLanguage("sql",A9);Q.registerLanguage("stan",T9);Q.registerLanguage("stata",R9);Q.registerLanguage("step21",D9);Q.registerLanguage("stylus",$9);Q.registerLanguage("subunit",G9);Q.registerLanguage("swift",Q9);Q.registerLanguage("taggerscript",Z9);Q.registerLanguage("yaml",ez);Q.registerLanguage("tap",nz);Q.registerLanguage("tcl",rz);Q.registerLanguage("thrift",az);Q.registerLanguage("tp",lz);Q.registerLanguage("twig",dz);Q.registerLanguage("typescript",mz);Q.registerLanguage("vala",fz);Q.registerLanguage("vbnet",gz);Q.registerLanguage("vbscript",Ez);Q.registerLanguage("vbscript-html",Sz);Q.registerLanguage("verilog",Nz);Q.registerLanguage("vhdl",Az);Q.registerLanguage("vim",Tz);Q.registerLanguage("wasm",Rz);Q.registerLanguage("wren",Dz);Q.registerLanguage("x86asm",kz);Q.registerLanguage("xl",Lz);Q.registerLanguage("xquery",Pz);Q.registerLanguage("zephir",$z);Q.HighlightJS=Q;Q.default=Q;var Uz=Q,Gz=Uz;const zz='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M6.368 1.01a.75.75 0 01.623.859L6.57 4.5h3.98l.46-2.868a.75.75 0 011.48.237L12.07 4.5h2.18a.75.75 0 010 1.5h-2.42l-.64 4h2.56a.75.75 0 010 1.5h-2.8l-.46 2.869a.75.75 0 01-1.48-.237l.42-2.632H5.45l-.46 2.869a.75.75 0 01-1.48-.237l.42-2.632H1.75a.75.75 0 010-1.5h2.42l.64-4H2.25a.75.75 0 010-1.5h2.8l.46-2.868a.75.75 0 01.858-.622zM9.67 10l.64-4H6.33l-.64 4h3.98z"></path></svg>';Et.use({highlight:(e,t)=>{if(t!=="")return Gz.highlight(e,{language:t}).value}});function Yz({id:e}){const{locale:t}=An(),{version:n,changeVersion:i}=xs(),{changeTitle:o}=br(),[r,a]=we(void 0),s=bn(()=>{if(!r)return;const S=e1(r);return o(S==null?void 0:S.title,S==null?void 0:S.versions),S},[r]),c=bn(()=>{var N;const S=Xt.versions.map(C=>C.id);return(N=s==null?void 0:s.versions)==null?void 0:N.sort((C,y)=>S.indexOf(y)-S.indexOf(C))},[s==null?void 0:s.versions]),l=bn(()=>!c||c.includes(n)?n:c[0],[n,s==null?void 0:s.versions]),_=bn(()=>{if(!r)return;const S=r.substring(r.indexOf("---",3)+3);return t1(S,l)},[l,r]),d=bn(()=>{if(!!_)return Et.use({renderer:{link(S,N,C){if(S===null)return C;const y=N?` title="${N}"`:"",A=S!=null&&S.match(/^https?:\/\//)?' target="_blank"':"";return`<a href="${S}"${y}${A}>${C}</a>`},heading(S,N,C,y){const A=y.slug(C),R=`<span id="guide-${A}" href="?version=${n}#${A}">${zz}</span>`;return`<h${N}>${R}${S}</h${N}>`}}}),Et(_,{version:"1.19"})},[_]),[u,m]=o1(),f=li(()=>{if(!d)return;const S=document.querySelector(`[id=guide-${u.slice(1)}]`);if(S){const N=S.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:N-68,behavior:"smooth"})}},[d,u]);ct(()=>{f()},[d===void 0,u]);const p=li(S=>{if(!(S.target instanceof HTMLSpanElement))return;const N="#"+S.target.id.replace(/^guide-/,"");i(n,!1,!0),m(N),N===u&&f()},[f,u,n]);ct(()=>{(async()=>{const N=await(await fetch(`../../guides/${e}.md`)).text();a(N)})()},[e]);const[h,b]=Ks(),g=li(()=>{const S=`${location.origin}/guides/${e}/?version=${n}`;navigator.clipboard.writeText(S),b()},[e,n]),v=S=>{Qo(`/guides/?tags=${S}`)},[E]=we(window.innerWidth>600);return T("main",null,T("div",{class:"guide"},T("div",{class:"navigation"},T("a",{class:"btn btn-link",href:"/guides/"},At.arrow_left,t("guides.all")),T(tt,{icon:h?"check":"link",label:t("share"),onClick:g,active:h,tooltip:t(h?"copied":"copy_share"),class:"guide-share"}),c&&T(Ri,{icon:"tag",label:l,tooltip:t("switch_version")},c.map(S=>T(tt,{label:S,active:S===l,onClick:()=>i(S)})))),(s==null?void 0:s.tags)&&s.tags.length>0&&T("div",{class:"guide-tags"},s.tags.map(S=>T(Xl,{label:S,active:!0,onClick:()=>v(S)}))),d&&T(vt,null,T(Bl,{id:"guide",type:E?"image":"text"}),T("div",{class:"guide-content",dangerouslySetInnerHTML:{__html:d},onClick:p}),T(Xf,null))))}const Hz="tags",dp="|";function Vz({}){const{locale:e}=An(),{version:t,changeVersion:n}=xs();br(e("title.guides"));const[i,o]=we(""),[r,a]=hl(Hz),s=bn(()=>{var m;return(m=r==null?void 0:r.split(dp))!=null?m:[]},[r]),c=m=>{s.includes(m)?a(s.filter(f=>f!==m).join(dp)):a([...s,m].sort().join(dp))},[l,_]=we(!1),d=bn(()=>l===!1?[{id:"adding-custom-structures",title:"Adding custom structures",versions:["1.18.2","1.19"],tags:["worldgen","structures"]}]:[{id:"adding-custom-structures",title:"Adding custom structures",versions:["1.18.2","1.19"],tags:["worldgen","structures"]}].filter(m=>{var f;return(f=m.versions)==null?void 0:f.includes(t)}),[t,l]),u=bn(()=>{const m=i.split(" ").map(f=>f.trim().toLowerCase()).filter(f=>f.length>0);return d.filter(f=>{var h;if(!s.every(b=>{var g;return(g=f.tags)==null?void 0:g.includes(b)}))return!1;const p=((h=f.tags)==null?void 0:h.join(" "))+" "+f.title.toLowerCase();return m.every(b=>b.startsWith("!")?b.length===1||!p.includes(b.slice(1)):p.includes(b))})},[d,i,r]);return T("main",null,T("div",{class:"guides"},T("div",{class:"changelog-query"},T(Da,{class:"btn btn-input changelog-search",placeholder:e("guides.search"),value:i,onChange:o}),T(Ri,{icon:"tag",label:l?t:e("any_version"),tooltip:e("switch_version")},T(tt,{label:e("any_version"),active:!l,onClick:()=>_(!l)}),Xt.versions.slice().reverse().map(m=>T(tt,{label:m.id,active:l&&m.id===t,onClick:()=>{n(m.id),_(!0)}})))),s.length>0&&T("div",{class:"changelog-tags"},s.map(m=>T(Xl,{label:m,onClick:()=>c(m)}))),d.length===0?T(vt,null,T("span",{class:"note"},e("guides.no_results.version"))):u.length===0?T(vt,null,T("span",{class:"note"},e("guides.no_results.query"))):u.map(m=>{var f,p;return T(F5,{title:m.title,link:`/guides/${m.id}/`,tags:(f=m.tags)!=null?f:[],versions:(p=m.versions)!=null?p:[],activeTags:s,toggleTag:c})})))}function Wz({}){const{locale:e}=An();return br(e("title.home")),T("main",null,T("div",{class:"home"},T(er,{title:"Data packs"},Xt.generators.filter(t=>!t.category).map(t=>T(er,{title:e(t.id),link:bo(t.url)})),T(er,{title:e("worldgen"),link:"/worldgen/"})),T(er,{title:"Resource packs"},Xt.generators.filter(t=>t.category==="assets").map(t=>T(er,{title:e(t.id),link:bo(t.url)}))),T(er,{title:"Report Inspector",icon:"report",link:"https://misode.github.io/report/",desc:"Analyse your performance reports"}),T(er,{title:"Minecraft Sounds",icon:"sounds",link:"/sounds/",desc:"Browse through and mix all the vanilla sounds"}),T(er,{title:"Data Pack Upgrader",link:"https://misode.github.io/upgrader/",desc:"Convert your data packs from 1.16 to 1.17 to 1.18"}),T(er,{title:"Technical Changelog",link:"/changelog/"}),T(er,{title:"Minecraft Versions",link:"/versions/"}),T(er,{title:"Data Pack Guides",link:"/guides/"}),T(Xf,null)))}function jz({}){const{locale:e}=An(),{project:t,openFile:n}=Dv();br(e("title.project",t.name));const i=bn(()=>t.files.map(AM),t.files),o=r=>{const[,a,s,...c]=r.split("/");n(s,`${a}:${c}`)};return T("main",null,T(Bl,{id:"data-pack-project",type:"text"}),T("div",{class:"project"},T("h2",null,t.name),T("div",{class:"file-view"},T(Dy,{entries:i,onSelect:o}))))}function qz({}){const{locale:e}=An(),{version:t,changeVersion:n}=xs(),[i,o]=we(null);br(e("title.sounds"));const[r,a]=we({}),s=Object.keys(r!=null?r:{});ct(()=>{f1(t).then(a).catch(E=>{console.error(E),o(E)})},[t]);const[c,l]=we(""),[_,d]=we([]),u=()=>{d([{id:Oa(),sound:c,delay:0,pitch:1,volume:1},..._])},m=E=>S=>{d(_.map(N=>N.id===E?H(H({},N),S):N))},f=E=>()=>{d(_.filter(S=>S.id!==E))},[p,h]=we(0),b=()=>{h(p+1)},g=an(null),v=()=>{const E=_.some(N=>N.delay>0),S=_.sort((N,C)=>N.delay-C.delay).map(N=>`${E?`execute if score @s delay matches ${N.delay} run `:""}playsound minecraft:${N.sound} master @s ~ ~ ~ ${N.volume} ${N.pitch}`).join(`
|
|
`);g.current.setAttribute("href","data:text/plain;charset=utf-8,"+S+"%0A"),g.current.setAttribute("download","sounds.mcfunction"),g.current.click()};return T("main",null,i&&T(os,{error:i,onDismiss:()=>o(null)}),s.length>0&&T(vt,null,T("div",{class:"controls sounds-controls"},T("div",{class:"sound-search-group"},T(Da,{class:"btn btn-input sound-search",list:"sound-list",placeholder:e("sounds.search"),value:c,onChange:l,onEnter:u}),T(tt,{icon:"plus",tooltip:e("sounds.add_sound"),class:"add-sound",onClick:u})),_.length>1&&T(tt,{icon:"play",label:e("sounds.play_all"),class:"play-all-sounds",onClick:b}),T("div",{class:"spacer"}),T(tt,{icon:"download",label:e("download"),tooltip:e("sounds.download_function"),class:"download-sounds",onClick:v}),T(Ri,{icon:"tag",label:t,tooltip:e("switch_version")},Xt.versions.slice().reverse().map(E=>T(tt,{label:E.id,active:E.id===t,onClick:()=>n(E.id)})))),T("div",{class:"sounds"},_.map(E=>T(B5,qe(H({key:E.id},E),{sounds:r,delayedPlay:p,onEdit:m(E.id),onDelete:f(E.id)})))),T("a",{ref:g,style:"display: none;"})),T("datalist",{id:"sound-list"},s.map(E=>T("option",{key:E,value:E}))))}function Kz({}){const{locale:e}=An(),[t,n]=we(null);br(e("title.versions"));const[i,o]=we([]);ct(()=>{g1().then(l=>o(l)).catch(l=>{console.error(l),n(l)})},[]);const[r]=hl("id"),a=i.find(l=>l.id===r);br(a?a.name:"Versions Explorer",a?[]:void 0);const s=a&&kb(i,a,-1),c=a&&kb(i,a,1);return T("main",null,T(Bl,{type:"text",id:"versions"}),t&&T(os,{error:t,onDismiss:()=>n(null)}),T("div",{class:"versions"},r?T(vt,null,T("div",{class:"navigation"},T("a",{class:"btn btn-link",href:"/versions/"},At.three_bars,e("versions.all")),T("a",H({class:"btn btn-link"},c?{href:`/versions/?id=${c.id}`}:{disabled:!0}),At.arrow_left,e("versions.previous")),T("a",H({class:"btn btn-link"},s?{href:`/versions/?id=${s.id}`}:{disabled:!0}),e("versions.next"),At.arrow_right)),a?T(k5,{version:a}):T("div",{class:"version-detail"},T("h2",null,r),T("div",{class:"version-info"},T("p",null,"This version does not exist. Only versions since 1.14 are tracked, or it may be too recent.")))):T(L5,{versions:i,link:l=>`/versions/?id=${l}`})))}function kb(e,t,n){const o=e.findIndex(r=>r.id===t.id)+n;if(!(o<0||o>=e.length))return e[o]}function Qz(){return T(vt,null,T(P5,null),T(ho,{onChange:t=>{window.dispatchEvent(new CustomEvent("replacestate")),setTimeout(()=>zn.pageview(bo(t.url)))}},T(Wz,{path:"/"}),T(Sb,{path:"/worldgen",category:"worldgen"}),T(Sb,{path:"/assets",category:"assets"}),T(qz,{path:"/sounds"}),T($5,{path:"/changelog"}),T(Kz,{path:"/versions"}),T(jz,{path:"/project"}),T(Vz,{path:"/guides/"}),T(Yz,{path:"/guides/:id"}),T(U5,{default:!0})))}function Xz(){return T(NM,null,T(OM,null,T(xM,null,T(wM,null,T(CM,null,T(Qz,null))))))}ds(T(Xz,null),document.body);
|
|
//# sourceMappingURL=index.67b2ea17.js.map
|